I want to control servo by one simple non latching switch.
Switch will give a short 5VDC analoug signal and servo will rotate 90 degrees and stop.
Next time it gets very same signal, servo will return to its initial position and stop.
Thank you for your replay!
It was very good read, indeed.
I have another question:
Is it possible to wire guitar effect pedal to Arduino UNO in way that I use it like input signal?
When I step on the pedal, led on it turns ON and another light is being switched ON (on another location) via Aurdiono UNO.
I am intending to soldier wire to pedal's led terminal. (I never measured this value; I guess it's at least 3V and very little current.)
It looks too simple and I wonder if I'm missing something.
Standard guitar effect pedal is using 9V DC power supply totally separated from Aurdino's power supply.
This is where I start to doubt my plan
Thanks,
I am on my iphone now but I'll upload my simple schematic
tomorrow. Button tutorial is OK but my button would be
part of another el. device which has its own power supply.
So I guess the button will carry some current too.
I guess I shoul ground Arduino together with my pedal.
Because of boincing and mechanical issues it happens that I press the pedal
but it doesn't turn ON. That's why I would like to send
signal from pedal's led light.
I want to tell Arduino that led is ON, not that I touched the switch.
If you google boss ds-1 schematic you'll easily
get many matches.
I have built wireless pedal board which works fine but
there is a little problem:
When I play gigs, my amp and pedal board
are behind me and I can't see led lights on it.
I am going to build additional led panel and
place it on the speaker monitor in front of me.
The distance from it to pedal board on bigger stages
can be even 6m ( 18 feet ).
I guess I need additional power supply for my new led panel.
Arduino will be mointed into pedal board. Pedal board is
placed on my amp.
I doubt this is understandable but I hope it will be after I uploaded
my layout
a) you need a common ground - in other words, you should power your arduino and your boss effect with the same power source and connect the grounds as well.
b) check the voltage between the LED and ground with a multimeter. You don't want it to exceed 5v. If it does, use a voltage divider to divert enough voltage away from the Arduinos input.
btw. this thread should probably be in the "device hacking" or "general electronics" sub-forum. You would get a lot more feedback there. Maybe ask a moderator to move it.
I measured 3V on pedal's led. I go for it.
Arduino and pedal can use same power supply! I go for it too.
What about my additional LED?
I think I'll just use a small battery there.
Would it be enough to add a transistor as an switch?
I would need two wires then. One connected to Arduino digital out and another connected to common ground.
Right????
Is it possible to use same power supply for all three users? The distance is 6m, or even longer...