User Tools

Site Tools


introduction_to_the_internet_of_things

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
introduction_to_the_internet_of_things [2018/07/11 23:11] sdh7introduction_to_the_internet_of_things [2018/07/12 00:04] sdh7
Line 2: Line 2:
 **Software Setup** **Software Setup**
 You should do the following things before the class: You should do the following things before the class:
 +
 +If you are using a Macintosh, install these drivers for the serial board - https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver. I find the CH34x serial chip support on OS X to be spotty at best. Follow the instructions carefully. YOU MUST DELETE ANY OLD VERSIONS OF THE DRIVERS, or kernel panics WILL happen! Linux and Windows machines //should// just work, but if not look for the current CH34x drivers.
  
 Install Arduino IDE if you don't already have it, and upgrade to something recent if you're below version 1.7 - http://arduino.cc Install Arduino IDE if you don't already have it, and upgrade to something recent if you're below version 1.7 - http://arduino.cc
Line 29: Line 31:
  
 ====THINGS WE WILL DO AT THE CLASS==== ====THINGS WE WILL DO AT THE CLASS====
 +Your kit should consist of a number of boards:
 +  * ESP8266 Wifi-enabled microcontroller
 +  * BME280 sensor array
 +  * AMS1117 voltage regulator
 +  * CH34x-based programmer for the ESP8266
  
 ==Hardware Construction== ==Hardware Construction==
Line 34: Line 41:
   * If you plan on re-using the boards for something else in the future, solder in header pins on the other boards. If you're building this as a    * If you plan on re-using the boards for something else in the future, solder in header pins on the other boards. If you're building this as a 
      
-If you want to re-use the component boards for other projects+If you want to re-use the component boards for other projects, solder pins into the BME280/Voltage regulator boards.
  
  
Line 40: Line 47:
 <code> <code>
 #define CAYENNE_PRINT Serial  // Comment this out to disable prints and save space #define CAYENNE_PRINT Serial  // Comment this out to disable prints and save space
 +#define CLASS_BME280 1 //enable BME280 board hack
  
 #include <Wire.h> #include <Wire.h>
Line 107: Line 115:
  
 **Power considerations** **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. A 9V battery or 6V AA case should work +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. A 9V battery or 6V AA case should work. You should be able to power via USB with the serial board as well- just run wires from 3.3v & ground to the appropriate ESP8266 pins and leave out the AMS1117.
  
  
introduction_to_the_internet_of_things.txt · Last modified: 2018/08/22 15:09 by sdh7

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki