One impossible thing
HTML-код
- Опубликовано: 4 окт 2024
- Each video I will grab a random electronic component from the vault and build a circuit - this week I look at a wacky 16-step comparator buried in the PFS154 - it also acts as an interrupt?
Note - due to comment below from Ivolol (pinned) I have changed and updated the code on the blog below. Thanks mate! Champion!
More info at onecircuit.blo...
www.tindie.com...
You disable comparator (at the end of checksolar) but then want its interrupt to work? I am amazed the current code works
You should not be setting ITRQ to 1, it is set by the hardware. Only the interrupt routine then clears it.
I’ll check the code again, but that seems like a snafu from me - great pickup! Back to the bench and I’ll update the code when I get it working. Thank you! Sometimes I’m in so deep I miss the obvious. 👍😀
Success! Thank you Ivolol - updated code is now on the blog - I still feel there are improvements to be made, but it's working under the supercap with no issues! 👍😀
Suggestion: just tie the solar panel to a jewel thief (joul thief) circuit and let it charge the capacitor. You can control how long it lights with pwm so you should be able to solve this by changing the duty cycle. Just how I would solve these things.
Shhh! Your giving away my two next videos on this project! 👍😀
Always good.👍 👍 👍 👍
Only get 4 hours, use more super caps. I need to get off my but and send the ones I have that I promised you.
Next vid will address the longevity of the super cap. Shhh! 🤫