Indoor/outdoor wireless thermometer using Arduino




I would like to introduce you to one of my interesting projects. It is a wireless thermometer that measures the indoor and outdoor temperature. The device consists of two parts. One is a transmitter that contains one digital temperature sensor and a transmitter module. A second receiver consisting of an LCD screen, the analog sensor and receiving module.

wireless thermometer

Step 1: Parts

You need:

1. Two arduinos any version
2. DS18B20 digital temperature sensor
3. LM35 analog temperature sebsor
4. LCD 16×2
5: RF 433MHz or 315 MHz module

Step 2: Transmitter

Transmitter is very simple. Connect the wires as shown in pictures.

Here is transmitter code:

#include <VirtualWire.h>
#include <OneWire.h>

#include <DallasTemperature.h>

#define ONE_WIRE_BUS 7

OneWire oneWire(ONE_WIRE_BUS);

DallasTemperature sensors(&oneWire);

char msg[6];

void setup() {

sensors.begin();

vw_setup(2000);

vw_set_tx_pin(3);

}

void loop() {

sensors.requestTemperatures();

float temperature = sensors.getTempCByIndex(0);

dtostrf(temperature, 6, 2, msg);

vw_send((uint8_t *)msg, strlen(msg));

vw_wait_tx();

delay(200);

 

For more detail: Indoor/outdoor wireless thermometer using Arduino




This Post / Project can also be found using search terms:

  • wireless car thermometer
  • arduino outdoor temperature wifi
  • arduino wireless thermometer
  • char msg[6]; void setup() { sensors begin(); vw_setup(2000); vw_set_tx_pin(3); } void loop() { sensors requestTemperatures(); float temperature = sensors getTempCByIndex(0); dtostrf(temperature 6 2 msg); vw_send((uint8_t *)msg strlen(msg
READ  What’s new with Bluetooth?

Leave a Comment

*
= 3 + 2

(Spamcheck Enabled)

Read previous post:
make a servo and Ardiuno stand
How to make a servo and Ardiuno stand

In this instructible I will show you how I make my servo stand.  This stand is useful if you want...

Close
Scroll to top