Raspberry Pi Pico Tutorial - Nokia 5110 LCD Module

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

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

  • @NerdCaveYT
    @NerdCaveYT  2 года назад +3

    * On Schematic 3V3 from nokia 5110 module is wired to PIN37 (3V3_EN) not PIN 36 (3V3 OUT) just make it is connected as shown in table to PIN 36. Thank you Andy for the feedback.

  • @kusx8827
    @kusx8827 2 года назад +2

    Thing to note here is that this library doesn't work with all modules, but Arduino with adafruit pcd8544 library interfaces with all nokia modules just fine. Tested it with rp2040 micropython, didn't work for my module then switched to Uno with Arduino ide and adafruit library, worked fine. Then switched to pico again but with Arduino ide+ adafruit library this time, WORKED LIKE CHARM !!!
    Someone update this library, please

    • @NerdCaveYT
      @NerdCaveYT  2 года назад

      I think there should probably be a circuitpython library for it, I have thought about switching to circuitpython seems to be a bigger community of coders making libraries

  • @losslessvideo
    @losslessvideo 2 года назад +4

    Just did this tutorial today. With the basic coding already written and working, I have been fiddling with modifying it - much easier than starting from scratch. Perhaps some say starting with working code is 'cheating' but I think it actually speeds up learning. I was tearing my hair out when the display would not work. Then I measured the continuity of all the jumpers and found one (a new one) had a hidden break. I replaced it and the display then worked perfectly!

    • @NerdCaveYT
      @NerdCaveYT  2 года назад

      I hardly write any code from scratch unless if I have to or finding code online that did not make any sense to me or not well documented. These module tutorials I intended to make so people can get it up and running quickly so that it works and then focus on using it in their projects where the real coding and creativity will come in. I also experienced the same as you mention the wire sometimes break at the connectors. I am not a fan of breadboard but saves times to make sure everything works before ordering a PCB.

  • @andyonions7864
    @andyonions7864 2 года назад +2

    The PNG schematic is incorrect (pin 37 wired instead of pin 36). Not had much joy with this. The backlight works! Gonna have to get my sillyscope out and check signals... [The python is running and importing the lcd library ok. It's printing temp on the console but the lcd is blank - light is on or off - active low] EDIT: OK now. Strange module. Switched module. Both claim to be 5110... First one has active low-- light, new one has active high light and actually works... No idea what the issue is yet.

    • @NerdCaveYT
      @NerdCaveYT  2 года назад +1

      Thank you, I just noticed it now, will make a comment about it, have you checked the pins between the two modules, I know there is different pinouts between different modules both work with same IC but the pinout is different, in the past I had this RED PCB module which was different.

    • @andyonions7864
      @andyonions7864 2 года назад +1

      @@NerdCaveYT had these modules for a few years, never used till now. The working module has a blue PCB. The duffer is red, but the pin out (as per the stencil) is identical. Assuming both have same driver IC. The blue PCB has a blue backlight, red has a white backlight. Guessing the module is no good. Also guessing you are from SA. Whereabouts? Missus from Durban.

    • @NerdCaveYT
      @NerdCaveYT  2 года назад +1

      @@andyonions7864 I am from South Africa yes, small mining town close to JHB, but been living in China last 3.5 years.

  • @roberthadden8993
    @roberthadden8993 2 года назад +2

    Fantastic tutorial !!
    Nice to see some people trying to bridge the gap with some of the older common modules from Arduino days.
    Just a note for fellow newbies like myself with respect to the pcd8544 library and Thonny - if you use the Package Manager in Thonny to install the pcd8544 Library, it will only install the default pcd8544.py, which does not work with the Pi Pico for some reason. You need to follow the tutorial directions and manually load the pcd8544_fb.py on the Pico in the [lib] subfolder.
    And stay away from VS Code for the moment, current version (1.66) has broken the Pico-Go extension that's needed to program the Pico.

    • @NerdCaveYT
      @NerdCaveYT  2 года назад +1

      Thank you, I tried using VS code once with it and decided to stick with Thonny to make it more beginner friendly.

  • @MrBobWareham
    @MrBobWareham 2 месяца назад

    I would love to make an RP Pico with Nokia display as a daily reminder and menu to select the daily reminder and time with a blinking LED when the time is reached.
    Any help would be nice, many thanks Bob in the UK

    • @NerdCaveYT
      @NerdCaveYT  2 месяца назад

      can you explain a bit more in terms of what time of reminders, like they are fixed everyday and has a timer on each one?

  • @TheMarBaudelaire
    @TheMarBaudelaire 7 месяцев назад +1

    First of all thank you very much for the video tutorial. As already mentioned there is a flaw in the schema. As indicated it is important to use PIN36. Additionally I recommend to not rely on default values of SPI. Since the default values changed what you can see if you print(str(spi)) the code will not work anymore. It can be very time consuming to debug. To save you some time I recommend you to set the values for SCK and MOSI manually. Just replace the line:
    spi = SPI(0) with
    spi = SPI(0, sck=Pin(6), mosi=Pin(7))

    • @NerdCaveYT
      @NerdCaveYT  7 месяцев назад +1

      Hi, thank you for the feedback, I will try to make an updated version of this video and use your recommendations. Always when editing a video there are a few mistakes going past me like schematic etc. I will work on double checking everything to ensure there are no errors in future tutorials.

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

    I cant get the temperture to display on the screen

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

      can you print the temperature to console, does printing any other text to screen work?

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

      i can print it to the console but not to the screen.@@NerdCaveYT

  • @nokel2
    @nokel2 2 года назад

    I was trying to work out why the program didn't start working after I unplugged the pico, turns out you need to call the program you want to boot "main.py"

    • @NerdCaveYT
      @NerdCaveYT  2 года назад

      Yes you have to do that in MicroPython and in Circuit python it will be code.py

  • @MrBobWareham
    @MrBobWareham 2 года назад +1

    Very nice, Thanks

    • @NerdCaveYT
      @NerdCaveYT  2 года назад +1

      Most welcome

    • @MrBobWareham
      @MrBobWareham 2 месяца назад

      @@NerdCaveYT Nice to see you reply, some don't love your channel very nice, and It's good to see you do Raspberry Pi Pico as I have just started using one.

    • @NerdCaveYT
      @NerdCaveYT  2 месяца назад

      @@MrBobWareham I don't really get a lot of negative comments from people, if someone calls me out for doing something wrong without constructive criticism I usually ignore them but recently I removed a video as someone pointed out I was being unsafe in relay video