User Tools

Site Tools


introduction_to_the_internet_of_things

This is an old revision of the document!


Software Setup You should do the following things before the class:

Install Arduino IDE if you don't already have it - http://arduino.cc

  • Unordered List ItemIn Boards Manager, add ESP8266 Board support

Set up a Cayenne account - https://cayenne.mydevices.com

Install the following libraries:

Modify BME280 library

  • on OS X, navigate using the finder or otherwise cd ~/Documents/Arduino/libraries/Adafruit_BME280_Library-master/
  • edit Adafruit_BME280.h using your favorite editor- change #define BME280_ADDRESS from 0x77 to 0x76
  • more advanced C programmers may do something like:

#define BME280_ADDRESS 0x77

#ifdef CLASS_BME280

#define BME280_ADDRESS 0x76

#endif

and then add #define CLASS_BME280 at the beginning of your program, so that way if you get an Adafruit BME280 board in the future, it will continue to work right…

Hardware Construction - On the programming board, wire an SPST or SPDT switch between GPIO

Power considerations The kit does not come with a power source. The regulator board requires at least 4.5V (and at most 15V!) to adequately supply 3.3V to the ESP8266 and BME280 boards.

introduction_to_the_internet_of_things.1531263741.txt.gz · Last modified: 2018/07/10 19:02 by sdh7

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki