Did you ever think about turning it into a musical instrument?
Timothy "trash80" Lamb is a chiptune composer currently living in Los Angeles, California. A chiptune composer is a person who uses the sound generator ICs (integrated circuits) found inside video game consoles and handhelds to create music. Mr. Lamb is also the creator of a device known as the ArduinoBoy; a combination of open source hardware and software that can turn any member of the GameBoy family with a cartridge slot and a link cable port into a MIDI sound generator.
Now it should be noted that trash80 was not the first to create such a system. The two big homebrew GameBoy apps used by professional chiptune composers, Nanoloop and Little Sound Disk Jockey, or LSDJ, have had MIDI in capability for quite some time. The problem is that both these apps rely on Microchip PIC hardware to send and receive MIDI signals. No disrespect intended to the standard microcontroller of the electrical engineering industry, but the PIC really is a piece of professional hardware and can be kind of intimidating for those who do not muck about with electronics on a regular basis. There is also little to no support for users of less popular operating systems when it comes to programming these devices (the only official PIC development suite is for Windows, no Linux or Mac support). By using the much simpler Arduino platform, however, the ArduinoBoy gets around these limitations, making it much easier for a would-be chiptune composer to build the tools he or she needs. Plus, while the ArduinoBoy was made to work with trash80's own homebrew GameBoy sound generator program, mGB, it also gets along just fine with Nanoloop and LSDJ.
While trash80 has shared his work on a Google Code web page, he does not have any step-by-step instructions on how one can make their own (its on his to-do list). I decided to help him out in this regard. While not necessarily a step-by-step, this Instructable should give you a general idea on what to do and show you some of my pitfalls so that you can avoid them.
Remove these ads by
Signing UpStep 1Parts, Tools, and Code
- An Arduino, generic Arduino, or the parts to make your own. I personally use Modern Device Compay's Really Bare Bones Board kit, which can either be assembled as is and attached to your project using female circuit board pin sockets, or cannibalized for parts to make the Arduino a permanent part of the project.
- Two 220Ω, seven 2KΩ, and one 270Ω resistors. For this project, 1/4 or 1/8 watt resistors are ideal.
- One 6N138 opto-isolator.
- One 1N914 small signal diode. Don't be surprised if you can only buy them in quantities of 10 or more.
- One pushbutton that is on only when the button is depressed. For those who speak Engineer, that is a SPST off-(on) pushbutton.
- Two 5 pin female 180 degree DIN connectors. Make sure you get these exact connectors. There are many different designs for DIN connectors, and few, if any, are compatible with each other.
- Four two-pin terminal blocks. Although you can just solder all your wires directly to the PCB, using terminal blocks or some other form of connectors will make assembly, disassembly, and parts cannibalization much easier.
- One general-purpose PC board.
- One GameBoy link cable.
- A device that can provide MIDI out, like a keyboard or a computer with the necessary software and adapter.
- One programmable GameBoy cartridge.
- Solder.
- Extra wire. Solid for breadboard work and wiring the PC board, stranded for wires you expect to move often.
- A case to stuff it all in.
- Pile of Miscellanea.
- Soldering iron.
- Desodering bulb, pump, or wick. Just in case.
- Helping hands soldering tool.
- Safety goggles. Your glasses are not going to cut it.
- Fire extinguisher, or at least a glass of water. Once again, just in case.
- Wire cutters.
- Wire strippers.
- Needle-nose pliers.
- Solderless breadboard.
- Programming or USB cable(s) for both the Arduino and the programmable GameBoy cartridge, if applicable.
- Rotary tool and/or anything else you need to cut holes and slots in your case of choice.
You are going to need two different pieces of code for this project, both of which can be found on trash80's ArduinoBoy Google Code page . They are found on the right side of the page under the heading Featured Downloads . You will load the ArduinoBoy code into the Arduino, while mGB will be loaded into the programmable game cartridge.
| « Previous Step | Download PDFView All Steps | Next Step » |














































Thanks in advance,
Sukoa
Btw, what about the LED how many required and the voltage?
Optocoupler DC Input 1 Channel DARL W/Base DC Output 8-Pin Plastic Dip Black Bulk:
Part no. 42489
@ RES,CF,220 OHM,1/4 WATT,5%,(100 BAG):
Part no. 690700
@ RES,CF,2K OHM,1/4 WATT,5%,(100 BAG):
Part no. 690937
@ RES,CF,270 OHM,1/4 WATT,5%,(100 BAG):
Part no. 690726
SOCKET,STD DIN,FEMALE,5PIN, PANEL MOUNT:
Part no. 15844
Connector Terminal Blocks 2 Position 3.5mm Solder Straight Thru-Hole 10A:
Part no. 2094506
EXPERIMENTER?S PHENOLIC PROTOTYPE BOARD:
Part no. 616673
Diode Switching 100 Volt 2-Pin DO-35:
Part no. 36311
Here's a 2"x3" vectorboard from digikey for around $6
Digikey # V2025-ND
daulef:
MIDI out acts as a thru in modes where midi out isnt useded (All modes other then LSDJ master sync)
Also I did just that once, built a arduinoboy inside of a DMG.
http://www.flickr.com/photos/trash80/sets/72157606262638032/
so i might just give this a shot!
http://www.coolcomponents.co.uk/catalog/product_info.php?cPath=50&products_id=296
http://moderndevice.com/RBBB_revB.shtml