Tag archives: esp8266

Sunday, 9th October 2016 - 14:02:08

IMG_20161009_140208.jpg

I decided to unwrap these old BP Solar panels and see what they could do. I built a basic SLA charging circuit that would allow an SLA battery to be charged and to supply power to an ESP8266. This will be for use outdoors as a weather station "or something". I haven't decided yet. Mostly I just wanted to see if the solar panels that I've had for over a decade still worked.

Sunday, 24th April 2016 - 22:46:46

IMG_20160424_224646.jpg

Internet Enabled Night Light. I made this out of an old wall wart and an ESP8266 SOC module. Basically took the guts out of the wall wart and replaced them with the contents of a much more modern wall wart (smaller) which left space for the ESP8266 module, the PIR sensor and other bits. The device uses MQTT to communicate trigger events and periodic measurements to a custom cloud service.

  • Temperature - DHT11
  • Humidity - DHT11
  • Brightness - LDR (Light Dependent Resistor)
  • Movement - PIR Module (DSN-FIR800)

Gallery

Monday, 11th April 2016 - 09:01:21

ESP8266 Prototype Breadboard

Here is a small ESP8266 prototype using a DHT11 and an LDR for light level sensing. This module is super convenient; it has USB to RS232 integrated and also has standard spacing so it can be put into a bread board.

Sunday, 3rd January 2016 - 20:37:10

IMG_20160103_203710.jpg

Had a mate around today for a BBQ and we built some sensors and wrote some code for the ESP8266.

Sunday, 16th August 2015 - 16:01:21

IMG_20150816_160121.jpg

I bought a few of these cheap ESP8266-12 modules from eBay. I'm pretty impressed so far with how easy it is to get a simple web server up and running.

Key learnings:

  • The module has a number of IO pins which must have set state to run and another state to flash. GPIO0 needs to be tied low to flash.
  • Needs hundreds of mA - can't run from USB->RS232 converter power.
  • minicom (linux) doesn't send the required CRLF to the module. Have to manually use CTRL+M, CTRL+J
  • Needs to be flashed with NodeMCU firmware to use LUA
python esptool.py --port /dev/ttyUSB0 write_flash 0x00000 ../Downloads/nodemcu_integer_0.9.6-dev_20150704.bin