Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino Nano Controlled Sound and Light Effects System with NeoPixel LEDs

View and Edit Project In Cirkit DesignerImage of Arduino Nano Controlled Sound and Light Effects System with NeoPixel LEDs

Circuit Documentation

Summary

The circuit in question is designed to control a series of WS2812B White LEDs, Adafruit NeoPixel Jewels, and Adafruit NeoPixel Sticks, all of which are individually addressable RGB LEDs. The circuit is controlled by an Arduino Nano microcontroller, which is responsible for driving the LED animations and interfacing with an Adafruit Audio FX Mini Sound Board for audio playback. The circuit also includes toggle switches and push switches for user interaction, a piezo speaker for audio output, a lipo battery for power supply, and MP1584EN Power Regulator Boards to regulate the power supply to the components. The Arduino Nano runs embedded code to manage the LED animations, sound playback, and user inputs.

Component List

LEDs

Controls

Sound

Power

Microcontroller

Miscellaneous

Wiring Details

WS2812B White LED

Adafruit NeoPixel Jewel

Adafruit NeoPixel Stick

Toggle Switch SPST

2Pin Push Switch

Adafruit Audio FX Mini Sound Board

Piezo Speaker

Adafruit PAM8302

MP1584EN Power Regulator Board

Lipo Battery 2200mAh 30C

Arduino Nano

Documented Code

The embedded code for the Arduino Nano is written in C++ and is designed to control the LEDs and sound board based on the inputs from the switches and buttons. The code includes libraries for managing the Adafruit NeoPixel LEDs (Adafruit_NeoPixel.h) and the Adafruit Sound Board (Adafruit_Soundboard.h). It also uses a custom queue library (QueueArray.h) to manage audio track playback.

The main functionality of the code includes:

The code is structured with setup and loop functions, as well as helper functions for LED control, sound playback, and animations. Comments within the code provide additional details on the functionality of each section.

Note: The actual code is not included in this document but is referenced by file names such as Neutrino_Wand.ino, QueueArray.h, and Adafruit_Soundboard.h. The code should be reviewed in conjunction with this documentation for a complete understanding of the circuit's operation.