ARDUINO - Cheap and simple diy Midi to USB host board

Started by sixeight, September 27, 2015, 09:38:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sixeight

Hobbytronics offers a very cheap Midi USB host board:

http://www.hobbytronics.co.uk/usb-host-mini

Just add the following parts plus power and it is a full fletched midi to usb host convertor:

http://www.hobbytronics.co.uk/datasheets/ht/USB_HOST_MIDI_Connections.pdf

Should be the cheapest, simplest DIY solution for FTP and for instance ZOOM G3.

--

USB Host Mini

We took our popular USB Host board and made it even smaller to produce the USB Host Mini board. The board uses the same software and bootloader code as our full sized board so has exactly the same functionality, but sacrifices a couple of LED's.

The USB Host Board is based around the Microchip 24FJ64GB002 microcontroller which contains a built-in full-speed USB host controller. This allows the board to interface with and control any USB slave device - flash drives, keyboards, digital cameras, PS3 game controllers, and much more!

The USB Host board is designed to be as simple to use as possible. All of the complex USB programming is contained in the microchip so there is NO USB coding required in your application. This saves valuable programming space and saves you from having to code and debug USB interface routines. The onboard microcontroller has a bootloader and is easily updatable with any of our free USB Host driver software.

Features

Complete USB Software onboard. No USB coding required on your microcontroller
Simple UART and I2C interface
Easily updatable software includes
Flash Memory Stick - Read and Write data to files on a USB flash drive
USB Keyboard - Converts a standard USB keyboard into a serial TTL device generating ASCII characters
USB Joystick - Reads the control inputs and button presses from a USB Joystick. Data available via serial connection or using I2C. Great for robot projects
CDC Communications Class - Allows you to connect a CDC class device to the Host Board and send and receive data to the device via a serial connection (e.g. Mobile Phones, fax machines, two way radios etc)
USB Mouse - Read the movement and button clicks of a mouse via Serial TTL and I2C.
PS3 Dual Shock Controller - Read the Joysticks, accelerometer, button pressure and buttons of a PS3 Dualshock Controller via Serial TTL and I2C. Set the LEDs and rumble motors.
PS3 Dual Shock Controller - Bluetooth - Connect to a PS3 Dualshock Controller using its Bluetooth connection and read the Joysticks, accelerometer, button pressure and buttons via Serial TTL and I2C.
FTDI Serial Driver - Allows you to connect a serial device that uses an FTDI USB chipset to the Host Board and send and receive data.
MIDI Device - Allows you to connect a MIDI device to the USB Host Board for 2-way communication using the MIDI message protocol
See Related Products tab for more details on software available
Easy to update the software using simple serial connection and built-in bootloader
Works with both 5V and 3.3V systems
Real Time Clock
One-board 3.3V 250mA regulator with output
Blue LED indicates bootloader active or USB device plugged in and accepted
All pins are 5V tolerant so will work with 5V and 3.3V microcontrollers.
Board size 25mm x 19mm (excluding USB socket)
2mm mounting holes
External connections available on the USB Host board

5V power supply
3.3V output (250mA)
RX and TX
SDA and SCL for I2C communication
Documents

USB Host Mini Board Schematic
USB Host Mini Board Size


Downloading Software to the board
You can write your own software for the USB Host Board or you can download one of our free software applications. Downloading software to the board does not require a specialist programmer because it has a bootloader already installed.

New software is easily installed over a serial RX/TX connection, so you will need an appropriate connection to your computer. We recommend the FTDI Basic breakout board but there are many similar boards and cables available.

Connect up the power (5V) and GND lines, then connect the RX on the Host board to TX on the FTDI board and TX on the Host board to RX on the FTDI Board. You are now ready to install the new software.

To load the new software we use the free ds30loader application. This works with the bootloader on the Host board. Run the ds30loader application and...

Select the hex file you wish to upload
Set the device to be PIC24FJ and 64GB002
Set Baud rate to 115200
Set Port to your serial port connection
Once you have these setup we just need to click the Write button (just below the Commands menu) and the software will attempt to connect to the bootloader and upload the new software. In order to make the bootloader active though we need to reset the board by briefly connecting the reset pin (RST) to earth. This needs to be done as short time after clicking the Write button.

See the screenshot below for an example.

ds30loader

If you are having problems downloading the ds30Loader program from the authors website, you can download a copy from our website here.

NOTE: DO NOT attempt to program the board with a PicKit programmer or other similar programmer. If you do then the bootloader program will be overwritten.
The bootloader is an integral part of the code and the board will no longer function.
The Bootloader program is part of our software anti-piracy feature - we do not make the bootloader program available for download.


sixeight

Quote from: gumtown on September 27, 2015, 11:56:39 AM
Some thing similar here

Now sure if that one is working out of the box without adding an Arduino. You can get the hobbytronic shield preprogrammed with the Midi USB host software on it.

CodeSmart

Just be aware there's no MIDI in and out stages on these boards.
Hobbyists needs to add opto coupler and a handful other components to get 5-pin MIDI interface.
But I got more gear than I need...and I like it!