Some example applications:
1. Make your robot talk and play sound effects based on some condition or trigger
2. Add sound to your models and dioramas; Provide some interactivity or history to your piece
3. Interactive art installations
4. Spice up your Pinball or other arcade machine
5. Use the module to load a script from a flash drive defining an animation, such as playing back a sound file while performing some mechanical routine as used in animatronics. The play time is output in seconds which can be used for (crude) syncing (HINT: This last one is what I have planned for a later instructable)
The documentation from FTDI describing how to use this module is not laid out very well and I had some trouble getting started with mine. While looking for information, I have seen many posts in various forums from people also having trouble getting started, so after finally getting mine running, I decided to create this instructable to help others.
This instructable will cover getting connected and controlling your VMUSIC2 module from hyperterminal. I recommend starting out this way because it will allow you to get familiar with the commands and get a feel for how it works before connecting it to your microcontroller. I will follow up with another instructable on controlling it from a microcontroller.
Remove these ads by
Signing UpStep 1Introduction to the VMUSIC2 module
This module is inexpensive and comes in an enclosure that can easily be mounted in a panel cutout to give a professional look to you project.
The main advantage to using this module is that it only requires a few pins to control it, and the software overhead is very small. This allows your microcontroller to focus on the rest of your project (monitoring switches, etc...) while the MP3 is playing. It also means you can get away with using microcontrollers with less program memory and fewer I/O. Another advantage is that you don't need to know anything about programming for FAT32, USB host, or MP3s.
While the VMUSIC2 module is designed for playing back MP3s, the USB host interface can also be used to access (both read and write) any files on the flash drive. When I get to the instructable where I connect this to a microcontroller, it will be apparent how useful this is.
You are going to need the following items to complete this instructable:
*VMUSIC2 Module from FTDI.
*RS232 to RS232-TTL-3.3v converter (if you connect this module directly to your PC serial port, you risk damaging it. See step 3 for a suggestion)
*5V power supply
*A computer with hyperterminal (included with windows) or some other terminal program
Got everything? Good let's take a look at the module:
| « Previous Step | Download PDFView All Steps | Next Step » |








































They both use the VNC1L chip.
I contacted FTDI about whether the VMUSIC pins are 5V tolerant - they are...
Here is the response from FTDI tech support:
"The VNC1L inside of the VMUSIC2 has 5V tolerant inputs, however the outputs are referenced to 3.3V, with a minimum Voh of Vcc-0.4 (or 2.9V). You’ll need to check the datasheet of the device you are connecting to the VNC1L be sure these levels meet their minimum Vih."
Mentioned code for the PIC16F676 in my last post. Eventually got around to posting it all online - no need for PM's you can download schematics and code right here:
http://www.vivisect.se/targetbunny/rbox/
Hopefully it'll serve as a good base for anyone doing a similar project.
Heres a few bits of information that might help others:
Regarding FIRMWARE:
Many units come shipped with a VERY OLD FIRMWARE that does not work with some/most/all(?) usb sticks.
NONE of my sticks worked which also meant I could not upgrade using the "regular" file-on-a-stick method.
Regarding REPROGRAMMING:
Files and software are available from the vinculum website!
To reprogram using a standard com port you need an max232 (or any rs232 <-> ttl level convertor) chip. You need to hook up ALL FOUR WIRES (tx and rx alone won't work - I tried). That is RX->TX, TX->RX, CTS->RTS, RTS->CTS. If any of the wires are wrong you'll get "failed to read ack" or "failed to synch". This way is alot cheaper than an ft232r cable, but it works just as well!
To reprogram using an FTDI ft232r cable just match up the colors. The cable does come in a 2mm pitch variant which will hook up straight to the device without the need to make an adapter - could not get this in time myself though. Both the 5V and 3.3V cables will work and they WILL POWER THE DEVICE - no external power required in programming mode.
Jumper (inside device) must be moved to put device in programming mode.
Regarding CORRUPTED FIRMWARE:
Even if you've corrupted the firmware - DO NOT WORRY - the device will ALWAYS be reprogrammable using the jumper/cable method
unless the device itself is broken.
With a corrupted firmware you will only be able to reprogram using a cable - ie: file-on-a-stick method won't work.
Regarding the #CTS-LINE:
Using UART mode you will always have to hook up the CTS line for proper operation!
The VMUSIC2 cannot transmit data unless you let it know that it's Clear To Send, ie: CTS=LOW/GND/0V.
If left "floating" it is interpreted as HIGH - the VMUSIC2 buffer fill up and the device cannot initialize (or stops if already initialized).
On the latest firmware the LED will flash RED/GREEN until CTS is pulled LOW.
On the shipping firmware the device seems dead (no response whatsoever) until CTS is pulled LOW.
Regarding OTHER ISSUES:
1) My device was LOCKED IN UART MODE - moving the UART/SPI jumper HAD NO EFFECT and the device was still communicating in UART MODE. I am unsure if this was due to a hardware defect or a firmware issue.
Seems alot of people have SPI problems - could be related?
2) In UART mode #RTS was ALWAYS LOW - even when the device had nothing to send. Since I was using #RTS to detect and receive a character in my software-based "UART" code it did not work because of this.
3) The firmware seemed to lock up from time to time for various reasons requiring a reboot before I was able to communicate with it again.
I have not yet had time to try either SPI-mode or proper #RTS operation with the latest firmware.
Regarding CODE REQUESTS:
I have Microchip PIC code that will interface an PIC16F676 to the VMUSIC2 using both SPI (untested but should work) and UART (software based) modes. If interested you're welcome to PM me.
Being a newbie, I'm having a little trouble with this step. I managed to load the firmware, but I'm not sure in what direction I should head next (regarding the TTL-232R-3V3). I do have a USB adapter (link) that I bought with a BASIC Stamp kit, from Parallax, that looks like it's based on the FTDI chip. Can I use that adapter?
Thanks again,
Andy
You are correct that the LED is under program control and will only light up if the firmware is running.
To do this process, you are going to need a serial converter based on a FT232RL that gives you access to the CTS and RTS signals and it will need to be installed with the CDM drivers instead of the normal "virtual serial port drivers." I bought a nice breadboard converter that allows me to use 2.5v,3.3v,5v, or any level voltage for conversion. I believe I paid $20 for it on ebay.
I have the predecessor to this one:
http://cgi.ebay.com/USB-serial-UART-TTL-RS232-Converter-Adapter_W0QQitemZ260340621837QQcmdZViewItemQQptZBI_Electronic_Components?hash=item260340621837&_trksid=p3286.c0.m14&_trkparms=66%3A2%7C65%3A1%7C39%3A1%7C240%3A1318
I believe it was about $35 plus shipping at the time.