Dimmable oled / led’s on/off

Suggest new features here
EA3BIL
Posts: 81
Joined: Tue Apr 17, 2018 11:45 pm

Re: Dimmable oled / led’s on/off

Post by EA3BIL »

w7efs wrote: Fri Feb 22, 2019 4:31 pm Thanks for the feedback, my concern in dimming the remote OLED is merely longevity. Replacing the OLED when visiting the remote site requires some disassembly and soldering that we might might not have time for. Having installed a hostapd on the RPi3 wifi, it's a simple matter to use a tablet to enable the OLED on site when needed.
May I add a thought to the origin of the "concern";

The HS is working in a "remote site"...

Does it really need to have an OLED for nobody looking at it??

8-)
M1DNS
Pi-Star Team
Posts: 909
Joined: Thu Apr 05, 2018 5:30 am

Re: Dimmable oled / led’s on/off

Post by M1DNS »

EA3BIL wrote:
w7efs wrote: Fri Feb 22, 2019 4:31 pm Thanks for the feedback, my concern in dimming the remote OLED is merely longevity. Replacing the OLED when visiting the remote site requires some disassembly and soldering that we might might not have time for. Having installed a hostapd on the RPi3 wifi, it's a simple matter to use a tablet to enable the OLED on site when needed.
May I add a thought to the origin of the "concern";

The HS is working in a "remote site"...

Does it really need to have an OLED for nobody looking at it??

8-)
Reply #8 above already asks that question.
And reply #9 answers it. Image

Andrew M1DNS, (Mod)

Andrew M1DNS.
Pi-star Admin Team.
User avatar
w7efs
Posts: 334
Joined: Sun Apr 22, 2018 4:26 pm

Re: Dimmable oled / led’s on/off

Post by w7efs »

EA3BIL wrote: Fri May 31, 2019 3:52 pm Does it really need to have an OLED for nobody looking at it??
Only when a "nobody" or plural is/are visiting the 3-hour remote site for equipment diagnostics. How does EA3BIL determine when a Motorola GM300 receiver is correctly registering *your* D-Star, DMR or YSF signals? The OLED states such information as an elementary-level diagnostic, along with the log files. When its display gets depleted due to longevity, it wastes everyones valuable time with a soldered replacement.
User avatar
PE1BVU
Posts: 22
Joined: Mon Oct 22, 2018 8:17 am
Location: Amsterdam, the Netherlands
Contact:

Re: Dimmable oled / led’s on/off

Post by PE1BVU »

I use 12ctools to control the OLED over SSH
(If not installed yet use: $ sudo apt-get install i2c-tools)

Switch OLED ON:
$ /usr/sbin/i2cset -y 1 0x3c 0x00 0xAF

Switch OLED OFF:
$ /usr/sbin/i2cset -y 1 0x3c 0x00 0xAE

OLED STATUS:
$ /usr/sbin/i2cget -y 1 0x3c 0x00

this returns the current status of the OLED:
0,96" OLED (ssd1306 type): 0x43=OFF 0x03=ON
1,50" OLED (ssd1327 type): 0x41=OFF 0x01=ON

Good luck and 73's
User avatar
w7efs
Posts: 334
Joined: Sun Apr 22, 2018 4:26 pm

Re: Dimmable oled / led’s on/off

Post by w7efs »

Excellent, thank you.
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Dimmable oled / led’s on/off

Post by KE0FHS »

w7efs wrote: Fri Feb 22, 2019 4:31 pm Thanks for the feedback, my concern in dimming the remote OLED is merely longevity. Replacing the OLED when visiting the remote site requires some disassembly and soldering that we might might not have time for.
I have a friend who has a repeater installed on a windy hilltop. It's no fun to have to replace a component up there in the middle of winter when the wind chill factor makes fingers clumsy very quickly!

Have you thought about changing the configuration so that you could just solder a wired connector to a new OLED in the comfort of your shop, and then just unplug the old one and plug in a new one at the site with no soldering? Or perhaps switch to a Nextion connected via USB?
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
G6WOV
Posts: 27
Joined: Thu May 13, 2021 12:47 pm

Re: Dimmable oled / led’s on/off

Post by G6WOV »

The LEDs on my Hat are extremely bright, and although drawing on them with a black felt tip pen sounds a good idea, a dark transparent covering fitted over them or in the aperture of the lid is not so permanent (pardon the pun). I suspect that the LEDs are a fixed brightness due to the current limiting on the PCB, or is there a setting in software/firmware to adjust there brightness?
KE7FNS
Pi-Star Team
Posts: 1924
Joined: Wed Apr 17, 2019 11:11 pm

Re: Dimmable oled / led’s on/off

Post by KE7FNS »

G6WOV wrote: Fri Jun 11, 2021 9:56 pm I suspect that the LEDs are a fixed brightness due to the current limiting on the PCB, or is there a setting in software/firmware to adjust there brightness?
No, I'm afraid its not possible to adjust the LED's brightness on a MMDVM_HS hat with software/firmware. It would require removing and replacing SMD resistors. Most designs I've seen use a single 1k resistor in series with the each LED.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
Post Reply