HOWTO: Adding a Brightness Control for the 3.5" GearBest Screen

Various user-contributed guides for hardware-related things
Post Reply
User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

HOWTO: Adding a Brightness Control for the 3.5" GearBest Screen

Post by tinkerBOY » Sun Aug 19, 2018 6:31 am

I saw someone here asked if the brightness of the GearBest Screen can be controlled via software. With a raspberry pi or Arduino chips, yes it can be done. Here's How To Add Brightness Control For The 3.5″ GearBest Screen. The guide might also work with other screen that uses the CL6201 LED driver IC.

Image

Demo: https://www.youtube.com/watch?v=wgkNAMxIaZE
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

User avatar
hueblo
Posts: 175
Joined: Mon Jun 06, 2016 2:59 pm
Has thanked: 78 times
Been thanked: 81 times

Re: HOWTO: Adding a Brightness Control for the 3.5" GearBest Screen

Post by hueblo » Wed Dec 12, 2018 8:55 pm

Followed the steps and dim button seemed to work but brightness button did not work. Then I noticed in the picture in the guide brightness button is hooked up to pin 14 but in the python brightness button is set to pin 16. I just changed it to to 14 in the python and the brightness button then worked. Btw I added the code below to /etc/rc.local before exit 0 to get this to work at start up.

sudo python /home/pi/brightness_controller.py
sudo /home/pi/PIGPIO/pigpiod

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest