Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display not functioning at all #128

Open
novpaul opened this issue Dec 7, 2024 · 24 comments
Open

Display not functioning at all #128

novpaul opened this issue Dec 7, 2024 · 24 comments

Comments

@novpaul
Copy link

novpaul commented Dec 7, 2024

Chris. first of all I wanted to say thank you for all of your work on this. This is my first Raspberry Pi project and I was inspired to do it by your work, so thank you. As a result I am a complete noob to Raspberry Pi, I hope this question isn't too tedious for you as it may be very basic..... I have followed the instructions to the tee and believe I have the screen connected correctly, I have also tried moving R6 to R5. I am getting nothing from my screen, not any type of indication that it is functioning. The Pi is on (green light) and hopefully you can see from the attached that it is connected in Balena Cloud and operational.

Is there something I am missing? Should I at least be getting some signs of life from the screen? I've no reason to think it's broken as it's brand new. Is there a simple test I can do to check if the screen is working? Any advice would be super appreciated, really want to make this work.

Screenshot 2024-12-07 at 22 37 19 ![PXL_20241207_230048535](https://github.com/user-attachments/assets/cb70d912-f50c-4bfb-b169-90c8eec55e81) ![PXL_20241207_230038075](https://github.com/user-attachments/assets/0f247ca3-4407-4ef4-a5b2-0e6779149c75)
@novpaul
Copy link
Author

novpaul commented Dec 7, 2024

PXL_20241207_230048535

@novpaul
Copy link
Author

novpaul commented Dec 7, 2024

PXL_20241207_230038075

@bonstio
Copy link

bonstio commented Dec 8, 2024

Check your wires. Then check them again. Then re-do your soldering. Then try a new screen. I've built 10 of these beauties. One of the screens was either defective or I managed to trash it whilst soldering.

Good luck.

@jruys
Copy link

jruys commented Dec 8, 2024 via email

@novpaul
Copy link
Author

novpaul commented Dec 8, 2024

Check your wires. Then check them again. Then re-do your soldering. Then try a new screen. I've built 10 of these beauties. One of the screens was either defective or I managed to trash it whilst soldering.

Good luck.

Thanks so much for the reply, the board came pre soldered with pins so I (hope) it's not a soldering issue. Is there a way that I can know if the screen is working, I'm a complete beginner so, for example, once the power is attached and the wiring is correct should I see some sign of life from the board even if it is fuzz or just lit up etc? Or can there be a software configuration problem i.e the screen will be black until the raspberry pi is configured correctly?

Someone mentioned to me that sometimes the raspberry pi is preconfigured to the hdmi port and so that needs to be changed? Or should it be the case if I followed Chris blog step by step out of the box that the display should work?

You're help is really appreciated.
P

@novpaul
Copy link
Author

novpaul commented Dec 8, 2024

First of all - what a great problem description! Not simply “it doesn’t
work” but stating what you already tried and clear pictures - bravo!

Can you get us a picture or double check the R5…R8 area? That got me a few
times. Those resistors are 0 ohm, so a blob of solder to bridge R5 and R8
should suffice. R6 and R7 should be open.

In the Balena console there’s a “logs” section under your device summary.
Anything interesting there when you (re)start the service?

Some other config things that caused my screen to go blank:

  • “Dualscreen” was inadvertenly set to “true” and somehow that broke my
    setup. That was a while ago, think that’s not an issue anymore.
  • Time zone on my config was wrong which made the time fall within
    “screenblankhours” which is when the screen is off! Mine is set to “22-7”
    and TZ “Europe/London”.

Good luck!

JW

Thank you also!

Do these pictures help?

PXL_20241208_112317514.PORTRAIT.ORIGINAL.jpg

PXL_20241208_112312687.PORTRAIT.ORIGINAL.jpg

PXL_20241208_112258497.PORTRAIT.ORIGINAL.jpg

PXL_20241208_112239319.jpg

@novpaul
Copy link
Author

novpaul commented Dec 8, 2024

This is what I'm getting from the log below.

Just as an fyi I really am a beginner so even the most basic terms like leaving something "open" etc might have to be explained in laymans terms! Or even where the solder is supposed to go.

I keep getting "key error soap Envelope" in the log if that means anything. Thanks so much

PXL_20241208_113026465.jpg

PXL_20241208_113011924.MP.jpg

@jruys
Copy link

jruys commented Dec 8, 2024

I suspect there's something funky in your config - this is what mine shows on startup:

Starting service 'main sha256:c41086cab1b98803fd20545d360830f14832dabadfb1dd87b701a714a3157097'
Started service 'main sha256:c41086cab1b98803fd20545d360830f14832dabadfb1dd87b701a714a3157097'
Releasing update locks
main Starting Train Departure Display v0.5.4
main /usr/src/python-packages/luma/core/interface/serial.py:206: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
main self._gpio.setup(pin, self._gpio.OUT)
main Effective FPS: 18.06
main Effective FPS: 19.0
main Effective FPS: 19.31

Yours seems to be unhappy about something in the config variables - it exits before the screen gets activated which would explain the blank screen.

Double check the "configuration" section? https://github.com/chrisys/train-departure-display/blob/main/docs/04-configuration.md

Re the screen - the interesting bit is what Chris shows in his manual here - the bits marked with R5 and R8 should have a R0 resistor in there, but a short piece of wire or blob of solder should do equally well. The bits marked R6 and R7 should have nothing between them (hence "open").

@jruys
Copy link

jruys commented Dec 8, 2024

...Probably not relevant but I'm confused - your log shows software version v0.5.5, I'm running v0.5.4 which as far as I know is the latest.

You did deploy with the big "deploy with balena" from the "installation" section of https://github.com/chrisys/train-departure-display/blob/main/docs/01-getting-started.md

Anyone else reading along: is there a 0.5.5 version?

@metacurb
Copy link

metacurb commented Dec 8, 2024

Without being able to see the entire error, I would guess that your API details are invalid. The code is trying to reference fields in the API response that don't exist. Can you check your apiKey is set correctly, with no spaces and is in the right format?

If after double checking this it still doesn't work, it would be great if you could paste your error logs here.

FYI @jruys , 0.5.5 is the latest version - https://github.com/chrisys/train-departure-display/blob/main/VERSION

@novpaul
Copy link
Author

novpaul commented Dec 8, 2024 via email

@metacurb
Copy link

metacurb commented Dec 8, 2024

You'll want to follow the final step in the docs - https://github.com/chrisys/train-departure-display/blob/main/docs/04-configuration.md

@jruys
Copy link

jruys commented Dec 8, 2024

FYI @jruys , 0.5.5 is the latest version - https://github.com/chrisys/train-departure-display/blob/main/VERSION

Thanks @metacurb! Re-deployed and I’m now running v0.5.5. Looks like Balena still thinks it’s 0.5.4 though as it built it as a v0.5.4+rev1 version, probably something in a config file. Will check and file an issue if it’s not at my end.

@jruys
Copy link

jruys commented Dec 9, 2024

@novpaul The API key lives here in the Balena console:

image

@novpaul
Copy link
Author

novpaul commented Dec 10, 2024

Thanks all for the input- will try the API key and see where that gets me Thursday/Friday

@chrisys
Copy link
Owner

chrisys commented Dec 13, 2024

Just wanted to say thanks to everyone here for contributing and working to figure out what's going on!

@novpaul I would also share here the other values you've used in addition to the API key, maybe we can reproduce that way.

@novpaul
Copy link
Author

novpaul commented Dec 23, 2024

Hi all wanted to report back. I inputted the API key and no cigar unfortunately. I am now going to start from scratch again in the instructions and quadruple check pin out (I dont think this was incorrect) I have attached some screenshots if that helps from Balina Cloud... any further clues whilst working this out would be helpful as we crash into the Christmas period :-)
Screenshot 2024-12-23 at 17 28 54
Screenshot 2024-12-23 at 17 28 43

@novpaul
Copy link
Author

novpaul commented Dec 23, 2024

train-departure-display_calm-feather-2024-12-23t17_38_26+00_00.txt

Adding the log if that is helpful as well

@novpaul
Copy link
Author

novpaul commented Dec 23, 2024

Update: So I have redone the pin layout and it's definitely correct. I'm at a bit of a loss now. API key is correct. I'm getting the log below. Is there any way I can test the display to ensure the part is working, or is there more work needed (based on the log) to exhaust all avenues before blaming/investigating the screen itself for defect? Thanks - P

Screenshot 2024-12-23 at 17 54 24

@jruys
Copy link

jruys commented Dec 23, 2024 via email

@novpaul
Copy link
Author

novpaul commented Dec 24, 2024

@jruys thanks again for taking the time to comment. I've attached the picture. Is the resistor the thing with three spots positioned in R6? Would I use a soldering iron to heat up the solder and remove it completely and then put a solder blob between R5 and R6, joining them together?

Hopefully this is the fix :)

@novpaul
Copy link
Author

novpaul commented Dec 24, 2024

@jruys thanks again for taking the time to comment. I've attached the picture. Is the resistor the thing with three spots positioned in R6? Would I use a soldering iron to heat up the solder and remove it completely and then put a solder blob between R5 and R6, joining them together?

Hopefully this is the fix :)

PXL_20241224_102423325.PORTRAIT.jpg

@jruys
Copy link

jruys commented Dec 24, 2024

Yes - Getting close...

The R5 area should look like R8 - a solder blob or miniscule piece of wire between the two pins (or a 000 resistor but don't bother - same thing).
The R6 area should be clear, just like R7 looks now.

@novpaul
Copy link
Author

novpaul commented Dec 24, 2024

Amazing all sorted thanks so much, what a lovely Christmas gift!! Thanks for everyone's help - super stars

PXL_20241224_120119577.jpg

Yes - Getting close...

The R5 area should look like R8 - a solder blob or miniscule piece of wire between the two pins (or a 000 resistor but don't bother - same thing).
The R6 area should be clear, just like R7 looks now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants