The power button of Ubox
This is an article to introduce the feature/functions related to Ubox power button, for the wiring of power button please refer: How to wire my own power button to the ubox?
So far, there is two type of power button designs in our product.
The power button of Ubox single
Ubox single, in a small size, provide a 12V 3A source, a BMI160 IMU, a 12V fan driver. Limited by its size, it can not include one more independent power on/off control circuit, so it is adopt the latching power button by default, for intuitive operation, it is copied the green and red status LEDs of the VESC into the button.
Ubox single may support the momentary button, in its circuit, the button detection and disable 12V power source signal are internal connected to the MCU of VESC, so with appropriate customized FW, it may work on momentary button.
The power button of Ubox 75V/100V
The momentary and latching button type
Ubox dual, such as Ubox V1, Ubox V2 75V/100V, has a built-in 2.4GHz receiver coupled with Uin1-remote. This receiver has a MCU, so we designed a power on/off circuit, combined with its own firmware, it can support both the momentary and latching type buttons.
The mechanism of support these two type button is:
When power on, if it detect the button has been pressed more than 3 seconds, it indicates there is a latching type button.
If the button been pressed within 1-2 seconds, it indicates there is a momentary type button.
It's simple to turn off latching type by clcking button to its off status. To power off momentary type needs to press button 3 seconds, when the button LED is off, release the button.
The click button configuration
Mainly, Ubox is configured by Uremote(Uni1 remote). When without Uremote, with momentary power button, you can make some configurations by continuously click the button then wait 1 second:
Both Ubox V1 and V2
- 3 times----NRF wire to ESCA.
- 4 times----NRF wire to ESCB.
- 5 times----NRF wire to no one.
- 6 times----Internal CAN bus on.
- 7 times----Internal CAN bus off.
Ubox V2 only:
- 8 times----Internal 2.4GHz receiver enable.
- 9 times----Internal 2.4GHz receiver disable.
Note: The Uremote has higher priority than button, when coupled with Uremote, the Ubox will obey and save the settings from Uremote. Except the enable/disable internal receiver.