LCD Vu meter / clock
Вставка
- Опубліковано 16 жов 2024
- WOW ... over 1000 subscribers.. what can i say... a huge thankyou to everyone thats subscribed.. and Happy 2018 everyone.
By now from my videos you can guess i love vu meters and clocks.
Being bored over christmas i decided to going through my box of bits and found an lcd from an old kit from when i first started with the arduino... ( im sure we all have one somewhere..)..
I saw a few vu meters on these lcd displays, but finding the code, or people willing to share to code almost impossible..
As always ive gone a little over the top.. 2 clocks, one with temps, and date. easily personalised. full build instructions and code included.
code link : drive.google.c...
link to lcd library : github.com/ard...
i made this in a 3d printed case, it's been working great !
Thanks for publishing the series - I really enjoy them and looking forward to the next instalment/project. Please keep them coming!
Thanks my friend you are the best, I will do the tests, I had to comment this line to run on my i2c, //i2c pins
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
Wow! Happy New Year with a great new project..... gotta get my gears ready.... THANKS!
Do we still need to compile this with Arduino 1.6.5 or the newer one will suffice?
Laurenti Tolledo happy New year... this will compile using the latest arduino ide.. only the older projects need to be compiled using version 1.6 revision 5.
Hello Dear, I looked you are used spectrum analyser too. What is the clock speed of your MCU? I need change FFT code for my PIC MCU(32mhz) I'm using a ssd1306 display.
Nice! I have heard that song on enough of your videos I now think of it as your “Theme Song.” Hope you had a happy holiday season. Look forward to your 2018 videos. Paul.
Paul Jaruszewski Hi.. it is becoming my theme song.. my problem with using audio on the vu meters is finding a song with a good beat, mid tones etc so I get a good vu reaction. Its Also so I don't get copyright hit from UA-cam..
THANK you . HAPPY NEW YEAR !
very nice congratulations.
you could use both lines when using 15 bars
Gerardo Rea Hi.. after watching the video back after I posted it. I had the same thought.. so an update will be coming shortly
Great, but you can update the code by adding a pin for marking 1 or 0. So that when the amplifier is turned on it will be 1 and turn on the 3rd mode, when I turn off the amplifier it will be 0, then turn on the 1st mode immediately.
Thanks for sharing this project and background music amazing
У тебя просмотров больше чем у меня, хотя я очень старался, а ты припаял готовые модули. А так лайк!
I do try and stick with projects that anyone can do - so using parts already built. making my own pcb i have never tried and takes alot of skill - so good job on your version
Very nice.
Thank you for sharing.
Great project bro, I am going to build this one, and tell u the results
I've tweaked it a bit, sorry....
Hello! Can you please tell me how to increase the input signal level in the sketch? I connect to the line output, and the spectrum is weakly displayed on the display. Thanks in advance.
U made my day with lights thank 🙏💕
Did you really plugin the headphone jack directly without any capacitors or diode? And somehow that works!?
As always... excellent!!!
Have you tried a project with an accelerometer triggering a sound file?
Good! Very good!
Congratulations!
bro does the lcd will print anything ,without using rtc module
Wow, congratulation........
what changes do i have to the code in order for it to start at the 2x7bar stereo mode without pressing the button?
// case 1:
// simple();
// break;
// case 2:
// timedate();
break;
case 1:
All();
break;
case 4:
bars();
break;
case 5:
mono();
break;
case 6:
stereo8();
break;
case 7:
stereo16();
break;
case 8:
Two16_LCD();
break;
case 9:
lcd.clear();
break;
}
}
// List of patterns to cycle through. Each is defined as a separate function below.
typedef void (*SimplePatternList[])();
SimplePatternList gPatterns = {bars, mono, stereo8, stereo16, Two16_LCD };
uint8_t gCurrentPatternNumber = 0; // Index number of which pattern is current
void nextPattern()
{
// add one to the current pattern number, and wrap around at the end
gCurrentPatternNumber = (gCurrentPatternNumber + 1) % ARRAY_SIZE( gPatterns);
}
void All()
{
// Call the current pattern function once, updating the 'leds' array
gPatterns[gCurrentPatternNumber]();
EVERY_N_HOURS( 20 ) { nextPattern(); } // change patterns periodically
}
// second list
Excellent... You are great.
θα μπορεις να μοιρασεις το εργο σου; να μας δωσεις το σχηματικο και τον κωδικα χωρις το ρολοι..ευχαριστω πολυ.
tha boreis na moiraseis to ergo sou? na mas doseis to schimatiko kai ton kodika choris to roloi..efcharisto poly.
could you share your work? please give us the schematic and the code without the rolls.. thank you very much.
noob and im having trouble with the build, i cant get my button to work. Does anyone have tips or a picture of how they did it? im not understanding the schematic or how to wire the button on the breadboard. Ive gotten the code uploaded , and the start up screen animated. Then it gets to the first selection and shows a blank time even though i uncommented and put a new time in. Everything else seems to be powered, i just cant get the selection to change with the button.
Danke dir. Super.
ein Schaltplan währe auch gut
Mache weiter so
can we void ds3231 hardware and just only jump to the volume meter an spectrum analyzer please???????
this is crazy
Self control from Sena şener :)
Obrigado por publicar
I am install arduino older version but error in fastled
thank you for sharing the code
but it is not working ?
muito bom
And cant compile it ,showing error
What error are you getting ?
bro now it compiled Thanks;
Bro can we use i2c module for connecting lcd from arduino board
@@athulcastro1190 /*
modified by varind in 2013
this code is public domain, enjoy!
*/
#include
#include "DS3231RTC.h"
#include
DS3231 rtc(SDA, SCL);
#include
#define ARRAY_SIZE(A) (sizeof(A) / sizeof((A)[0]))
//#include
//.................................................
#include
#include
//....................................................
#include
#include
#define BUFF_MAX 128
#define LCHAN 0
#define RCHAN 1
int buttonPin = 0; // momentary push button on pin 0
int oldButtonVal = 0;
const int channels = 2;
const int xres = 16;
const int yres = 8;
const int xres2 = 32;
const int yres2 = 8;
const int gain = 3;
int decaytest = 1;
char im[64], data[64];
char Rim[64], Rdata[64];
char data_avgs[32];
float peaks[32];
int i = 0,val,Rval;
int x = 0, y=0, z=0;
int load;
int nPatterns = 9 ;
int lightPattern = 1;
int lmax[2]; // level max memory
int dly[2]; // delay & speed for peak return
uint8_t time[8];
char recv[BUFF_MAX];
unsigned int recv_size = 0;
unsigned long prev, interval = 1000;
//LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //saves 5 pwm pins for servos, leds, etc
//...................................................................................................
LiquidCrystal_I2C lcd(0x3f,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
//....................................................................................................
// VU METER CHARACTERS
byte v1[8] = {
B00000,B00000,B00000,B00000,B00000,B00000,B00000,B11111};
byte v2[8] = {
B00000,B00000,B00000,B00000,B00000,B00000,B11111,B11111};
byte v3[8] = {
B00000,B00000,B00000,B00000,B00000,B11111,B11111,B11111};
byte v4[8] = {
B00000,B00000,B00000,B00000,B11111,B11111,B11111,B11111};
byte v5[8] = {
B00000,B00000,B00000,B11111,B11111,B11111,B11111,B11111};
byte v6[8] = {
B00000,B00000,B11111,B11111,B11111,B11111,B11111,B11111};
byte v7[8] = {
B00000,B11111,B11111,B11111,B11111,B11111,B11111,B11111};
byte v8[8] = {
B11111,B11111,B11111,B11111,B11111,B11111,B11111,B11111};
void setup()
{
// ...........................................................................
lcd.init(); // initialize the lcd
lcd.init();
lcd.backlight();
// .........................................................................
Wire.begin();
DS3231_init(DS3231_INTCN);
order 1
SCHEMATIC ???
Not providing necessary information about coding
More info ?
Bro after uploading the lcd does not show any characters ,only squares in first row
someone has the code, only the vu meter, without the temperature and time meter.
Working on it. I also use LiquidDisplayI2C beacause I do not want all the cables. I have few errors anyway: I think Adruino IDE was previously less regarding with variables types. I will spend some time on the subject this week. Hope somethng will work.
Below a link for 16x02 LCD with I2C, only 2 cables for SDA and SCL.
www.aliexpress.com/wholesale?catId=0&initiative_id=AS_20190519082705&SearchText=1602+i2c&switch_new_app=y
I have created a repo on github:
github.com/renaudrenaud/ArduinoLCDVumeter/tree/master
@@renobodyrenobody
thanks I did both lcd and i2c, but I'm using the inputs a0 and a1, but the stereo does not work well, because when I take a channel it keeps showing.
@@hotmixstereo I've modified the code tonight. If you go on my github, you can grab it... I've tu,ed some calculation to be in par with my preamp output. Instead of /2 I multiply by 8...
@@renobodyrenobody
I did the tests on both the lcd keypad and the lcd i2c, it worked perfect, thank you, only thing that I will try to find out in the bar option shows little characters need to increase the volume too much, already in the other options have to lower the volume enough.
@@hotmixstereo Man, let me until the end of the week. My idea is to allow the user to set the "sensibility".. I also want to test with 4x20 LCD...
Can i use it on Arduino nano?
Yes