Page 1
1/10 Introduction Introduction The ODROID-UPS3 (Uninterrupted Power Supply) device is designed specifically for the ODROID- C1,C1+ and ODROID-C2. It is equipped with a rechargeable Lithium-Polymer Battery, Charger IC and 5Volt Boost DCDC. When the AC power source is removed, the UPS3 keeps supplying the power to the ODROID boards with the battery.
ODROID-C2 Estimated Running Time with typical load of about 3 hours when fully charged 500mA @ 5V Schematic: ODROID-UPS3 for C series Layout(DWG):ups3_board_rev0.1_mech.zip Pattern(PNG):ups3.zip When the battery was fully charged(VBAT=4.2V), we performed the load test with UPS3. Time to power-off at the Load Current Time to power-off...
2020/11/09 14:28 3/10 Introduction LED Indicators BLUE LED(D1) Illuminated when power is connected and battery is charged OFF when charger is idle: Battery is fully charged Power is not connected or shutdown Rapidly blinking when power is connected but battery is not connected Power Status Indicator &...
Page 4
Last update: 2020/10/21 accessory:power_supply_battery:odroid-ups3 http://wiki.odroid.com/accessory/power_supply_battery/odroid-ups3 07:03 Ensure that slide switch SW1 is to the left to enable power output. Even when SW1 is off, the charging function keeps working. Assemble guide Assemble as the UPS3 as shown in Figure. Pin assignment to configure SW There are three signals to control auto shutdown and wake-up based on battery status.
Page 5
2020/11/09 14:28 5/10 Introduction AC_OK : The AC_OK pin is high when the AC source is available. BAT_OK : The BAT_OK pin is high when the battery voltage is higher than 3.7V. POWER_LATCH : This pin must be high to supply 5V to the load. AC_OK BAT_OK POWER_LATCH Pin GPIO Pin GPIO Pin...
Page 6
Last update: 2020/10/21 accessory:power_supply_battery:odroid-ups3 http://wiki.odroid.com/accessory/power_supply_battery/odroid-ups3 07:03 gpio_setvalue() echo > "$SYSFS_GPIO_DIR/gpio$1/direction" echo > "$SYSFS_GPIO_DIR/gpio$1/value" test $MODEL "ODROIDC" then AC_OK_GPIO=88 BAT_OK_GPIO=116 LATCH_GPIO=115 gpio_export $LATCH_GPIO gpio_setvalue $LATCH_GPIO elif test $MODEL "ODROID-C2" then AC_OK_GPIO=247 BAT_OK_GPIO=239 LATCH_GPIO=225 gpio_export $LATCH_GPIO gpio_setvalue $LATCH_GPIO else AC_OK_GPIO=199 BAT_OK_GPIO=200 gpio_export...
Page 7
2020/11/09 14:28 7/10 Introduction Cron setup This can be set up by running crontab. sudo crontab This example script will run ups3.sh script every 2 minutes. # m h dom mon dow command * * * * /home/odroid/ups3.sh To confirm that cron works with ups3.sh, check the syslog. $ tail /var/log/syslog 04:53:01 odroid64 CRON[1824]:...
Page 8
Last update: 2020/10/21 accessory:power_supply_battery:odroid-ups3 http://wiki.odroid.com/accessory/power_supply_battery/odroid-ups3 07:03 On Android, you need to register the monitoring script, ups3.sh in android init rc. Auto shutdown Script Here is an example script for Android and the default path is /system/bin/ups3.sh. #!/bin/sh SYSFS_GPIO_DIR="/sys/class/gpio" retval="" gpio_export() "$SYSFS_GPIO_DIR/gpio$1"...