hey there!
some questions occured to me while building a simple (my first) arduino-based controller for audio applications
i've got 4 digital pins left so i decided to put in 4 buttons/switches, this is what i'm not sure about:
-
can i use like 2 thumbtacks next to each other just for a simple body contact touch switch? i want to have each of the 4 digital pins to read something while having the finger pressed and linking the 2 thumbtacks. i dont have any standard switches here, and i thought, this could be quite easy to realize with the 2 thumbtacks per switch. searching the web, i just found instructions using two darlington transistors, why should i? i mean i could just do connection by putting a finger onto the thumbtacks and have no connection by not doing so (pull down design), is there any more to it?
-
is there a possibility of building a switch with just one thumbtack (or one nail or whatever) coming out of my case? i read about capacity sensing but didnt really get how to programm the arduino for this... and i read about "touching" the base of the transistor to have it passing through current from collector to emitter... would that work that easily?
whats also not clear to me:
-
using two thumbtacks as a body contact for analogue input, it worked with pull down, but not with pull up circuit! why is that? is there a problem using a pull down style circuit? i mean people just say "its not so good, better do it pull up". so can i also do it pull down, can it really cause any problems?
-
can you "capsense" a distance? or is it just for on/off, and for distance sensoring, you have to use ultrasonic or infrared?
-
can i use a simple switch to switch between two sensors, one sensor at a time is chosen to run into one analog input, like this?:
- the switch has a left, a middle, a right pin. connection is either made between left and middle or between right and middle. middle is always connected to analog input pin of arduino
- analog input pin of arduino is also connected to ground but with a 1M resistor between
- i have a piezo connected to ground on the one side, the other side is going to the left pin of the switch.
- i have one thumbtack connected to 5v, the other one connected to the right pin of the switch. they work as a body contact
-
is there definitely no kind of danger using body contacts (two thumbtacks, one connected to 5v, one to GND and analog input pin)? i mean can any harm be done to the body concerning electromagnetic fields or whatever? could usb possibly draw more power over a short period of time? the arduino is connected to a computer constantly via usb. i dont have any clue, on the one hand people just say theres no danger at all, while others say "if you dont feel good about using body contacts and arduino, better dont do it"
-
i want to use a potentiometer to adjust the sensivity of an analog input, and typical values for that are up to 10M, but my potentiometers are just like 10k-100k. i have 1-10M constant resistors. can i somehow have those potentiometers control the whole resistor range and not just like 1-10% of the full range i get with the constant resistors? because putting them in series just makes me add a little more resistance to it.
thanks a lot for answering those longer... questions
jan
