One of the best explanations of the 1602/esp32 I have seen. Well done 👍
@robojax Жыл бұрын
Wow, thanks!
@johnbastin722 Жыл бұрын
You mentioned the voltage in, I’d not using the usb connector. I have seen no one use this.
@EngineerNotFound24 күн бұрын
Answered just the question I had about the data and clock pins (SDA and SCL). I'm already using pin 21 on the ESP32 for the data pin on my PCA9685 servo driver board and wondered if there was another pin I could use for the LCD data. Glad you pointed out that the pin can be shared by several devices. Thank you.
@robojax21 күн бұрын
you can connect up to 128 devices on I2C bus. Just connect them in parallel.
@INGCANASO Жыл бұрын
¡Gracias!
@robojax Жыл бұрын
Thank you very much.
@lobbers664 жыл бұрын
Thanks for this video. Solved my problem and learnt a lot. Your format is the best, lots of close ups and explanation. Thanks again.
@robojax4 жыл бұрын
You are welcome. I am glad it helped.
@muhammadadnanahmed8324 Жыл бұрын
Really it is best explanation of this video.
@manjifera4 жыл бұрын
Thank you so much for your solution for dim display on esp 3.3v
@robojax4 жыл бұрын
you are welcome.
@michaeldupreez8319Ай бұрын
Shame on me for skipping though the video, only because i feel like i have seen it all before haha, this comment, lead me to the solution to my problem
@kerimcelenka Жыл бұрын
Thank you! It's very helpful!!!
@chronobot2001 Жыл бұрын
Great video. It pretty much is just like the Arduino, you just need to know where the SCL and SDA pins are on this board.
@phoenixset64014 жыл бұрын
I just cant imagine better explaination than this, quick, clear and you are ready to go with LCDs right after this video, no more needs. Thank you.
@robojax4 жыл бұрын
Thank you for not skipping the ads and keep watching it. This will help me a lot.
@mafketeltje19883 жыл бұрын
this is "Monkey style" honestly, it works until you need to think yourself about how to innitialize, count etc. But you're right, just getting something on the screen (which most want) is this perfect...
@mick_hyde5 жыл бұрын
Very clear explanation, thanks.
@robojax5 жыл бұрын
You are welcome.
@kshitizsharma45814 жыл бұрын
Thanku sir this video helped me alot
@robojax4 жыл бұрын
Most welcome
@TaylenIsInsane10 ай бұрын
Thanks for the very helpful video. I have a question, and that is, My ESP32 does not seem to have a 5v pin. I have read some articles that say you can use the VIN pin as a 5V pin, however some comments have some mixed reviews about that, and others say it has worked. Is it safe to do so? I do not want to fry my ESP32 😁
@kystuart14132 жыл бұрын
hi sorry how do you count down from a certain number that u can set?
@robojax2 жыл бұрын
Hi, you can learn it from this counter video kzbin.info/www/bejne/a3Kcm4N6atOIedk but instead of 0 at start, set your number like 100 and then instead of ++ which increments, use -- to decrements the value.
@soulstice5553 жыл бұрын
Hi I have a question! When you say if you bring the wire in the breadboard you can connect to up to 128 devices, you mean with one esp32 i can connect many lcd?
@robojax3 жыл бұрын
Hi, Yes exactly you can control that many devices .
@noedger Жыл бұрын
Hi. I know this is old but I need some advice. Got my screen working with your tutorial but adding a rotary encoder button seems to be a problem. As soon as I declare the encoderbutto pins the screen does not work. It only displays all blocks of pixels lit up. Can you assist.
@robojax Жыл бұрын
Hi, you can learn it from this video kzbin.info/www/bejne/bKm5fZWEodJ-Y8k
@hagory85 Жыл бұрын
Buenas , en primer lugar excelente trabajo… podrías pasarme el enlace de la librería?
@robojax Жыл бұрын
Hi, the link is in the description well the video.
@yasin_akar Жыл бұрын
Aleykum selam tesekkür ederim
@koshan125 жыл бұрын
nice video as always. btw at 1:10 you already have a video for the last one or will you have a video ?
@robojax5 жыл бұрын
Thanks. Yes the video for that is coming soon.
@y32code165 ай бұрын
just to clarify, powering a electrical component with 5v will make its logic at 5v. if your lcd is 5v powered and since the esp32 logic is 3.3v that means the sda and scl pins and all gpio pins on the esp32 can only handle 3.3v and CANNOT handle 5v you can degrade your esp32 this way or even fry it or damage it. consider using a logic level shifter (compatible with i2c) with the i2c pins from the lcd to the esp32.
@elektron2kim6663 ай бұрын
Not always. It's a display in this case and is using some. All of mine are powering stuff at 5 volts (outbound), but it's not stressing the logic. I made an adapter to test those lines, if I have any doubts, but you are also right, of course.
@studiomaquette8146 Жыл бұрын
Hi guys I don't have the libairi by Franck do you have an alternative.Thanks
@robojax Жыл бұрын
The library is provided. you just download and install it. There is a link under the video or shown in the video.
@qzorn44402 жыл бұрын
hi, my new lcd2004-i2c display project is with a Lilygo ESP32 CAN RS485 Modbus SD-card with limited pins IO_05,12,18,25,32,33,34,35... wish me luck and thank you.
@robojax2 жыл бұрын
Good luck.
@J-s0n5 жыл бұрын
Where is the library for the lcd?
@robojax5 жыл бұрын
when video starts it says "You can get the code for this video by clicking on the link under the video in the description which will take you to robojax.com slash learn slash arduino". Perhaps you escaped the video.
@j.n.55234 жыл бұрын
@@robojax I think, it is unclear that the "ESP32 Github repository" is the library link.
@rtufino4 жыл бұрын
@@j.n.5523 @Robojax In your links doesn't show the link to library
@melissaitzelcruzantonio42693 жыл бұрын
puedo conectar Vin de mi esp32 al VCC del lcd? no causa problemas? Mi esp32 no tiene 5V, solo tiene 3.3V y Vin
@robojax3 жыл бұрын
La pantalla LCD necesita 5V. no funcionará con 3.3V
@ezem904 жыл бұрын
Hi ! great tutorial, but i have a question... If you put Vdd to 5V; the output logic in SCL and SDA pins (0 to 3.3V) will not cause troubles ?? im asking this because I've seen the PCF8574T datasheet and the minimum HIGH level input voltage is 0.7Vdd (3.5V for Vdd = 5V) .
@robojax4 жыл бұрын
the supply voltage and logic voltage are different. so don't worry. the display will work without issue.
@citakis12772 жыл бұрын
@@robojax This information was exactly what I was looking for.
@MrPaulw5173 жыл бұрын
Hi Robojax, I have successfully driven an I2C I Ii I have driven a non I2C 16x2 LCD with an ESP DEV board. However, I have not been successful driving it with a ESP Mini board???? Any suggestions would be appreciated.
@robojax3 жыл бұрын
Hello, this is very simple . I am not sure about board you are trying to use but just find the SDA and SCL pins and it will work.
@Microsoft-programmiererDe4 жыл бұрын
thank you, a really great tutorial.
@robojax4 жыл бұрын
You are welcome. Thank you for not skipping the ads and keep watching them. This will help me a lot.
@AngelPufahl Жыл бұрын
invalid conversion from 'int' to 't_backlightPol' [-fpermissive] im having this problem
@robojax Жыл бұрын
You must be doing something wrong or have not installed library or modified the code.
@2020gaurav3 жыл бұрын
Is it possible to take 5 volt for LCD from external source rather then ESP32 VIN pin ?
@robojax3 жыл бұрын
5v is just voltage , sure possible
@AndrewMurphy13 жыл бұрын
I just purchased the longer esp32 boards and when I connect up the LCD to the required pins the board appears to not get enough power to light the LCD backlight and the red light on the esp32 just keeps flashing. Is this a known issue or is there something I'm doing wrong here? Thanks
@robojax3 жыл бұрын
Hell, I am not sure where you have connected the 5V of LCD, make sure it is connected to 5V and it will work. Use multimeter to measure the voltage.
@AndrewMurphy13 жыл бұрын
@@robojax Solved it. Changed the ground pin. I was using the ground pin directly next to the 5V originally, switched to the one the opposite side of the board.
@florent95554 жыл бұрын
Does the SDA and SCL have to be connected with G21 and G22? Could I use G25 and G26 instead?
@robojax4 жыл бұрын
you haven't watch the video fully. please watch it. I can't watch it to answer your question.
@florent95554 жыл бұрын
@@robojax I have watched the video. You do not explain if it is possible to use other pins than G21 and G22. Or what impact it has when choosing different pins. Edit: randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/ The ESP takes quite some space if you only use one normal breadboard. Without using 2 Breadboards you have to rely on just on side of the esp thats why I asked you this question but it is answered now
@robojax4 жыл бұрын
I am glad you found the the answer. good luck.
@samanedu4 жыл бұрын
Greetings, thanks for the tutorial. Is there a way to tell the lcd.init () function that the display is connected to the alternate I2C GPIO 18 and 19? Because I am using a TTGO T-CALL ESP32 SIM800L module and the default I2C port (GPIO 21 and 22) is compromised
@robojax4 жыл бұрын
You are welcome. I have not tried it, but first include "Wire.h" and then inside setup if you use Wire.begin(I2C_SDA, I2C_SCL); Wire.begin(15, 16); it should work.
@samanedu4 жыл бұрын
@@robojaxThanks for the prompt response. I solved it by starting a second I2C bus with the instruction Wire1.begin (18,19) and I edited the LiquidCrystal.cpp library replacing everything (Wire) said by (Wire1). It is an extreme solution but I could not do otherwise.
@samanedu4 жыл бұрын
I meant LiquidCrystal_I2C.cpp (new version running for ESP32)
@robojax4 жыл бұрын
good to know you resolved. 😊
@rtufino4 жыл бұрын
Hi @@samanedu! Can you send to me the link to LiquidCrystal_I2C library? I'm trying with different examples but my circuit doesn't work.
@dariosouza89563 жыл бұрын
Ola meu querido, acompanho seu videos, estou tentando compilar o codigo com LCD 20x4 I2C com esp 32 e da a seguinte mensagem: invalid conversion from 'int' to 't_backlighPol' [-fpermissive] estou usando a biblioteca: #include poderia dar uma dica onde esta o erro?
@robojax3 жыл бұрын
please use the library I provided. it should work.
@cocoon-bike Жыл бұрын
Hi Robojax, very well explained. Nevertheless I am not yet successful. What I miss (maybe because I am still a beginner at MicroPython), is the reference in the code to the SCL and SDC connections to the ESP32 Pins (21 and 22). Furthermore, the lcd.begin() command is not accepted by the IDE compiler. Any hint?
@robojax Жыл бұрын
I mentioned that you need to install the library.
@ricadostephane95292 жыл бұрын
thank you Sir for this video. please can i have the circuit diagram for this?
@robojax2 жыл бұрын
I have explained the pins and then mentioned them one by one. you can draw them using Fritzing a free software here fritzing.org/
@altitude10392 жыл бұрын
Thanks for sharing! Where did you get that little LED voltmeter? I could use a few of those for my projects.
@robojax2 жыл бұрын
Hello, sorry for late reply. I just got the links from another video and put them in the description for voltameters.
@zeamers31085 жыл бұрын
Hi, can you do a countdown timer tutorial on a lcd 16x2 please
@robojax5 жыл бұрын
Hi, In the provided code, we have int count =0; change it to int count =1000; and change the line count++; change it to count--; and it will count down from 1000
@LumingMotionAquatics3 жыл бұрын
Is it possible to use micropython instead of liquidcrystal? And if it is, could you possibly do a video on it?
@robojax3 жыл бұрын
The library sends specific command to display. If you can re arrange it for other purposes, you can do . Modify the library.
@LumingMotionAquatics3 жыл бұрын
@@robojax Thanks for the tip!
@MXx2223 жыл бұрын
Hi, I am receiving this error while uploading code to my esp32. kindly if anyone can guide "invalid conversion from 'int' to 't_backlightPol' [-fpermissive]"
@robojax3 жыл бұрын
Hi, you must have changed the code, try the provided code. once it worked, then customize it.
@RTOHIO4 жыл бұрын
When I tried compiling this sketch it gave me an "Exit status 1 'LiquidCrystal_I2C' does not name a type. Same message I got when I tried t compile another sketch that was written and proven right in front of me. Do you know why I get this message? I would be very happy if you could help me. Likewise if one of your subscribers knows and could answer my post. Really like your approach and video style.
@robojax4 жыл бұрын
Hi, you are getting the error because you are skipping the video and not watching it fully. It has been explained it. Just watch skipping, and follow the instruction. it will be resolved. I have also updated the page with more details to help you better.
@RTOHIO4 жыл бұрын
I have solved this problem. Please tell me the source of your LiquidCrystal_I2C.h so I can obtain a copy to compare it with the library that would not work for me. This community of ARDUINO/esP32 sharing knowledge is wonderful. Thanks for all the time you put into making these videos.
@robojax4 жыл бұрын
I have included all resources and related video and contents in in the same page. Please visit the page where the code is provided. you will see anything that is related to this including the LCd library. I do this for all my videos.
@DirtNerds5 жыл бұрын
I can never get your videos to load would love to see what you are doing.
@robojax5 жыл бұрын
Sorry. What is the problem?
@nagarava5 жыл бұрын
I want projects on esp8266-01
@robojax5 жыл бұрын
It is coming in the next few days. Subscribe so you know.
@kiran12n4 жыл бұрын
Compressed 3072 bytes to 128... Writing at 0x00008000... (100 %) Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 501.6 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... It says Done Uploading. I have made all the connections as described in the Video but in RG1602A it's not displaying. Please help me
@robojax4 жыл бұрын
what is this? Error? it should have been clarified. what is RG1602A? is it something different? LCD1602 is how I know it. Please upload this I2C canner robojax.com/learn/arduino/?vid=robojax-I2C-scanner into the ESP32 and if your wiring is good, you should see the I2C address.
@AnarchyCookie4 жыл бұрын
You might have the same problem as I had. There is different libraries for the LiquidCrystal_I2C. I used a lot of different ones and it would not show any text. The library that worked for me is this one here: github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library The difference is that in this library the bits get moved 4 places to the left. Try it and see if this works for you.
@dijuathomas59555 жыл бұрын
LiquidCrystal_I2C liberary link
@robojax5 жыл бұрын
It you watch the video, in the first 30 seconds it will tell you where the code is or see this instruction snipboard.io/EG4O2l.jpg
@mgabiel3 жыл бұрын
no funciona
@robojax3 жыл бұрын
Please watch this first kzbin.info/www/bejne/Y16pm2uHedF6q7M and then this video kzbin.info/www/bejne/p2q8dJJ9i62sa6M