Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: Arduino + 4066 chip to control circuit bent instruments from Max / MSP on: July 06, 2011, 01:01:07 pm
Hi, thanks for the reply. I was looking into shift-registers. Am I right in thinking that to get a certain pin ON, i need to 'count up' to that value by sending the correct amount of pulses through the arduino pins? This may get a little tricky when the values are constantly changing, though i could probably figure it out.

What I stumbled over today though may be a better solution: the Arduino Mega. It has 54 digital in/out pins, and I have spoken to a colleague who has used it successfully with Max/MSP. This would ideally be a neater solution to my problem, and would keep the programming side of things a lot simpler.

Does the Mega sound like a better idea, given my inexperience of electronics/micro-controllers?

2  Using Arduino / Project Guidance / Arduino + 4066 chip to control circuit bent instruments from Max / MSP on: July 05, 2011, 02:20:44 pm
Hello,

i'm working on a project which involves controlling the functionality of modified toys/instruments from a laptop i.e. the laptop can trigger sound playback etc. I'll explain how I achieve this:

I open up a toy and poke around the circuit board until I find two points which, when connected together using croc clips, trigger one of the sound functions of the toy. I solder wires to each of these points (POINT A + POINT B), and feed them out of the casing, so that I can trigger the sound by touching the ends of the wires together - instead of pressing a button already on the toy.

To have this operation controlled electronically, i need an electronic switch. I've been using the 4066 chip, which is essentially 4 independent SPST switches. Using a breadboard, i can connect POINT A to one pin on the 4066, POINT B to another pin on the 4066, and then 'close' the switch by supplying a 'control voltage' to another pin on the 4066. When the control voltage is supplied, the switch closes, current runs from A to B, and the sound is triggered. Lovely.

The control voltage comes from the Arduino digital output pin. When i turn a certain pin ON, a 5V voltage is sent to the necessary pin on the 4066, and a switch is operated. I'm using an Arduino Duemilanove btw. I'm using Max / MSP to drive the arduino - this way i can write various programs to trigger sound play back in which ever way i like e.g. i can use an analogue keyboard like a MIDI keyboard.

By the end of the project, i aim to have around 10 modified toys/instruments being simultaneously controlled from the laptop. This way I can write a program in Max/MSP which can 'play thru' a composition using these instruments... and i can just sit back and watch. This is all a pretty simple overview, but i will explain in more detail if requested.

My question:

A single arduino has 13 output pins, meaning i can control 13 switches (thus can control playback of 13 different sounds). Ideally, i aim to have in the region of 50 different sounds available for playback, therefore i require 50 independent digital output pins. Am i best using multiple arduino boards - or should I investigate an alternative micro-controller?

All I am using the arduino for is the 5V output to operate the switches in the 4066. If there is a different micro controller available that has more output pins capable of this 5V - as well as being compatible with Max/MSP - then I would prefer to use that! But as yet, i cannot find one. Any suggestions?

Thanks, and sorry if this doesn't make sense just yet, it's late and i'm tired!

Jordan


PS- For anyone interested, here is a previous performance I was involved in using circuit bent instruments. Here we 'manually' operated our instruments. I did, however, circuit bend a Nintendo Entertainment System, which was controlled by a laptop in the exact same fashion as described above. Glitches are automatically turned on and off according to a Max / MSP program which was running live. The output of the NES is projected behind us. At times, the NES is programmed to glitch 'in-sync' with the music. WARNING: circuit bent music may not be to everyone's taste!!


3  Using Arduino / Project Guidance / Re: Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 17, 2011, 11:57:09 am
Dammit, sorry my bad. The link should of been this http://uk.rs-online.com/web/search/searchBrowseAction.html?method=searchProducts&searchTerm=652825A&x=0&y=0

OK it seems like multiplexer chips would be a good solution for me given my lack of knowledge. I'll start reading up on them and try order some online. Thanks!
4  Using Arduino / Project Guidance / Re: Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 17, 2011, 03:59:11 am
OK thanks for that, I'll try to get one of they chips and give this a try.

Would something like this darlington transistor array also work? http://uk.rs-online.com/web/search/searchBrowseAction.html?method=updateShoppingCart

For any of these chips, would i still need to add resistors (or anything else) at certain points in the circuit?
5  Using Arduino / Project Guidance / Re: Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 16, 2011, 06:36:48 pm
Thanks for the continuing help!

How would I know if the points I want to bridge are "floating above ground"? Is there a simple way to check if one point is lower than the other e.g. using a multimeter? Also, am I checking for current or voltage here?

I popped into an electronics store today and picked up what I could from their limited selection. I got a 5Vdc 2 amp SPDT relay & a 12Vdc 5A DPDT relay. I couldn't find any SPST which seems more useful to me in this situation. I also picked up a few 2N3904 transistors and a few BD136 transistors. They had no Darlingtons. tbh, i guessed at which ones to buy. Should I try this with one of those transistors first, before moving to a relay?

I originally looked at the 4066 chip; hmm the 4053 does sound useful. Are circuits using these kind of chips easier to assemble? Would you have a rough idea of how to set this up in my case?

I am really appreciating this support; i wish there was a way to pay you back! I'll post some videos of this stuff/the performance if it works - you might like it!
6  Using Arduino / Project Guidance / Re: Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 16, 2011, 12:33:19 pm
Korman, i do know what happens when the two parts are connected tho! It causes the image to be modified. This is why i want to connect the two points together. I want to be able to turn the glitch effect on and off. So we go from normal image to glitch image to normal image etc. If I can control this from the arduino (using max/msp) i can write a program which automates the turning on and off of the glitch. I plan to use the output as a visual backdrop during an electronic music performance.

Normally, in circuit bending, you would just solder a toggle switch in between the two points. But i want to use a transistor instead, which closes the circuit when it receives a +5V from the arduino.

Mike, should i connect the ground from the ardunio to the transistor AND directly to the ground for the NES? Or will the transistor already be connected to the NES ground just by connecting it to one of the bend points on the circuit board?
7  Using Arduino / Project Guidance / Re: Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 16, 2011, 06:53:29 am
Pleeeeeeeeeease somebody help!   smiley-sweat

Hope i've explained the situation well enough, if not i can rephrase?

Thanks

Jordan
8  Using Arduino / Project Guidance / Re: Connecting arduino to 360 remote control on: March 15, 2011, 07:15:32 pm
I'm implementing a similar transistor set-up on an old Nintendo. When you say connect the ground to the arduino: should the arduino ground be connected to the emitter of the transistor? Should it also be connected to the ground on the Nintendo?

Thanks,

Jordan
9  Using Arduino / Project Guidance / Re: Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 15, 2011, 05:53:48 pm
Just some extra info here, the power supply for the nintendo reads:

INPUT AC230/240V 50Hz 17W
OUTPUT AC9V 1.3A

Can this information be used to calculate the value of the transistor needed?

From my knowledge so far, i'd want to connect the digital pin output from the arduino to the Base of the transistor with a resistor in between. This would 'control' the switch.

I'd connect the collector to one of the bend points (point A), and i'd connect the emitter to the other bend point (point B). So when the switch is closed, current runs from bend point A to bend point B thus activating the glitch.

Is this sounding right so far? Something along the lines of the left part in this schematic: http://www.ermicro.com/blog/wp-content/uploads/2008/12/trsw03.jpg

I then am little confused as to where to connect the power and ground of the arduino. Do i connect the ground to the emitter, and also to the ground of the NES? And then connect the power to the collector, and also to the 9V from the NES?

Please please help if you can!

Jordan
10  Using Arduino / Project Guidance / Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 15, 2011, 05:51:49 pm
Hey all!

I'm currently circuit bending an original Nintendo Entertainment System (the one from the 80's). For those unfamiliar with circuit bending, it's basically when you expose the circuit of a device and create short circuits in arbitrary places in the hope of corrupting it's functionality. Commonly performed on cheap, battery-powered kids audio toys. It requires no experience in electronics to start 'hacking' at an elementary level, which, unfortunately, is the category i fall into   You flip the circuit board over so all you see are the solder blobs, and use crocodile clips (or jumper wire) to connect various 'blobs' together, therefore forcing a change in the circuitry, and often resulting in crazy outputs! Kids toys can end up screaming with distorted, alien voices... it's very fun.

So i've been applying this methodology to the NES. When i connect certain points together, the image glitches, see an example here: http://www.art-rash.com/pixelform/videobends/NES/images/nes-build-010.jpg The standard practice would be to connect two 'bend points' together using a physical SPST switch, so the glitch can be turned on and off.

But I'd like to control these switches from a Max/MSP patch, using an arduino.

I've been researching this like mad, and was initially advised down the route of using a relay switch. But the more I read, the more it seems like a transistor is the tool I need! I would use a digital pin from the arduino (in output mode) to send +5V to the transistor, therefore closing the switch and activating the glitch. Does this sound like the right idea?

I know this is probably an extremely basic circuit, but could someone help me with the schematic? And also the correct transistor to use, along with any other necessary components?

I have vague ideas of how to go about setting this up, from what i've read. But i'll omit them just now, so I don't confuse things.

I realise it's frustrating dealing with someone with limited electronic knowledge, but I'm willing to listen to/read/learn whatever is required to make this happen! It's probably so simple, but I really couldn't find anything online about using arduino boards to activate bend points on circuit bent instruments.

Thanks,

Jordan

(PS originally posted in the Hacking section, but prob more suitable here)
11  Topics / Device Hacking / Re: Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 15, 2011, 12:56:30 pm
Just some extra info here, the power supply for the nintendo reads:

INPUT AC230/240V 50Hz 17W
OUTPUT AC9V 1.3A

Can this information be used to calculate the value of the transistor needed?

From my knowledge so far, i'd want to connect the digital pin output from the arduino to the Base of the transistor with a 1k resistor in between. This would 'control' the switch.

I'd connect the collector to one of the bend points (point A), and i'd connect the emitter to the other bend point (point B). So when the switch is closed, current runs from bend point A to bend point B thus activating the glitch.

Is this sounding right so far?

I then am little confused as to where to connect the power and ground of the arduino. Do i connect the ground to the emitter, and also to the ground of the NES? And then connect the power to the collector, and also to the 9V from the NES?

Please please help if you can!

Jordan
12  Topics / Device Hacking / Circuit Bending Nintendo (NES) - Use transistors as switches? on: March 14, 2011, 07:40:22 pm
Hello lovely people of the arduino forum!

I'm currently circuit bending an original Nintendo Entertainment System (the one from the 80's). For those unfamiliar with circuit bending, it's basically when you expose the circuit of a device and create short circuits in arbitrary places in the hope of corrupting it's functionality. Commonly performed on cheap, battery-powered kids audio toys. It requires no experience in electronics to start 'hacking' at an elementary level, which, unfortunately, is the category i fall into  smiley-red You flip the circuit board over so all you see are the solder blobs, and use crocodile clips (or jumper wire) to connect various 'blobs' together, therefore forcing a change in the circuitry, and often resulting in crazy outputs! Kids toys can end up screaming with distorted, alien voices... it's very fun.

So i've been applying this methodology to the NES. When i connect certain points together, the image glitches, see an example here: http://www.art-rash.com/pixelform/videobends/NES/images/nes-build-010.jpg The standard practice would be to connect two 'bend points' together using a physical SPST switch, so the glitch can be turned on and off.

But I'd like to control these switches from a Max/MSP patch, using an arduino.

I've been researching this like mad, and was initially advised down the route of using a relay switch. But the more I read, the more it seems like a transistor is the tool I need! I would use a digital pin from the arduino (in output mode) to send +5V to the transistor, therefore closing the switch and activating the glitch. Does this sound like the right idea?

I know this is probably an extremely basic circuit, but could someone help me with the schematic? And also the correct transistor to use, along with any other necessary components?

I have vague ideas of how to go about setting this up, from what i've read. But i'll omit them just now, so I don't confuse things.

I realise it's frustrating dealing with someone with limited electronic knowledge, but I'm willing to listen to/read/learn whatever is required to make this happen! It's probably so simple, but I really couldn't find anything online about using arduino boards to activate bend points on circuit bent instruments.

Thanks,

Jordan

Pages: [1]