airwave1206
USA
Asked
— Edited
Hello all, just a quick question and I'm sure it will be simple. what I'm looking for is something to count how many times a switch closes. is there something in ARC? i want to use a switch to count wheel rotation, kinda like a encoder.
thanks, airwave1206
Depends what you're attempting to do? Are you wanting to count rotation of a wheel encoder to see how far a robot has driven? Are you trying to move a head or arm a specific number of ticks? There's different solutions for different applications.
OR
OR
Obviously #2 is the easiest because it doesn't require additional hardware.
thanks everyone for the input. I've seen the arduino encoder post. DJ, I do have a on board pc and the ezb4 running on usb. I might try option #2. I was just trying something easy. thank you all.
yeah, #2 will work great for you with USB. Like i said, a slow count with #2 can work over WiFi. However, with wifi there is unpredictable delay/latency that is acute to the wireless properties and interference. With USB, it is direct and super fast.