Components/Equipment Required:
Following Components/Equipment are
required to perform task.
1.
Arduino
Uno (
2.
HC-12
433MHz Transceiver x 2 (
3.
Breadboard
4.
Jumper
Wires (
Circuit
Diagram:
Arduino Program:
#include
<SoftwareSerial.h>
SoftwareSerial
HC12(10, 11);
void
setup() {
Serial.begin(9600);
HC12.begin(9600);
}
void
loop() {
while (HC12.available()) {
Serial.write(HC12.read());
}
while (Serial.available()) {
HC12.write(Serial.read());
}
}
Note:
No comments:
Post a Comment