Wiki » History » Revision 38
« Previous |
Revision 38/40
(diff)
| Next »
Frédéric Blanc, 2024-11-08 14:09
Wiki¶
- Table of contents
- Wiki
USB <-> I2C¶
Passerelle USB-I2C SiLabs CP2112
Commande Linux¶
i2c-tools
sudo apt install i2c-tools
sudo apt install i2c-tools
i2cdetect¶
i2cdetect -l
sudo i2cdetect -r -y N
N numero I2C ici 5
détection de puces I2C, TCA9535 0x20, ADS1115 0x48, PCF8563 0x51
i2cget¶
sudo i2cget 5 0x20 0x04
lecture dans le TCA9535 0x20, dans le registre 0x4
i2cset¶
sudo i2cset 5 0x20 0x02 0x01
écriture dans le TCA9535 0x20, dans le registre 0x2, les bits 0b00000001
https://www.acmesystems.it/i2c
https://www.youtube.com/watch?v=QwlqOTDAPfk
Composants¶
PCF8563 Real-time clock/calendar¶
VDD = 1.8 V to 5.5 V
400-kHz Fast I2C bus
@I2C 0x51
TCA9535 I/O Expander 16-Bit¶
Low-Voltage 16-Bit I2C and SMBus Low-Power I/O Expander with Interrupt Output and Configuration Registers,
VDD 1.65 V to 5 V
400-kHz Fast I2C bus.
@I2C
TCA9535
ADS1115 Quad ADCs¶
16-bit, 860-SPS, 4-channel, delta-sigma ADC with PGA, oscillator, VREF, comparator and I2C
VDD 2.0 V to 5.5 V
@I2C
0x48 | 0b1001000 | GND |
0x49 | 0b1001001 | VDD |
0x48 | 0b1001010 | SDA |
0x49 | 0b1001011 | SCL |
LTC2635 Quad DACs¶
Quad 12-/10-/8-Bit I2C VOUT
DACs with 10ppm/°C Reference
VDD 2.7V to 5.5V
@I2C
0x10 | 0b0010000 | GND |
0x11 | 0b0010001 | NC |
0x12 | 0b0010010 | VDD |
IP5306 Battery Management System¶
Fully-Integrated Power Bank System-On-Chip with 2.1A charger, 2.4A discharger
@I2C 0x75
IP5306
24LC512 EEPROM 512Kbit¶
VDD 2.5-5.5V
400-kHz Fast I2C bus
@I2C
|||A2|A1|A0|
|0x50|0b1010000|GND|GND|GND|
|0x51|0b1010001|GND|GND|VCC|
|0x52|0b1010010|GND|VCC|GND|
|0x53|0b1010000|GND|VCC|VCC|
|0x54|0b1010100|VCC|GND|GND|
|0x55|0b1010101|VCC|GND|VCC|
|0x54|0b1010110|VCC|VCC|GND|
|0x55|0b1010111|VCC|VCC|VCC|
24LC512
Updated by Frédéric Blanc about 1 month ago · 40 revisions