Profile

Cover photo
Matthew W
AboutPosts

Stream

Matthew W

Shared publicly  - 
 
I added in the battery level code from https://code.google.com/p/tinkerit/wiki/SecretVoltmeter into my ESP8266 program and it works like a charm. I've got it sending emails to me when it drops to 5, 4.8, 4.6, and 4.4 volts.

The "dead" battery from earlier today has pulled together and is powering the project again, though the LCD has been flickering for a while now. I already received the 5 and 4.8 emails, so when I put in a new battery I know I should be concerned when that first email comes in. I'm going to keep running it to see if it's still alive for it to send the 4.4v email. :)
Open source releases from TinkerLondon and Tinker.it
1

Matthew W

Shared publicly  - 
 
I just got an email from my ESP8266... I didn't get any more so it's all good.
1

Matthew W

Shared publicly  - 
 
With some persistence, I've got my ESP8266 sending sensor values to a MySQL database. My basic knowledge of PHP and MySQL helped. It's been a while.

Anyways, I'm not sure where I'm going with this project. I'll probably have it sending data to both Thing Speak and that MySQL database. It would be cool to try sending data the other way to the ESP8266, but that'll be for if and when I buy more of these modules. I still plan on packaging all of the parts into an enclosure of some sort.

I'll get all of the code up on GitHub this weekend. I've got some cleaning up to do first.

http://mwhprojects.com/esp8266/
1

Matthew W

Shared publicly  - 
 
I went to an electronics store to pick up a power supply for my ESP8266 project, as well as a new tip for my soldering iron (I keep buying the wrong size!). Luckily enough, the 9v batter clips came in the mail today which I used to connect the new power supply to the project. With it, I'm back up sending data to Thing Speak: https://thingspeak.com/channels/22770. It will stop again whenever I decide on sticking the project into some kind of enclosure, but I'm not sure when that will happen.

I also stopped by the library and found this book, "The Art of Tinkering". It has conductive ink on the cover so I definitely have to do some playing around with that!
1

Matthew W

Shared publicly  - 
 
I got the ESP8266 Wifi Module yesterday and I'm very happy with it. I ripped out the DHT22 temperature & humidity sensor from an old project. You can now see the temperature, humidity, and brightness (from photoresistor) in my room. https://thingspeak.com/channels/22770
Channel 22770 on ThingSpeak: Open source data platform and API for the Internet of Things.
1
Rohin Gopalakrishnan's profile photoMatthew W's profile photoDirk Herrendoerfer's profile photo
8 comments
 
I see.

Matthew W

Shared publicly  - 
 
I quickly threw together an LED bargraph on a perfboard instead of buying some DIPs... I bought a bunch of random things over the holidays on eBay so I didn't want to waste any more time or money.

The reason I did this is because I'm revisiting my 74HC595 shift register boards in Eagle and I wanted to test out the Output Enable pin (for PWM control) before I add it to my board in Eagle. This will save time so I won't have to keep laying out resistors and LEDs every time I want to do simple tests like this.
1

Matthew W

Shared publicly  - 
 
The battery died as I was in the middle of playing with this: https://code.google.com/p/tinkerit/wiki/SecretVoltmeter

It's a battery monitor for the ATmega328 that's completely internal and done through some code. I can't wait to implement it into my project because I like getting emails from it. :P
Open source releases from TinkerLondon and Tinker.it
1

Matthew W

Shared publicly  - 
 
I put my ESP8266 project outside. It'll stay there until the battery dies.

I have it in a plastic bag so the humidity readings will probably be very incorrect. Temperature and brightness shouldn't be too off, hopefully.

Check out the data here: http://mwhprojects.com/esp8266/
This page displays data sent from an ATmega328p using an ESP8266 wifi module. The ATmega328p collects data from a DHT22 temperature and humidity sensor and a photoresistor, then sends the data to be inserted into a MySQL database. The database has 2 entries. The table below is currently limited ...
1
Dirk Herrendoerfer's profile photoMatthew W's profile photo
2 comments
 
+Dirk Herrendoerfer Haha, I wish I considered that before I put it in the container... I'll try adding it this weekend. It would work well with this project since I already have it sending me an email if the DHT22 fails. Thanks!

Matthew W

Shared publicly  - 
 
3.5 hours of soldering without a plan, but I still managed to pull it off. My ESP8266 project is now in an enclosure (a food container).

Blog post: https://mwhprojects.wordpress.com/2015/01/22/presenting-the-esp8266-capsule/
This project went exceptionally well. With just under two weeks of prototyping and 3.5 straight hours of soldering, the ESP8266 Capsule is complete! The project as I've been showing you in previous...
1

Matthew W

Shared publicly  - 
 
I cleaned up my GitHub repo for my ESP8266 experiments: https://github.com/mwhprojects/Arduino-ESP8266

I've also uploaded the latest code that's sending data to both a MySQL database and Thing Speak.
MySQL database demo: http://mwhprojects.com/esp8266/
Thing Speak: https://thingspeak.com/channels/22770

I'm still waiting on a couple switches in the mail before I can put everything into an enclosure...
2

Matthew W

Shared publicly  - 
 
I played around with the LCD on my ESP8266 project a little more today. I added error messages to display on the LCD if something goes wrong with the DHT22 or ESP8266. When that happens, the backlight on the LCD pulsates.

I also added a switch that will turn off the backlight, in the programming. (It's programmed in because I'm considering having an override so that the LCD backlight will turn on if there's an error, even though the switch is off.) I'm still waiting on the switches to arrive in the mail so I'm stuck with just moving around a wire for now.
1

Matthew W

Shared publicly  - 
 
ESP8266 project is going well. I added an LCD that displays the temperature, humidity, and LDR readings, along with a countdown to when the data will be sent next to Thing Speak. I also ditched the Uno for my ATmega328p breakout, and everything is powered with help from my AMS1117 voltage regulator board (has 3.3v and 5v outputs). I haven't had it running in the past day or so because I don't want to waste batteries. I'm hoping to run out sometime this week to get a 9v power supply from the electronics store in my town.

This is the first project I have up on GitHub... I hope I'm using it properly.
https://github.com/mwhprojects/Arduino-ESP8266-DHT22
3
Dirk Herrendoerfer's profile photoMatthew W's profile photo
2 comments
 
+Dirk Herrendoerfer Thanks, I really appreciate the tips! I'll work on it sometime later today.
Links
YouTube