Go Down

Topic: Basic Touch Sensor / Switch program (Read 1 time) previous topic - next topic

dtfgator

Questions for CrossRoads:

1.  What kind of pullup resistor should I purchase?

2.  Exactly which pins on the Ardunio Uno / SparkFun Protoboard should I attach the wire too?  Where should I place the LED?  How should I wire it?  I don't really understand. 

I'm a total noob when it comes to this sort of stuff (I've mainly been working with HandyBoard / CBC, where all of the sensors and motors fit nicely into predefined slots and you don't have to worry about anything on the electronics side). 

Thanks!

CrossRoads

1. None. Use the internal pullup:
pinMode (pinx, INPUT);
digitalWrite(pinX, HIGH);  << this connects the internal pullup for pinX

2.  Hmm. Okay, go back and do some of the Learning tutorials. Specifically Blink & Button.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

uink

LadyAda has great step by step tutorials

Go Up