ADC Input Driver

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2009-07-22 | updated: 2013-06-17


ADC Input Driver:
Driver for MCP3X0X ADCs. Driver features include support for Microchip ADCs with anywhere between 1 and 8 ADC input channels and resolutions of 16 bits or less. Both single-ended and differential modes are supported. The driver adds support for frequency reading on each of the channels and allows the ADC to react as a programmable Schmitt trigger. Also available is gathering of maximum and minimum or average values of the channels over time. The driver can wait for a channel to achieve a specific state, or can even be put into standby to save power. Channel values and states are available to multiple objects if the driver is supplied with variables to store the information.
Built in is a watchdog timer for any function that takes more than one sample to execute allowing for customizable, time-dependent use.
Known supported ADCs:
MCP3208, MCP3204, MCP3202, MCP3201, MCP3008, MCP3004, MCP3002, and MCP3001
Original File Upload
Package icon ADC_INPUT_example_-_Archive__Date_2011.10.17__Time_15.59.zip28.05 KB