Raspberry Pi Pico W LESSON 22: Using an LCD Display with the Pico W

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

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

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

    I have an electronics backgouund. Trying to teach my kids STEM. This is excellent! 2 thumbs up! Paul is nailing it on all levels!

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

    I love your lessons. Always teaching us something new. Thanks from Mexico.

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

    Kepler kit was delivered today. Breadboard, Pico W in, hooked up display, charger module, and got the battery on charge. LCD scrolling jokes from a web api. Nice.
    Thanks, Paul. And pass one on to SunFounder. Have good, make well.

  • @stephenhawes-wf4cn
    @stephenhawes-wf4cn 3 หลายเดือนก่อน

    Brilliant I can now install libraries thanks Paul amazing lessons I am learning alot !

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

    After some troubleshooting, I have some tips that may help. Firstly, with the help of telepicture's question and jayinstro's reply, I realized that I had to change SDA and SCL's pin 6 and 7 in the library, to pin 2 and 3 (GPIO Pins!)--that is physical pins 4 and 5. I reconnected my lcd accordingly and the program worked :)
    Secondly, if one happens to buy a 3.3V LCD that I bought on its own, you need to connect the LCD's VCC to PHYSICAL pin 36 or "3V3(OUT)", or you might find that the potentiometer on the back doesn't bring out your text.
    Thanks again Paul for these magnificent tutorials!

  • @slybandit8117
    @slybandit8117 8 หลายเดือนก่อน

    Just got myself that kit, and I gotta say you get a TON of stuff for the price, and the quality seems pretty darn good! Luckily I found this playlist because I am a total noob at this, but you make it seem so easy. I have been able to follow along with most videos. I was able to create an LCD that displays the Temp and Humdity readings from the sensor! Love the videos, thanks again!!

    • @slybandit8117
      @slybandit8117 8 หลายเดือนก่อน

      Also, there is a nice extension for VSCode that connects to the Pico. You still have to load Micropython on it first, but instead of using Thonny, which is kinda clunky on my system, I can use VSCode!

  • @AashuV.Photography
    @AashuV.Photography ปีที่แล้ว

    the besst technology channel on youtube

  • @Ed-fv9rl
    @Ed-fv9rl ปีที่แล้ว

    Paul, the homework was straightforward. No issues.

  • @MattBaker1965
    @MattBaker1965 4 หลายเดือนก่อน

    Thanks for the library Paul.

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

    I ran into problems getting to save the library on the pico so I finally switched out picos. Now after reading some comments I will try work with the lib thing. Thanks Paul you rock!

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

    Woo Hoo. My Raspberry Pi Pico W LCD Display lesson. 😎 Thank you.

  • @Ed-fv9rl
    @Ed-fv9rl ปีที่แล้ว

    Thanks Paul! I appreciate the great work that you put into producing a great presentation, I am pressing on to catch up!

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

    Hi Sir, i need to ask, does other IIC models for LCD1602 also work or it only needs to be (HW-061)

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

    I did this homework before I went on holiday. Something that might help some of you guys is that you can save the lcd1602 library onto the pico itself (in the lib folder) instead of in the same place as your program.

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

      Thanks Charlotte, I forgot that micropython looks in the lib folder. That will keep things cleaner in the file directory.

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

      thanks.. I had to place it on the PICO before it would find it. I played with the different path settings on the windows machine, it got worse before it got better. So living with placing this on the PICO

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

      Wait a minute where is the lib folder? I assume it is on the pi pico w. And how is this done?

  • @MihaelTolić
    @MihaelTolić 10 หลายเดือนก่อน

    What if my I2C address is different? I don't know where to change it in library. My address is 0x20

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

    Thank you Paul!

  • @pralaymajumdar1206
    @pralaymajumdar1206 11 หลายเดือนก่อน

    Always charming.. Thank you sir.

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

    I AM LEGEND! Although I don't like having to hold the button long so long. The "extra spaces" version looks great but the lcd.clear() version has annoying blinking. Thanks Paul for helping us escape from the PC and monitor.
    I really like the Pico W. Two subjects that I hope you cover in the future are wireless (both WiFi and [new] Bluetooth) and asynchronous programs. I want to control my Pico W from my phone.

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

      LEGEND!

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

      @cbrombaugh
      I found that you can reduce the annoying blinking by only updating the display when you absolutely have to.

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

    Paul, any chance you'll be covering the pi pico PIO assembly programming?

  • @telepicture1805
    @telepicture1805 9 หลายเดือนก่อน +1

    Traceback (most recent call last):
    File "", line 3, in
    File "lcd1602.py", line 10, in __init__
    File "lcd1602.py", line 26, in scanAddress
    Exception: No LCD found😒

    • @jay.instro.2361
      @jay.instro.2361 5 หลายเดือนก่อน +1

      Same here, I had the wrong pins, I connected to the labelled pins SDA and SCL, instead of pins 6/7

    • @ErlankBru
      @ErlankBru 3 หลายเดือนก่อน +1

      @@jay.instro.2361 thanks! I sometimes have a bit of "tunnel vision" when troubleshooting.. I had to change 6 and 7 at the beginning of the library, destined for SDA and SCL, to pin 2 and 3, respectively. I literally only replaced 6 with 2 and 7 with 3, attached the SDA and SCL pins physically to GPIO 2 and 3 and I was sorted with the "exception" error. The comment helped me a LOT.

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

    I can not get the backlight working on the lcd :( the little red light on the back lights but nothing on the screen. I did play with the potentiometer on the back. No errors when I run the code it appears to work. No obvious solutions on the interwebs anyone have this issue? I hope I dont have a bad display.

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

      Scott, Sounds like like you might have a bad one. My I2C backpack has 2 pins on the other end that is supposed to be a jumper to disable the backlight but my backlight stays on either on or off. I have another 4 line display and removing the jumper turns off the LED.

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

    here is the homework. I had more troubles with the sensor, had to put more pauses to allow it to read. but it works. th-cam.com/video/HGM5he9IFiA/w-d-xo.html

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

    Can we have one on OLED display please!
    Thanks Paul for the awesome videos.

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

      Yes, upcoming lesson will be using OLED. Love them!

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

    Hey, Paul! Here is my solution to last week's homework assignment. I have not viewed your solution yet. That pesky degree character on the lcd screen requires a different code, requiring a bit more of my time, but it was a great exercise. Anybody who had an annoying flashing lcd screen: Just change where you place the lcd.clear() command. Thanks, Paul!!!!!! You are the best!!!!!!!
    th-cam.com/video/HFHn2CQjljk/w-d-xo.html

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

    Did it, but not happy with LCD flickering. th-cam.com/video/m_FUuPrH2xc/w-d-xo.html

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

    Thank you for an amazing lesson! This homework was a bit of struggle for me this time, because I don't have an LCD display with I2C interface. I did a small research and found a way to complete the homework with few additional steps and functions. Here is my homework assignment: th-cam.com/video/7E0WsSnAhpc/w-d-xo.html

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

    Pre Homework discussion of home to get degree symbol on lcd th-cam.com/video/_rMTi2Cc-Dc/w-d-xo.html
    Homework 22 submitted th-cam.com/video/QhyVFHPWzrs/w-d-xo.html
    Of course I had to throw in my big digits version. Thanks Paul for all you do.

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

      LEGEND!

    • @AashuV.Photography
      @AashuV.Photography ปีที่แล้ว

      Paul is the best teacher but you are the best student. 🫡

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

      AAAGGG. I am having problems even before I get started. I thought you could help me figure this one out.
      - I saved the lcd1602.py on to the pi. Then ran import lcd1602:
      - I then ran this program:
      from lcd1602 import LCD
      import utime as time
      lcd=LCD()
      while True:
      myName=input('What is Your Name? ')
      lcd.clear()
      greeting1='Hello '+myName
      greeting2='Welcome to My Pi'
      lcd.write(0,0,greeting1)
      lcd.write(0,1,greeting2)
      - I then get this error message:
      Traceback (most recent call last):
      File "", line 3, in
      File "lcd1602.py", line 10, in __init__
      File "lcd1602.py", line 26, in scanAddress
      Exception: No LCD found
      - what am i missing?

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

      I'm getting the same issue, did you find a solution?@@ke7uia

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

    HELP getiting eror messages missing libraries??? File "", line 1, in
    File "lcd1602.py", line 2, in
    File "/lib/smbus2/__init__.py", line 23, in
    File "/lib/smbus2/smbus2.py", line 25, in idonloaded the smbus2 no results??

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

    Here is my homework for this lesson. th-cam.com/video/4SeroPrqiFc/w-d-xo.html

  • @zacremboldt9160
    @zacremboldt9160 24 วันที่ผ่านมา

    Homework completed! 🎉
    th-cam.com/video/dm0mdPTHg44/w-d-xo.html
    Loving these lessons! Thanks Paul!

  • @hoellenstein
    @hoellenstein 8 หลายเดือนก่อน

    Couldnt get the ° sign to work on the display, the rest worked th-cam.com/video/EOknn07egPM/w-d-xo.html

    • @hoellenstein
      @hoellenstein 8 หลายเดือนก่อน

      aaaah...😎 found it in a comment....chr(223) worked

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

    "Promo SM" 🙃

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

    My homework solution link: th-cam.com/video/MxQ0tgFBytA/w-d-xo.html This was a fun one. Thanks Paul.

  • @daveslack2755
    @daveslack2755 11 หลายเดือนก่อน

    Homework - th-cam.com/video/xSGKH9jkJ88/w-d-xo.html Thanks again for the great easy to follow lessons.

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

    studio.th-cam.com/users/videocwIg4RSFzqM/edit
    I don't think the 1602 likes the chr(176) so I dropped it. It was showing as a minus sign. I did look at code from a post here and chr(223) works.