Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4848

Troubleshooting • Raspberry Pi Pico IR Receiver

$
0
0
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:

Code:

import timefrom machine import Pinir_rx_pin = Pin(16, Pin.IN)while True:    print(ir_rx_pin.value())    time.sleep_ms(20)
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.

Statistics: Posted by coomb — Tue Feb 20, 2024 1:38 pm



Viewing all articles
Browse latest Browse all 4848

Trending Articles