Because the world doesn’t have enough electronic junk floating around, [Victor] has improved the WiFi Throwie.
A decade ago, when strong, cheap magnets, bright LEDs, and small coin cell batteries were materials fresh to hacking, someone had a great idea: tape all these items up and throw them on bridges and overpasses. The LED throwie was born, and while we’re sure the biggest installation of LED throwies looked cool, it’s really just a small-scale environmental disaster.
Since then, the ESP8266 was created, and the world now has a tiny WiFi-enabled computer that’s the size of a postage stamp. Yes, WiFi throwies already exist, but coin cells don’t work with the ESP. This means the compact and tiny ESPs are laden down with heavy lithium cells. [Victor] had a better solution: tiny lithium batteries for quadcopters exist, so why not use those?
[Victor] ended up using a small 100mAh 3.7V Lipo battery from a tiny quadcopter for this build. 100mAh isn’t a lot, but in sleep mode, the ESP only uses about 15mAh, or about 6 hours of run time. Sending a picture takes 30 seconds at 120ma, or about 120mAh, so even with a tiny battery no bigger than the ESP itself, this diminutive web server can handle 100 connections before the battery dies.
While not recommended unless you intend to retrieve your throwable web server, it is an interesting example of the latest and cheapest technology that made a throwable webserver possible; 10 years ago, both the ESP and a battery this small would have been unthinkable.
With one of these solar cells (http://minisolarworld.com/products/products/5v-minisolar-panels/), that throwie could wake up every day, scan & report “findings”. Perfect for tossing up on a roof or someplace discrete.
The 50mA one is almost business card sized – that would make for an interesting / potentially creepy business card (calls home?).
Now there’s a cool idea. Even if it took forever to charge, it could sit there until the battery was full then turn on. Could use the same idea to make the LED throwies keep going too.
You could even make it a little more environmentally friendly if you used a capacitor instead of a LiPo.
You would need a 360F capacitor. Which is very bulky and expensive. I even doubt that an electrolytic capacitor (supercap/goldcap is electrolytic) the size of a brick is more environmentally friendly than this tiny LiPo battery.
Yeah but you would need to design it like a weeble so it wouldn’t fall down.
I’m going to have that commercial stuck in my head all day now.
https://m.soundcloud.com/t3chn0ph1le/weebles-wobble
Another option here : solar panel + battery + power manager : http://www.aliexpress.com/item/Blue-Solar-Power-Bank-5600mah-Solar-Charger-Portable-Charger-Bateria-Externa-Powerbank-Carregador-De-Bateria-Portatil/32361709510.html?spm=2114.031010208.3.10.kANsto&ws_ab_test=searchweb201556_9_71_72_73_74_75,searchweb201527_1,searchweb201560_9
That will turn on the WiFi module as soon as it can for a fraction of a moment, before it runs out of power. Many short term runs vs Single long term run.
Got something like this instantly after first seeing one in person. The solar panel doesn’t appear to ever charge the battery in any meaningful way the battery itself is dead-ish inside of two years, and any overcurrent on the output caused it to shut down in such a way that it could not be recovered without supplying 5V to the input jack. It’s also not waterproof.
On the plus side, the one I have did include a wide array of DC power plugs and switchable output voltage (up to 12V), and would charge from 5V and output whatever selected voltage concurrently,so the concept does have some potential for being a small and cheap DC-DC UPS for small loads like a low-end router or (some) broadband modems. Or maybe as a quick boost converter for hacking.
It languishes in a drawer somewhere, however, because I’ve quickly forgotten just how useful battery-powered bandwidth was since the last time my house was without power for over a week.
The arrival of throwies was when I first realized ‘my hobby’ was growing quickly.. “But how can these people just litter like this? they would never normally litter!” I asked my friend who had asked me to help her build some throwies.
Sigh..
Random comment: I love your username. Never change it. :D
If you tie the wakup gpio to the internal alarm pin you can reduce the sleep current to 2ma. The chip boots itself. You can also patch the config blob to decrease the WiFi start current by 30%. I’ll paste links when I get on my pc.
I like his quadcopter. If you had some sort of detachment mechanism you could deliver the throwie higher than it could be thrown.
Oh that’s a dangerously good idea.
No. Dangerously good would be a potato cannon that blasted out a whole wad of throwies… Wait, that’s a great idea. Why has no one tried that yet?
Instead of fancy/expensive batteries, why not use cheap coincell batteries and a relatively cheap boost converter?
The coin cells still dont have the power and the boost converter drains the battery even with the esp in sleep mode.
If you use a battery at the right voltage without the need for the converter you dont have the constant excess drain from the converter.
Loads of conersations on this on the esp8266.com forum and how to get the most out of battery power.
You can have a lipo for less than a dollar. Plug and play. And it is rechargeable…
Coin cells have very high internal resistance, even ones with high capacity close to 1Ah. With or without a converter, none is capable of providing about 300-500mW which the ESP needs.
“in sleep mode, the ESP only uses about 15mAh,”
“Sending a picture takes 30 seconds at 120ma, or about 120mAh”
I’m not one to complain about minor typos or incorrect word usage, but getting units wrong like that? I refuse to stay silent! I”m as mad as hell, and, I, uh, what was I saying?
Haha, exactly. This is the kind of stuff you read on Engadget not Hackaday.
i do not understand your math,
30 sec at 120ma will cost you 1mAh, not 120
so you can send 500 picture from a 500mAh battery.
And from the same battery, without picture you can stay in sleep for 33h
Jacques, it isn’t my math. I was quoting the original article exactly because it is using the wrong units and coming up with some bad calculations.
Yes. Fault is mine & corrected. Typed too late, too quickly. At least the numbers are directionnaly right ;-)
The cc3200 uses 14mA full out and 5uA while hibernating. Suspended mode uses 850uA and keeps the wifi open (can wake to full in 5ms)…. bit more expensive though….
I am guessing you are looking at the wrong numbers. the CC is better, but not even by a factor of 2. Example: it needs 59mA in RX vs 80 for ESP.
On the low power side, the ESP would need 1.2mA with DTIM 1, vs 0.8 for CC. However i did not see many ESPs being made to operate in sleep mode with DTIM wake up yet.
There are however other areas where the ESP kind of sucks….like waking up from any pin requires a sleep current of 0.6mA…really bad. Still, it is a more attractive chip than the CC because of price….which also build a much bigger community around it.
I was pretty disappointed when I read that also.
This is exactly why I stopped reading Slashdot- it called itself “news for nerds” and made basic errors with dimension when talking about energy production which made their article summaries meaningless. It’s clear whoever wrote this either
a) was in a massive hurry and had to type faster than they could think
b) has no idea what mA and mAh means and just decided to sprinkle a few throughout the summary, like IP addresses in Hollywood hacking, to make it look better.
Use a solar cell and NiCad batteries. LiPo’s need very special charging while you can abuse the hell out of NiCad/NiMh batteries for a long time with a direct solar cell charging before they die.
Yes it makes it bigger, but it also makes it last dramatically longer, possibly an entire summer
Easier way to do this is to hack a 4$ smartphone solar powerbank – includes case (with enough space for the ESP), battery, solar panel & power control. You only need either a cheap 5V to 3.3 V converter, or to hack the power management module to get 3.7V output (which is what the battery delivers) instead of 5V. Anybody knowing how to do this ?
Here is how it looks inside : https://drive.google.com/file/d/0BxihJAX2N6_JUkpfVTFQanJnQWM/view?usp=sharing
Alternatively, you could get a two or three solar powered garden lights from the dollar store and repurpose the solar cells and batteries.
Or just gut the dollar store garden lights, epoxy a sufficiently-big magnet to those guts, and have a go at it the old fashioned way.
Solar-powered thowie, $5.
(OI course, these cheap lights only last for a few months, and even when in their prime only produce useful light for a couple of hours after sunset.)
I have been getting rather good results using the 97 cent ($.97) lawn lights from WalMart. They are out in full sunlight mostly, with a few in partial shade. I leave the house for work at 4:15 am and most if not all of the full-light ones are still it, the shade ones are out. We have ~75 of them out on the lawn, and the only fatalities after a year is due to water rising. :( The clear plastic lens does fog with age, and not give the same pattern or brightness as new. But hey, for less than a $1.. good show.
image – http://simplypreparing.com/wp-content/uploads/2012/10/dollar-solar-lights.jpg
I have also gutted the lights and used the circuitry for small party lamps. Worked well!
Please don’t use NiCads unless you will be picking the device up and recycling it. Scattering batteries around the landscape is never a good idea, but at least NiMh and LiPo don’t add cadmium to the environment.
LiPos need very special charging that can be handled with less-than-dollar board. NiCads are very enviromentally unfriendly so they are the worst coice for throwing around.
Wait, where did he even get a half-dollar? There must be some teenage hackers on HaD that have never seen one… lol
Just to keep the information honest: the esp modules use about 30uA (microAmp, not milliAmp) in deep sleep. The latest ones (e.g.esp-12e or -12f) go as low as 10uA. deep sleep is what you will normally do most of the time, then one in a while wake up and do something, using on average 80mA (if WiFi is on, much less otherwise) so spending a few 100s mAsec. Forget other sleep modes when running on battery power.
The garden light is a good idea, but why going to the dollar store when you can go … to the cents store : http://www.aliexpress.com/item/2015-New-Mini-Portable-Solar-Power-3LED-Light-Keychain-Torch-Flash-Flashlight-Key-Ring-Gift-Rechargeable/32428752751.html?spm=2114.031010208.3.2.ZvUcW9&ws_ab_test=searchweb201556_9_71_72_73_74_75,searchweb201527_1,searchweb201560_9
According to the feedback on banggood, that one don’t actually use rechargeable cell nor have the solar cell connected.
I have one, identically looking, from a store in vienna. It has 3*40mAh NiMH cells in it and it did charge them until I dropped it from 10 or 20m of height. I found all parts and put it together again and wondered 2 weeks later why it is empty. The connection from the 1N4148 diode to the glass solar cell was broken. Luckily there was a second connection point on the glass, so I could repair it.
I would like to (and think about) replacing the Batteries with a small 200-300mAh LiPo. But for this I need an ultra-low quiescent current charge regulator.
I bought one from eBay, looks exactly like that. Solar panel is not connected at all, but it is a solar panel, if you solder wires to it you can measure voltage and current when exposed to light. LEDs were conected to coin cell, not rechargeable one. There are bunch of fakes like that on eBay, they last just enough to give positive feedback, then they die.
Since the maximum voltage spec on the ESP8266 is 3.6 volts and LiPos put out 3.7V (4.2V fully charged) it would seem the life expectancy of the chip with this battery connected directly to the ESP-01 shown would not be long.
ESP8266 boards with regulators on them usually need close 5V input to generate 3.3V for the chip.
LDO (Low Drop Out) that uses CMOS/DMOS are what you want as they usually have 100-300mV drop out in full load and low quiescent current in the uA range.
The old transistor based one such as the cheap/popular 1117 ones have 1.1-1.3V drop typ and 5-11mA quiescent current and are not suitable for long battery life.
“in sleep mode, the ESP only uses about 15mAh,”
“Sending a picture takes 30 seconds at 120ma, or about 120mAh”
Congratulations Hackaday on joining the ranks of “tech” blogs posting meaningless gibberish about energy/power using the wrong quantities, units and time dimension. Silly grammar mistakes are forgivable; complete lack of understanding of the difference between energy and power in an article summary *explicitly about battery capacity* is not.
So… I have had success powering this way: http://www.batteryjunction.com/panasonic-cr2032.html?gclid=CjwKEAiAq8bEBRDuuOuyspf5oyMSJAAcsEyWi-PNSmjDI_KYeD1cyzcCOhszTgSG0u4trahim8thdBoCe-bw_wcB
220mah