It has taken some time to organize for the semi-final activities but we have built up the necessary steam for the final stretch. First coding task was implementation of the hardware interrupt on the ATMega328. Gilbert finished and tested the code this week. When a lightning strike (or disturber) is detected, the microcontroller wakes up, and continues to monitor until no event has occurred for ten minutes, after which it goes back to sleep. The code can be found at: https://codebender.cc/sketch:130427 .
After further and final testing, the settings of the AS3935 lightning detector has to be changed in such a way that it will only cause an interrupt when a lightning strike is detected, and not when a disturber or excessive noise is detected.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.