a simple Arduino code for thunder cloud
The whole peoject base on hardware from DFRobot
Hardware:
- Arduino UNO
- Digital PIR (Motion) Sensor For Arduino
- DFPlayer Mini module with speaker
- Digital RGB LED Strip 120 LED-White (WS2812)
- 1k resistor
- Micro SD card (FAT32)
Connection: Aleardy in the source file comment at the beginning
Reference:
- Connection between DFPlayer and UNO https://www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299#Connection_Diagram