Does the Netduino have the facilities to read PWM? If so, can anyone point me to some documentation on how or an example?
Thanks,
Bernie
  | ||||||||||||||
Reading encoder with PWM
Started by Bernie, Mar 27 2014 02:50 PM
2 replies to this topic
#1Posted 27 March 2014 - 02:50 PM Does the Netduino have the facilities to read PWM? If so, can anyone point me to some documentation on how or an example?
Thanks, Bernie
#2Posted 28 March 2014 - 02:53 AM Bernie,
The Netduino is not really fast enough to do this sort of thing in managed (C#) code. And it's difficult to add unmanaged libraries and solve the problem that way. In my opinion you have two choices:
I'm working on the Arduino solution for interfacing some hardware to the Netduino right now.
John #3Posted 28 March 2014 - 04:12 AM Thanks for the reply John. I suspected then Netduino wouldn't be fast enough. I was hoping there may be some direct to CPU method, maybe using the I2C interface. Right now we are doing proof of concept so the Netduino's threading ability makes the code much easier to develop, but the interface to hardware much more difficult, hahaha. The device is a US Digitial MA3 absolute shaft encoder that needs micro second timing of pulses. To a raw processor that's fine, but to managed code that's very very very small.
I'm working on a hardware solution with a timer, a counter, and a latch to maybe make a readable solution.
Thanks, Bernie 0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||