Most recent activity
Thanks for your feedback. Measuring voltage is a very good idea. If it's low: go back to sleep/idle and safe energy for a later moment. Using a solar battery charger is a good idea, maybe those solar powered garden light can be useful as well, just to see what circuit they have.
Thanks for your reply. I want to use wifi mainly for sniffing every 2 hours. So some writing to flash would be needed for a short amount of time.
Maybe a lightsensor could help to get an indication about the ambient light and thus the solar cell / supercapacitor.
But when it sees a trusted network, like office or home it should calculate if there is/was enough light and if a trusted network is within reach to upload the log of wifi sniffing. The device will be outside, so logging light every 2 hours will also give an indication if it is morning or evening. In the evening the supercapacitor should have enough power to run for 5 seconds or something like that.
If that won't work, the device will be at the office or at home, at a trusted location, so we can pick it up, power it and upload the log as well.
What type of capacitor should work in this case? How easy can the circuit be?
As many on this forum and in general at IoT, I'm looking for a way to extend the battery life, or... to not use a battery at all.
I do have a technical background, but not in electronics. I don't have a lot of requirements about when or if the Espruino should work, because I was thinking about this:
- Trigger the Espruino wifi once in 2 hours.
- Use ambient light harvesting, a lot about it is written in here: https://www.digikey.com/en/articles/techzone/2017/jun/a-simple-approach-for-harvesting-energy-from-indoor-lighting in combination with a supercapacitor
- If there is no energy left, that's a pitty, but not really a problem for me. I don't know if it's a problem for the Espruino? Or can it be a problem if the Espruino wil crash / or get an power outage during code execution?
- If there is light enough / energy enough in the capacitor, then trigger again once in two hours.