NEWBIE: Analog to Digital Question
Frankfern123
Posts: 35
Hi All, Today's dumb question is as follows:
The Propeller has more I/O's than I'll ever need for my "hope to be" finished product. So do I need to add IC's for ADC and DAC conversion. All my devices run off 5VDC. If so, does anyone have any circuit examples. I plan on using the Propeller USB project Board as my base.
My project will have the following needs.
4 - ADC Inputs (all reading 0 thru 5 VDC)
4 - TTL Inputs
6 - Outputs to enable relays via LOW level grounding.
Thank you in advance.
The Propeller has more I/O's than I'll ever need for my "hope to be" finished product. So do I need to add IC's for ADC and DAC conversion. All my devices run off 5VDC. If so, does anyone have any circuit examples. I plan on using the Propeller USB project Board as my base.
My project will have the following needs.
4 - ADC Inputs (all reading 0 thru 5 VDC)
4 - TTL Inputs
6 - Outputs to enable relays via LOW level grounding.
Thank you in advance.
Comments
For TTL inputs, you might be able to get by with 3.3K or 4.7K series resistors to limit the current to under 500uA (R > (5V - (3.3V+0.6V))/500uA = 1.1V/500uA = 2.2K).
For relay switching, you could use a Darlington array (ULN2803A)
I have another question though, another circuit I may need to add will be to drive 12 VDC solenoids. The factory application have 12 VDC running to them at all times and they are triggered with a ground for either simple ON/OFF or PWM. The way I've seen them wired is thru a single Hi Power tin can style transistor. Do you have any thoughts on how I can add this as well.
In the end by what your describing i may be better off creating a "daughter board" with all my compnents that connects to the Prop Board I want to use.
Please give me your thoughts.......... Thanks again.
There's plenty of room on the Project Board for a MCP3204 and a ULN2803A as well as connectors to their inputs and outputs respectively.