![Rigel VP3500 Скачать руководство пользователя страница 93](http://html1.mh-extra.com/html/rigel/vp3500/vp3500_user-manual_1460620093.webp)
5.3.3.4 : EEPROM Read / Write
Write 0x5A to bank 4 byte 32:
# i2cget -y 1 0x5a 0xa8
# i2cget -y 1 0x5a 0x20
# i2cget -y 1 0x5a 0x5a
Read bank 4 byte 32:
# i2cget -y 1 0x5a 0xa9
# i2cget -y 1 0x5a 0x20
0x5a
5.3.3.5 : Read Temperature
Temperature values are in the extended binary offset format of the ADT7461. To convert that to degrees
Celsius, the value is interpreted as an unsigned integer and then 64 is subtracted from it. This provides a
range of -64 to 191 °C, however the capability of the sensor is only from -40 to 100 °C.
Read the board temperature (0x5d = 93 – 64 = 29 °C) :
# i2cget -y 1 0x5a 0xb0
0x5d
5.3.3.6 : Set High / Low Alert Temperature Limits
Temperature limit values are also in the extended binary offset format of the ADT7461. Take the desired
temperature limit, add 64 and convert it to hexadecimal.
Set upper temperature alert limit to 85 °C:
# i2cget -y 1 0x5a 0xb2
# i2cget -y 1 0x5a 0x95
VP3500 User Manual • Document Number 101-3500-0001 • Revision A0
Property of Rigel Engineering, LLC. Confidential & Proprietary
690 Cone Park Court, Merritt Island, Florida 32952
page 93