Control node based on STM32F103C8TC board (image below)
- LED (PA8)
- UART1 (PA10 - RX, PA9 - TX)
- Ultrasomic Sensor HC-SR04 (TRIG - PB6, ECHO - PB7)
- OneWrie Temperature Sensor DS18B20 (PB11)
Board measures temperature and distance and send the following information to UART(115200) one time per 2 seconds:
Raw Temp: 0x18 (24 C); Distance: 1234567 (us) INFO: 58us per 1 cm;
- VCC (9-24V)
- RS485(B)
- RS485(A)
- reserved
- +5V (output)
- GND
- HC-SR04(Trigger)
- HC-SR04(Echo)
- Onewire