for my rc robot I want to use ir to send/receive the value from a jostick.

Is it possible ? I can't use any other radio chip like nrf24l01.

  • Yes. It's possible. – Majenko Jan 21 '16 at 20:08
  • documentation ? library? website? – n0tis Jan 21 '16 at 20:09
  • I don't know any of those. I know it is technically possible though, which is what you asked. Maybe Google knows where the websites are? – Majenko Jan 21 '16 at 20:10

Yes, it is possible. That is already supported by the IR library. Please see this tutorial for further details. The outline of the sender is:

 uint16_t sample = analogRead(A0);
 irsend.sendSony(sample, 16);

And the receiver:

 if (irrecv.decode(&decodedSignal)) {
    uint16_t sample = decodedSignal.value;


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.