Code Monkey home page Code Monkey logo

iot_assignment2's Introduction

IoT_Assignment2

  1. Remove dhcpcd
    sudo systemctl disable dhcpcd.service

  2. Bind device name with MAC address
    edit /etc/udev/rules.d/10-network.rules

  • wlan0 - onboard, ad-hoc
  • wlan1 - dongle, connect AP
  1. Set mode for both wlan
    edit /etc/network/interfaces

  2. Set wifi for wlan1
    edit /etc/wpa_supplicant/wpa_supplicant.conf

  3. Install msquitto server on Gateway
    apt-get install mosquitto
    apt-get install mosquitto-clients

  4. Configure mosquitto as a bridge
    mosquitto -c /etc/mosquitto/conf.d/AWS_gateway.conf -v

  5. Install Bluepy on Pi
    sudo apt-get -y install bluez build-essential libglib2.0-dev libdbus-1-dev python-dev
    sudo pip install bluepy

  6. MAC address f SensorTag
    54:6C:0E:53:19:84 CC2650 SensorTag

  7. Run sensortagcollector_iot.py
    web - https://developer.ibm.com/recipes/tutorials/connecting-multiple-ti-sensortags-to-iot-platfom-using-a-raspberry-pi-gateway/
    download - https://ibm.box.com/shared/static/pwkgxejzk92ktjn53owm1ka6bom9o0oq.zip

  8. Install paho
    git clone https://github.com/eclipse/paho.mqtt.python.git
    cd paho.mqtt.python
    sudo python setup.py install

  9. Modify node-red

iot_assignment2's People

Contributors

zhezhang77 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.