-
Ok! I will!
But, what about linking 2 Teensyduino ++???
Is it possible?
Thanks!
-
Tech Guru
Yes, you can link two, but I think your question was about how to read lots of buttons. You are thinking that you need one IO pin for one buttin, but that's not how it works. Using three pins you can read as many buttons as you want using a "Latch and shift in" idea. More here:
http://www.arduino.cc/en/Tutorial/ShiftIn
Only analog inputs need a 1-1 mapping of inputs to pins, and even those can be read in banks using an analog multiplexer chip (which costs about $0.30):
http://www.arduino.cc/playground/Learning/4051
With a few extra chips adding up to around $15 including the motherboard, you can do it all with a single controller. The trick is in programming the controller.
-
Ok, so far, I'll buy a Teensyduino ++ and 1-2 multiplexers, only for the buttons and the LEDs...
Many Thanks!!
I'll update this thread when I'll get everything, then I will probably ask you lots of thing about C programming.....!!
REALLY THANKS!!
-
Hello everybody!!
I'm updating this thread, because i've got the Teensyduino ++ 2.0.
I need to know what kind of pots i need:
now i have linear potentiometers, of different kind.
What's the appropriate? What resistance should they have?
What about buttons? do they need the 10KOhm resistor or is it already built-in?
Thank you so much!
PS: I don't know where to start editing MIDIbox software...any suggestions?
-
Tech Mentor
Have a look at this one also.
http://www.u-hid.com/home/index.php
It is HID, not midi, problem with the hid stuff is windows maxes out at 8 analogs also you will need software to convert to midi. I based my first controller on it its a cool board with ton's of features easy to use. Costs $80 though. If you know how to solder good you could go midibox as others have said that might be cheaper.
Everything you need to know about midibox is on ucapps and on the wiki, you would be looking for midibox64e project and if your in the usa buy your kits from smashtv. Midibox is a big project (lots to learn) I have yet to finish mine.
Last edited by kaleaf; 06-24-2010 at 06:47 PM.
-
Tech Guru
You could buy several usb gamepads (the Sony playstation copies you get on ebay are good) and rip the guts apart. Each gamepad gives you at least 12 buttons and 4 encoders. If you got 3 or 4 of 'em, soldered them all up and then stuck the lot inside a case (with a usb hub so you don't have loads of cables coming out the back). and then use Glovepie to convert all the HID stuff to midi, you'd have quite a nice setup. Would cost virtually nothing as well.
-
It was a good idea but I've already bought the Teensyduino...
And this choice's better because I can also use that for other things..
For example now I can project a MIDI controller for Apple Logic 's mixer, or the Ableton's one...
But my question is: what kind of potentiometers should I use?
What resistance/power must they have?
-
Tech Mentor
I think it should be 10k resistance but you might want to check, I know my other projects used 10k. You will also want linear (B type). Shaft type will be round or "D" shaft so when you pick caps pick the right one. Solder lug type has the holes for wire to solder and pcb mount has pins.
http://www.mouser.com/CatalogRequest/Catalog.aspx
If you need help matching pots and knobs let me know
-
-
Tech Mentor
That one is pcb mount and also has no thread/nut to mount to a panel. Compare it to this one that has panel mount threads and solder lugs, also metal shaft not plastic.
http://it.mouser.com/ProductDetail/A...4EawfMyg%3d%3d
look at the data sheet pdf for pic's
It is goint to depend on how you do your panel... the pot you linked would need a pcb that mounts to a panel because the pot has no way to mount on its own.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks