Duplicating PropBOE Analog inputs on Prop Proto Board..
doggiedoc
Posts: 2,245
Hey ya'll!
On my Automatic Chicken Coop Door prototype I used one of my PropBOE boards but now think I should replace it with a Proto Board. The BOE is serious overkill as all I am only using 2 analog inputs and a few GP I/O. I have (somewhere around here) a couple of LTC1298s and a couple of ADC0831s.
Question #1:
Would either of them be a drop in replacement for the ADC circuitry on the PropBOE?
Question #2:
I was planning to use the Propeller Proto USB Board #32812 but I noticed the input rating is 6-9 VDC. The coop is set up for 12 volts. Should I just make a voltage divider in the input line for the 9 volts limit or is this a good excuse to order a couple or five of new Propeller Project Boards?
Paul
On my Automatic Chicken Coop Door prototype I used one of my PropBOE boards but now think I should replace it with a Proto Board. The BOE is serious overkill as all I am only using 2 analog inputs and a few GP I/O. I have (somewhere around here) a couple of LTC1298s and a couple of ADC0831s.
Question #1:
Would either of them be a drop in replacement for the ADC circuitry on the PropBOE?
Question #2:
I was planning to use the Propeller Proto USB Board #32812 but I noticed the input rating is 6-9 VDC. The coop is set up for 12 volts. Should I just make a voltage divider in the input line for the 9 volts limit or is this a good excuse to order a couple or five of new Propeller Project Boards?
Paul
Comments
The ADC0831 should be usable, but I doubt it'll be a direct drop-in replacement. The communication protocol is likely different and will require some work.
The LTC1298 is probably easier to interface to, as it has no data input, and the output can just use a resistor. It only supports one channel, though.
Negative on that divider idea.
I am going to order a couple of the new project boards though. They look sweet!
BTW the Propeller Proto USB Board #32812 seems to tolerate 12 volts (with no load).
If you want to use the USB protoboard you could always put a 6-9V regulator between the 12V supply and the protoboard. A 3 terminal regulator is pretty inexpensive. On the other hand the new project boards do look very nice so this may be the perfect excuse to buy one or two, or even five or ten.
Most the help is either tied up in litigation on the licensing threads or too busy playing with their Prop II emulators.
The old neighborhood is changing.
As for your other question, of course it's a good reason to get some o the new boards!!
@Kwinn - I may have an MCP3208 around here somewhere. It has an SPI interface doesn't it?
http://www.digikey.com/scripts/dksearch/dksus.dll?FV=fff40027%2Cfff80183%2C1140050&vendor=0&mnonly=0&newproducts=0&ptm=0&fid=0&quantity=0&PV243=79&stock=1
I'm not sure if that would work or not.
I'd appreciate any insight.
Paul
LM339 comparator + 1 megohm feedback/hysteresis resistor = 19 cents
So I caved on finding an i2c ADC and went with an LTC1298. Rewriting the code for SPI interface wasn't as difficult as I thought it would be. So I wired up a Prop Proto-board and installed it in the coop. Cursory test look good. I'll need to recode the thresholds for dusk and dawn tonight and in the morning.
One hitch I'll need to overcome is the power supply. The proto board is rated for 6-9V and I've got 12v power wired in the coop. Maybe I've a 9v regulator around here somewhere. If not I could use an LM317.
If your current requirements cause the regulator to get hot, add a heatsink.
As to which ADC, I would have steered you to the mcp3201 single channel. Simple, no commands channel selects or otherwise. Simply give it the falling chip select and appropriate number of clock cycles and you have your 12 bit output.
Frank
@Frank - a big factor in my selection of the LTC1298 is that I had some.
@Frank - a big factor in my selection of the LTC1298 is that I had some. [/QUOTE]
Best reason of all...........
adc0832=2x adc0831
adc0834=4x adc0831
Now before peeking, guess what an adc0838 is?
http://www.national.com/ds/AD/ADC0831.pdf