Hi Gregor,
I am wondering if this might be something left over from a previous run that did not terminate properly. Have you tried rebooting the device ?
Regards Thomas
OK, that sounds like the error is not directly connected to the GPIO already in use error but rather to something else failing and the GPIO error might just be due to the service not shutting down properly. I will take a look at the device…
Nothing sticks out other than that you are using 64bit OS on your RPI3. I have seen some issues come up with 64bit OS on RPI4 and to be honest I have not encountered a 64bit RPI3 on support at all yet.
I would recommend re-checking your connections to make sure you have got that right and maybe trying to re-flash with the regular balena (32-bit) and retrying with that.
If the above does not get you going, I will forward this to the maintainer and see if he has any ideas…
I can’t see an option for Raspberry pi 3 32bit on the new device section of my application. It appears to only be either 64bit or Rasberry pi 4 images available
Hi Gregor, that is because you created the application with default type Raspberry Pi 4. If you create a new app with default type Pi 3 for example you will be able to ad Pi 3 32 or 64, and Pi 4 too. It’s always better to go for the lowest arch denominator.
In any case, can you share the exact error you are getting? I tried poking around but support access seems to have expired. Have you checked your GPIO connections? I know I’ve lost many hours due to not paying enough attention.
Hi I set up the RPI3 application and still didnt get anything.
I had a funny feeling the pins weren’t working quite right on my Pi 3 before so I set up a Pi Zero W application and tried it on my Pi Zero but still nothing.
I bought the OLED screen from Ali Express that was linked in the tutorial so shouldnt be a hardware issue.
I’ve re-checked my wiring but it appears to be correct.
Hi Gregor,
I am wondering if there is an easy way to test your setup independently from balena and the train sign project. Have you seen your screen display anything at all ?
My next step at this point would be to try a basic setup to display some arbitrary text on the screen. Do you have any instructions that came with the screen or maybe a simple python app to display some kind of hello world ?
If you have nothing of that kind I can contact the maintainer - he might be able to supply a simple test script to ensure the hardware is working.
That’s a good idea, I’ll make up a raspbian image and see if I can write something to the screen with my own python script. I’ll let you know how I get on.
@GregorR hey there, project author here - thanks for giving it a try. I wonder if you remembered to make the change on the back of the display to put it in the right mode? It’s in the guide but may not stand out enough - see below:
This solved the issue. Thanks for your help - in the future I’ll make sure to read the instructions properly to avoid embarrassing mistakes like this!!
@GregorR you’re welcome, I updated the post to make it a bit more obvious. If you have any photos of your build when it’s finished we’d love to see them
I did have it stuck on the underneath of my monitor with some sticky pads, but it kept falling off. I’ll get round to attaching it properly underneath at some point.
I’ve also been messing around with the source code attempting to add things like weather data/calendar etc. If I get it working I’ll send it across.