r/esp8266 • u/AutoModerator • Mar 04 '18
ESP Week - 09, 2018
Post your projects, questions, brags, and anything else relevant to ESP8266, ESP32, software, hardware, etc
All projects, ideas, answered questions, hacks, tweaks, and more located in our ESP Week Archives.
8
Upvotes
6
u/Detz Mar 04 '18 edited Mar 04 '18
Four button IoT controller.
https://i.imgur.com/Fl6gm3X.jpg
Basically, you can use the four buttons in any combination to send an Mqtt messages that trigger things around my house. The buttons are RGB and can provide feedback after the press. A Lipo battery will power it so I can put them all over the house, shooting for <$9 price tag for each the battery being the most expensive part at $5.
The picture shows me testing the RGB lights off an arduino for now, the esp12f hooked up to two test buttons that fire an mqtt message and also an io expander off i2c to (eventually) control the rgb lights on the buttons. The case is 3d printed to fit perfectly, full size can be seen on the right, that's the bottom of the box.
I have various (single button) versions of this around the house but the four button will give me a lot more options. At minimum 16 actions but I can mix in long and double presses to give more too. One of these on the kitchen table will allow us to quickly shut off the tv, change music, lights etc. One next to my bed will let me control the house at bedtime and one next to the door will do the same as I'm leaving.
3
u/[deleted] Mar 04 '18
Anyone have any good resources on learning how to properly power an ESP8266 and to take advantage of deep sleep? I understand the software side, but am completely lost on what to look for in regulators, batteries (lipo? Alkaline?). I don't need something specific to the ESP, any good book/article on powering embedded electronics effectively would be great.
4
u/i_rsX Mar 04 '18
I have been working on a video course of WiFi hacking with esp32. Today only I posted the details on /r/netsecstudents
https://www.reddit.com/r/netsecstudents/comments/81tc3v/wifi_hacking_with_a_10_arduino_compatible_esp32/?st=JECTOU3X&sh=101d09e2
Here I wrote the topics I’d likely include in the video course and the skype live sessions to all the people who pre order the course.
I am currently using my esp8266 as a wireless data sniffer and looking for saving the logs into AWS IoT to Splunk. or maybe MQTT, just experimenting. Will see what works the best.
Having a WiFi named “Free Internet” in a public area with a automatic splashscreen(like login screens ar atarbucka when you connect to the WiFi) can be really dangerous. and at the same time heavily deployed esp32’s in the corporate area. All sending logs to Splunk can be really insightful and could possibly prevent thousands of dollar and data breaches in case of an intrusion.
2
u/[deleted] Mar 04 '18
I have a NodeMCU that will run a few hours or a few days between resetting and I have been searching for a couple weeks for solutions and based on the reset report the best I can find is power supply issue. My power supply is an older computer ATX 5V line that I am using as a bench, and it has also been powered straight from the USB on my computer. I have put filter caps on the 5-0 line as well as on the 3.3-0 pins with no changes.
The two questions I have are, is there any information on where to troubleshoot next? I am considering the board may be bad and replacing it, but really don't know. Second, should this board reboot after this event? An occasional crash is not wanted but can be tolerated if the board reboots, but right now it hangs and I can't figure out which pins to trip to force a reboot, or even if this is possible.
Thanks for any help
0
u/[deleted] Mar 04 '18
[deleted] — view deleted comment