X-Git-Url: https://vault307.fbx.one/gitweb/micorpython_ir.git/blobdiff_plain/8ac6c4b0b81221439541db8f7bdbab29913da9bb..b1b7749feb3de08f830e423ee01f5baf3b84fc69:/RECEIVER.md?ds=sidebyside diff --git a/RECEIVER.md b/RECEIVER.md index d6998f1..3092208 100644 --- a/RECEIVER.md +++ b/RECEIVER.md @@ -15,9 +15,20 @@ driver design ensures operation regardless of sense. In my testing a 38KHz demodulator worked with 36KHz and 40KHz remotes, but this is obviously neither guaranteed nor optimal. +The TSOP4838 can run from 3.3V or 5V supplies. The former should be used on +non-5V compliant hosts such as ESP32 and Raspberry Pi Pico and is fine on 5V +compliant hosts too. + The pin used to connect the decoder chip to the target is arbitrary. The test -program assumes pin X3 on the Pyboard, pin 23 on ESP32 and pin 13 on ESP8266. -On the WeMos D1 Mini the equivalent pin is D7. +program `acquire.py` uses the following pins by default: + +| Host | Pin | +|:-------:|:---:| +| Pyboard | X3 | +| ESP32 | 23 | +| ESP8266 | 13 | +| D1 Mini | D7 | WeMos naming convention for pin 13. +| Pico | 16 | A remote using the NEC protocol is [this one](https://www.adafruit.com/products/389).