Colibri AIC
Jump to navigation
Jump to search
Colibri AIV is an expansion module with two Analog 0-20mA Inputs.
ADS1115 is the A/D converter used, which is 16 bits and max sampling rate of 860 samples/second.
I2C Addresses
M24M01 = 0x50-0x51 ADS1115 = 0x48
EEPROM factory layout
See the Colibri EEPROM Layout page for the full picture.
Calibration data in EEPROM
| Address | Length | Description |
|---|---|---|
| 0x0080 | 4 | k-factor for AI1 |
| 0x0084 | 4 | m-offset for AI1 |
| 0x0088 | 4 | k-factor for AI2 |
| 0x008c | 4 | m-offset for AI2 |
Test Report
| Address | Length | Description |
|---|---|---|
| 0x0100 | 4 | Year * 12 + month |
| 0x0104 | 4 | Date * 24 + hour |
| 0x0108 | 8 | Reserved for future use. |
| 0x0110 | 4 | EEPROM write/read/erase test. 32 cycles. Each cycle is represented in one bit. 0=Success, 1=Fail. |
| 0x0114 | 4 | Calibration parameters written to EEPROM. 0xffff=fail, 0x0=success |
| 0x0118 | 4 | zeptoforth program written to EEPROM. 0xffff=fail, Bytes written otherwise. |
| 0x011c | 4 | WebAssembly program written to EEPROM. 0xffff=fail, Bytes written otherwise. |
| 0x0120 | 32 | Reserved for future use. |
| 0x0140 | 4 | Apply 20mA input on AI1, check for within 5%, write raw value to this position, or 0xFFFF if fails. |
| 0x0144 | 4 | Apply 10mA input on AI1, check for within 5%, write raw value to this position, or 0xFFFF if fails. |
| 0x0148 | 4 | Apply 1mA input on AI1, check for within 5%, write raw value to this position, or 0xFFFF if fails. |
| 0x014c | 4 | Reserved for future use. |
| 0x0150 | 4 | Apply 20mA input on AI2, check for within 5%, write raw value to this position, or 0xFFFF if fails. |
| 0x0154 | 4 | Apply 10mA input on AI2, check for within 5%, write raw value to this position, or 0xFFFF if fails. |
| 0x0158 | 4 | Apply 1mA input on AI2, check for within 5%, write raw value to this position, or 0xFFFF if fails. |
| 0x015c | 4 | Reserved for future use. |