A while back I promised a Guitar Hero Self Playing Guitar so I went about creating an optical array that could read data from a PC and translate that into button input on a guitar hero guitar. Now I could of went all out and used a USB Dev kit but there is a few reasons I went this route for one this is a low cost project Dev kits would of put this out of range for most people. I wanted this mod to be low tech easy enough for anyone to accomplish.
Here is the guitar I used it has an LCD originally I wanted to use the optics on this LCD but was forced to use them on the PC do to there being to much "Light Noise" for the optics and it would cause it to receive false data. I may revise this later with a PIC to measure the resistance of each color.
For this I had to create a windows application to send the data to the optical array that application can be found here
https://www.acidmods.com/AcidMods-OAC1.rarhttps://www.acidmods.com/AcidMods-OAC2.rarhttps://www.acidmods.com/AcidMods-OAC3.rarhttps://www.acidmods.com/AcidMods-OAC4.rarhttps://www.acidmods.com/AcidMods-OAC5.rarI made several version with diffren spacing for the optical array so choose the one that best suits your needs.
Here is how the application works..
notice the optics flashing when recieving data from the pc monitor. Her is the proof of concept video of the guitar working by itself I will make a better video later of a full song im just getting used to how it all works there are many factors to adjust for like tempo, button length all can be adjusted with the application..
Ok here is how it all works the optical array is made up of 6 light to voltage sensors 6 LED's (purely for visual satisfaction) an USB Cable to supply the 5 volts and 6 reed relays. The USB cable supplies 5v to the light to voltage sensors. When the PC monitor flashes a sequence to the Light To Voltage Sensor depending on the intensity of the light it will output voltage to the LED and Reed Relay (Some monitors you may have to adjust the brightness for the sensor to out put the required 3v to drive the coil in the Reed Relay). Now when the LED and the Reed Relay receives Voltage the LED illuminates (The Led server no real purpose other then letting you know the system is working) and the Reed Relays Coil get current causing a magnetic field to close a Reed switch which in turn closes the circuit to which ever button the Reed switch is attached to. So that’s how the hardware works. The soft ware basic as it is works like this there are 5 programmable note bars you can program songs with tempo speed and button length. Once a song is fully programmed you can save that song or send it to the guitar at the appropriate time. Entering the song is very tedious and I hope to automate this in the future
Here is the parts list most can be found at mouser.
http://www.mouser.com
1: 6 X 856-TSL12S-LF TAOS Light to Voltage
2: 1 X USB Cable
3: 6 X 816-9007-05-00 Spartan SIP Relay
4: 6 X 859-LTL-4232 Standard LED Green Transparent
5: Project Box
6: Loads of Wire 22 AwgYou will need to create 6 light to voltage circuits in an array for the guitar one for each of the five notes and one for the strummer. Here is the layout of the circuit I will draw a visual representation as well as a technical spec.
Visual Representation:
Actual Circuit:
I will make detailed picture for building the array soon.