You'll see these little microcontrollers on ebay:
They are about half the cost of a particle core and have much of the same functionality. Also, you can use them with the Arduino IDE just like your UNO and other micros. Very cool.
Of course you will need libraries. The first one just gets you connected to your local wifi:
Add this in your preferences and you'll be able to import the board and examples.
http://arduino.esp8266.com/stable/package_esp8266com_index.jsonYour boards manager should look like this.
Next just try running some of the example code. When you have that working hook up your i2C LCD display. SPI will not work.
The last step is getting an API key and creating a URL to get the bus data that you want.
But, this can be used for anything not just busses.
(also the way I parse the XML is kinda bootleg... consider reworking to suit your needs.)
Comments
Please log in or sign up to comment.