emfcamp / Mk2-Hardware

Hardware for the TiLDA v2 Badge
2 stars 2 forks source link

Test IR TX and RX #2

Open dpslwk opened 10 years ago

dpslwk commented 10 years ago

This might be trick with out two badges :/

Found this library https://github.com/enternoescape/Arduino-IRremote-Due

It should help IR_TX is already on the correct pin for the send examples

IR_RX pin would need to be set in the receive examples

Badge prototypes 001, 002 and 003 (don't thing I did 004) have had the SJ4 jumper cut this disconnected the IR_TX led as the floating MOSFET was causing to to turn on, Since i added 10K pul down's to each prototype on Saturday you should be ok to close these jumpers with a solder blob.

Need to check with Jimmy (srimech) what protocol and code we used on SiNE or dig through the repo's

thinkl33t commented 10 years ago

TX Seems to work using the above library, at least a code pops in one end and out the other when using a TiLDA1 as a receiver. Unfortunately its not the same code!

RX doesnt seem to receive anything at all. Have scoped out the IR_RX pin (Due pin 42) and it seems to be wiggling, but appears to be inverted, dropping pulsing from 3v to GND.