In yesterday’s post, I reported how the 4.3V zener diode wasn’t quite cutting it – it wasted too much power.
But the new setup described in that post (12V zener w/ 100 µF cap from a 0.4 mA input trickle) works great:
Note how the supply voltage recovers from a packet send within a mere 0.2 seconds. What I’m hoping now, is that with a capacitive supply on 230V, the average power supply consumption will end up well under 0.1 W.
This experiment was done with almost the same sketch as before – running on a standard JeeNode for now:
Every 10 seconds, a dummy packet gets sent out – as this receiving node shows:
OK 4 0 0 0 0 0 0 0 0 OK 4 0 0 0 0 0 0 0 0 OK 4 0 0 0 0 0 0 0 0
And it keeps on going as long as the 0.4 mA trickle is on. It turns out that the energy consumption is so low that it will keep running for quite a while on a single 100 µF charge, before crashing into some indeterminate state:
Note the time scale: 10 s/div – enough to send out six valid packets!
There’s still some nastiness to get startup reliable. I’ll probably need to mess with the BOD fuse setting and perhaps also power up with the 8x prescaler enabled, to be absolutely sure that the JeeNode doesn’t start drawing too much current before there is sufficient energy in the 100 µF capacitor.
For kicks, I tried pushing things to the limit: with a 10 µF cap, plus the 10 µF on board the JeeNode, the sketch still works, but each packet transmissions now drops the supply to a dangerously low level of about 3.7V:
Eventually, sailing this close to the edge causes the node to fall into some sort of zombie state. But as you can see, it now takes only 50 mS to recharge this cap @ 0.4 mA. So could that trickle feed be reduced to – gulp – 0.04 mA? This is getting silly, but first I must get that power-up logic fixed – right now, the JeeNode isn’t starting reliably.
Anyway. It’s mind-boggling how little energy is needed to get a little bit of info across the house!
PS. I’ll stop posting oscilloscope snapshots for a while. There’s more to this weblog than scopes and signals…