Sound to Light Color Shield for OLEDUINO v2
Sound-to-Light Shield: OLEDUINO-V2 audio pre-amp & rectifier. Converts sound to DC pulses for NeoPixel RGB LED control.
This project is a Sound-to-Light Color Shield designed for the OLEDUINO-V2. The shield includes a low-voltage microphone preamplifier and a rectifier circuit that converts the AC audio signal into a DC voltage. This DC signal is fed to the analog input pin (A1) of the OLEDUINO-V2.
When the microphone receives sound, the preamplifier generates small DC pulses corresponding to the audio signal. The OLEDUINO-V2 microcontroller reads this signal through its ADC and processes it to control a NeoPixel digital RGB LED strip.
A 3-pin header is provided on the board for easy connection of the LED strip. Users can develop their own code to create various effects such as:
- Sound-to-color conversion
- Sound-activated ON/OFF control
- Sound-based lighting patterns and animations
This is a fun and versatile project that can be used in many creative applications.
D1 and C6 convert the AC audio signal into a DC voltage, which is measured by the Arduino’s ADC. The user can adjust the RC filter values according to the application requirements.
Features
- 5V DC supply
- 3-pin header connector for LED interface
- Compact size
- PCB dimensions: 25.4 mm × 25.4 mm
Microphone Amplifier
Electret microphones are commonly used in portable electronics because of their small size, low cost, and relatively good signal-to-noise ratio (SNR). The small package size, low operating voltage and excellent AC performance of the TLV6741 make it an excellent choice for preamplifier circuits for electret microphones. The circuit shown in Figure is a single-supply preamplifier circuit for electret microphones, consist the TLV6741 device. TLV6741 10Mhz, low broadband noise, pro, operational amplifier
This project uses an op amp in a transimpedance amplifier configuration to convert the output from an electret microphone in to an output voltage. The common voltage of this circuit is constant and set to mid-supply eliminating any input-stage cross over distortion. Diode and capacitor on output converts audio AC signal in to DC signal.
OLEDUINO-V2
https://www.electronics-lab.com/project/oleduino-v-2/
Arduino Code
Arduino Code provided to test the board, user may modify and write own code to create light to RGB light effect
More Information on Neo Pixel LED: https://www.adafruit.com/product/1138

Connections
- CN1: No Use
- CN2: NeoPixel LED, Pin 1 = VCC/5V DC, Pin 2 = Data, Pin 3 = GND
- Arduino Pins: D9 Digital Pin = NeoPixel Data Pin, Analog A1 = Audio Signal Input
Schematic
Parts List
| NO. | QNTY. | REF. | DESC. | MANUFACTURER | SUPPLIER | SUPPLIER PART NO |
|---|---|---|---|---|---|---|
| 1 | 2 | CN1,CN2 | 3 PIN MALE HEADER PITCH 2.54MM | WURTH | DIGIKEY | 732-5316-ND |
| 2 | 3 | C1,C3,C5 | 2.2uF/16V TANTLUM SMD SIZE 1206 | KEMET | DIGIKEY | |
| 3 | 1 | C2 | 15PF/50V CERAMIC SMD SIZE 0805 | YAGEO/MURATA | DIGIKEY | |
| 4 | 1 | C4 | DNP | DIGIKEY | ||
| 5 | 1 | C6 | 22uF/16V ELECTROLYTIC 6x6MM | WURTH | DIGIKEY | 732-8413-1-ND |
| 6 | 1 | D1 | 1N4148 SMD | MICROCHIP | DIGIKEY | 1N4148UR-1-ND |
| 7 | 1 | MK1 | MICROPHONE CONDENSOR | PUI AUDIO | DIGIKEY | 668-1197-ND |
| 8 | 1 | R1 | 6.2K 5% SMD SIZE 0805 | YAGEO/MURATA | DIGIKEY | |
| 9 | 2 | R2,R5 | 100K 5% SMD ISZE 0805 | YAGEO/MURATA | DIGIKEY | |
| 10 | 1 | R3 | 75K 5% SMD SIZE 0805 | YAGEO/MURATA | DIGIKEY | |
| 11 | 1 | R4 | 49.9E 1% SMD SIZE 0805 | YAGEO/MURATA | DIGIKEY | |
| 12 | 1 | R6 | 11K 5% SMD SIZE 0805 | YAGEO/MURATA | DIGIKEY | |
| 13 | 1 | R7 | 330E 5% SMD SIZE 0805 | YAGEO/MURATA | DIGIKEY | |
| 14 | 1 | U1 | TLV6741 | TI | DIGIKEY | 296-48176-1-ND |
| 15 | 2 | U2 | 8 PIN FEMALE HEADER PITCH 2.54MM | WURTH | DIGIKEY | 732-61300811821-ND |
| 16 | 2 | U2 | 10 PIN FEMALE HEADER PITCH 2.54MM | WURTH | DIGIKEY | 732-2859-ND |








