{"product_id":"dc12v-2ch-relay-wireless-rf-remote-control-provide-ardino-mega2560-pro-code","title":"AK029 DC12V 2ch Relay Wireless RF Remote Control provide Ardino MEGA2560 PRO code","description":"\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan color:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eProduct Name：\u003c\/span\u003e\u003cspan color:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eDC12V 2ch Relay Wireless RF Remote Control provide for Arduino UNO MEGA2560 PRO code\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan new=\"\" style=\"font-size: 24pt; font-family: \" times=\"\"\u003e\u003cspan style=\"color: red;\"\u003eWe provide for ARDUINO sample code , please contact after your order at Ebay message . \u003c\/span\u003e\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eDIY Kits No.:  RT322\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eQty:\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003e1 PCS 433M Wireless transmitter module(\u003c\/span\u003e\u003cspan color:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eDoes not include Arduino UNO\u003c\/span\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003e);\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\n\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003e2 PCS 433M \u003c\/span\u003e\u003cspan new=\"\" style=\"font-size: 19px; font-family: \" times=\"\"\u003e1 channels relay switch;\u003c\/span\u003e \u003c\/font\u003e\n\n\u003cdiv\u003e\n\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  \u003c\/font\u003e\u003cimg src=\"https:\/\/i.ebayimg.com\/00\/s\/NTAwWDUwMA==\/z\/sS4AAOSwnFVjIW3h\/$_10.JPG\"\u003e\n\u003c\/div\u003e\n\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\n\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eSoftware control：\u003c\/span\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003e\u003cspan style=\"color: rgb(0, 0, 0); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14pt; line-height: normal; text-size-adjust: auto;\"\u003eHow to use:\u003c\/span\u003e\u003cspan style=\"color: rgb(0, 0, 0); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14pt; line-height: normal; text-size-adjust: auto;\"\u003esend \"a\" \u003c\/span\u003e\u003cspan style=\"color: rgb(0, 0, 0); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14pt; line-height: normal; text-size-adjust: auto;\"\u003etrigger A channel relay,\u003c\/span\u003e\u003cspan style=\"color: rgb(0, 0, 0); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14pt; line-height: normal; text-size-adjust: auto;\"\u003esend \"b\" trigger A channel relay,\u003c\/span\u003e\u003cspan style=\"color: rgb(0, 0, 0); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14pt; line-height: normal; text-size-adjust: auto;\"\u003eEtc.\u003c\/span\u003e\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003earduino core \u003c\/span\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003efragment(\u003c\/span\u003e\u003cspan color:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003ecomplete code through ebay \u003c\/span\u003e\u003cspan color:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003emessage \u003c\/span\u003e\u003cspan color:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003e Request)\u003c\/span\u003e\u003cspan new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003e:\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\/\/Author: cantone-electonics\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\/\/Arduino 1.0\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\/\/Arduino uno R3\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\/\/Making a wireless remote control with arduino\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003econst int data_out = 2;\/\/encoder DOUT\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \/\/LED pin,When receiving the key from the serial port, LED flash\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003econst int ledPin =  13;    \/\/LED pin\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\/\/ OSC Resistance is 3.3M\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003econst int Osc_4xCycle = 359; \/\/4 oscillating time periods\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003econst int Osc_12xCycle = 1078;\/\/12 oscillating time periods\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003eunsigned long Temporary[3];\/\/Temporary storage unit\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e...\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\/\/send:8 Address Bits, 4 Data Bits, Sync bit\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003evoid send_data()\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003evoid setup() {\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  \/\/ initialize the LED pin as an output:\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  pinMode(ledPin, OUTPUT); \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e   \/\/ initialize the encoder DOUT pin as an output\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  pinMode(data_out, OUTPUT);\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  Serial.begin(9600);\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e}\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003evoid loop()\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e{\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  ...\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  while(1)\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  {\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    \/\/get key from pc serial port\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    while (Serial.available() \u0026gt; 0) \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    {\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e        keydata = Serial.read();\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e        receive_flag = 1;\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e        delay(2);\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    }\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e   \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    if(receive_flag == 1)\/\/if get key,send key\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    {\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e     \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    receive_flag = 0;\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e   \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    if((keydata == 'a') || (keydata == 'A'))\/\/trigger A channel relay.\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    {\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      Temporary[2] = 0xC0;\/\/ 0xC0 is A button key\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      digitalWrite(ledPin, HIGH);\/\/Turn on led\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      send_data();\/\/send code word\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e       Serial.println(\".....trigger A channel relay.....\");\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    }\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    else if((keydata == 'b') || (keydata == 'B'))\/\/trigger B channel relay.\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    {\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      Temporary[2] = 0x30;\/\/ 0x30 is B button key\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      digitalWrite(ledPin, HIGH);\/\/Turn on led\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      send_data();\/\/send code word\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      Serial.println(\".....trigger B channel relay.....\");\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    }\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e     else if((keydata == 'c') || (keydata == 'C'))\/\/trigger C channel relay.\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e     {\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      Temporary[2] = 0x0C;\/\/ 0x0C is C button key\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      digitalWrite(ledPin, HIGH);\/\/Turn on led\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      send_data();\/\/send code word\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      Serial.println(\".....trigger C channel relay.....\");\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e     \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e     }\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e     else if((keydata == 'd') || (keydata == 'D'))\/\/trigger D channel relay.\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e     {\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      Temporary[2] = 0x03;\/\/ 0x03 is D button key\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      digitalWrite(ledPin, HIGH);\/\/Turn on led\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      send_data();\/\/send code word\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e      Serial.println(\".....trigger D channel relay.....\");\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e     }\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e    ...\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e  }\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv id=\"pastingspan1\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e}\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\n\u003cdiv\u003e\n\u003cp align=\"left\" style=\"font-family: Arial, Helvetica, sans-serif;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/p\u003e\n\n\u003cdiv font-size:=\"\" microsoft=\"\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\n\u003cdiv\u003e\n\u003cp style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 13.5pt;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cstrong\u003e\u003cspan background-attachment:=\"\" background-clip:=\"\" background-image:=\"\" background-origin:=\"\" background-position:=\"\" background-repeat:=\"\" background-size:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eOutput:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 13.5pt;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cimg src=\"https:\/\/i.ebayimg.com\/00\/s\/NzAwWDcwMA==\/z\/Yt4AAOSwhAJceec7\/$_10.JPG\" style=\"width: 800px; max-width: 800px !important; height: auto !important;\"\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; overflow-wrap: break-word; line-height: 13.5pt; text-size-adjust: none;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan background-attachment:=\"\" background-clip:=\"\" background-image:=\"\" background-origin:=\"\" background-position:=\"\" background-repeat:=\"\" background-size:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eA.\u003cspan style=\"font-size: 14pt;\"\u003esingnal Inter-locking (Latch)\u003c\/span\u003e\u003c\/span\u003e\u003cspan background-attachment:=\"\" background-clip:=\"\" background-image:=\"\" background-origin:=\"\" background-position:=\"\" background-repeat:=\"\" background-size:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003e----connect 2  \u003c\/span\u003e\u003cspan background-attachment:=\"\" background-clip:=\"\" background-image:=\"\" background-origin:=\"\" background-position:=\"\" background-repeat:=\"\" background-size:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eand 3 ;\u003c\/span\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; overflow-wrap: break-word; line-height: 13.5pt; text-size-adjust: none;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan background-attachment:=\"\" background-clip:=\"\" background-image:=\"\" background-origin:=\"\" background-position:=\"\" background-repeat:=\"\" background-size:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eB.singnal Self-locking (Toggle) ---- connect 1 and 2 ;\u003c\/span\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; overflow-wrap: break-word; line-height: 13.5pt;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan background-attachment:=\"\" background-clip:=\"\" background-image:=\"\" background-origin:=\"\" background-position:=\"\" background-repeat:=\"\" background-size:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003eC.\u003cspan style=\"font-size: 14pt;\"\u003esingnal Non-locking (Momentary )\u003c\/span\u003e\u003c\/span\u003e\u003cspan background-attachment:=\"\" background-clip:=\"\" background-image:=\"\" background-origin:=\"\" background-position:=\"\" background-repeat:=\"\" background-size:=\"\" new=\"\" style=\"font-size: 14pt; font-family: \" times=\"\"\u003e ---- All disconnect  ;\u003c\/span\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cdiv style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;\"\u003e\n\u003cp style=\"margin-left: 36pt;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan font-size:=\"\" new=\"\" style=\"font-family: \" times=\"\"\u003e·         Toggle : Press-\u0026gt;On; Press again-\u0026gt;Off ;\u003c\/span\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp style=\"margin-left: 36pt;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan font-size:=\"\" new=\"\" style=\"font-family: \" times=\"\"\u003e·         Latched : Press-\u0026gt;On; Press other button-\u0026gt;Off ;\u003c\/span\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp style=\"margin-left: 36pt;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan font-size:=\"\" new=\"\" style=\"font-family: \" times=\"\"\u003e·         Momentary : Press and hold-\u0026gt;On; Release-\u0026gt;Off ;\u003c\/span\u003e \u003c\/font\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan style=\"font-size: 26px;\"\u003eWiring Diagram 1:\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\n\u003cdiv\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan style=\"font-size: 18px;\"\u003e\u003cspan style=\"font-family: arial, sans-serif;\"\u003eDC 12V control circuit,Wiring diagram below. \"LOAD\" may be LED lights, fans, motors and other DC 12V\u003c\/span\u003e\u003c\/span\u003e\u003c\/font\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\n\u003cdiv font-size:=\"\" microsoft=\"\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\n\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003cimg src=\"https:\/\/i.ebayimg.com\/00\/s\/NDg2WDEwMzQ=\/z\/uDYAAOSwpLxcefiO\/$_10.JPG\"\u003e\n\u003c\/div\u003e\n\n\u003cdiv font-size:=\"\" microsoft=\"\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\n\u003cp font-size:=\"\" microsoft=\"\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e \u003c\/p\u003e\n\n\u003cp font-size:=\"\" microsoft=\"\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp font-size:=\"\" microsoft=\"\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan style=\"font-size: 26px;\"\u003eWiring Diagram 2:\u003c\/span\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp font-size:=\"\" microsoft=\"\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003cspan style=\"font-size: 18px;\"\u003e\u003cspan style=\"font-family: arial, sans-serif;\"\u003eDC 1-48V OR AC 85-265V control circuit,Wiring diagram below(Note:If not DC 12V load, need another DC 12V power supply). \"LOAD\" may be LED lights, fans, motors and other DC AC equipment\u003c\/span\u003e\u003c\/span\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp font-size:=\"\" microsoft=\"\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/p\u003e\n\n\u003cp align=\"left\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\u003cimg src=\"https:\/\/i.ebayimg.com\/00\/s\/NDg2WDEwMzQ=\/z\/0usAAOSwWKpcefiP\/$_10.JPG\" style=\"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: medium;\"\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003clink href=\"https:\/\/s.pushauction.com\/tl\/871bd87f55934c9498b56ce66af07f3d\/180525074151.css\" rel=\"stylesheet\"\u003e\n\u003clink href=\"https:\/\/s.pushauction.com\/pm\/41dadd77ab954893b8372759527812da\/f51205a336d24a0d877d9b869bb70520\/180525074151.css\" rel=\"stylesheet\"\u003e\n\u003cmeta content=\"target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes\" name=\"viewport\"\u003e\n\u003cdiv id=\"pa_t_cp\"\u003e\n\u003cdiv class=\"cp_h\"\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e \u003c\/font\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\n\u003cp\u003e\u003cfont rwr=\"1\" size=\"4\" style=\"font-family:Arial\"\u003e\u003c!--PA4_HTMLBottom_End--\u003e\u003c\/font\u003e\u003c\/p\u003e\n\n\u003cdiv id=\"pushauctioncounterdiv\" style=\"width:100%;text-align:center;padding-top:20px;font-family:Times New Roman\"\u003e\u003cimg id=\"pushauctioncounter\" src=\"https:\/\/counter.pushauction.com\/41dadd77-ab95-4893-b837-2759527812da\/7d46a527-6ff5-4ef9-b797-5af68888bac4.jpg\"\u003e\u003c\/div\u003e","brand":"Eletechsup Original Factory Official‌ Store ","offers":[{"title":"Default Title","offer_id":46537015656605,"sku":"AK029*2+BX003*1","price":28.48,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0707\/8622\/0189\/files\/10_6a875d56-7871-4efb-bafb-3df526587bd8.jpg?v=1740746515","url":"https:\/\/eletechsup.com\/es\/products\/dc12v-2ch-relay-wireless-rf-remote-control-provide-ardino-mega2560-pro-code","provider":"Eletechsup Ready Stock Factory Store 6-10days to Worldwide","version":"1.0","type":"link"}