Hi all, sorry for the delay in posts, Ive been busy. Starting new job on Monday, and also, my CNC mill is down still, awaiting the repairs. Anyway, I figured it would be a good time to work on some other things. I have been painting and sanding my wood legs, and this morning I decided to start playing around with the Arduino board for R2 sounds. So far it is still experimental, but it is up and working surprisingly well. We will be hooking this board up to a VMUSIC2 module, and will trigger the sounds using one of the channels on the rc remote control. Here are the 2 items you will need.
an Arduino board and usb software: (20-30 dollars online)
and a VMUSIC 2 module (requires a USB drive smaller than 2 GB) (25-40 dollars online)
there are only 4 wires you need to hook up in order to prepare for its use. Hook the red wire from the VMUSIC2 to the +5v on the Arduino board, and hook the orange wire up to the TX (pin 1) on the Arduino
The Black and Green wires on the VMUSIC2 can be twisted together and hooked to one of the ground pins on the Arduino. Thats it! you are ready to do this project.
Before we begin, take the usb drive, make sure it is blank, and you can upload the r2 sounds from the zip file I will post. Extract the files and just plop them on your USB drive.
Once you unzip them you will notice there are 40 sounds, named by number 1.mp3, 2.mp3, and so on… and there are 6 music tracks. Take some time and play a few of these files to learn the extent of r2’s vocabulary. The music1.mp3 file is the Leia Message (Help me Obiwan…) Anyway, we are ready to experiment with some sounds. Make sure you have the Arduino software installed. We will be programming some basic C code to do this… I will try to keep it simple. Before we start that, something to note is the USB cable has enough power to run the Arduino board, however in some cases, it will not work once the VMUSIC is plugged in, so I would advise use an external power source as well when doing the following. I have an external 9 volt cord plugged into my Arduino, and it works perfectly.
In the end, we will trigger the sounds by the remote control, however for now lets just get it going to make sure everything is working properly.
Coming up next, LET R2 SPEAK!