hi
trying to trigger an external looper pedal using arduino.
looking for the easiest way to send 3.3V coming from looper into arduino GND. This has to succed for a split second in order to trigger the looper via arduino.
is there an alternative to BJT tramsistors? as there is no need for a continuous circuit. just a quick "draw" of 3.3V.
Oh my god, I'm so sorry that I completely missed (hate the strict no edit limit < 100 posts). Fortunately I was still waiting on further confirmation from you anyway.
There are logic shifters designed for that purpose: they take the logic high from the arduino and convert it to 3.3 V. See https://www.sparkfun.com/products/12009
I stand corrected here but I'm pretty sure the footswitch and the arduino circuit need to share a common ground too.
OK now, it seems there was no answer to your first post so you tried again. I have asked for a moderator to combine them.
So, you have a footswitch jack that "sees" 3.3 V, positive to its ground (which must then connected to your ground). This is obviously a logic input to some circuitry with a pull-up inside.
Your original post seemed to have an aversion to using a transistor. I cannot imagine why, as a transistor is the answer. Perhaps that is why no-one thought it wise to reply. I didn't at the time, but I do get rather busy ...
Now the "logic shifter" chuckyx suggests could be used purely for its FET which is a "better transistor". That would be safer than using an Arduino pin written LOW and switched between INPUT (open circuit) and OUTPUT (grounded) because that leads to concerns about one part being switched off while the other is still on. If they both had the same power rail that would be just fine.
The trouble with the logic shifter is that it has extra components which would get in the way.
Paul__B:
The trouble with the logic shifter is that it has extra components which would get in the way.
Do you care to elaborate what exactly get's in the way? I'm still learning myself and I have some of these lying around in case I need to work with a logic on a different voltage level. Thanks!
chuckyx:
Do you care to elaborate what exactly get's in the way? I'm still learning myself and I have some of these lying around in case I need to work with a logic on a different voltage level. Thanks!
Well, here is the circuit for a common dual level shifter:
You basically want to use the FET just as a transistor, so you could tie one of the left hand terminals to ground and use the "+3.3V" terminal to control the gate, with the right hand terminal as the drain to switch your device. Now you have other FET tied in with the resistors.
It almost certainly will not cause a problem, but adds some parasitic capacitance, no actual concern in this application. The alternative is to tie everything together in parallel which - apart from that parasitic capacitance - would work just fine except for this module which includes a regulator.
It still gets a bit strange if you are using a four way module or this:
orinocopaul:
I don't understand the concerns about one part being switched off while the other is still on.
Well, if the Arduino is switched off while the looper pedal is on, the Arduino will pull the connection continuously LOW. Simple as that. A transistor or FET will not cause that to happen.
to trigger itself, the looper switch is sending a pulse of 3.3V into GND. I am following one of your previous suggestions to switch pins btw
LOW INPUT = Arduino as a voltmeter (open circuit)
LOW OUTPUT = grounded circuit
current is flowing in one direction only, so no need for logic shifters or FET, as the arduino is always on LOW (for safety reasons thought about using a one direction diode only)
still, as you pointed out, if the Arduino is switched off while the looper pedal is on, the Arduino will pull the connection continuously LOW. this led me to thw idea of powering both of them from the usb cable, as it also adds the extra benefit of the one cable connection. the only problem is that the looper needs 6V (200 mA)
thanks a lot for your support!
put up everything together and everything worked out fine, except for
1
btw 3.3V looper and 5V arduino current is flowing in one direction, so no need for logic converters. only wanted to add a diode in-between, but couldn't find a Schottky one that doesn't drop the voltage below the 3V threshold. not a big concern at the moment.
2
you were right. now that the looper is usb bus powered, there's a terrible hiss coming out. the only workaround I found to be working is plugging the looper's original ac adapter, which makes the 6V redundant, and pushes 9V AC through an in-built rectifier instead. this kills the hiss almost completely.
have not researched the problem yet, but would appreciate some tips on issue no 2
orinocopaul:
have not researched the problem yet, but would appreciate some tips on issue no 2
You may just have to live with it. Hiss removal would involve complex matters of how it is wired, extra inductors and such. Not easy to figure without the things in front of me!