Skip to main content
6 events
when toggle format what by license comment
Mar 30, 2015 at 22:08 history migrated from electronics.stackexchange.com (revisions)
Mar 24, 2015 at 20:56 comment added Karl Bielefeldt Good point, @hobbs. I should be more explicit that my limit is referring to the OP's code that uses the micros() function to do the timing. Using the timer directly can get you better resolution.
Mar 24, 2015 at 20:13 comment added hobbs I think you can at least get a lot closer with the Due as in my answer, although I'm not sure if 50kHz is reachable. Using a 42MHz timebase gives just barely enough resolution, and 20us per cycle is just enough to get some calculation done. The most obvious problem is that the serial can't possibly send 50,000 reports per second, so there would have to be some aggregation/decimation there!
Mar 24, 2015 at 18:12 comment added Karl Bielefeldt Oops. Well, the 50 kHz limit still applies. He didn't specify his needed precision, but one degree precision would limit you to 2.7 kHz.
Mar 24, 2015 at 16:49 comment added Dave Tweed That's "mHz" (small m) -- millihertz, not megahertz.
Mar 24, 2015 at 16:21 history answered Karl Bielefeldt CC BY-SA 3.0