hello I have some 4051 left overs and I woyld like to know if I can use them to switch something
with low current and about 7 volts. could I use a 9 volt battery on the Vdd of the 4051 or would I have problems with the arduino? I dont want to input anything to the arduino ,I just want to control the switching with it
for example
use com out/in and pin15(2) in place of a momentary switch witch has 5.5 volts on one side and 3 on the other
Using 9volt Vdd is posible, but I doubt the Arduino would then be able to turn the switches on.
Cmos logic usually toggles on 1/3 and 2/3 of the supply voltage.
Switching "on" would require 6volt on the data pin.
Something the Arduino can't deliver.
Explain what you want to switch. There might be a better way of solving your problem.
Leo..
I rechecked the device ,it seems they have put a 3.3ohm resistor to ground before the circuit and the regulator gives about 5 volt (from 9 volt power supply)so the hole device sees 3.3 volts ...
so now I want to switch 3.3 volt with 0 volt could it be done with 4051?
Better post a circuit diagram of your drum machine, otherwise this thread is going to end the same way as the other threads you have already posted.
Leo..
I had a look through your previous posts, and it always ends the same.
No circuit diagram, no help.
We don't have any crystal balls here.
If this is a commercial guitar effect machine, post the model nr.
There are many circuit diagrams available online.
If you want to control buttons and switches of unknown gear, the best option is usually a small reed relay.
Or, if the polarity stays the same, you could use an opto coupler.
The problem with switches like the 4051-4053 is that both gear has to share ground, and that the switched voltage has to be lower than the Arduino voltage.
Leo..
Need to know the schematic you're currently working with, and what exactly you're hoping to switch.
My first inclination though is to say that, even if it might be possible to make it work, it's a horrible way to do switching. If you tell us more about what you need to switch (that schematic we asked for), we'd be happy to recommend a better way to switch it.
this is the device , as you probably cant see the ground of the device seems to be after the 3.3ohm resistor its like they did not have the right regulators and they raised the ground voltage ,just guessing.... .You wont find any schematics of this publicly .the switches are near the bottom of the device and see 0 and 3.3v in respective to the red"ground " ,but 5v and 1.7 v to real ground.
is it safe to connect the red "ground" with arduino ground?speed matters and relays wouldn't cut it .
Strange circuit. It seems that the 3.3volt digital circuit is 5volt referred, not ground referred.
Maybe they did it to eliminate audio groundloops.
If I'm right, everything is within 5volt from "circuit ground".
That means that you can use 405x switch IC's, as long as you join Arduino ground, IC ground+VEE, and "circuit ground".
I still would prefer an opto (or reed relay) to switch the momentary button.
Arduino pin > 1K resistor > opto LED anode > opto LED cathode to Arduino ground.
Opto transistor across the momentary button. Emiter to ground.
You could use those small optos that they use on relay boards.
Relay or opto give glavanic separation. Less chance of a groundloop hum in the sound.
Leo..