PreviousNext
UserPeripheral-18B20
Help > Custom DPA Handler > Examples > UserPeripheral-18B20

This example demonstrates connecting the [N] to the 1-Wire device. It might be a starting application to create a sensor network having external temperature sensors.

 

The example uses a popular temperature sensor Dallas 18B20. The sensor is present at the DDC-SE-01 sensor kit so it is very easy to create a device operating the sensor at the lab.

 

Deep knowledge of the 1-Wire protocol is necessary to understand the whole source code.

 

→ Self-study tip: Modify the code to return the temperature value using the user FRC command.

 Hint: As the 18B20 conversion time exceeds the maximum 40 ms FRC response time both Set FRC Params at [C] side and FRC response time at [N] side must be used.