Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:party-button [2019/03/15 12:34]
Ryan Detzel
projects:party-button [2019/03/15 23:42] (current)
Ryan Detzel
Line 6: Line 6:
 To address some of the issues in v1 I've started working on a v2. My plan is to make the circuit much simpler by using my [[projects:​433-rf-wireless-network|433Mhz RF network]] instead of wifi which will remove the wifi delay and the push button circuit since I'll be able to just deep sleep. ​ To address some of the issues in v1 I've started working on a v2. My plan is to make the circuit much simpler by using my [[projects:​433-rf-wireless-network|433Mhz RF network]] instead of wifi which will remove the wifi delay and the push button circuit since I'll be able to just deep sleep. ​
  
-I have a hacked version working, I just need to clean everything up and publish it. Coming ​soon.+//​Design ​and software coming ​soon.//
  
 ==== Party Button v1 ==== ==== Party Button v1 ====
  
-I saw v1 because I don't count the multiple prototypes. ​This was the first "​finish"​ product that was usable for over a year.+This was the first "​finish"​ product that was usable for over a year, it's since been replaced with v2.
  
-The nodeMCU was used to connect to wifi and publish ​the mqtt message. These devices, especially with the passive components like regulators can be power hogs so even in deep sleep it would go through batteries quickly ​so I added the push button switch to power the device completely off. The way the circuit works is when you push the big red button it powers up switch circuit which pulls power from the two batteries, through the step up regulator and to the node mcu.+nodeMCU was used to connect to wifi and publish ​mqtt message. These modules, especially with the passive components like voltage ​regulators can be power hogs so even in deep sleep it would go through batteries quickly. Because of this I added the push button switch to power the device completely off. The way the circuit works is when you push the button it powers up switch circuit which pulls power from the two batteries, through the step up regulator and to the nodemcu.
  
 === Hardware === === Hardware ===
-  * NodeMCU ESP8266+  * [[https://​en.wikipedia.org/​wiki/​NodeMCU|NodeMCU ESP8266]
   * [[https://​www.pololu.com/​product/​2808|Mini Pushbutton Power Switch]]   * [[https://​www.pololu.com/​product/​2808|Mini Pushbutton Power Switch]]
   * [[https://​www.pololu.com/​product/​2561|3.3V Step-Up Voltage Regulator]]   * [[https://​www.pololu.com/​product/​2561|3.3V Step-Up Voltage Regulator]]
-  * Batteries+  * AA Batteries
  
 === Software === === Software ===
-I can't even find the source code. It basically just wakes up, connects to wifi and publishes ​the mqtt message. There was a small delay (few seconds) and then it powered itself off by triggered a pin on the push button switch circuit.+I can't even find the source code. It basically just wakes up, connects to wifi and publishes ​mqtt message. There was a small delay (few seconds) and then it powered itself off by triggered a pin on the push button switch circuit.
  
 === Issues === === Issues ===
-The push button circuit didn't work that well with this setup and looking back I probably needed to de-bounce it. What ended up happening was if the kids pushed the button too quick it didn't actually trigger it on, so we trained them to hold it for a second until they saw the blue power led turn on then let go. This worked okay but it made for a weird experience. The second issue was the delay it took for the device to turn on, connect to wifi and then fire off the mqtt message. This could take up to five seconds which when you're ready to party feels like an eternity!It was hard to fix this with this design so I plan on addressing this in v2.+The push button circuit didn't work that well with this setup and looking back I probably needed to de-bounce it. What ended up happening was if the kids pushed the button too quick it didn't actually trigger it onwe trained them to hold it for a second until they saw the blue power led turn on then let go. This worked okay but it made for a weird experience. The second issue was the delay it took for the device to turn on, connect to wifi and then fire off the mqtt message. This could take up to five seconds which when you're ready to party feels like an eternity! It was hard to fix this with this design so I plan on addressing this in v2.
  
 {{:​projects:​party-button.jpg?​direct&​400|}} {{:​projects:​party-button.jpg?​direct&​400|}}