Gnusbuino

From SGMK-SSAM-WIKI
Jump to: navigation, search

The Gnusbuino is an adaptation of Michael Egger's "gnusb" [1] - open source usb sensor box to make it compatible with the Arduino [2] IDE. It has a built in bootloader and can be reprogrammed through USB from inside the Arduino IDE.

Gnusbuino vs. Arduino

Advantages

  1. it is very simple to build, very few components and a single sided PCB
  2. It does not use a dedicated FTDI chip for USB connection, but the open source V-USB [3] library. This allows the gnusb to behave like a chameleon. It can be programmed to enumerate as any USB device and can emulate a USB DEVICE CLASS. It can be seen by the computer like a regular keyboard or joystick, if it follows the HID class - or it can behave like a USB-MIDI device.
  3. The gnusb can also mimick the popular USBasp AVR programmer that is supported by avrdude - so the gnusb can turn into a full fledged AVR programmer if needed
  4. ATMEGA644 processor clocked at 20Mhz, gives more memory and more oomph.
  5. it can be mounted into a Coconut to create the famous CocoGnusb :-)

Disadvantages

  1. Not drop in compatible with Arduino shields
  2. USB serial connection is not implemented (yet?) - so no direct (debugging) feedback through serial

Variants

Babygnusbuino

Babygnusbuino.jpg

The Babygnusbuino is a extremely bare-bones variant based on a ATTINY85. The USB connector is directly etched on the board - you plug the board itself into your computer to upload a sketch.

Midignusbuino

The Midignusbuino is a plug-n-play USB-MIDI device that can be used to build MIDI controllers. Most operating systems have built in MIDI support, so no drivers are needed, and almost any music software understands MIDI…

Sources

The Gnusbuino is now on Github: https://github.com/mirdej/gnusbuino

download and put the gnusbuino folder into your Arduino "hardware" folder (for me its in ~/Documents/Arduino/hardware) - create one if it does not exist yet. if you want to build a MIDI capable version, you'll also have to download the GnusbuinoMIDI library and put it into ~/Documents/Arduino/libraries directory - see Midignusbuino

(The original gnusb project is hosted on sourceforge: http://gnusb.sourceforge.net - but the website is currently a bit out of date (I prefer using the SGMK wiki from now on and linking here from source forge…))

Links

Some info might also get posted from time to time on Michael's research blog http://www.anyma.ch/blogs/research