Jump to content

Bananapi M1 gpio IR transmitter


kejim32005

Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines