Work in progress, after days of working to get the separate components of the cloud working independently I now have them working together in the same arduino sketch. The components I am using are the the PIR sensor, the Wav Shield & LED Storm. My system does thus: The PIR sensor is triggered by motion > then the randomized Lightning sequence begins in a randomized cycle followed by a super lightning strike > milli seconds after the super lightning strike is a randomly selected thunder sound, the cloud then waits until the PIR is triggered again.
Here is my code thus far: Continue reading “The Cloud”