|
No i'm not trying to count from one...but we ran out of digital inputs...so i am going to use analog inputs to detect switches for autonomous mode selection...
Basicly its the same principle as a Digital to Analog Converter.. or along those lines....
I have a rotary switch and i'm going have a different resistor on each switch, Basicly then you can sense the value of the analog input that its hooked upto and it will return a value, basicly i am making a pot that has predetermined values instead of constantly changing values...i didn't explain it very well...
I am then going to have bigger resistors in serise with it to add a bunch of resistance to give more then one bank of selection...
I just have to calculate all the values now...
Weee...
Its really simple and straight forward but for us it'll be the first custom circuit we will ever actualy have on our robot and it came to me during english class this week so i wanna get it to work.
__________________
Former 461 Student/Mentor. Former 1272 and 1018 Mentor. Team 1555 Super-Fan.
Science and Engineering Can Open New Doors. --S.E.C.O.N.D.--
=~=!=@= #=$=%=
Co-Founder IndianaFIRST
Share your FIRST photos on Flickr!
|