
Login
0
xa0
You will need one for this. I used a UNO, but just about any should work. First wire up the infrared receiver that came with your kit. There are 3 wires, PWR, GND, and SIG, I used port 11 for SIG. Note! some readers have reported that their sensor has different wiring, double check it yourself.


In order to reverse engineer the remote and obtain the codes for each button we are going to need to download and install the following library.
Extract the file in your libraries directory. e.g. ( C:electronics-1.0.5libraries )
note: I had to rename the library because the name was too long, I just renamed it to IR.

With the IR folder ( or whatever you named it) now in your libraries directory, we can import it into a new sketch.
Start a new sketch and the Click
Sketch->Import Library->IR.
Paste the following code into the new sketch. Then verify it compiles.
#include
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}






Shipping | Delivery Period | For in-stock parts, orders are estimated to ship out in 3 days. Elecbee ships orders once a day at about 5pm except Sunday. Once shipped, estimated delivery time depends on the below carriers you chose. DHL Express: 3-7 business days DHLeCommerce: 12-22 business days FedEx International Priority: 3-7 business days EMS: 10-15 business days Registered Air Mail: 15-30 business days | |
| Shipping Rates | Shipping rates for your order can be found in the shopping cart. | ||
| Shipping Options | Shipping rates for your order can be found in the shopping cart. | ||
| Shipping Tracking | We will notify you by email with tracking number once order is shipped. You can track your order using the “Track My Order” feature. | ||
| Returning/Warranty | Returning | Returns are normally accepted when completed within 30 days from date of shipment, please contact customer service for a return authorization. Parts should be unused and in original packaging. Customer has to take charge for the shipping | |
| Warranty | All Elecbee purchases come with a 30-day money-back return policy, plus 1-year Elecbee warranty against any manufacturing defects. | ||
| This warranty shall not apply to any item where defects have been caused by improper customer assembly failure by customer to follow instructions, product modification, negligent or improper operation | |||
| Ordering | How to Buy | Elecbee accepts online orders. | |
| Add to cart > Check out > Submit order > Complete payment > Delivery | |||
| Payment | PayPal, Credit Card includes Visa, Master, American Express, Bank transfer. | ||