Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Bananapi M1 gpio IR transmitter

Featured Replies

Hello!

I have BPI M1 and IR transmitter that connected to GPIO pin out.

By default i have only /dev/lirc0 device, as i understood, lirc0 is used to receive from builtin receiver

Could someone help me to make transmitter work as a transmit device for lirc?

Thanks!

No documentation came with IR transmitter?

 

If it is cheap AliExpress special, you will probably need to search Internet and figure it out for yourself.  Lirc forums / wiki / docs may be more helpful than here?

 

Good luck with it, please report back if/how you got it working.

I'm interested too!

I've built my own IR transmitter and i want to use GPIO to send signals.

I found gpio-ir-tx driver on my system and i can successfully load it with modprobe, but i can't figure out how to make it working, maube someone know who made this driver?

 

As far as i understood.

Need to create /boot/config.txt file with:

dtoverlay=gpio-ir-tx,gpio_pin=1 (or your pin)

 

Then need to create udev rule that creating symlink from gpio to /dev/lirc-tx but this is not happening for some reasonm i can't figure out why.

/etc/udev/rules.d/71-lirc.rules

ACTION=="add", SUBSYSTEM=="lirc", DRIVERS=="gpio_ir_recv", SYMLINK+="lirc-rx"

ACTION=="add", SUBSYSTEM=="lirc", DRIVERS=="gpio-ir-tx", SYMLINK+="lirc-tx"

ACTION=="add", SUBSYSTEM=="lirc", DRIVERS=="pwm-ir-tx", SYMLINK+="lirc-tx"

 

 

Couple questions.

 

1. Created by me file /boot/config.txt, is used during boot process or not?

2. Udev rule is not creating simlink to device, why?

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.