Finally, some instruction that actually worked (and was not outdated). Was just a bit fast passed for my caveman like brain, but with generous use of and I was able to follow all the instructions. I am really looking forward to reviewing your other posts. Thanks. JB
Thank you Sir. Finally, after stuck for almost a week with no display. A simple "Hello World!" on my display is totally worth it. You got a new SUBSCRIBER! :)
pls can you share what you did to see that Hello on the display, I did everything and followed all instructions but still no success, no text but only a lit up screen.
The 3rd line in the example code, with the pin assignment for the chip on the I2C backpack, was the missing ingredient I struggled with for hours until I found this video. Thanks!!!
To the people who are using an Arduino Mega 2560, use digital pin 20 and 21. These are literally labeled as SDA and SCL. You may also need a I2C scanner that works with the mega. And your Serial will be 115200 baud (set at the bottom of the serial monitor). Doing this, you should be able to get the I2C address. Mine was the same as the video '0x27' Googling and other TH-cam videos helped me with this.
3:03 how do I know the parameters of the display?? I´ve already got de first parameter with the scan code, it was 0x3F, but I don´t know the rest, how to I get those numbers?
Look on the piggyback board and you see number like PCF8574 or PCF8575 or PCF8578T, then might need look them up, this example relates to PCF8578T which usually has address of 0x27 by default. I don't know how to better help you learning myself. You will need a good magnifying glass, I use a jewelers loupe which magnifies it greatly so I can read the chip
This is a great help for an enthousiast like me, well documented and all. Thanks a lot. This saves me a lot of time searching around so I can continue my little project .
Hi. Thank you. I have just set up a Nano with this LCD display and was wondering why it wasn't working. You mentioned the contrast... Yep, that was all it was. BTW the pins for the Nano are the same as for the Uno.
For some reason, when plugged in, the screen shows the top row completely on (Fully white), and the bottom row completely off. I have tried adjusting the contrast knob on the back to no avail, what have I done wrong?
Great video! I would add that you need to use a screwdriver to change the contrast on the LCD in order to see anything being printed to it!! Spent way too long figuring that out.
Can you do this same project but with the built in LiquidCrystal library. My IDE does not like me trying to add a zip file or just paste the liquidcrystal file strait in. Thanks!
You have to download I2C sketch run it in Arduino open serial window at top right corner of sketch and it will give you the I2C address looks like this:0x3F or 0x70 that's the address,hope this helps
I realize so many asking about how to find the parameters for the code below: LiquidCrystal_I2C lcd( ??? ); My working setup is like this: LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); The actual layout of the parameters: LiquidCrystal_I2C lcd(ADDR, EN, R/W, RS, D4, D5, D6, D7, BL, BL_POL) ADDRESS = 0x3F //Use I2C scanner to find this. Link: playground.arduino.cc/Main/I2cScanner BL = Backlight BL_POL= Backlight Polarity * You can change backlight polarity to POSITIVE or NEGATIVE. Positive to turn on light. Negative to turn off light
Thanks a lot,I really like your tutorials. please continue explaining everything about Arduino. And another thing, what programming language does the IDE use? I have read that Arduino is built on c and c++, but it uses Java in its interface. I can't really understand!!!
I find it !! You must delet ALL librairies "liquid ..." in your comp. Go to "Download", and delet all librairies "liquid ....zip". Re-install : bitbucket.org/fmalpartida/new... and it work
Thank you for posting this awesome video. It's so informative. From a total novice the actually knowing how to use this I thank you. My only problem so far is that my new lcd doesn't want to display the words "Hello World!", it only displays the first H when trying to write Hello World, but when it displays all other characters it has no problem, but the phrase "Hello, World!" for some odd reason does not want to display at all. Any advice?
hii, it was awesome, can we hard code it, such that when it is not connected to the computer just receiving a power supply and when we start the circuit than the program runs automatically. please answer it I have a project to submit in college.
+techydiy thanks for the reply so can we power it up if i connect it to my mobile through usb cable or some other cable , and one more question pls answer it can i charge the circuit using some sort of charging adapter and it will work for a certain period of time.
See this video about how to wire a battery and charging circuit to an Arduino th-cam.com/video/8lBElJRLUss/w-d-xo.html. It's a different type of project but the principles are the same.
HEYYYYYY if your screen is just one color but back light works its bc there is a phillips screw type pot on the back to adjust contrast, turn that to see text
The i2c drivers are open drain, which means they can pull the signal low but not drive it high. The function of the pullup resistors is to drive the lines high. The minimum value of the resistor is limited by the i2c drivers ability to pull the lines low. The maximum value of the resistor is limited by the capacitance. Basically the longer the i2c lines, the greater the capacitance and the lower the required pullup resistors.
hi, im new to arduino and i just want to ask this. i'm trying to use pin 2 as an interrupt pin but at the same time im using lcd with i2c, in the sketch pin 2 is assigned already, does it mean I can't use pin 2 as interrupt pin anymore? im using a flow meter sensor
I know this is old but I hope you can help. I have the exact same LCD as you and followed all the instructions but my backlight will not turn on when I upload the code. I know it works becuase when I first plugged in the LCD, the backlight lit up like a christmas tree. It was only when I uploaded the code that it wouldn't work.I can see "hello world" diplayed on the LCD, however. Just no backlight. lcd.backlight() will not work either as the IDE does not recognize this command. Where did I go wrong?
I get black boxes on the first line, and almost every example im testing, the backlight ends up flasing. I have 2 different displays, and i have found the adress fr both of them, but changing it doesnt help. I have had them both working before, and remember i was searching alot to find a code that actually worked. Its displays bought from china if that matter, and they got the display driver (backpack on them) Any good tips?
Your backpack might be wired differently. Try this line instead: LiquidCrystal_I2C lcd(0x27, 4, 5, 6, 0, 1, 2, 3, 7, POSITIVE); // Change the 0x27 i2c address to the i2c address found with the i2c scanner sketch
@@techydiy If this is the one in the description, i tried it but it didnt help. When i last made it work i found some info, mine has FH written on the backpack, and this would mean i had to use some kind of code to make it work. But i dont remember what. I might have to google it again..
hello sir. i have 2 lcd. both 2004 but different type of i2c bus (0x27 and 0x3f). can i connect 2 lcd using different i2c bus to arduino mega to make it work? thanks
+Zyro Zack You can connect both LCD displays to one i2c bus as long as the i2c addresses are different. You can then address each device individually. You will probably need to have two pullup resistors on the SDA and scl line. Try 4k7 to start with.
Thanks, can I also use two separate devices, one connected to the SCL / SDA and another on to the A4 / A5? I've tried doing so with a DS3231 and the LCD, but the display never seems to work.
Those lines are just connected to each other. But yes you can have more than one device connected to I2C. What you might need to do it is have lower values of pullup resistors. What I would do it connect them up individually and check the I2C addresses with the scanner. Then connect them up together and see if you can see the I2C addresses, if you can see both then your in business.
could somone help me? for a project on school i need to use arduino industrial 101 horrible thing never get it. my problem right now is that is doesnt have the A4 and A5 ports so i cant connect the screen to them. is there a way i can change the ports that are used in the library so that it wil work with for example A2 and A3
I don't know much about it, but looking at the schematic it has an ATmega32U4 on the board with I2C connections for an oled and the documentation mentions this is supported by the wire library, so that is where I would be looking.
Hi, I wonder if you could help me, I'm trying to develop a weighing scales that has a built-in max and minimum alarm. The reason for this is I'm in the process of setting up a weight loss business and I don't want my patients to be able to see their weight. Ideally what I want is for them to stand on the weighing scales and if they go over a preset maximum weight, an alarm will go off and similarly if they go below a preset weight an alarm will go off.
+cathal butler So you would use a strain gauge or load cell as the sensor, along with some mechanics to transfer the force to the strain gauge, then you would probably need a bridge and an op-amp, measure the output with an Arduino and then program it to do whatever you want. The mechanism is the hardest part, I would hack an existing set of electronic scales and it should have a strain gauge that you can hookup to. There are plenty of videos around about strain gauges, I think Andreas Spiess had a video about them.
hi my display is working fine at first, my supply is a connected to a resistor to change it to 5V(i have also used 7805 voltage regulator IC and 5V zener diodes), but then when the supply (12V battery) is being charged by a DC generator we noticed that the regulating voltages we use is not working anymore which in turn makes the LCD display random characters. Please help! Thanks
+Norberto Ramos The supply voltage is going to be variable and probably noisy, so a resistor is not good enough to regulate the voltage. The 7805 should be ok, but you probably need some smoothing capacitors and possibly filtering to remove noise. You should really measure the supply when tne generator is in operation to see what it's doing and then design the circuit based on that.
I cant really add much more without a circuit diagram. Your better off going to a forum where you can post diagrams etc. as it's almost impossible to help, without knowing what configuration we are talking about.
Hi, I am a nuvie and I just got the Arduino uno and a 20x4 serial LCD. I have watched all your video for a few time and when I reached to verified and upload the i2c_scanner a warning come up "Global variables use 484 bytes (23%) of dynamic memory, leaving 1564 bytes for local variables. Maximum is 2048 bytes". I have no idea of what to do, Please help me. Thanks
Have you installed the newliquidcrystal library from F Malpartida ? If the answer is no then you have missed out a step and need to watch the whole video. If you have installed the newliquidcrystal library then: From the Arduino IDE Select File - Preferences Select Show verbose output during compilation Ok Compile your sketch again You should see a message below that says something like: Using library NewliquidCrystal in folder: c:/Users/arduino/Documents/Arduino/libraries/NewliquidCrystal Check that the library path is correct. If its not finding the correct library NewliquidCrystal then that is the reason for the error.
@@techydiy The answer is no. I'm using 1.8.8 IDE version and it wasn't possible to add newliquidcrystal library from F Malpartida . But it's working now. Thank You..
Changing contrast fixed the problem. You even updated the library link. You take your job very serious. Thanks alot!
Thanks
Very happy to have bumped into this tutorial! I had the same LCD as in the video, hooked up to a Nano, and it ran in 10 mins. Thanks!
very well explained to the minute details , i had my i2c working after following this post , hats off to you ,
Finally, some instruction that actually worked (and was not outdated). Was just a bit fast passed for my caveman like brain, but with generous use of and I was able to follow all the instructions. I am really looking forward to reviewing your other posts. Thanks. JB
Love it Stoddard
Clear and excellent with no waffling or toxic music - thank you kindly
Thank you Sir. Finally, after stuck for almost a week with no display. A simple "Hello World!" on my display is totally worth it. You got a new SUBSCRIBER!
:)
That's good!
pls can you share what you did to see that Hello on the display, I did everything and followed all instructions but still no success, no text but only a lit up screen.
@@jaleelahmed8901 same here. have you got yours working yet?
Very clearly presented. This was my first time connecting an LCD, including with an I2C board and your walk-through was flawless. Thank you!
all except the pull-up resistors :)
My display showed text, but it was not lit. When I saw your suggestion to check the LED jumpers in your video, it saved me. Thank you for the video
Great to hear!
Cheers mate, this video made my 2nd year electrical engineering project a breeze :D
what u did for the project?
perfect learning material, with questions and all, the potentiometer did brightened my day :)
The 3rd line in the example code, with the pin assignment for the chip on the I2C backpack, was the missing ingredient I struggled with for hours until I found this video. Thanks!!!
Good stuff
Even after 3 years .. u are the king
BIIIG THANK YOU, my lcd does not worked, but when i wached your video it works!!!
+Krispy Cool, thanks.
To the people who are using an Arduino Mega 2560, use digital pin 20 and 21. These are literally labeled as SDA and SCL. You may also need a I2C scanner that works with the mega. And your Serial will be 115200 baud (set at the bottom of the serial monitor). Doing this, you should be able to get the I2C address. Mine was the same as the video '0x27'
Googling and other TH-cam videos helped me with this.
This is such a well done video, my Arduino kit came with an I2C LCD screen and this made using it a breeze!
Very cool presentation and project! 😊
Thanks! Saved me hours. Very well done explanation, but it does assume you have some experience. Nice job, thanks again.
Mate you are a life saver. It works.
3:03 how do I know the parameters of the display?? I´ve already got de first parameter with the scan code, it was 0x3F, but I don´t know the rest, how to I get those numbers?
Look on the piggyback board and you see number like PCF8574 or PCF8575 or PCF8578T, then might need look them up, this example relates to PCF8578T which usually has address of 0x27 by default. I don't know how to better help you learning myself. You will need a good magnifying glass, I use a jewelers loupe which magnifies it greatly so I can read the chip
Thanks ! Works a lot ! Remember to adjust potentiometer on the back of ur I2C guys. :)
life saver!
This is a great help for an enthousiast like me, well documented and all. Thanks a lot. This saves me a lot of time searching around so I can continue my little project .
Everything worked right out of the box (on the first try), thanks.
Hello, why does my serial monitor say there is no ic2 devices found but my lcd i2c is lit up and connected to the Arduino?
it might be a bit late but you have powered up the back light by connecting it to power
Spyros Marc this also my problem
How to fix this
I fixed this problem by checking my wiring again, I had some problems with the I2C
if you use arduino mega you must conect scl and sda (lcd) to pin 20 and 21
Thanks!
so hard to download library, any alternate?
Thanks you so much, really! It took me so long, to get to this point. Aah! thank you.
FINALLY IT WORKED OMG THANK YOU SO MUCH!!!!
Amazing video, worked really well for me!
Hi. Thank you. I have just set up a Nano with this LCD display and was wondering why it wasn't working. You mentioned the contrast... Yep, that was all it was. BTW the pins for the Nano are the same as for the Uno.
Fantastic I was able to power up my first Arduino program with this tutorial
my lcd does not show anything only lights up
+Uzumaki Naruto try turning the contrast knob (potentiometer)
which one is it
got it thanks
means we need to add potentionmetre in other to get the output?? Because my lcd faced same problem...
WHICH POTENTIOMETER ??? I2C pot ???
I thought I was going mad! About to loose hope. Just had to adjust the pot! Thanks!!!!
How do you change the SDA and SLC to another pin other than the A04 and A05?
Informatievideo gevolgd en alles gevonden. Top video. Werkt volledig! Dank je wel! (B)
Alsof hij Nederlander is
Nice video it answered my all queries.....thanks for making nice video...
Thank You!
Your explanation help me a lot to install the lcd and working now.
+Eduard Thielens Cool
Wov ! Thank you for this video
For some reason, when plugged in, the screen shows the top row completely on (Fully white), and the bottom row completely off. I have tried adjusting the contrast knob on the back to no avail, what have I done wrong?
i wonder if you know hw to to do a simulation using proteus for an i2c lcd display to an arduino Uno. Need a help! Please share if you know hw
how do i adjust the brightness just by codes?
can i power the LCD with digital pin0~13 instead of the 5V pin?
You could connect the lcd backlight to a fet or transistor switch, with it's input connected to a pwm output on the Arduino.
Great video! I would add that you need to use a screwdriver to change the contrast on the LCD in order to see anything being printed to it!! Spent way too long figuring that out.
Thanks. I probably should have mentioned that at the start of the video rather than towards the end :-)
Haha darn, I should have watched all the way through. Oh well. Thanks so much for the help!
FREAKING thanks !!
Can you do this same project but with the built in LiquidCrystal library. My IDE does not like me trying to add a zip file or just paste the liquidcrystal file strait in. Thanks!
how to know the back pack name
the line
LiquidCrystal_I2C (0x27, ) how to find the parameters
Dunno but mine just worked with the values he gave
You have to download I2C sketch run it in Arduino open serial window at top right corner of sketch and it will give you the I2C address looks like this:0x3F or 0x70 that's the address,hope this helps
hello! mine has an error. it says
'LiquidCrystal_I2C' does not name a type
Ma man 👊👊👊, it worked. Yippy!!!!!!
Is there a way to adjust the backlight with the i2c unit? or possibly with a potentiometer?
I realize so many asking about how to find the parameters for the code below:
LiquidCrystal_I2C lcd( ??? );
My working setup is like this:
LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
The actual layout of the parameters:
LiquidCrystal_I2C lcd(ADDR, EN, R/W, RS, D4, D5, D6, D7, BL, BL_POL)
ADDRESS = 0x3F //Use I2C scanner to find this. Link: playground.arduino.cc/Main/I2cScanner
BL = Backlight
BL_POL= Backlight Polarity
* You can change backlight polarity to POSITIVE or NEGATIVE.
Positive to turn on light. Negative to turn off light
Thank you!!!!!!!
Thanks a lot,I really like your tutorials. please continue explaining everything about Arduino. And another thing, what programming language does the IDE use?
I have read that Arduino is built on c and c++, but it uses Java in its interface. I can't really understand!!!
The Arduino IDE is written in Java. The programming language used to program the Arduino is C++.
THE IDE tell me 'POSITIVE' was not declared in this scope where is the problem
I find it !! You must delet ALL librairies "liquid ..." in your comp. Go to "Download", and delet all librairies "liquid ....zip".
Re-install : bitbucket.org/fmalpartida/new...
and it work
IT still didnt work +CHEVEE julian
i was having the same problem, i fix it changin "liquidxrystal" to "liquidcrystal_ic2"
same problem with me
same problem what should i do ,,?
Thank you for posting this awesome video. It's so informative. From a total novice the actually knowing how to use this I thank you.
My only problem so far is that my new lcd doesn't want to display the words "Hello World!", it only displays the first H when trying to write Hello World, but when it displays all other characters it has no problem, but the phrase "Hello, World!" for some odd reason does not want to display at all. Any advice?
Check your typing, something is probably amiss. If you have another lcd display try that, to see if it's that particular display..
hii, it was awesome,
can we hard code it, such that when it is not connected to the computer just receiving a power supply and when we start the circuit than the program runs automatically.
please answer it I have a project to submit in college.
That is how it works. You just need a power supply.
+techydiy thanks for the reply so can we power it up if i connect it to my mobile through usb cable or some other cable , and one more question pls answer it
can i charge the circuit using some sort of charging adapter and it will work for a certain period of time.
Yes, just check that the phone can deliver the required current output.
See this video about how to wire a battery and charging circuit to an Arduino th-cam.com/video/8lBElJRLUss/w-d-xo.html. It's a different type of project but the principles are the same.
yours videos are great, i would like you make tutorials for begginers and better and easier explanation, thanks for your videos!! :)
thanks
Very nice tutorial. Thanks
This was grealty explained thanks bro
HEYYYYYY if your screen is just one color but back light works its bc there is a phillips screw type pot on the back to adjust contrast, turn that to see text
I adjusted the contrast, i saw black boxes but no characters. :(
It’s probably because of the screen, same happened to me, I had to buy a new one
Was it the screen or it was something else wrong ? did u managed it to work
How do you use the second line on the LCD?
Thanks a lot....YOU JUST SAVED MY LIFE BROTHER!!!!!!! THANKS A TONNE
+#simplyInvent Thanks
Is it the same on the pi
Can you please elaborate on the pullup resistors on data and clock lines?
The i2c drivers are open drain, which means they can pull the signal low but not drive it high. The function of the pullup resistors is to drive the lines high. The minimum value of the resistor is limited by the i2c drivers ability to pull the lines low. The maximum value of the resistor is limited by the capacitance. Basically the longer the i2c lines, the greater the capacitance and the lower the required pullup resistors.
2:30 I cant, it says "Port is busy"
It did 10 attempts of:
"avrdude:stk500_recv () : programmer is not responding"
Try another port
@@rasgelevideolar4372 there is no other port. Just COM8
I still have no solution
@@bambino16 try going to tools>processor>old bootloader. worked for me
Can I connect SPI display to I2C IIC Serial (4wires)? The SPI display has can I leave not connected RES DC CS pins on display. Will it work?
The two protocols are different. Why don't you just connect it to the spi bus?
what about arduino mega ? is it have the same input and output
Can you put the code to make text scroll here somewhere?
Great tutorial, thank you very much!
Thanks
So what are all the required materials and where can I buy them?
Such a fun and easy tutorial, great one man! tnx!!!
hi, im new to arduino and i just want to ask this. i'm trying to use pin 2 as an interrupt pin but at the same time im using lcd with i2c, in the sketch pin 2 is assigned already, does it mean I can't use pin 2 as interrupt pin anymore? im using a flow meter sensor
I can't remember what is in the sketch but i2c doesn't need digital pin 2.
techydiy thank you for clarifying sir
I know this is old but I hope you can help. I have the exact same LCD as you and followed all the instructions but my backlight will not turn on when I upload the code. I know it works becuase when I first plugged in the LCD, the backlight lit up like a christmas tree. It was only when I uploaded the code that it wouldn't work.I can see "hello world" diplayed on the LCD, however. Just no backlight. lcd.backlight() will not work either as the IDE does not recognize this command. Where did I go wrong?
There is usually a jumper on the i2c board to enable the backlight.
Hello sir, can i change the sda & scl pin on uno ? my A4 & A5 has broken ,thanks
same problem, you got an answer?
I get black boxes on the first line, and almost every example im testing, the backlight ends up flasing.
I have 2 different displays, and i have found the adress fr both of them, but changing it doesnt help. I have had them both working before, and remember i was searching alot to find a code that actually worked. Its displays bought from china if that matter, and they got the display driver (backpack on them) Any good tips?
Your backpack might be wired differently. Try this line instead:
LiquidCrystal_I2C lcd(0x27, 4, 5, 6, 0, 1, 2, 3, 7, POSITIVE);
// Change the 0x27 i2c address to the i2c address found with the i2c scanner sketch
@@techydiy If this is the one in the description, i tried it but it didnt help.
When i last made it work i found some info, mine has FH written on the backpack, and this would mean i had to use some kind of code to make it work.
But i dont remember what. I might have to google it again..
hello sir. i have 2 lcd. both 2004 but different type of i2c bus (0x27 and 0x3f). can i connect 2 lcd using different i2c bus to arduino mega to make it work? thanks
+Zyro Zack You can connect both LCD displays to one i2c bus as long as the i2c addresses are different. You can then address each device individually. You will probably need to have two pullup resistors on the SDA and scl line. Try 4k7 to start with.
techydiy thank you sir :)
Can I use SDA and SCL pins to connect instead of the A4/A5?
+Frankerzed Yes. On the Uno R3 the SDA & SCL pins are also brought out next to AREF.
Thanks, can I also use two separate devices, one connected to the SCL / SDA and another on to the A4 / A5?
I've tried doing so with a DS3231 and the LCD, but the display never seems to work.
Those lines are just connected to each other. But yes you can have more than one device connected to I2C. What you might need to do it is have lower values of pullup resistors. What I would do it connect them up individually and check the I2C addresses with the scanner. Then connect them up together and see if you can see the I2C addresses, if you can see both then your in business.
I have one issue when I try to compile it says "POSITIVE" not declared in this scope. not sure what that means. can someone help me
please to fix this
Look in the comments
Hi, I've been wanting to code my I2c with mq-135. Can anyone please help me. ASAP.
Is it works with arduino nano?
when i try to use this i just get a black bar on the bottom have no idea what im doing wrong i tried the thing in the description
do you have a video of how to make a alarm clock
No, it's on the list.
could somone help me?
for a project on school i need to use arduino industrial 101 horrible thing never get it.
my problem right now is that is doesnt have the A4 and A5 ports so i cant connect the screen to them. is there a way i can change the ports that are used in the library so that it wil work with for example A2 and A3
I don't know much about it, but looking at the schematic it has an ATmega32U4 on the board with I2C connections for an oled and the documentation mentions this is supported by the wire library, so that is where I would be looking.
yeah i was thinking the same thing. thanks for the quick response!
POSITIVE was not declared. Need help asap! Need to finish before a day after tomorrow. Thank you
Turn on debugging output. It's probably finding the wrong library.
@@techydiy Thanks! Finally finished! You just save my life :D
I have only a blank screen nothing shows.. how can i Fix this?
I am having an issue that
after i uploaded it is only showing one letter
If you have an ATmega2560 then you have to search for the SDA and SCL pins, instead of the A4 and A5.
pin 20 and 21
hi using same code as yours i already adjust the contrast but theres nothing to display only boxes
Check the i2c address, if that is ok then you might have a different pin configuration on the i2c backpack.
Hi sir I have to do a project on ph sensor metre Sir my arduino is blinking while connecting and not showing any data
Where can i get the code for the second program
Nice work!
Thank you very much for this tutorial it was very helpful and clear!
+SuperrSquirrel thanks
For anyone having a contrast issue, there is a potentiometer on the back that handles the contrast.
Yes, just like it says in the video ;-)
I guess I shouldn't skim videos then lol
Hi, I wonder if you could help me, I'm trying to develop a weighing scales that has a built-in max and minimum alarm. The reason for this is I'm in the process of setting up a weight loss business and I don't want my patients to be able to see their weight. Ideally what I want is for them to stand on the weighing scales and if they go over a preset maximum weight, an alarm will go off and similarly if they go below a preset weight an alarm will go off.
+cathal butler So you would use a strain gauge or load cell as the sensor, along with some mechanics to transfer the force to the strain gauge, then you would probably need a bridge and an op-amp, measure the output with an Arduino and then program it to do whatever you want. The mechanism is the hardest part, I would hack an existing set of electronic scales and it should have a strain gauge that you can hookup to. There are plenty of videos around about strain gauges, I think Andreas Spiess had a video about them.
I adjusted the contrast knob, but I could only see the black boxes... No characters were visible. Can anyone help me with this?
I have the same problem :(
me too
bro i tried and my lcd just flickers on and off and the cursor flys around the screen randomly pls help
help its not working. it says that there was a problem uploading to board. i have the library and i have the wiring correct
im not finding that library on github Can someone please point me in the right direction? thank you
github.com/fmalpartida/New-LiquidCrystal
hi my display is working fine at first, my supply is a connected to a resistor to change it to 5V(i have also used 7805 voltage regulator IC and 5V zener diodes), but then when the supply (12V battery) is being charged by a DC generator we noticed that the regulating voltages we use is not working anymore which in turn makes the LCD display random characters. Please help! Thanks
+Norberto Ramos The supply voltage is going to be variable and probably noisy, so a resistor is not good enough to regulate the voltage. The 7805 should be ok, but you probably need some smoothing capacitors and possibly filtering to remove noise. You should really measure the supply when tne generator is in operation to see what it's doing and then design the circuit based on that.
could the difference in Voltage between the datapins and source pin be factor in this as well? Thanks for the reply i really appreciate it
I cant really add much more without a circuit diagram. Your better off going to a forum where you can post diagrams etc. as it's almost impossible to help, without knowing what configuration we are talking about.
For me it is not popping up at all. I checked all of the wiring and everything else you said to check. It may be my fault but I have no idea
Hi, I am a nuvie and I just got the Arduino uno and a 20x4 serial LCD. I have watched all your video for a few time and when I reached to verified and upload the i2c_scanner a warning come up "Global variables use 484 bytes (23%) of dynamic memory, leaving 1564 bytes for local variables. Maximum is 2048 bytes". I have no idea of what to do, Please help me. Thanks
It's fine, carry on. It's just giving you some information. About how much memory is. Available..
Thanks finally tutorial which working
when i click on the link and then library it is showing Repository unavailable
Bitbucket no longer supports Mercurial repositories.what should i do?
github.com/fmalpartida/New-LiquidCrystal
Code button - download zip
@@techydiy thanks a lot
when i oped the serial monitor for getting the i2c Address it just kept saying (Scanning)x?
It's not finding anything. I would check the wiring first.
i have connected the sda pin to A4 pin and the scl pin to A5 pin
the wiring is correct and i am using an 4*20 lcd
+Mohammad saad is it getting power? Is the LCD backlight on. 5v and gnd connected.
How can I solve this:
'POSITIVE' was not declared in this scope
thanks..
Have you installed the newliquidcrystal library from F Malpartida ?
If the answer is no then you have missed out a step and need to watch the whole video.
If you have installed the newliquidcrystal library then:
From the Arduino IDE
Select File - Preferences
Select Show verbose output during compilation
Ok
Compile your sketch again
You should see a message below that says something like:
Using library NewliquidCrystal in folder: c:/Users/arduino/Documents/Arduino/libraries/NewliquidCrystal
Check that the library path is correct.
If its not finding the correct library NewliquidCrystal then that is the reason for the error.
@@techydiy The answer is no. I'm using 1.8.8 IDE version and it wasn't possible to add newliquidcrystal library from F Malpartida .
But it's working now. Thank You..
Wow now my lcd works when I watched this video