Go Down

Topic: another cnc mill questionaire (Read 32 times) previous topic - next topic

theMPloc

the wire that comes back from a switch is connected to arduino. on this wire there is also the 10k resistor connected which goes to gnd on the arduino.

mmcp42

that's good
add the capacitors there
there are only 10 types of people
them that understands binary
and them that doesn't

theMPloc

good morning. got some 0.1 400V capacitors (getting electronic components in tyrol is like looking for kangaroos in austria). i will try them out. readying some more threads on makecnc.com i found out that noise on limit switches is quite a common problem and it seems that this issue is always solved with 0.1 capacitors. i never found anything about 10k resistors so maybe i don´t need them. we´ll see and i keep you informed!

mmcp42

:)
noise is a common problem, glad to hear the "usual" solution is 0.1 microfarad capacitors (400v is overkill, but does no harm; and probably all you can get anyway!)

you will need the resistors to ensure the inputs aren't floating, so I would use both
there are only 10 types of people
them that understands binary
and them that doesn't

theMPloc

#114
Jan 13, 2011, 11:45 am Last Edit: Jan 13, 2011, 12:07 pm by theMPloc Reason: 1
i am just messing around with the capacitors. classic noob question: do capacitors have a "direction". on one pin of the capacitor it says "hi" at the moment this is where i have the wire coming back from the switch connected. and it does not work.

so my idea is to do the following:

the wire coming back from the switch goes to the according pin on the arduino. then i will add a resistor on the wire that comes back from the switch. then i will add a capacitor there and connect it to the pin which says "hi" the other pin will be connected to gnd on the arduino.

basially thats how i had it already just with a capacitor added in the line. or should i wire the capacitors and the resistors parallel?

how about that?

Go Up