|
Re: Help with the Kit Gear Tooth sensors
Use a multimeter to test the sensor, I believe it shorts signal to ground when a tooth is detected, so an open connection (bad connection or loose wire?) behaves the same as no tooth detected (The RC has pullups, so with no connection, it defaults to 1). See if you can see a voltage change on the signal pin to around 0 volts when there's a tooth present. If that works then perhaps you aren't making the right connection to the RC, or you have the digital I/O in question set as an output. Start small, work from there, it's probably more likely a silly mistake than a damaged sensor. And silly mistakes are fun to laugh at later, so that's no big deal 
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!
I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
|