Omega2 Pro Documentation
-
I have a few questions about the Omega2 Pro, and I can't find anything in the documentation (which is quite frustrating).
a) What is the purpose of the small green (?) LED next to the battery connector?
b) Which PWM is the one that controls the large multi-color LED on the board? I know it can be accessed via omega2-ctrl and /dev/ledchain2, but isn't it also accessible via a PWM?
c) How does one program the "programmable button"?
Thank you.
-
a) I have no idea but it has a nice colour.
b) Take a look at these articles they explain how to use PWM
https://onion.io/2bt-hardware-pwm-omega2/
https://onion.io/2bt-fast-gpio-pwm/c) Take a look at /etc/rc.button you will see some scripts that demonstrate how you use the button.
-
-
From the TP4056 1A Standalone Linear Li-Ion Battery Charger IC datasheet
indicator light state
(LED at TP4056's pin7)
battery charging: LED bright
no battery: LED coruscate
...
/CHRG (pin7): Open Drain Charge Status Output
When the battery is being charged, the /CHRG pin is pulled low by an internal switch, otherwise /CHRG pin is high impedance state. -
PWM2
p44-ledchain for MT7688 by @luz
Mediatek MT7688 Datasheet -
OpenWrt Documentation
Attach functions to a push button
...
procd buttons
Native button handling in procd is handled by scripts in /etc/rc.button/* .
Unfortunately I don't have a genuine Onion Omega2 Pro - please correct me if I'm wrong.
-
-
Hi, guys,
Thanks for your quick replies.
I'm still trying to get familiar with this platform and I appreciate your responses; they've both very helpful.
Best regards,
Matt
-
@Matt-Gessner-0 See the Omega2 Pro guide here: https://onion.io/omega2-pro-get-started/