AVR459
14.4 COMMAND to/from Charger.
14.4.1 SetCharger.
The command to the Charger sets the maximum limits for charging voltage and
current, and the charging time. The Charger will not exceed either of those, but will
adjust the voltage and current levels to get as close to the limits as possible.
SetCharger: i.e. 8400mV, 450mA, 10 minutes
SYNC
U
0x55
ADDRESS
C
0x43
SENDER
P
0x50
COMMAND
S
0x53
NBYTES
5
0x05
DATA
int mV
0x20D0
DATA
int mA
0x01C2
DATA
char minutes
0x0A
CS
Calc
0xFD
CR
?
0x0D
14.4.2 ChargingInfo.
The response from the Charger is sent when the HWB button is pressed. This will
update the PC software.
ChargingInfo: i.e. 0000mV, 100mA, 1 minute
SYNC
U
0x55
ADDRESS
P
0x50
SENDER
C
0x43
COMMAND
s
0x73
NBYTES
5
0x05
DATA
int mV
0x0000
DATA
int mA
0x0064
DATA
char minutes
0x01
CS
Calc
0xC5
CR
?
0x0D
14.4.3 ChargerRead.
This command to the Charger reads the voltage and current seen from the ATtiny861.
ChargerRead
SYNC
U
0x55
ADDRESS
C
0x43
SENDER
P
0x50
COMMAND
R
0x52
NBYTES
0
0x00
CS
Calc
0x3A
CR
?
0x0D
14.4.4 ChargerReport.
The report from the Charger is sent when the PC has asked. This will update the PC
software.
ChargerReport: i.e. 8385mV, 607mA
SYNC
U
0x55
ADDRESS
P
0x50
SENDER
C
0x43
COMMAND
r
0x72
NBYTES
4
0x04
DATA
int mV
0x20C1
DATA
int mA
0x025F
CS
Calc
0xA0
CR
?
0x0D
14.5 List of COMMAND to/from Board controller.
14.5.1 Set the RGB LED.
Command to set the color of the RGB LED between the two switches at USB1287.
11
8132A-AVR-10/08
相关PDF资料
ATAVRSB201 KIT REF FOR AVR SMART BATTERY
ATDH1150USB ACCY USB CABLE JTAG ISP AT18F
ATDVK90CAN1 KIT DEV FOR AT90CAN128 MCU
ATEVK1104AU KIT EVAL AT32UC3A3256AU
ATEVK1105AU KIT EVAL AT32UC3A0512AU
ATEVK525 ADD ON KIT FOR STK525
ATEVK527 KIT EVAL PWM AVR USB 4 SERIES
ATICE10 AVR IN CIRCUIT EMULATOR
相关代理商/技术参数
ATAVRSB201 功能描述:开发板和工具包 - AVR Development kit for ATMEGA16HVA RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:ATMega32U4 核心:AVR 接口类型:I2C, UART, USB 工作电源电压:6 V to 20 V
ATAVRSB202 功能描述:开发板和工具包 - AVR Battery Mgmt Eval kit for ATMEGA32HVB RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:ATMega32U4 核心:AVR 接口类型:I2C, UART, USB 工作电源电压:6 V to 20 V
ATAVRSBIN1 功能描述:多功能传感器开发工具 9DOF Inertial Sensor Board 1 RoHS:否 制造商:Texas Instruments 工具用于评估:LMP91200 接口类型:SPI 工作电压:1.8 V to 5.5 V 最大工作温度:
ATAVRSBIN2 功能描述:多功能传感器开发工具 9DOF Inertial Sensor Board 2 RoHS:否 制造商:Texas Instruments 工具用于评估:LMP91200 接口类型:SPI 工作电压:1.8 V to 5.5 V 最大工作温度:
ATAVRSBLP1 功能描述:光学传感器开发工具 Ambient Light and Proximity Snsr Brd RoHS:否 制造商:ams 工具用于评估: 接口类型: 最大工作温度:
ATAVRSBPR1 功能描述:压力传感器开发工具 Barometric Pressure Sensor Board 1 RoHS:否 制造商:Freescale Semiconductor 工具用于评估:MPL3115A2 接口类型:USB 最大工作温度:
ATAVRSECURITYX 功能描述:安全/ 验证开发工具 Security Module Kit for Xplain Series RoHS:否 制造商:Digi International 产品:Development Kits 工具用于评估:XEB-AW140 接口类型:SPI, USB 工作电源电压:3.1 V to 3.6 V
ATAVRSMD 功能描述:ADAPTER KIT SMD ICE200 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035