ts1 / PiIR

IR remote control for Raspberry Pi
MIT License
33 stars 5 forks source link

Does it support Raspberry Pi B? #3

Closed Coro365 closed 3 years ago

Coro365 commented 3 years ago

When I ran PiIR on a Raspberry Pi Model B Rev 2, piir record worked and generated exactly the same light.json as in README.md, but when I played it, the IR LED lit up, but I could not control the appliances. piir play -g 17 -f light.json off Does PiIR only work with pi zero as suggested in #1 ?

Thank you very much!

Model: Raspberry Pi Model B Rev 2 (manufactured in 2011)
OS: Raspbian GNU/Linux 10 (buster)
PiIR version: 0.2.5

Transistor: 2SC1815 (used in LIRC)
IRLED: I don't know the model number, but it's the one we used in LIRC.
R1: 470Ω
R2: 10KΩ
ts1 commented 3 years ago

Does irrp.py work on your hardware? If it does, PiIR should work.

Coro365 commented 3 years ago

Sorry for the late reply. I tried PiiR and irrp.py with Pi1 and Pi3 respectively, but no improvement. So I bought a new RaspberryPi4 and inserted the SD card that I was using in the Pi3 and experimented with it, and was able to control the appliances. After that, I put the SD card back in the Pi3 and tested it again, but I couldn't control the appliances. I don't know why it doesn't work with Pi1 and Pi3 but works with Pi4, but thank you very much.