Wiki » History » Version 37
Frédéric Blanc, 2024-11-08 14:07
1 | 1 | Frédéric Blanc | h1. Wiki |
---|---|---|---|
2 | |||
3 | 9 | Frédéric Blanc | {{toc}} |
4 | 1 | Frédéric Blanc | |
5 | 9 | Frédéric Blanc | h2. USB <-> I2C |
6 | 3 | Frédéric Blanc | |
7 | !clipboard-202411051457-ujwet.png! |
||
8 | 1 | Frédéric Blanc | Passerelle USB-I2C SiLabs CP2112 |
9 | |||
10 | h3. Commande Linux |
||
11 | |||
12 | i2c-tools |
||
13 | <pre><code class="shell"> |
||
14 | sudo apt install i2c-tools |
||
15 | </code></pre> |
||
16 | |||
17 | <pre><code class="shell"> |
||
18 | i2cdetect -l |
||
19 | </code></pre> |
||
20 | 6 | Frédéric Blanc | !clipboard-202411051520-zo9bt.png! |
21 | 4 | Frédéric Blanc | |
22 | <pre><code class="shell"> |
||
23 | 36 | Frédéric Blanc | sudo i2cdetect -r -y N |
24 | 4 | Frédéric Blanc | </code></pre> |
25 | 5 | Frédéric Blanc | N numero I2C ici 5 |
26 | 33 | Frédéric Blanc | !clipboard-202411081354-28b9g.png! |
27 | 35 | Frédéric Blanc | détection de puces I2C, TCA9535 0x20, ADS1115 0x48, PCF8563 0x51 |
28 | 1 | Frédéric Blanc | |
29 | 37 | Frédéric Blanc | <pre><code class="shell"> |
30 | sudo i2cget 5 0x20 0x04 |
||
31 | </code></pre> |
||
32 | !clipboard-202411081405-bcbfj.png! |
||
33 | lecture dans le TCA9535 0x20, dans le registre 0x4 |
||
34 | |||
35 | <pre><code class="shell"> |
||
36 | sudo i2cset 5 0x20 0x02 0x01 |
||
37 | </code></pre> |
||
38 | !clipboard-202411081403-zlizw.png! |
||
39 | écriture dans le TCA9535 0x20, dans le registre 0x2, les bits 0b00000001 |
||
40 | |||
41 | 2 | Frédéric Blanc | https://www.acmesystems.it/i2c |
42 | 1 | Frédéric Blanc | https://www.youtube.com/watch?v=QwlqOTDAPfk |
43 | 10 | Frédéric Blanc | |
44 | h2. Composants |
||
45 | |||
46 | h3. PCF8563 Real-time clock/calendar |
||
47 | |||
48 | 1 | Frédéric Blanc | !clipboard-202411071057-aw2q3.png! |
49 | 16 | Frédéric Blanc | VDD = 1.8 V to 5.5 V |
50 | 400-kHz Fast I2C bus |
||
51 | 11 | Frédéric Blanc | *@I2C 0x51* |
52 | 1 | Frédéric Blanc | |
53 | 17 | Frédéric Blanc | document#245 |
54 | |||
55 | 10 | Frédéric Blanc | h3. TCA9535 I/O Expander 16-Bit |
56 | 1 | Frédéric Blanc | |
57 | 16 | Frédéric Blanc | Low-Voltage 16-Bit I2C and SMBus Low-Power I/O Expander with Interrupt Output and Configuration Registers, |
58 | 13 | Frédéric Blanc | |
59 | 10 | Frédéric Blanc | !clipboard-202411071059-exmd3.png! |
60 | 16 | Frédéric Blanc | VDD 1.65 V to 5 V |
61 | 400-kHz Fast I2C bus. |
||
62 | 12 | Frédéric Blanc | *@I2C* |
63 | !clipboard-202411071120-iho0j.png! |
||
64 | 18 | Frédéric Blanc | document#243 |
65 | 15 | Frédéric Blanc | |
66 | 16 | Frédéric Blanc | h3. ADS1115 Quad ADCs |
67 | 15 | Frédéric Blanc | |
68 | 16-bit, 860-SPS, 4-channel, delta-sigma ADC with PGA, oscillator, VREF, comparator and I2C |
||
69 | |||
70 | 1 | Frédéric Blanc | !clipboard-202411071414-qcbtd.png! |
71 | 16 | Frédéric Blanc | VDD 2.0 V to 5.5 V |
72 | 1 | Frédéric Blanc | *@I2C* |
73 | 26 | Frédéric Blanc | |
74 | 1 | Frédéric Blanc | |0x48|0b1001000|GND| |
75 | |0x49|0b1001001|VDD| |
||
76 | |0x48|0b1001010|SDA| |
||
77 | |0x49|0b1001011|SCL| |
||
78 | 26 | Frédéric Blanc | |
79 | 19 | Frédéric Blanc | document#242 |
80 | 16 | Frédéric Blanc | |
81 | h3. LTC2635 Quad DACs |
||
82 | |||
83 | Quad 12-/10-/8-Bit I2C VOUT |
||
84 | DACs with 10ppm/°C Reference |
||
85 | !clipboard-202411081042-w1dol.png! |
||
86 | VDD 2.7V to 5.5V |
||
87 | *@I2C* |
||
88 | 25 | Frédéric Blanc | |
89 | 16 | Frédéric Blanc | |0x10|0b0010000|GND| |
90 | |0x11|0b0010001|NC| |
||
91 | |0x12|0b0010010|VDD| |
||
92 | 25 | Frédéric Blanc | |
93 | 20 | Frédéric Blanc | document#244 |
94 | 21 | Frédéric Blanc | |
95 | 29 | Frédéric Blanc | h3. IP5306 Battery Management System |
96 | 21 | Frédéric Blanc | |
97 | Fully-Integrated Power Bank System-On-Chip with 2.1A charger, 2.4A discharger |
||
98 | 27 | Frédéric Blanc | !clipboard-202411081112-fltgj.png! |
99 | 28 | Frédéric Blanc | *@I2C 0x75* |
100 | 21 | Frédéric Blanc | document#246 |
101 | 30 | Frédéric Blanc | |
102 | h3. 24LC512 EEPROM 512Kbit |
||
103 | |||
104 | 31 | Frédéric Blanc | !clipboard-202411081325-eulk2.png! |
105 | VDD 2.5-5.5V |
||
106 | 400-kHz Fast I2C bus |
||
107 | *@I2C* |
||
108 | |||A2|A1|A0| |
||
109 | |0x50|0b1010000|GND|GND|GND| |
||
110 | |0x51|0b1010001|GND|GND|VCC| |
||
111 | |0x52|0b1010010|GND|VCC|GND| |
||
112 | |0x53|0b1010000|GND|VCC|VCC| |
||
113 | |0x54|0b1010100|VCC|GND|GND| |
||
114 | |0x55|0b1010101|VCC|GND|VCC| |
||
115 | |0x54|0b1010110|VCC|VCC|GND| |
||
116 | |0x55|0b1010111|VCC|VCC|VCC| |
||
117 | 32 | Frédéric Blanc | document#247 |