projects:chip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
projects:chip [2016/04/05 07:45] photonicsguyprojects:chip [2016/04/05 07:59] photonicsguy
Line 68: Line 68:
 </code> </code>
  
 +Fully charged
 +<code>
 +root@chip:~# axp209.sh 
 +Battery: 100%
 +ACIN: 0V
 +VBUS: 4.9946V   251.625mA
 +VBAT: 4.1910 V  Discharging at 0mA
 +Vout: 4.9602 V
 +</code>
 ==== Notes ==== ==== Notes ====
 Some of the voltage outputs are programmable via registers, so it appears to be possible to damage your CHIP computer by writing the wrong data to certain registers on this chip. Some of the voltage outputs are programmable via registers, so it appears to be possible to damage your CHIP computer by writing the wrong data to certain registers on this chip.
 This script only uses one write command to enable ADC registers, everything else is only reading This script only uses one write command to enable ADC registers, everything else is only reading
 +==== Setting VBUS current limit ==== 
 +  * i2cset -y -f 0 0x34 0x30 0x60 # 900mA VBUS current limit (Default) 
 +  * i2cset -y -f 0 0x34 0x30 0x61 # 500mA VBUS current limit 
 +  * i2cset -y -f 0 0x34 0x30 0x62 # 100mA VBUS current limit (CHIP will draw from both VBUS & Battery) 
 +  * i2cset -y -f 0 0x34 0x30 0x63 # No current limiting on VBUS
  
 ===== References ===== ===== References =====
  • projects/chip.txt
  • Last modified: 2016/12/11 12:47
  • by photonicsguy