GPIO input module question / bounty for rPi
Posted: Sat May 24, 2014 2:56 pm
Hi all,
I'm tinkering with QLC+ on a Raspberry Pi and so far I'm reasonably optimistic. I've got some basics compiled and working and I think for my application, there is potential.
One of the pieces to the puzzle I have is this: I'd like the ability to trigger things in QLC+ via simple buttons. There are already a number of ways to do that by using MIDI in and various midi controllers. My favorite so far is to use an Arduino as a simple MIDI controller and feed that into the pi directly with a simple MIDI/USB adapter.
However, it seems kind of silly to do that when there are a bunch of GPIO pins on the pi already, just itching be be used as simple triggers. Using the GPIO pins on the pi would eliminate lots of extra hardware, which for the application I have in mind would be very good.
So here is my question(s): Has anyone triggered QLC+ events with the rPi GPIO pins, and if yes - how did they do it? If not, is there anyone out there who would be willing to write a module that would 'watch' the GPIO pins? Would a 'bounty' be appropriate? I have ZERO code skills and am more of a hardware hacker, so there is no way I could do it. I realize that this is such a niche use, and I understand that this would be VERY low on the communities' TODO list, hence the suggestion that I put up some kind of bounty - or hire someone outright to code it.
Lastly, assuming I'm going to mount this all in a stomp-box of sorts with 4 or 5 buttons on the top for foot control - is there an input method that I'm missing? Like I said - keeping hardware to a minimum would be nice. I suppose I could use the HID module and rip apart a keyboard and hack together a USB input triggered on 4 different keystrokes. I have not even looked into the HID module, so I don't know if that is even an option.
Thoughts?
Thanks!
Scott
I'm tinkering with QLC+ on a Raspberry Pi and so far I'm reasonably optimistic. I've got some basics compiled and working and I think for my application, there is potential.
One of the pieces to the puzzle I have is this: I'd like the ability to trigger things in QLC+ via simple buttons. There are already a number of ways to do that by using MIDI in and various midi controllers. My favorite so far is to use an Arduino as a simple MIDI controller and feed that into the pi directly with a simple MIDI/USB adapter.
However, it seems kind of silly to do that when there are a bunch of GPIO pins on the pi already, just itching be be used as simple triggers. Using the GPIO pins on the pi would eliminate lots of extra hardware, which for the application I have in mind would be very good.
So here is my question(s): Has anyone triggered QLC+ events with the rPi GPIO pins, and if yes - how did they do it? If not, is there anyone out there who would be willing to write a module that would 'watch' the GPIO pins? Would a 'bounty' be appropriate? I have ZERO code skills and am more of a hardware hacker, so there is no way I could do it. I realize that this is such a niche use, and I understand that this would be VERY low on the communities' TODO list, hence the suggestion that I put up some kind of bounty - or hire someone outright to code it.
Lastly, assuming I'm going to mount this all in a stomp-box of sorts with 4 or 5 buttons on the top for foot control - is there an input method that I'm missing? Like I said - keeping hardware to a minimum would be nice. I suppose I could use the HID module and rip apart a keyboard and hack together a USB input triggered on 4 different keystrokes. I have not even looked into the HID module, so I don't know if that is even an option.
Thoughts?
Thanks!
Scott