|
Re: Program not seeing sensor.
Quote:
Originally Posted by Ether
The 2016 FPGA samples I/O at 40MHz. That's every 25ns. That should be fast enough for just about anything in FRC,
However, if you have the Hall sensor mounted near the circumference of a large diameter wheel, I suppose it's possible that the pickup is whizzing by so fast that the electronics in the sensor don't respond to it.
What model encoder are you using, how do you have it mounted, and what is it detecting?
|
It is detecting the passing of a magnet of our shooter. In slow mode (when it is needed) JVN calc estimates 28 in/s, probably actually less that 20. I videod the sensor in slow motion on my iPhone and you can see the sensor light going out.
__________________
"Champions are champions not because they do anything extraordinary but because they do the ordinary things better than anyone else." —Chuck Knoll
2015 Indianapolis District Winner
2014 Boilermaker Regional Industrial Design Award
2013 Smoky Mountain Regional Industrial Design Award
2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Innovation in Control Award.
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St Louis Regional Winners
Last edited by IndySam : 29-02-2016 at 21:56.
|