Minimus Joypad: Difference between revisions
No edit summary |
|||
Line 53: | Line 53: | ||
Using the Minimus with TeensyDuino means the Arduino IDE and APIs can be used! Amazing! | Using the Minimus with TeensyDuino means the Arduino IDE and APIs can be used! Amazing! | ||
http://wiki.nottinghack.org.uk/wiki/Arduino_IDE_with_Minimus | |||
http://www.pjrc.com/teensy/teensyduino.html | http://www.pjrc.com/teensy/teensyduino.html |
Revision as of 13:46, 6 June 2013
Minimus USB AVR for use in a simple HID Joypad
- http://www.minimususb.com/
- http://www.minimususb.com/minimus_v14.pdf
- pinout: http://www.makestuff.eu/wordpress/?p=2375
LUFA HID Joypad
- good descriptive page and a joystick project: http://jamie.lentin.co.uk/embedded/minimus/
- LUFA
- "Lightweight USB Framework for AVRs"
- http://www.fourwalledcubicle.com/LUFA.php
An exercise in moving on from the Arduino: -
- use of a more flexible IDE: Eclipse CDT (C/C++ development tools)
- cross-platform development: -
- on windows boxes using WinAVR
- on Linux boxes using avr-gcc
Setting up Eclipse on Linux
Largely the same as on Windows - not too surprising really since Eclipse is nicely platform neutral. There are certain GCC AVR packages required but they're well explained and a doddle to set up.
Setting up Eclipse on Windows
Eclipse CDT (C/C++ development tools)
The AVR Eclipse Plugin: http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_Eclipse_Plugin
http://avr-eclipse.sourceforge.net/user%20manual/concepts/toolchain.html
Alternatively for Arduino only development, there are efforts to create an Arduino Eclipse plugin that does a lot of the annoying manual setup for you and may be quicker to get going initialy (since it just points to all the tools and settings under your Arduino installation)
TODO: I should write a specific wiki page on this subject.
Setting up Eclipse on Mac
If I could ever afford a recent MacBook I'd just hire someone smart to do it for me :)
Progress
- I have a few minimus units to play with.
- flashy lights hex upload with FLIP on Windows XP - worked OK.
- WinAVR build of various test apps OK
- I was able to program these test apps fine using FLIP
- on my Debian laptop I had to install a more recent dfu-programmer package and I was able to use a simple makefile to build and program various test apps
- on XP at work I set up AVR Studio 4.19 (free download when registered) with the WinAVR gcc and make to build and debug various test apps
TeensyDuino Game Changer!
Using the Minimus with TeensyDuino means the Arduino IDE and APIs can be used! Amazing!
http://wiki.nottinghack.org.uk/wiki/Arduino_IDE_with_Minimus