OneWire Master_DS18B20

<< Click to Display Table of Contents >>

Navigation:  STM32F4 Target > Demos > Hardware Modules Demos > OneWire Master >

OneWire Master_DS18B20

Previous pageReturn to chapter overviewNext page

demo File: onewire_demo/ds18b20_demo.mdl

ds18b20_demo_model

Hardware setup

1. DS18B20 pin-out

ds18b20_demo_hw1

2. Connection diagram

ds18b20_demo_hw2

3. OneWire master setup

- MCU board: STM32F4DISCOVERY + aMG CLCD2

- Wire soldering for OneWire bus PA8, required 4.7k pull-up on data bus.

Testing

1. Build model file into target MCU board, now it works as OneWire master.

2. LCD will display the reading status, value and CRC.

ds18b20_demo_testing