Go Down

Topic: Standalone Arduino <-> computer communication (Read 1 time) previous topic - next topic


If you don't already have the Atmega I would suggest the Arduino compatible Teensy or Teensy++ boards. These also use Atmel micro controllers but have a much improved USB inteface compared to the "standard" Atmega boards.
Te Teensyduino software plugin for the Arduino IDE will provide you with many more examples, including some for a USB Joystick. The Teensys also have much smaller footprint comparable to a Arduino Nano for the Teensy++. For a joystick application the even smaller Teensy should be fine and only costs $16.


Do you want to build a serial or USB based joystick?  Serial would be relatively easy to build, you just need to add something like a MAX232 or equivalent chip to translate from the Atmega's 5V to the required +- 12V as required for serial communication. This is probably a dead end though since serial ports are quite scarce on modern computers.

You could build a USB based mouse by implementing the HID interface for a mouse using the V_USB library (http://www.obdev.at/products/vusb/index.html).  An Arduino port of this library can be found at http://code.google.com/p/vusb-for-arduino/.  This will be a little bit more tricky and will require some internet searching for examples to adapt.  Some examples can be found at http://www.obdev.at/products/vusb/prjhid.html but are not specifically adapted to the Arduino environment.

That's what I was searching for. I wanted to make a USB based joystick. I took a look at the links and it sound extremely complicated. I'll try to read more about USB connection, maybe that way I can understand a bit more from, how I should adapt and configure it the right way...

Go Up