Light Theremin in a NES Controller

1,484

21

2

Posted in TechnologyElectronics

Introduction: Light Theremin in a NES Controller

About: I've always liked pulling things apart - it's the putting back together again that I have some issues with.

I've been playing around with the 555 IC and never have I managed to get it to do anything until now. When I heard it come to life and start oscillating at me I was pretty damn happy with myself. If I can get it to make a sound, then anyone should be able to!

I won't go into any details about the 555 IC - but if you want to know more you can check it out for yourself here.

Basically this project uses a photo cell, also known as a CDS photoresister to change the pitch of the oscillating 555 IC. You use an LED to control the pitch, putting it closer to the photo cell shortens the pitch and moving it away lengthens the pitch.

I wish I could claim the circuit but all credit for it goes to Dean Segovis over at Hack-a-week who came up with the idea.

It's all my idea though to stick it into a NES controller. Don't really know if it is the smartest one I've ever had but you can be the judge of that. Don't worry, I didn't use an original NES controller, just a cheap knock-off.

Pocket-Sized Contest

This is an entry in the
Pocket-Sized Contest

Step 1: Parts and Tools

Electrical Components

You will be able to get all of thesecomponents at your local electrical hobby store. However I have linked them to eBay as well.

1. 100 Ohm Resistor – eBay

2. Potentiometer 10K - eBay

2. 2.2 uf Capacitor – eBay

3. 100 uf Capacitor – eBay

4. Speaker - 8 Ohm 0.5W – eBay

5. 3mm white LED – eBay

6. Photo Cell – eBay

7. LM555 IC – eBay

8. 2 X CR2032 3v Batteries – eBay

9. CR2032 X 2 Battery Holder – eBay

10. Perf Board – eBay

11. 1 X tactile switch – eBay

12. Thin wire. You can use the wire from the NES controller.


Other Parts

1. NES Controller – eBay

2. Plastic tubing 1/4" – eBay

3. Plastic tubing 3/16" - eBay


Tools

1. Soldering Iron

2. Pliers

3. Wire cutters

4. Drill

5. Dremel

6. Hot glue

7. Bread board and jumper wires - eBay

Step 2: Schematics

I have included a schematic of the circuit which was created by Dean Segovis. I have also done a schematic which shows the components and how they are attached to one another.

The schematic is really quite simple – just make sure you test it out first on a bread board. Nothing worse than soldering everything up and then realise you have done something wrong. Better to practice on the bread board first.

I have added a link in the parts list if you don’t have one of these along with some jumper wires. They are essential for any electronic projects.

I’ll go through each step in wiring the project up to a perf board and add images to try and make it as fool proof as possible.

Also included an image of a 555 IC and what’s inside of it. For more info on this visit Wikipedia

Step 3: Getting Started - Solder on the 555 IC

I’m going to assume that you have tested this circuit on a breadboard and got it working. Now you know how to wire it up, you next have to solder all of the parts to a perf board (and make it as small as you can!) You will need to stuff this along with batteries, speaker switch and plastic tubing inside a NES controller and believe me there isn’t much room inside of one.

It’s surprising how much room wires take up in a project. That’s why I have used copper wire wherever I can to reduce the space the wires take up.

Steps:

1. Place the 555 IC into the perf board as shown. There is a little dot at the top of the the 555 IC and this helps you orientate it. To follow along on how I soldered it together, make sure the dot is on the left hand side.

2. Slightly bend the legs inwards so it doesn’t fall out

3. Solder each leg into place

Step 4: Soldering the Speaker Wires and Capacitor

The speak wires are attached to pins 1 (ground) and 3 of the 555 IC

Steps:

1. solder a wire to leg 8 on the 555 timer. This will attach to the negative terminal on the speaker

2. Next solder the 100 uf capacitor to leg 3 on the 555 timer making sure that it is correctly orientated.

3. Lastly,. solder a wire to the negative leg of the capacitor. This will attach to the positive terminal on the speaker.

Step 5: Adding the Wires for the Photo Cell

The photo cell is attached to pins 7 and 8 on the 555 IC.

Tip: If you want really thin wire, you can always use the wire that comes inside the cord on the NES controller. It's very thin and the black plastic covering comes off easily.

Steps:

1. Solder a wire to leg 7 of the 555

2. Solder another wire to leg 8 of the 555. Don't attach the photo cell yet - you will probably need to trim the wires to remove any excess.

Step 6: Adding the 2nd Capacitor

The 2nd capacitor is attached to pin 6 and 1 (ground)

Steps:

1. It's up to you how you want to attach the legs of the capacitor to the IC. As legs 6 and 1 aren't close to one another, you will need to add a jumper wire to be able to attach them. You also want to lay down the capacitors so they will fit into the NES controller (of you are using one as a case)

2. Solder the negative leg of the capacitor to leg 1 (ground)

3. Add a jumper wire to the other capacitor leg and solder this to leg 6

Step 7: Adding a Jumper Wire From Leg 2 to 6 on the 555 IC

To connect the 2 legs on the 555 IC together, I used a small piece of wire cut from one of the capacitors. You could also just a jumper wire like in the last step as well.

Steps:

1. Add a little solder to one end of the wire

2. Solder to pin 2.

3. Push the wire down and orientate it so it is resting on pin 6.

4. Add some solder to the tip of the soldering iron and attach.

Step 8: Adding the Wires for the Potentiometer

The wires for the pot need to be attached to legs 6 and 7

Steps:

1. Solder wires onto legs 6 and 7 of the 555.

Note: Always make the wires longer than you need - you can always trim later. Don't attach the wires yet to the pot, you need to add all of the components to the NES controller first.

2. This is pretty much it. I didn't show the last little bit of wiring which is attaching the wires for the LED so follow the steps below

3. Solder one leg of the 100 ohm resister to pin 8 of the 55 IC

4. Solder the other leg to the perf board and attach a wire to it. This will go to the switch and then to the positive terminal of the battery

5. Lastly, attach another wire to pin 1. This will go to the negative side of the battery

Step 9: NES Controller - Pull It Apart

Steps:

1. Un-screw the 6 screws in the back of the case

2. Remove the screw that is holding the circuit board to the case

3. Take-out off of the buttons etc and keep to one side.

Step 10: Making Some Space

You need to remove some of the gussets etc inside the case to make room for the electronics.

Steps:

1. Remove the 2 circle gussets on the back of the ase. I used a pair of pliers to snip away. You can use a dremel with a sanding drum to smooth them out if necessary.

2. Remove the side gussets on the top case. These are so you can add the 1/42 tube later.

3. Remove the bit of plastic that protrudes where the cord come out of.

4. Lastly, remove the plastic leg as shown in the image below.

Step 11: Adding the Speaker

I had a small speaker cover that I pulled from a small speaker. If you don't have one of these then don't worry, it isn't necessary, just make sure that you make the hole for the speaker a little smaller then then speaker and glue it into place

Steps:

1. Mark where you need to cut.

2. Drill a hole to start the cut-out

3. With a dremel or something similar, enlarge the hole with a sanding drum. Keep on measuring until the speaker grill fits nice and tightly inside

4. Lastly, put the speaker into the cover and hold it in place with the tabs from the cover or with some super glue

Step 12: Adding the On/Off Switch

Initially I was going to use an tactile on/off switch to activate the synth but decided against it. It was going to be activated by pushing one of the red buttons on the controller.

Steps:

1. Drill a hole into the side of the top cover as shown below

2. Secure the switch into place

Step 13: Add the Potentiometer

You could put the pot on the side of the controller but I found that it was easier to use with it on the bottom of the controller near the speaker.

Steps:

1. Drill a hole into the cover

2. Attach the pot. Remember to think about what's underneath the pot when you do to add it to the cover. You need to make sure that there is some empty space as it will take up most of the room in that section of the controller.

Step 14: Glue Down the Buttons

As you don't need to used the buttons, you will need to hot glue them into place. If you want to add a audio out, then leave one of the red buttons.

Steps:

1. Put all of the buttons into place

2. add some hot glue to each one and leave to dry. make sure that they are glued strongly as people will try and push them and you don't want them coming loose.

Step 15: Adding the Photo Cell and 1/4" Tube

Steps:

1. Drill a hole just large enough for the tube to fit into. The hole should be opposite the switch.

2. Solder on the photo cell to the wires on pins 7 and 8. Add some heat-shrink so the wires don't touch (or hot glue)

3. Push the tube into place. You shouldn't have to glue into place as it's a tight fit. Test that the tube isn't getting squashed by pushing the smaller tube into it. If it moves freely then you are ok. If not, then remove some more of the plastic in the case.

4. Push the photo cell into the end of the tube and add a little hot glue to hold it in place.

Step 16: Attaching the Speaker and Potentiometer Wires

Steps:

Speaker

1. Attach the wire on pin 1 to the negative terminal on the speaker

2. Next, attach the wire that is connected to the capacitor on pin 3 to the positive terminal on the speaker

Potentiometer

1. Attach the wire from pin 6 to one of the pins on either side of the pot. It doesn't matter which one

2. Next, attach the wire from pin 7 to the other 2 pins on the pot.

.

Step 17: Adding the LED

Steps:

1. The wire for the LED (slider section) needs to be long enough for the smaller tube fits into the larger one. The wire that I used was the controller wire which worked excellently. Just trim the

2. Push the smaller tube over the wire and push the wire through the end of the tube.

3. Solder the LED to the ends of the wire, making sure the polarity's are correct and that you use some heat shrink on the exposed wires.

4. Lastly, pull the other end of the wire so the LED is against the end of the tube.

Step 18: Adding the Battery Holder

Steps:

1. Solder the red wire to one of the terminals to the switch.

2. Solder another wire to the middle terminal of the switch and then solder the other end to pin 8 on the 555 IC

3. Solder the negative wire from the battery terminal to pin 1 (ground) on the 555 IC.

Step 19: Add a Audio Out Jack

Steps:

1. To be able to place the jack flat on the inside of the controller, you need to remove a little bit of plastic that held the red button in place. Just use some wire clippers and a exact knife to remove the area.

2. Next, place the jack through the hole, add a small washer (one you get from a potentiometer works fine) and screw into place with the little, round nut that comes with the jack.

Nearly done. Test and make sure that everything is working as it should before you close up the NES case. If you find that something isn't working, check the solder points and wires.

If everything is working as it should be, close up the case and make some beautiful music.

Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Space Challenge

      Space Challenge
    • Science of Cooking

      Science of Cooking
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    2 Comments

    I would like to see someone do it with an arduino and actually use the buttons on the nes controller to do stuff, maybe even add a midi controller.

    1 reply

    Hmm. maybe I will be that someone.