pcbway




Interfacing of Multiple DS18B20 Arduino,ds18b20 arduino, arduino ds18b20, multiple ds18b20 arduino, arduino with ds18b20Hello everyone, hope you all are fine and having fun with your lives. Today, I am going to share a new project named as Interfacing of Multiple Temperature sensors DS18B20 arduino. I have already shared a tutorial on Interfacing of Temperature Senor 18B20 with Arduino but in that tutorial, we have seen how to connect one temperature sensor DS18B20 arduino. But today, I am gonna interface multiple temperature sensors DS18B20 Arduino. For this project I have used two sensors but you can use more if you want.

Temperature sensor DS18B20 is a one wire temperature sensor means we can get its data through a single wire and we can connect as many as we want temperature sensors with this single wire and can call them through their addressing. Each temperature sensor is allotted an address and when we call that address, we get its value. So, in today’s project, I have used two sensors and displayed their values on LCD. Both of these sensors are connected with single wire. I am not using both DS18B20 sensors instead I am using one 18B20 and one 18S20 temperature sensors just to give a taste, but you can connect any kind of Dallas Temperature sensor. I have designed the simulation in Proteus and the simulation is also available for download. Anyways let’s get started with interfacing of Multiple Temperature Sensors DS18B20 arduino.

Interfacing of Multiple DS18B20 Arduino

  • You can download the complete simulation along with progrmming code by clicking the below button:

Download Simulation and Code

  • Now, let’s design our simulation because its always a good practice to design from basics. So, open your Proteus software and design the below circuit diagram:

Interfacing of Multiple DS18B20 Arduino,ds18b20 arduino, arduino ds18b20, multiple ds18b20 arduino, arduino with ds18b20

  • Now, as you can see in the above figure, I have used two temperature sensors DS18B20 Arduino is used as a micrcontroller and LCD is used for displaying the values of these two temperature sensors.
  • Both of these temperature sensors are connected with a single wire of Arduino board which is Pin # 2.
  • So, now using this single wire we can connect as many temerature sensors as we want.
  • So, now next thing we need to do is to Get the Hex File from Arduino Software. So for that place the below code in your Arduino software and get your hex file.

  • Now, when you uploaded your hex file in Arduino board of your Proteus software then run your Proteus file.
  • If everything goes fine then you will get the results as shown in below figure:

Interfacing of Multiple DS18B20 Arduino,ds18b20 arduino, arduino ds18b20, multiple ds18b20 arduino, arduino with ds18b20

  • So, you can see in the above figure that I am getting the data of both these temperature sensors and displaying them on LCD.
  • Both of these temperature sensors are showing different temperature values and their respective values are displayed over the LCD.

That’s all for today, I hope you can now easily interface multiple temperature sensors with Arduino. Will meet in the next tutorial. Till then take care and have fun !!! 🙂

Leave a Reply

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

Post comment