Arduino LCD Tutorial | How To Control An LCD

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น • 429

  • @HowToMechatronics
    @HowToMechatronics  4 ปีที่แล้ว +21

    I hope you enjoyed this video and learned something new! If you'd like to support me making more content like this, please consider supporting me on Patreon: www.patreon.com/howtomechatronics

    • @mlequuu4723
      @mlequuu4723 3 ปีที่แล้ว +1

      Dont work

    • @decem_unosquattro9538
      @decem_unosquattro9538 2 ปีที่แล้ว

      thank you !
      Good tutorial and easy to follow.
      I had trouble initially with putting .ino in wrong folder
      I forgot most of what I learnt before.
      Its nice to revisit Arduino again! 🙂👍

    • @decem_unosquattro9538
      @decem_unosquattro9538 2 ปีที่แล้ว

      @@mlequuu4723 👇
      byte slash[8] = {
      B000001
      ...
      Under that code add ";" in front of Liquid Crystal "lcd(1, 2, 4, 5, 6, 7); line."
      ; LiquidCrystal
      👍😃

  • @MikesPikes
    @MikesPikes 6 ปีที่แล้ว +29

    Unlike the other endless videos, you summed it up in a concise manner. Thank you!

    • @husam4327
      @husam4327 3 ปีที่แล้ว +1

      very informative

  • @malte-j
    @malte-j 9 ปีที่แล้ว +35

    Thanks Dejan for this tutorial! It is one of the best LCD tutorials out there, really well structured and produced with a high quality!

  • @garykahne1266
    @garykahne1266 5 ปีที่แล้ว +10

    Wonderful. A clear and straight forward explanation with no obfuscation. Very well done.

  • @samiranjoseph9793
    @samiranjoseph9793 7 ปีที่แล้ว +12

    This tutorial is brilliant stuff. The LCD was shining too bright, since I used a voltage divider in a 50 : 50 ratio instead of a pot. Made it right changing the ratio to with a 10K : 0.5 K divider.

  • @daesoolee1083
    @daesoolee1083 5 ปีที่แล้ว +43

    wow thanks a lot. This tutorial is better than my Arudino textbook haha

    • @jayoli7073
      @jayoli7073 4 ปีที่แล้ว +1

      Agreed lol... I tried the LCD project in the book and was unsuccessful... I'm shocked that some of the projects are a bit confusing as far as what instructions are provided...

  • @laszlomattern
    @laszlomattern 3 ปีที่แล้ว +10

    If your panel produces a random sign instead of clearing the panel try switching the first two pins (currently on 1 and 2) to other pins (I used 8 and )
    It will work :)
    Btw dont forget to also change the pins when you initialize the panel

  • @kosovarepublik5358
    @kosovarepublik5358 7 ปีที่แล้ว +447

    Thank's, you explained it Crystal Clear

    • @sulaimaanchamda4501
      @sulaimaanchamda4501 7 ปีที่แล้ว +24

      Kosova Republik lol CRYSTAL clear badumpisshhh

    • @BlenderGuy1
      @BlenderGuy1 6 ปีที่แล้ว +1

      Kosova Republik
      lol

    • @s7davidj
      @s7davidj 6 ปีที่แล้ว +5

      Looks like someone is feeling 'punny'

    • @KAXSH
      @KAXSH 6 ปีที่แล้ว +4

      fuck you

    • @justicem5919
      @justicem5919 6 ปีที่แล้ว +4

      Oh I see what u did there......

  • @sparkyp0077
    @sparkyp0077 5 ปีที่แล้ว +12

    You may have just saved my chances of getting a degree! Thank you so much for the perfect explanation!!

  • @northshorepx
    @northshorepx 8 ปีที่แล้ว +2

    Again a brilliantly explained tutorial. Clear step by step explanation. Thank you!

  • @javasyndicate713
    @javasyndicate713 6 ปีที่แล้ว +1

    yayyyyy ...... I made it to nano, worked on 4 days - play video again & again ... thank you so muchhhh

  • @mohamedtawfeeq8494
    @mohamedtawfeeq8494 7 ปีที่แล้ว

    Thank you for your tutorial.we were working LCD with arduino for a week searching TH-cam none of them worked.once again thanks a lottt.. Feeling happy....😍😍😍😍

  • @Obamjur
    @Obamjur 7 ปีที่แล้ว +4

    You made it so simple and easy to do that even I can understand ! Thanks!

  • @jayoli7073
    @jayoli7073 4 ปีที่แล้ว

    An EXCELLENT TUTORIAL!!! Much better than the LCD Project in the official book!!

  • @jochengerardi
    @jochengerardi 3 ปีที่แล้ว +2

    Got strange chars when I started combining it with a joystick for example. As soon as you need serial communication you might need to shift digital pins usage to avoid usage of pin 1. 0 and 1 pins are used for serial communication on this device and trigger strange chars on display. On the Uno start using pins 2,3 instead and all works fine :P

  • @fermitsens6234
    @fermitsens6234 6 ปีที่แล้ว

    I just got an Arduino with the lcd screen wanted to know how to use it and u explained it sooo good ..thx 'liked'

  • @joachimkessler3339
    @joachimkessler3339 3 ปีที่แล้ว +1

    Your LCD program worked well Thank you, I searched for a long time. I used to program with Basic, this is Pseudo Basic. Some commands and functions are known to me and hidden. Thanks again!

  • @ananyorangan9608
    @ananyorangan9608 5 ปีที่แล้ว +2

    Thanks for such a short helpful video!

  • @am8084
    @am8084 5 ปีที่แล้ว +2

    helped me a lot. I understood it clearly. could use it to read my joystick X , Y value.

  • @michaelmcnaughton1535
    @michaelmcnaughton1535 9 ปีที่แล้ว +25

    You do great work. Great tutorial, beautiful website.

    • @stormragemc4375
      @stormragemc4375 7 ปีที่แล้ว

      HELLO RUSSIAN HAXOR! IT IS PROVEN THAT YOU ARE RUSSIAN. "Nedelkovski" is probably a Soviet Russia name. Please launch an attack on Japan!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @vedantbarje134
    @vedantbarje134 8 ปีที่แล้ว +1

    Great video.... LCD worked PERFECTLY!!!THANKS

  • @aonoymousandy7467
    @aonoymousandy7467 7 ปีที่แล้ว

    thanks for getting to the point and showing the cool schematic of the circuits and boards, great video!

  • @am-1387
    @am-1387 5 ปีที่แล้ว +1

    Thank you! mine didn't work for the first time, but then I checked the wiring and it worked.

  • @cainanlove8432
    @cainanlove8432 2 ปีที่แล้ว

    You help to make this much easier, thanks for this tutorial.

  • @andjroo4867
    @andjroo4867 8 ปีที่แล้ว

    You put so much effort into your videos! You should have more subscribers.

  • @robototexnikavamen2912
    @robototexnikavamen2912 2 ปีที่แล้ว

    Thanks for this tutorial. I'm learning a lot of knowledges from you!!!

  • @blkr4363
    @blkr4363 4 ปีที่แล้ว +3

    Note that using digital pin 1 on some boards, Arduino Uno to name one, may interfere with the Serial Port. Better use digital pin 3.

  • @shahidbangash9831
    @shahidbangash9831 3 ปีที่แล้ว

    Great ability of teaching , really enjoyed

  • @Strixzy
    @Strixzy ปีที่แล้ว

    Thank you so much! This works and i definetly recommend this if you want to do LCD

  • @sanjansen8143
    @sanjansen8143 4 ปีที่แล้ว

    My arduino was shutting of every time i connected the potentiometer to gnd but when I connected the potentiometer to 3.5v instead of 5v it worked! Thank you so much

    • @daxhopkins7312
      @daxhopkins7312 4 ปีที่แล้ว

      Could you have been using a pot with too low a resistance value? If so, you could probably also fix it with a change of pot, or adding an inline resistor.

  • @tusharbanswal2089
    @tusharbanswal2089 5 ปีที่แล้ว +1

    Thanks man ! got my concept clear about lcd prog..

  • @photosynthesis_by_pete4006
    @photosynthesis_by_pete4006 7 ปีที่แล้ว

    Thanks from Australia. Very simple. you helped me teach my 8 year boy. Thanks alot

  • @김민수-c6s1z
    @김민수-c6s1z 2 ปีที่แล้ว

    A huge Thanks from KR!

  • @raygilbers8274
    @raygilbers8274 8 ปีที่แล้ว

    Again nice tutorial Dejan Nedelkovski! keep up the good work

  • @marit903
    @marit903 4 ปีที่แล้ว

    Thanks! It really helped me for my project at the university :)))

  • @vigneshkamath4888
    @vigneshkamath4888 7 ปีที่แล้ว

    Explanation is really great ,the detailing in coding and all s really helpful

  • @brockobama257
    @brockobama257 2 ปีที่แล้ว

    This was the perfect thorough

  • @ruelagnes4277
    @ruelagnes4277 2 ปีที่แล้ว

    this man is the man thank you man

  • @Otto_Heiskanen
    @Otto_Heiskanen 4 ปีที่แล้ว

    wow thanks. this was the best tutorial. thanks now i can do stuff with lcd

  • @alexandernikolov5356
    @alexandernikolov5356 8 ปีที่แล้ว

    Браво! Ясно,точно и най-важното-много достъпно!

  • @OccyDaBoss
    @OccyDaBoss 4 ปีที่แล้ว +1

    Brilliant tutorial! Don't know what I'll do with it yet, but time will tell XD.

  • @Subagyo-Tepil
    @Subagyo-Tepil 3 ปีที่แล้ว

    Thanks for complete and clear explanation

  • @zammykoo
    @zammykoo 9 ปีที่แล้ว +7

    Thanks for breaking it down! I wanted to give a quick comment on something I got stuck on but figured out. I kept getting an error when verifying... "expected ',' or ';' before 'LiquidCrystal'", so I put a semicolon after the closing curly bracket for the array of bytes. Not sure why but that's what worked for me.

    • @ottosboyen
      @ottosboyen 7 ปีที่แล้ว +1

      Thanks. I had the same problem and I googled it and looked for everything but didnt find anything. I saw your comment, tried it and it worked. I dont know why but it would be nice of someone knew why it worked =)

    • @franceababa5915
      @franceababa5915 7 ปีที่แล้ว

      Can you show where the semi colon will be placed? Please

    • @AvikSeth
      @AvikSeth 6 ปีที่แล้ว

      just go to file>examples>liquid crystal>hello world and you will see no errors in compiling and running the code into your arduino board.
      hope this information helps you. :D

    • @sesame8394
      @sesame8394 6 ปีที่แล้ว +1

      in c++ and c you must put semicolons after variables... lol (same for c# too i think)

    • @AvikSeth
      @AvikSeth 6 ปีที่แล้ว

      yup..and this indicates that the declaration is completed

  • @tejasmarulkar4432
    @tejasmarulkar4432 9 ปีที่แล้ว +1

    Ok thank you Andrew Brooks that is actually very helpful!

  • @Warlordfff
    @Warlordfff 9 ปีที่แล้ว +8

    First of all cogratulations, it is one of the best tutorials out there.
    I have a question, can I use an arduino uno or an arduino mini instead?

    • @lbsiuk
      @lbsiuk 7 ปีที่แล้ว +2

      I'm using an Uno for this and it works perfectly.

    • @AvikSeth
      @AvikSeth 6 ปีที่แล้ว +4

      yes surely you can use other versions of arduino development board, they all have same IDE to program
      make sure to select the right communication board while changing the board and for that
      1. go to>start>control panel>device manager>coms port and LPT
      2. now go to>arduino IDE>tools>and select the same port as that appeared in your control panel.
      in order to select the correct board
      1. go to>arduino IDE>tools>select board
      hope this information helps you :D

    • @lanzdejillo3520
      @lanzdejillo3520 3 ปีที่แล้ว

      Omg i was looking for this comment since I need to use Arduino Uno. Thankfully there are these guys replying to you. I'm still in highschool and doesn't know how to do these kind of stuff. Thank you so much.

  • @khushidhingra6524
    @khushidhingra6524 4 ปีที่แล้ว +1

    You made my day

  • @rafatyusufi6711
    @rafatyusufi6711 7 ปีที่แล้ว +2

    very very intresting tutorials , Awesome. I am learning.

  • @pervysagev2.087
    @pervysagev2.087 2 ปีที่แล้ว

    Thanks a lot ❤️ really helped me a lot ❤️

  • @SkullHunt369
    @SkullHunt369 5 ปีที่แล้ว

    Awesome! I had no idea how to do it but I know now how to do it!

  • @bonfaceosuka
    @bonfaceosuka 3 ปีที่แล้ว

    Thank you s much for this project , it has worked really well for me .

  • @RixtronixLAB
    @RixtronixLAB 3 ปีที่แล้ว +1

    Vote up, nice clip, thanks for sharing :)

  • @chalos9752
    @chalos9752 8 ปีที่แล้ว

    Very good tutorial, thanks!!

  • @photography4life
    @photography4life 2 ปีที่แล้ว

    Thanks for the tutorial :)

  • @rahmataulia5989
    @rahmataulia5989 6 ปีที่แล้ว +2

    thank you sir, you made my day!

  • @PeterFloyd678
    @PeterFloyd678 8 ปีที่แล้ว

    Great. Short tutorial. If you ever want to update it, you might want to show how the potentiometer and how it works.

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff 5 ปีที่แล้ว

    Hatsup to u sir very very simply understandable

  • @interrobot1
    @interrobot1 7 ปีที่แล้ว

    Thank you Dejan for the helpful video

  • @BriansModelTrains
    @BriansModelTrains 8 ปีที่แล้ว +1

    Yayyyy I got it to work! - thank you!

  • @DiAngeloTheSecond
    @DiAngeloTheSecond 4 ปีที่แล้ว

    very nice explanation

  • @arrshithrg5359
    @arrshithrg5359 7 ปีที่แล้ว +1

    where did you learn all this things bro . you are doing good job

  • @isidorovazquez6968
    @isidorovazquez6968 6 ปีที่แล้ว +1

    Love it man, thanks a lot and God bless you!!!

  • @oraviv863
    @oraviv863 6 ปีที่แล้ว +8

    Thx so much, Now I understood how to make a character in LCD screen and use this electronic
    ! device at all

  • @rakhibamboli7032
    @rakhibamboli7032 8 ปีที่แล้ว

    best lcd tutorial

    • @Drxxx
      @Drxxx 5 ปีที่แล้ว

      sure

  • @Oratazana
    @Oratazana 3 ปีที่แล้ว

    Very good video, explained

  • @standishgeezer
    @standishgeezer 7 ปีที่แล้ว

    Excellent. Well explained

  • @muhammadusmanmalik1166
    @muhammadusmanmalik1166 5 ปีที่แล้ว

    excellent video u solved my problem love u sir😍❤

  • @CircuitCreator
    @CircuitCreator 2 ปีที่แล้ว +1

    PIN 1 》GROUND
    PIN 2 》POSITIVE
    PIN 3 》10K POT
    PIN 4 》A12
    PIN 5 》GROUND
    PIN 6 》A11
    PIN 11 》A5
    PIN 12 》A4
    PIN 13 》A3
    PIN 14 》A2
    PIN 15 》220 Ω
    PIN 16 》GROUND

  • @dasherofdoors
    @dasherofdoors 2 ปีที่แล้ว

    Thank you! Wasnt able to see, but was the potentiometer able to turn up / down the brightness of the LCD display?

  • @Laqota
    @Laqota 6 หลายเดือนก่อน

    it is very important to use a resistor for the LED backlight so it doesn't burn out.

  • @indikaudayasaranga988
    @indikaudayasaranga988 2 ปีที่แล้ว

    So useful. Thank you

  • @Peter_A1466
    @Peter_A1466 2 ปีที่แล้ว

    Would be nice if you mention what type of lcd you are using...

  • @kristofsw
    @kristofsw 3 ปีที่แล้ว

    you are incredible!
    tysm!

  • @100roberthenry
    @100roberthenry 9 ปีที่แล้ว +3

    EXCELLENT...exactly what i needed.....great tutorial, thanks .

  • @sidb6471
    @sidb6471 6 ปีที่แล้ว

    Great video, this helped me a lot. Thank you!

    • @HowToMechatronics
      @HowToMechatronics  6 ปีที่แล้ว +1

      Thanks!

    • @ArtMusic-qz7nb
      @ArtMusic-qz7nb 4 ปีที่แล้ว

      @@HowToMechatronics after sometime instead of written text some other text like "0o

  • @norbertmikolasek9041
    @norbertmikolasek9041 8 ปีที่แล้ว

    Great job. Thanks the video.

  • @bolibardo1514
    @bolibardo1514 3 ปีที่แล้ว +1

    This is a good video. Should one resistor (usually 220 ohm) be placed in series in one of the two terminals ? Tinkercad simulation shows LCD blow with 23 mA current. I haven't yet tried on actual board.

    • @kwcnasa
      @kwcnasa ปีที่แล้ว

      I have the same question too.

  • @rotorcraft68
    @rotorcraft68 7 ปีที่แล้ว

    Very concise. Thanks!!!

  • @MrMazen918
    @MrMazen918 7 ปีที่แล้ว

    very nice tutorial ,thanks

  • @nemethistvan1892
    @nemethistvan1892 8 ปีที่แล้ว

    Nice tutorial, it works!!! ty

  • @DinkinDallin
    @DinkinDallin 5 หลายเดือนก่อน

    Can you please explain the reason why you used a potentiometer in the hardware setup?

    • @shashwatpratap
      @shashwatpratap 3 หลายเดือนก่อน

      to control the contrast of the text

  • @tejasmarulkar4432
    @tejasmarulkar4432 9 ปีที่แล้ว

    I have 4 pins coming out. GND, VCC, SDA, and SCL. Could you do something to help me out? I really hope so. You are pretty much the only arduino you-tuber that has helpful videos. PLZ help and thanks for everything. :)

  • @francisleesc
    @francisleesc 3 ปีที่แล้ว

    Thank you for the demo.!👍👍👍👍👍👍👏👏👏👏👏👏👏👏👏🙏🙏🙏🙏🙏🙏🙏

  • @markviana4960
    @markviana4960 8 ปีที่แล้ว

    Thanks for sharing this tutorial.

  • @brockobama257
    @brockobama257 2 ปีที่แล้ว

    Your pace is perfect.
    Most TH-camrs either:
    A) type slow and speak fast
    B) type fast and speak fast
    C) type fast and speak slow
    I speed up on slow typers and I can’t understand fast speakers. So both A and B are annoying. C is doable but rare and too relaxing. But you’re
    D) type slow and speak slow
    D let’s me go at my own pace. I can speed it up or slow it down on your D.

  • @karimismail3734
    @karimismail3734 9 ปีที่แล้ว +1

    Very fine presentation. Thanks Dejan. Every time you need to display text you need to reprogram the Sketch. Is there an LCD that has buttons to write your messages?. Second question is if you attaching an MP3; can the LCD display the played file info(the track)?. Thanks again....Regards.

    • @karimismail3734
      @karimismail3734 9 ปีที่แล้ว

      After little search I found it,called LCD Keyboard Shield. Just in case people have the need to know. Thank you all.

  • @omar_rrr
    @omar_rrr 7 ปีที่แล้ว

    excellent, but what are the pins behind the lcd? apart from vcc, gnd. The scl and sda pins? are those optional?

  • @LionelTellem
    @LionelTellem 7 ปีที่แล้ว

    Nice video...Really good job

  • @indobotacademy
    @indobotacademy 5 ปีที่แล้ว

    thank's for reference, i like this . now I know how to control an LCD. and don't forget to stop by our channel

  • @samschroeder2053
    @samschroeder2053 5 ปีที่แล้ว

    does it matter which side of the potentiometer goes into positive and negative rails?

  • @gzcwnk
    @gzcwnk 3 ปีที่แล้ว

    My only suggestion on this great video is use the Mega's other numerous pins as everyone uses the same pins which is just annoying for a beginner!

  • @tejasmarulkar4432
    @tejasmarulkar4432 7 ปีที่แล้ว

    Could you make a video on how to use the 4 terminal LCD Screen? That would help a lot!

  • @sudipta_samanta
    @sudipta_samanta 8 ปีที่แล้ว +1

    what is the role of the 7 in createChar(7,slash) ?

  • @sparcnz
    @sparcnz 9 ปีที่แล้ว +2

    Hi Dejan, (In the right video this time)Great videos on Arduino.
    I am just learning Arduinos and find these tutorials a great help.
    Question, could you do one on using the "I2C" connections, I have a 20x4 LCD with the small I2C interface board but I cannot get the display to show anything.
    Saciba.
    Kevin.

  • @monuvarshney2809
    @monuvarshney2809 3 ปีที่แล้ว +1

    But before LCD tutorial the cursor is set to (2,1) but it display at other position

  • @oh_yeah_
    @oh_yeah_ ปีที่แล้ว +1

    Why do we need the potentiometer?

  • @shaflyhamzah3848
    @shaflyhamzah3848 6 ปีที่แล้ว

    nice explanation:)

  • @JohnStraussmusic
    @JohnStraussmusic 8 ปีที่แล้ว

    Were is the details of each library located. Seems I can not find the page that describes what function and parameters do with in a library

  • @codewithme3749
    @codewithme3749 3 ปีที่แล้ว +1

    Can we use arduino uno?

  • @rahmatrad4599
    @rahmatrad4599 7 ปีที่แล้ว

    Thanks your video is very helpful
    is it possible to make a video for FM radio receiver with TEA5767 Module?

  • @stefvecko6661
    @stefvecko6661 7 ปีที่แล้ว

    Can you please make video about how to make police lights with button switch