Profile cover photo
Profile photo
Matthew W
Matthew's posts

Post has attachment
It's been a while since I've posted on Google+! I've got a new light show in the works. It should be up Christmas Eve. Stay tuned!

Post has attachment
I added in the battery level code from 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. :)

Post has attachment
The battery died as I was in the middle of playing with this:

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

Post has attachment
I just got an email from my ESP8266... I didn't get any more so it's all good.

Post has attachment
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:

Post has attachment
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:

I cleaned up my GitHub repo for my ESP8266 experiments:

I've also uploaded the latest code that's sending data to both a MySQL database and Thing Speak.
MySQL database demo:
Thing Speak:

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

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.

Post has attachment
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.

Post has attachment
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: 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!
3 Photos - View album
Wait while more posts are being loaded