Digistump Forums
The Digispark => Digispark Project Ideas => Topic started by: moloned on August 16, 2012, 02:03:58 am
-
I'm interested in interfacing an AKAI LPK25 MIDI keyboard to a digispark and converting the MIDI messages to IR along the lines of this project
http://blog.makezine.com/2010/11/30/usbhacking/
It's not clear to me if USBtiny for instance can meet this requirement, although the example project is a USB to RS232 converter
http://dicks.home.xs4all.nl/avr/usbtiny/
In summary I'd like to port USBtiny to the digispark and then use the IR shield to convert to IR commands to another device
Anybody have any ideas as to whether what I'm trying to do makes any sense?
Have I misunderstood the capabilities of the digispark/USBtiny/ATtiny85?
-
For this to work the ATtiny85 would have to be able to implement some amount of the USB host functionality and generally other arduino projects use a specialist shield with a host chip onboard so perhaps i\'ve got this badly wrong
Any ideas?
-
This project might be a good starting point
http://fabiobaltieri.com/2012/05/20/linux-kernel-device-drivers-for-avr-v-usb-devices/
-
I\'m a bit confused here. The digispark in your plan has a MIDI input and an IR output, right? Why is USB relevant?
-
plan is to interface to a keyboard such as an akai lpk25 and send messages via ir to another device which doesn\'t have usb but can generate sounds
-
From what I can tell, it looks as if the Akai LPK25 doesn\'t have a Midi port, but only has a usb device connection. You\'re right in thinking the digispark wont be able to act as a usb host to commune with this keyboard. You might be able to get some sort of usb host shield later, but I haven\'t seen anything like that announced yet. Your best bet here would be either an Arduino with a USB Host shield, or the potentially cheaper Raspberry Pi which has USB host ports built in.