question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trying to get this to work with Spotpear LCD

See original GitHub issue

This is my lcd http://www.spotpear.com/index.php/index/study/detail/id/77.html

Type of Raspberry Pi

Raspberry Pi 3A

Linux Kernel version

Linux raspberrypi 5.4.79-v7+ #1373 SMP Mon Nov 23 13:22:33 GMT 2020 armv7l GNU/Linux

Expected behaviour

I expect a 3d box

Actual behaviour

Trying to get the display to work with the correct driver If I try and run 3d_box.py I get the following error message

3d_box.py: error: I2C device not found on address: 0x3C

This is no surprise as i2cdetect 1

Does not report anything, I get 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: – – – – – – – – – – – – – 10: – – – – – – – – – – – – – – – – 20: – – – – – – – – – – – – – – – – 30: – – – – – – – – – – – – – – – – 40: – – – – – – – – – – – – – – – – 50: – – – – – – – – – – – – – – – – 60: – – – – – – – – – – – – – – – –

Does anyone have any pointers please?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20

github_iconTop GitHub Comments

2reactions
CRImiercommented, Jan 10, 2021

first quick note - your LCD is not I2C, is SPI, so you need to let the driver know how to correctly reach your display - through the correct SPI port, using the right SPI settings and right GPIO pins. You should be able to get all of these parameters from the example code they’re providing.

1reaction
CRImiercommented, Jan 11, 2021

happy to hear that! It’s not even clear to me that you need the SPI and GPIO parameters, I’d bet they’re just unused, try removing them and my hunch is that it will work just as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Raspberry Pi 3.5inch RPi LCD (A) - Spotpear
Getting Started. The RPi LCD can be driven in two ways: Method 1. install driver to your Raspbian OS. Method 2. use the...
Read more >
Setting up Waveshare Spotpear 4" LCD Screen
I have a Raspberry Pi 2 Model B, and I am attempting to use a 4" WaveShare SpotPear LCD TFT screen on it....
Read more >
Waveshare 3.5 LCD screen not working
I have a standard RaspberryPi OS (release 2022-04-04) installed onto an ssd disk using Raspberry Pi imager v1.7.2 (RPi model 4b). The waveshareΒ ......
Read more >
How to Setup an LCD Touchscreen on the Raspberry Pi
Learn how to setup an LCD touchscreen on the Raspberry Pi in this step by step tutorial that makes it easy for anyone....
Read more >
How To Set Up A GPIO Screen For Raspberry Pi - YouTube
Use Your Phone to Control Your Raspberry Pi ... If you have any questions about this content or want to share a project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found