This Video will illustrate you how to visualize audio left and right signals in bar-graph in 16X2 LCD Display using Arduino. Components Required: 1. Arduino UNO 2. 16X2 LCD Display 3. 3.5mm Audio Jack 4. Jumper Wires Connection Diagram: Video Link Arduino Code #include <LiquidCrystal.h> #include <fix_fft.h> #define DEBUG 0 #define L_IN 1 // Audio input A0 Arduino #define R_IN 0 // Audio input A1 Arduino const int Yres = 8; const int gain = 3; float peaks[64]; char im[64], data[64]; char Rim[64], Rdata[64]; char data_avgs[64]; int debugLoop; int i; int load; LiquidCrystal lcd(11, 10, 7, 6, 5, 4); // pins to LCD // Custom CHARACTERS byte v1[8] = { B00000, B00000, B00000, B00000, B00000, B00000, B00000, B11111 }; byte v2[8] = { B00000, B00000, B00000, B00000, B00000, B00000, B00000, B11111 }; byte v3[8] = { B00000, B00000, B00000, B00000, B00000, B11111, B11111, B11111 }; byte v4[8] = { B00000, B00000, B00000, B0
This Blog will illustrate to you how to make Color changing Emblen light using the PWM of Arduino. using this you can make your emblems look more attractive. Video Link Components Required 1> Arduino UNO 2> 12V RGB led strip 3> 2N2222 Transistor 4> 10K ohm Resistor 5> Jumper Wires 6> Small Breadboard 7> Acrylic Engraved Emblem 8>IC7805 Power Regulator Circuit Diagram Arduino Code const int greenPin = 10 ; const int bluePin = 9 ; void setup () { // Start off with the LED off. setColourRgb ( 0 , 0 , 0 ); } void loop () { unsigned int rgbColour[ 3 ]; // Start off with red. rgbColour[ 0 ] = 255 ; rgbColour[ 1 ] = 0 ; rgbColour[ 2 ] = 0 ;