What's next?
mosquito56
Posts: 387
·· I have finished all the info from the prop learning kit. I want to incorporate a large number of analog signals into the prop. Where do I go for info on ADC'S and some recomendations for parts? Analog.com has hundreds of chips for everything. Any ideas where to begin?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
·A good engineer borrows from others, a great engineer steals everything outright!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
·A good engineer borrows from others, a great engineer steals everything outright!!
Comments
It is used by the Basic Stamp in the Stamp PLC. There is some downloadable code examples on how to use it written in PBasic. Converting them over for use by the Propeller is just a matter of replacing the PBasic code with an app written useing the Bs2_Functions object from the object exchange.
Post Edited (bambino) : 12/25/2007 4:24:00 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
·A good engineer borrows from others, a great engineer steals everything outright!!
- learning about ADC as such (deep thinking, lots of theory, Wikipedia is a good start)
- just using a simple low cost device: I should definitely recommend the PCF 8591, a no-nonsense 8 bit 4-Channel ADC (and a 1 Channel DAC) with an extremely simple I2C interface (around $3) It is possible to understand what is does
www.selectronic.fr/includes_selectronic/pdf/Philips/PCF8591.pdf
---
Edit: As it took me some time to find a datasheet for the MAX 1270, here to save YOU that time:
micro.et-inf.fho-emden.de/datenblaetter/converters/max1270_1271.pdf
---
Edit2: MAX 1270:The 24 pin narrow DIP is quite nice, 12 bits are nice, 8 channels are nice... The price tag is $30
Post Edited (deSilva) : 12/25/2007 12:04:32 PM GMT
If you can accept the package.
Nick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never use force, just go for a bigger hammer!
The DIY Digital-Readout for mills, lathes etc.:
YADRO
There's 2 objects in the OBEX, one written by Chip Gracey!
I have future plans to create a SpinStudio plug-in module for this chip.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio
PropNIC - Add ethernet ability to your Propeller!
SD card Adapter
· I have the temp sensor working nicely and would like some basic info. I will be checking the obex as soon as I hit the submit button. Thanx
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
·A good engineer borrows from others, a great engineer steals everything outright!!
I understand your reservations - all is new to you. Of course I could tell you two hours about ADCs but I could tell other persons as well about many things for two hours.....
Can you work with I2C? This is most important, the I2C chips have advantages only, except they are not superfast.
Start with a port expander PCF 8574 ($2).
Then go to the PCF8591 ($3). The datasheet I linked above is very clear. As I said this is a no-nonsense converter and it will be useful to you. Use a $30.High-End converter around Easter (I just see Easter is quite early this year... so Pentecost maybe... )
Post Edited (deSilva) : 12/26/2007 9:05:37 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
·A good engineer borrows from others, a great engineer steals everything outright!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
Technologically challenged individual, Please have pity.
You need catalogs... I have no idea about the situation in the United States, but it should not be very different from Germany. There are large mail order houses having and sending willingly comprehensive and colourful catalogs. (Reichelt, Conrad, Pollin... never mind.)
They have all the standard parts you are loooking for from time to time, from tin-solder to dremels, not to mention transisistors, caps, LEDs, ICs,....
They have different price levels... This is mainly due to stock-keeping policy and even chance. You can buy the same part from $2 to $4 depending on that... They also differ in shipping and handling..
Someone else will give you the addresses I am sure..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 1/1/2008 10:45:12 AM GMT
Prices are not really low, but they have a VERY comprehensive stock, which can be VERY confusing for the casual shopper!
They have quantity discount; sometimes from 5 or 10 pcs on. This is not quite obvious from the display, you have to click the price link to learn that.
And they have no colored catalog
But they have this super Mouse/KB/VGA adapter for the proto board at a good price...
·
Not only that, it can tolerate voltages somewhat higher without frying. I'll admit, It's a bit pricey just to add a perihperal to the propeller to learn on, but it's very forgiving if you not experienced with hooking up sensors to measure stuff.
I hope the catalog is a little clearer.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
Technologically challenged individual, Please have pity.
Also, shipping can be a killer on small orders, being in Texas you will probably get 1-2 day service from Mouser by UPS ground or 1st class mail which will be pretty cheap (I almost always get my orders in 2 days and I'm in Mississippi).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
Technologically challenged individual, Please have pity.
The dial plate was $1, the 2x16 display $5
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
Technologically challenged individual, Please have pity.
search.ebay.com/search/search.dll?from=R40&_trksid=m37&satitle=hd44780&category0=
A lot goes through ebay.. But mind the shipping! Many vendors have "shops" where you can augment your shopping cart with further unneedded things..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mosquito: An animal which buzzes in your ear and never stops. He may byte you, he may nibble you, but you will know you were bit.
Technologically challenged individual, Please have pity.
One of the bane's of my work is sensors that span negative to positive voltages. I need a negative voltage generator (icl 7662) and two opamp stages (one to buffer the adjusted negative offset voltage) and the other for gain and adding the offset so the output becomes all positive. So if I have a 5V ref on the ADC, I add roughly -2.5V to the negative input (instead of ground) which gives a +2.5V output when the positive input on the opamp os 0V.
Much simple to use a single opamp to set gain and not worry about positive offset.
·
Just an idea though! If your not concerned with duplicating the neg Voltage: you could read the signal with the adc, convert the result to Pos integer, then output that with a DAC. Depending on the Dac you may accomplish a smaller footprint in you circuit.
With 8 inputs you could also do some feed back from your dac to see that your output is in fact what you wanted.
Even without the gain I still need an opamp. pH sensors put out miniscule current. At the far extents its pico-amps. I monitor swimming pools so its typically between 0v and 0.05916V. The input impedence has to be at least a couple of giga-ohms and even that is a huge load. The 1270 has about 16 k-ohm input impedence so it would be almost like a dead short. I buffer the signal though an LMC6482 opamp with > 10 tera-ohm input impedence.
Its still a nice improvement - I get to lose the LM3851.2 reference, a pot, and the extra op-amp stage for buffering the negative offset voltage.
·
Yes, the Dac would be redundant. What kind of sensor are you using to measure ph.?
Not many pools around here, but a lot of interest in soil ph.
·