TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why I stopped hacking the Amazon Dash button and learned to solder

253 pointsby ecaronalmost 9 years ago

18 comments

Fuzzwahalmost 9 years ago
I went through a similar experience when rigging up my own little &quot;child sleep improver&quot; project. We play the same album of world music lullabies when our kids go to bed. I wanted to be able to trigger playback remotely, so if I heard my child stirring I could play the lullabies again and help them settle again.<p>I&#x27;m also a R-Pi fan, so I rigged one up which allows me to have mplayer start playing the album via a simple webpage which I access from my mobile phone. That is excellent for the middle of the night times, but when we put the child into bed at night I wanted a simple button to press to do the same thing.<p>I hunted around and just could not bring myself to pay $50 to $100 for a damn button! Especially if I had to rely on some web service... It just seemed ridiculous.<p>In the end I realised that I could just use a cheap wireless mouse. It is stuck onto the change table; we left click to trigger playback, right click to stop, mouse wheel to volume up or down.
评论 #12200223 未加载
评论 #12200597 未加载
评论 #12202617 未加载
评论 #12199617 未加载
noonespecialalmost 9 years ago
If he really wanted to &quot;learn to solder&quot;, one of the esp8266 devkits from the likes of sparkfun or adafruit would have served him better and been cheaper and less power hungry as well. Running an entire Linux server nonstop just to watch for a button press seems excessive.<p>Otoh, we&#x27;ve reached the point where you can reasonably run an entire Linux server just to watch a button! Awesome.
评论 #12199848 未加载
评论 #12199251 未加载
评论 #12199723 未加载
评论 #12199785 未加载
评论 #12201328 未加载
mrbalmost 9 years ago
Note that Amazon rolled out a second revision of the Dash button that is 4x more energy efficient: <i>&quot;I measured the new Dash Button’s energy usage to be 4.3±2.2 J per activation and the original Button’s energy usage to be 16.4±0.1 J per activation.&quot;</i> Source: <a href="https:&#x2F;&#x2F;mpetroff.net&#x2F;2016&#x2F;07&#x2F;new-amazon-dash-button-teardown-jk29lp&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mpetroff.net&#x2F;2016&#x2F;07&#x2F;new-amazon-dash-button-teardown...</a><p>Although the Dash is still much over-engineered: for every activation it has to establish (I believe) an HTTPS session and exchange a few requests with Amazon servers. A much dumber wifi button sending a single packet should be able to use 1&#x2F;10th of this energy.
awqrrealmost 9 years ago
The new Dash button is very different from the old one: <a href="https:&#x2F;&#x2F;hackaday.com&#x2F;2016&#x2F;07&#x2F;26&#x2F;bending-the-new-amazon-dash-button-to-your-will&#x2F;.." rel="nofollow">https:&#x2F;&#x2F;hackaday.com&#x2F;2016&#x2F;07&#x2F;26&#x2F;bending-the-new-amazon-dash-...</a>. and now, Amazon also has the over-priced Amazon IoT button: <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;AWS-IoT-Button-Limited-Programmable&#x2F;dp&#x2F;B01C7WE5WM&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;AWS-IoT-Button-Limited-Programmable&#x2F;d...</a>
评论 #12199273 未加载
IgorPartolaalmost 9 years ago
In case you decide to go with a Dash button anyways, I made it easier: <a href="https:&#x2F;&#x2F;github.com&#x2F;ipartola&#x2F;amadash" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ipartola&#x2F;amadash</a><p>I like the dash buttons because for the price you actually get decent value. Compared to an ESP8266 board, you also get the button, the case, and the battery. The interface for it is not th best, but this actually lets you monitor for many button presses from a single Linux node, so I think this is the cheapest solution.<p>That is not to discourage anyone from learning how to solder, or make their own electronics, but in case you have a bunch of these Dash buttons around already.
dvcrnalmost 9 years ago
Very cool!<p>I too am a &quot;pure software&quot; guy. A few years ago I was really into hardware but started to go with buying finished solutions instead of building things on my own to save time and concentrate on the software.<p>I had no idea it&#x27;s this simple to solder something together and speak to it.<p>Now I&#x27;d love to know how to do the same with a arduino or similar &quot;less heavy&quot; build. Does anyone have links to resources in how to do that and how to get started?
评论 #12201229 未加载
评论 #12199942 未加载
评论 #12199793 未加载
quickbenalmost 9 years ago
I didn&#x27;t get the part about the color change for wake up? Can somebody please shed some light on that sentence?:)
评论 #12199221 未加载
评论 #12199279 未加载
mrbillalmost 9 years ago
For the Dash, surely it can&#x27;t be that hard to replace the soldered-in battery with a couple of spring terminals so it can be easily replaced in the future..
评论 #12199186 未加载
评论 #12199176 未加载
revelationalmost 9 years ago
<i>— the program effectively is saying “Once every .2 seconds, send some power over this one pin on the board, and let me know if the circuit is complete.” </i><p>No, that&#x27;s not how this works at all. You&#x27;re just querying some bit in memory. Nobody is &quot;sending power&quot;.
评论 #12199356 未加载
SunboXalmost 9 years ago
The Raspberry Pi Zero is nice, but he should decider using a Arduino device instead. Both are very different devices. Using a Raspberry Pi for this kind of task is like using a big truck to get a sixpack beer.
评论 #12201510 未加载
netsharcalmost 9 years ago
When turning the lights on require you to go through the 7-layer ISO&#x2F;OSI stack. The future is dumb.
评论 #12199366 未加载
评论 #12199444 未加载
artpialmost 9 years ago
I was also tempted to use new IOT amazon buttons with the IOT AWS offering ( <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;iot&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;iot&#x2F;</a> ), but after looking a bit deeper, the free limit is not that high. Instead, I bought ESP8266 Wemos D1 mini for $4 each. Instead of AWS IOT I used Google Firebase and I have to admit, it works pretty sweet for me. IFTTT, Siri integration and all.<p><a href="https:&#x2F;&#x2F;piszek.com&#x2F;2015&#x2F;06&#x2F;24&#x2F;smartpi&#x2F;" rel="nofollow">https:&#x2F;&#x2F;piszek.com&#x2F;2015&#x2F;06&#x2F;24&#x2F;smartpi&#x2F;</a>
curioussavagealmost 9 years ago
I also am constantly looking for better easier solutions for things like this. right now I think the wemos d1 mini is the sweet spot for ease of use&#x2F;versatility.
roel_valmost 9 years ago
Jebus, running a raspberry pi off a battery to turn a light on and off, and it&#x27;s dependent on an internet connection to function as well? Get a zwave remote control and lights and have something that won&#x27;t need rebuilding every three months...<p>Yes it&#x27;ll be more expensive than 15$ or whatever, but he claims he &#x27;just wanted someone to take my money&#x27; in the post.
评论 #12200900 未加载
qwertyuiop924almost 9 years ago
man, I love the RPI. I will love the CHIP, especially the CHIP Pocket, if it&#x27;s any good, because it&#x27;s a mobile device with PHYSICAL BUTTONS. That I can kinda TYPE ON. And it RUNS LINUX, so I can code on it. This is truly a brave new world.<p>&gt;If you think tech that was in the PPC in &#x27;05 was revolutionary, that is...<p>SHUT UP!<p><i>goes to sob in corner</i>
评论 #12199951 未加载
评论 #12200878 未加载
gwbas1calmost 9 years ago
Interesting! My house is full of multi-way switches that I want to replace with &quot;on&quot; and &quot;off&quot; buttons. Whenever I look at fancy electronic switches, they are expensive and the reviews indicate that they are very unreliable.<p>Perhaps I should just find some time to make my own on and off buttons?
评论 #12200447 未加载
mratzloffalmost 9 years ago
Learning something new is great, but if you just want to turn the light on or off with a remote, you don&#x27;t need a computer or the Internet: <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B0087EIDRS" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B0087EIDRS</a>
评论 #12199706 未加载
braymaillouxalmost 9 years ago
You don&#x27;t need a computer to turn on a light in the same room. you don&#x27;t even need digital electronics.
评论 #12199860 未加载
评论 #12199658 未加载