I am trying to build a r-pi based remote control which can turn on and off things in my home. I am following this guide:
https://tutorials-raspberrypi.de/raspbe ... rung-lirc/
I got all the parts plugged together, and while receiving IR signals perfectly works, I fail to get the sending part to work. I also now removed the receiving part to reduce error potential but it didn't change anything.
I have set up lircd according to https://gist.github.com/prasanthj/c15a5 ... 322c95378b.
This is what I have created:
https://imgur.com/a/Qh93q
Left brown wire will go to the 3,3V Pin,
White wire will go to GPIO 17 (because of /boot/config.txt => dtoverlay=lirc-rpi,gpio_in_pin=18,gpio_out_pin=17)
Right wire will go to GND pin 3.
This is the IR LED I am using:
https://www.conrad.de/de/ir-emitter-940 ... 54380.html
which operates at 1,2V and 50mA.
The resistor between BC547 and GPIO 17 is 220ohm (according to the above guide, however I have no clue how to calculate the correct resistor, and other guides seem to use higher resistors).
The resistor between the IR LED and 3,3V pin is 47ohm ((3,3-1,2)/0,05 = 42 => 47ohm).
When trying to test the LED with
Code: Select all
irsend SEND_ONCE decoder_station KEY_TVI also found this: http://aron.ws/projects/lirc_rpi/ and tried
Code: Select all
cat /sys/kernel/debug/gpioCode: Select all
gpiochip0: GPIOs 0-53, parent: platform/20200000.gpio, pinctrl-bcm2835:
gpio-16 ( |? ) out hiI am really a complete newbie regarding circuits, so I have no clue where to start and how to pinpoint the error. Could someone help me to get this up and running?
[edit] forgot to mention I am running on raspbian stretch.