mirror of
https://github.com/eddyem/tsys01.git
synced 2026-03-21 01:00:57 +03:00
Add code & schematic for 48-channel I2C multiplexer
This commit is contained in:
18
STM32/src4multiplexer/Readme.md
Normal file
18
STM32/src4multiplexer/Readme.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Check temperature on 16 sensors with different addresses and show values by USART.
|
||||
USART speed 115200. Code for NUCLEO-042
|
||||
|
||||
### Serial interface commands (ends with '\n'):
|
||||
|
||||
- **C** show coefficients for both thermosensors
|
||||
- **D** detect seosors (reseting them)
|
||||
- **H** switch I2C to high speed (100kHz)
|
||||
- **L** switch I2C to low speed (default, 10kHz)
|
||||
- **R** reset both sensors
|
||||
- **T** get temperature
|
||||
- **number** from 0 to 48 - set active multiplexer channel (PA3..PA8)
|
||||
|
||||
|
||||
### PINOUT
|
||||
- Multiplexer: PA3..PA8 (bits0..5)
|
||||
- I2C: PA9 (SCL) & PA10 (SDA)
|
||||
- USART2: PA2 (Tx) & PA15 (Rx)
|
||||
Reference in New Issue
Block a user