Categories
TUTORIALS

Wireless Communication from Crosswalk System to Traffic Light System (Transmitting Data)

 

Introduction:

Since this project is an add-on of current traffic light system and this project consists of two parts that will be installed in different locations in an intersection, we are adding a wireless communication part between two parts. We only need one-way data transmission, which is from the crosswalk to the traffic light area. In this project, we are using RF 433MHz Transmitter/Receiver Module to transmit the data.

Description and specifications:

The 433MHz transceiver/receiver modules are used on a wide variety of applications that require wireless control. These modules are very cheap and you can use them with any microcontroller (MCU), whether it’s an Arduino, ESP8266, or ESP32. 

souce

433MHz Transmitter Receiver Module Kit

Receiver:

Product Model: MX-05V

Frequency Range: 433.92MHz

Input Voltage: DC5V

Receiver sensitivity: -105DB

External antenna: 32cm single core wire, wound into a spriral

Transmitter:

Product Model: MX-FS-03V

Launch Distance: 20 – 200 meters ( different voltage, different results)

Operating Voltage: 3.5-12V

Transfer Rate: 4 kb/s

Transmitting Power: 10mW

Transmitting Frequency: 433.92MHz

External Antenna: 25cm ordinary multi-core or single-core line

Parts List:

Arduino Uno * 2

433MHz Transmitter * 1

433MHz Receiver * 1

Breadboard * 2

LED *2

Resistor 330Ω *2

Jumper Wire * n

Installing the RadioHead Library:

The RadioHead library provides an easy way to work with the 433 MHz receiver/transmitter. Follow the next steps to install that library in the Arduino IDE:

1.Click here to download the RadioHead library. You should have a .zip folder in your Downloads folder.

2.Unzip the RadioHead library.

3.Move the RadioHead library folder to the Arduino IDE installation libraries folder.

4.Restart your Arduino IDE          

Source

Wire:

Connection of Receiver(Source)

Connection of Transmitter(Source)

Wiring of two boards:

Code:

Running this code separately can be hard without other parts, since I am only concentrating on the data transmitting.  Also, the scripts require two boards working together but currently I only have one(my teammates are still using their boards). I wrote two separate scripts for the board.

The transmitter part:

The Receiver Part:

 

Leave a Reply

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