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

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
    / paulmcwhorter
    In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in this entire class.
    amzn.to/3ubMRs1
    In this introductory video, I will show you how to use the lcd1602 LCD Display with the Raspberry Pi Pico W. I will show you how to load the library onto your pico, and then how to display text on the LCD. We will implement the project using micropython. Enjoy!
    [Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. ]
    #raspberrypipicoW
    #lcd1602
    #micropython

Комментарии • 68

  • @slybandit8117
    @slybandit8117 4 месяца назад

    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 4 месяца назад

      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!

  • @scottwait3585
    @scottwait3585 Год назад

    Thank you Paul!

  • @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. ruclips.net/video/HGM5he9IFiA/видео.html

  • @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?

  • @iampad545
    @iampad545 Год назад +3

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

  • @davidbosserman3247
    @davidbosserman3247 8 месяцев назад +3

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

  • @ahmad12150
    @ahmad12150 Месяц назад

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

  • @MihaelTolić
    @MihaelTolić 6 месяцев назад

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

  • @MattBaker1965
    @MattBaker1965 10 дней назад

    Thanks for the library Paul.

  • @yorecode
    @yorecode 8 месяцев назад +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.

  • @telepicture1805
    @telepicture1805 6 месяцев назад

    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 Месяц назад

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

  • @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: ruclips.net/video/7E0WsSnAhpc/видео.html

  • @deniszawad
    @deniszawad 10 месяцев назад

    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??

  • @arnoldschmucker9977
    @arnoldschmucker9977 Год назад +1

    Did it, but not happy with LCD flickering. ruclips.net/video/m_FUuPrH2xc/видео.html

  • @hoellenstein
    @hoellenstein 4 месяца назад

    Couldnt get the ° sign to work on the display, the rest worked ruclips.net/video/EOknn07egPM/видео.html

    • @hoellenstein
      @hoellenstein 4 месяца назад

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

  • @jameslewellen150
    @jameslewellen150 Год назад +1

    Here is my homework for this lesson. ruclips.net/video/4SeroPrqiFc/видео.html

  • @daveslack2755
    @daveslack2755 7 месяцев назад

    Homework - ruclips.net/video/xSGKH9jkJ88/видео.html Thanks again for the great easy to follow lessons.

  • @TheTechRancher
    @TheTechRancher Год назад

    My homework solution link: ruclips.net/video/MxQ0tgFBytA/видео.html This was a fun one. Thanks Paul.

  • @pralaymajumdar1206
    @pralaymajumdar1206 7 месяцев назад

    Always charming.. Thank you sir.

  • @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!!!!!!!
    ruclips.net/video/HFHn2CQjljk/видео.html

  • @scottpegden4550
    @scottpegden4550 Год назад

    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.

  • @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!

  • @Ed-fv9rl
    @Ed-fv9rl Год назад

    Paul, the homework was straightforward. No issues.

  • @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!

  • @CodX710
    @CodX710 Год назад

    the besst technology channel on youtube

  • @qzorn4440
    @qzorn4440 Год назад

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

  • @vishwanathmali4338
    @vishwanathmali4338 Год назад

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

    • @paulmcwhorter
      @paulmcwhorter  Год назад +1

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

  • @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.

  • @keithlohmeyer
    @keithlohmeyer Год назад

    Pre Homework discussion of home to get degree symbol on lcd ruclips.net/video/_rMTi2Cc-Dc/видео.html
    Homework 22 submitted ruclips.net/video/QhyVFHPWzrs/видео.html
    Of course I had to throw in my big digits version. Thanks Paul for all you do.

    • @paulmcwhorter
      @paulmcwhorter  Год назад

      LEGEND!

    • @CodX710
      @CodX710 Год назад

      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 9 месяцев назад

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

  • @rickymartha8667
    @rickymartha8667 Год назад

    "Promo SM" 🙃

  • @todd3c
    @todd3c 8 месяцев назад

    studio.ruclips.net/user/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.