How to use IR Receiver Module with Arduino&Raspberry Pi

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

ความคิดเห็น • 10

  • @bektasari
    @bektasari 10 หลายเดือนก่อน +1

    good job.can u share python codes.i want to try on pi pico

  • @mynameis-joey
    @mynameis-joey 10 หลายเดือนก่อน +1

    I followed what you said to do for the raspberry Pi, as soon as I plugged in the ir receiver it burned me

  • @Gaby_the_cute_dog
    @Gaby_the_cute_dog 4 หลายเดือนก่อน

    I can`t find arduino library in IDE. Could you please add a zip library?

  • @tophlaw4274
    @tophlaw4274 3 ปีที่แล้ว +6

    Thanks for this informative video.
    I do have some notes:
    1. I noticed that although your Arduino example actually showed how to read the code for the remote controller's different buttons; on the Raspberry Pi example (the one I'm actually interested in), you only counted the pulses that arrived instead of what code values were received.
    --> It would be great if you can show folks the equivalent code for the RPi's Python program to read the actual code from the signal received.
    2. In the video (05:41), you told your viewers & showed that you plugged the SIG pin of the IR Receiver module to RPi's GPIO17; however in your code explanation (06:50), you showed that it is assigned to Pin #11 (which I know is the physical numbering on the board for GPIO17). This may confuse a lot of beginners since they may think you made an error on your code & change the value to 17 which would make your code fail (since it's actually looking at Pin #23 for input when there's nothing connected there).
    --> perhaps simply change the code to show "IrPin = 17" then change the GPIO reference mode to "GPIO.BCM"... or, explain that "11" refers to the board's pin numbering instead of GPIO numbers.
    3. I noticed that the IR Receiver Module operates on 5v (since VCC power is provided from the 5v rails/outputs).
    Since this is the case, wouldn't the SIG input also be 5v? I know this will be ok for the Arduino but will it be safe for the RPi's GPIO input (rated at 3.3v) over time?
    --> I've just ordered a similar IR module to yours but haven't gotten it yet, nor can I find a data sheet anywhere or what voltage is coming out of the SIG pin, so it would be great to know if this is safe or if I need to add resistors to pull it down to 3.3v to protect the GPIO pins.
    --> at the very least you can warn your viewers about this and have them check their module before wiring them in.
    Hopefully you take my notes as ways to improve this or your future content (as well as reassure me & other RPi enthusiasts out there that this won't fry the GPIO pin's circuit).
    Finally...
    Perhaps you can make a follow up video showing something happening when the remote controller's buttons are pressed. Maybe have a few colored LEDs on different GPIO outputs that turn on & off when different remote buttons are pressed? I feel this would be a more visually satisfying way to show the program working.
    Looking forward to your next video. Cheers!

  • @SeferDöngel
    @SeferDöngel 3 ปีที่แล้ว +2

    Makers gonna make !!!

  • @shayad8361
    @shayad8361 9 หลายเดือนก่อน

    Thank you so much for this video. This is very well explained and very simple to follow. Thank you :3

  • @thirdlord7327
    @thirdlord7327 2 ปีที่แล้ว +1

    Can i send the signal again using python and transmitter?