I have bought and built a Joystick shield: http://store.arduino.cc/index.php?main_page=product_info&cPath=37_38&products_id=126#.UyWGR14cOvE and programmed an Arduino Leonardo with it on top as a mouse with incremental movement and it works quite fine (connected it to UDOO and it's very usable) Any idea if the shield would work on the Due (without sending 5V to the pins)?
Looking at the schematic for the Joystick board the momentary buttons connected to D3 to D6 are just grounding those pins which would be safe for Udoo. The schematic doesn't show pullup resistors to 5V so confirm that on the actual shield. The real question is if the A0 or A1outputs will be above the allowable 3.3V. Also D2 which is used as a select doesn't show on the schematic whether there is a pull up to 5V. If you can connect the shield without these 3 pins connected you could check to see what voltages are read at these pins. A safer solution would be to look at the wiring connections of the Joystick itself and change it to 3.3V operation instead of 5V. I haven't looked at one myself so can't help you further. Please don't connect 5V to any input on the UDOO or the board will suffer the consequences! You probably won't see any smoke but those pins may or may not work again. Mike
Thanks Mike, I can confirm the buttons all use the Arduino internal pullup resistors (as the code detects for a LOW as a button push). I will have to find out about the Joystick A0/A1. Thanks.
Here there is the modification for using it at 3.3V: https://stefan.co/electronics/joystick- ... it-driver/ (not sure if I will do it, with I could use it with BOTH...)
I like that fix. Disconnect 5V from the entire shield and operate with 3.3V. You will never feed higher than 3.3V into UDOO. Might pick up one of those shields. Joystick and buttons would come in handy for projects.