I am creating a system which will do some actions upon receiving an infrared signal from a remote. This is my first ever electronics project so I have nothing other than a pico, breadboard, IR receiver, and some jumper wires.
I'm following a circuit diagram from here: https://docs.sunfounder.com/projects/eu ... emote.html and have tried both Peter Hinch's package https://github.com/peterhinch/micropyth ... ree/master and a simple test script:However, when pointing either of my two IR remotes at the receiver, the ir_rx.aquire.test() function doesn't detect anything and my code snippet only returns endless 1s.
Any suggestions as to why I can't recieve any data would be greatly appriciated. I am 100% certain that the circuit is wired up correctly and the data out of the reciever is connected to GPIO pin 16.
I'm following a circuit diagram from here: https://docs.sunfounder.com/projects/eu ... emote.html and have tried both Peter Hinch's package https://github.com/peterhinch/micropyth ... ree/master and a simple test script:
Code:
import timefrom machine import Pinir_rx_pin = Pin(16, Pin.IN)while True: print(ir_rx_pin.value()) time.sleep_ms(20)
Any suggestions as to why I can't recieve any data would be greatly appriciated. I am 100% certain that the circuit is wired up correctly and the data out of the reciever is connected to GPIO pin 16.
Statistics: Posted by coomb — Tue Feb 20, 2024 1:38 pm