Real Life Problem Solving Project Idea | Long Range Bluetooth Module | REYAX RYBG211_lite | LoRa Module Project | Home Automation | Problem Solving Ideas for Farmers | Without Internet Control Device
If You want to make this project easily then buy one box for all materials , Buy For this Project Kit Box - SMS On WhatsApp +918922841415
Or
If You have all components and You want to Buy only Long Range Bluetooth Module - RYBG211_lite
Then Visit Website and Buy
REYAX RYBG211_Lite website link: reyax.com/products/rybg211_lite/
REYAX Amazon Online Store: reurl.cc/OAL9yr
REYAX Digi-key Online Store: www.digikey.com/en/products/d...
GSAS Micro System (REYAX Indian Distributor): gsasindia.com/
Lemos International Co. Inc (REYAX US Distributor): lemosint.com/
Micro Technology Group, Inc (REYAX US Distributor): mtgelectronics.com
And this is Coding of Arduino for making this Project Idea
Coding Details
char value;
#define RELAY1 8
#define RELAY2 9
void setup() {
// Initialize the relay pins as OUTPUT
pinMode(RELAY1, OUTPUT);
pinMode(RELAY2, OUTPUT);
// Ensure both relays are off initially
digitalWrite(RELAY1, HIGH);
digitalWrite(RELAY2, HIGH);
// Start serial communication for receiving commands
Serial.begin(9600);
}
void loop() {
// Check if data is available to read from serial port
if (Serial.available()) {
// Read the incoming byte
value = Serial.read();
Serial.print(value);
// Process the command
if (value == '1') {
digitalWrite(RELAY1, HIGH); // Turn Relay 1 ON
} else if (value == '2') {
digitalWrite(RELAY1, LOW); // Turn Relay 1 OFF
} else if (value == '3') {
digitalWrite(RELAY2, HIGH); // Turn Relay 2 ON
} else if (value == '4') {
digitalWrite(RELAY2, LOW); // Turn Relay 2 OFF
}
}
}
And If You have any problem for making this project then help for SMS On WhatsApp +918922841415
Follow On Instagram For Daily Updated thersindust...
And Promotion For thersengineering789@gmail.com
#lora #technology #engineering #project #experiment #vlog #innovation
1 июн 2024