ADC Frequency Reader

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Brandon Nimon, created: 2009-07-15 | updated: 2013-06-17

 

The ADC Input Driver (http://obex.parallax.com/objects/488/) does this object's frequency reading and a lot more. It is also compatible with all MCP3X0X ADCs.
 
ADC Frequency Reader:
This PASM-driven object reads values off of shifted inputs from ADCs like the 10-bit MCP3008 or a 12-bit MCP3208 and determines the channel's frequency. "Low" and "high" edge thresholds can be easily set in the program. Frequency is determined by multiple edge measurements which can be customized for speed or accuracy. The program can operate up to about 148 thousand ADC samples per second (at 10-bits or 133ksps for 12-bits).
 
This object could be used for anything from simple frequency reading to audio recognition and multi-input signal processing.
 
Version 1.1 allows for the RX and TX pins to be on the same IO pin.
 
Known supported ADCs:
MCP3208, MCP3204, MCP3008, and MCP3004
 
Original File Upload
AttachmentSize
ADC_FREQ_READ.zip13.16 KB