DS18B20 communication is using 1 wire port. With the 1wire port the memory and control functions will not be available before the ROM function protocol has been established. The master must first provide on of five ROM function command.

1. READ ROM
2. MATCH ROOM
3. SEARCH ROM
4. SKIP ROM
5. ALARM SEARCH

These commands operate on the 64bit lasered ROM portion each device and the single out a specific device if many are preset on the 1-wire line as well as indicate to the BUS master how many and what types of devices are present. After a ROM function sequence has been successfully executed, the memory and control function are accessible and the master may then provide any one of the six memory and control function commands. for more details visit this link.

HC06 Bluetooth module, This modules uses BlueCore is a single chip radio and baseband IC for Bluetooth 2.4GHz system including enhance data rates (EDR) to 3Mbps. for more details on AT command click this link.

Required Components

  • Arduino Microcontroller
  • HC06 Bluetooth Module
  • DS18B20 Temperature Sensor
  • Solder Less Bread Board
  • Jumper Wires / DuPont Wires
  • Android App. (Temperature Monitor)

Wiring Diagram

Android App.

https://play.google.com/store/apps/details?id=com.a14core.bluetoothtemp




Sketch Code

Downloads




Download OneWire Code Library Here | Zip
Download DS18B20 Datasheet Diagram | PDF

Wiring the DS18S20 1-Wire Temperature Sensor with Bluetooth HC06 on Android & Microcontroller
Facebooktwitterredditpinterestmail
Tagged on:                         

Leave a Reply

Your email address will not be published. Required fields are marked *