Sunlight Readable Display

The forum area for anything related to the MakerPlane Sunlight Readable Displays.

Moderator: John Nicol

caz
Posts: 12
Joined: 04 Oct 2020, 09:55

Sunlight Readable Display

Post by caz »

Does anyone have a problem on changing brightness of MakerPlane's Sunlight Readable Display? I can't change brightness with RPI4 while John can.
Here are my commands. The display has the same brightness during the last 3 commands.

sudo apt-get install -y wiringpi
gpio -g pwm 18 1024
gpio -g mode 18 pwm
gpio pwmc 1000
gpio -g pwm 18 0 # brightest
gpio -g pwm 18 1024 # darkest
gpio -g pwm 18 1000
User avatar
John Nicol
Posts: 611
Joined: 23 Nov 2011, 12:17
Contact:

Re: Sunlight Readable Display

Post by John Nicol »

Hi Caz,

EDIT: NOTE I HAVE UPDATED THE PI 4 SETTINGS BELOW TO REFLECT AN UPDATED CONFIG FROM THE MANUFACTURER.

I just want to make sure that you also installed the package first with the instructions in the box. If you use sudo apt-get it should work but I am not sure that it needs the dependencies it might find. The manufacturer sent these instructions to me and appears to work. dpkg installs the deb package only.

cd /tmp
wget https://project-downloads.drogon.net/wi ... latest.deb
sudo dpkg -i -B wiringpi-latest.deb


The backlight brightness can be controlled using the following commands on raspberry PI 4B:

gpio -g mode 18 pwm
gpio pwmc 4095
gpio -g pwm 18 X


where X is the brightness required 0= brightest, 400=darkest.

Let me know how you go.

John
-----
John Nicol
Founder, MakerPlane
caz
Posts: 12
Joined: 04 Oct 2020, 09:55

Re: Sunlight Readable Display

Post by caz »

Disregard my post about brightness. Before running gpio command, I did something such as enabling serial port. Brightness changes with minimum configuration.
User avatar
John Nicol
Posts: 611
Joined: 23 Nov 2011, 12:17
Contact:

Re: Sunlight Readable Display

Post by John Nicol »

Excellent news. Glad it is working for you now.

John
-----
John Nicol
Founder, MakerPlane
K6Eler
Posts: 7
Joined: 07 Oct 2020, 16:07

Re: Sunlight Readable Display

Post by K6Eler »

Hello from Germany,
I have a problem changing brightness with Pi3
after entering the second comand line: gpio -g mode 18 pwm
the display went black and I have to restart the Pi3
after restart and entering the last 2 lines nothing happened
thx for help
K6Eler
Posts: 7
Joined: 07 Oct 2020, 16:07

SD Card Image and Pi Case 3D File: Issues

Post by K6Eler »

Hi John, is it possible to get the files for a older Version of SOLIDWORKS from 2016
Thx
KR from Germany
Chris
User avatar
John Nicol
Posts: 611
Joined: 23 Nov 2011, 12:17
Contact:

Re: Sunlight Readable Display

Post by John Nicol »

K6Eler wrote: ↑08 Oct 2020, 05:00 Hello from Germany,
I have a problem changing brightness with Pi3
after entering the second comand line: gpio -g mode 18 pwm
the display went black and I have to restart the Pi3
after restart and entering the last 2 lines nothing happened
thx for help
Hi,

This line will set GPIO 18 to be used as the PWM to change the brightness. Do you have anything else running that will grab that GPIO pin? Have you tried with the baseline image?

John

https://pinout.xyz/pinout/pin12_gpio18
-----
John Nicol
Founder, MakerPlane
K6Eler
Posts: 7
Joined: 07 Oct 2020, 16:07

Re: Sunlight Readable Display

Post by K6Eler »

the information I got for pinout: physical 12 is GPIO18
There is nothing else running on the Pi3 as I know
Have you tried with the baseline image? sorry, but I did not understand, what you mean
User avatar
John Nicol
Posts: 611
Joined: 23 Nov 2011, 12:17
Contact:

Re: Sunlight Readable Display

Post by John Nicol »

K6Eler wrote: ↑08 Oct 2020, 06:09 the information I got for pinout: physical 12 is GPIO18
There is nothing else running on the Pi3 as I know
Have you tried with the baseline image? sorry, but I did not understand, what you mean
The screen ships with an SD card that has Raspian OS on it. Did you try with that?
-----
John Nicol
Founder, MakerPlane
K6Eler
Posts: 7
Joined: 07 Oct 2020, 16:07

Re: Sunlight Readable Display

Post by K6Eler »

yes and nothing modified except installing XCSoar ;)
Post Reply