Skip to product information
1 of 7

Ofokey.com

AK029*4+BX003*1 433MHz 1 Transmitter module & 4 Wireless Relay Controller for Arduino UNO MEGA2560

AK029*4+BX003*1 433MHz 1 Transmitter module & 4 Wireless Relay Controller for Arduino UNO MEGA2560

Regular price $29.99 USD
Regular price $42.35 USD Sale price $29.99 USD
Sale Sold out

433MHz 1 Transmitter module & 4 Wireless Relay Controller for Arduiuo UNO MEGA2560

 
We provide Arduiuo sample code , please contact after your order after your purchase .
 
 
 
Qty:
 
1 PCS 433M Wireless transmitter module( Does not include Arduiuo UNO );
4 PCS 433M 1 channels relay switch;
 
Wireless transmitter module connected with Arduiuo uno( replace PT2262 Remote Keyfob)
 
 
USE:
 
 
Software control:
How to use:send ''a'' trigger A channel relay,send ''b'' trigger A channel relay,Etc.
 
 
arduiuo core fragment( complete code please Request) :
 
//Author: Mr Liu
//Arduiuo 1.0
//Arduiuo uno R3
//Making a wireless remote control with arduiuo
 
...
 
//send:8 Address Bits, 4 Data Bits, Sync bit
void send_data()
 
void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
// initialize the encoder DOUT pin as an output
pinMode(data_out, OUTPUT);
 
Serial.begin(9600);
}
void loop()
{
...
 
while(1)
{
//get key from pc serial port
while (Serial.available() > 0)
{
keydata = Serial.read();
receive_flag = 1;
delay(2);
}
 
if(receive_flag == 1)//if get key,send key
{
 
receive_flag = 0;
 
if((keydata == 'a') || (keydata == 'A'))//trigger A channel relay.
{
Temporary[2] = 0xC0;// 0xC0 is A button key
digitalWrite(ledPin, HIGH);//Turn on led
send_data();//send code word
Serial.println(''.....trigger A channel relay.....'');
}
else if((keydata == 'b') || (keydata == 'B'))//trigger B channel relay.
{
Temporary[2] = 0x30;// 0x30 is B button key
digitalWrite(ledPin, HIGH);//Turn on led
send_data();//send code word
Serial.println(''.....trigger B channel relay.....'');
}
else if((keydata == 'c') || (keydata == 'C'))//trigger C channel relay.
{
Temporary[2] = 0x0C;// 0x0C is C button key
digitalWrite(ledPin, HIGH);//Turn on led
send_data();//send code word
Serial.println(''.....trigger C channel relay.....'');
 
}
else if((keydata == 'd') || (keydata == 'D'))//trigger D channel relay.
{
Temporary[2] = 0x03;// 0x03 is D button key
digitalWrite(ledPin, HIGH);//Turn on led
send_data();//send code word
Serial.println(''.....trigger D channel relay.....'');
}
 
...
 
}
}
View full details