Can a Basic stamp do this job?
ken lilja
Posts: 3
I am looking to find out if this is something that a BSII can do.
I want to read voltage, current and temperature sensors and display the readings on a display, minimum 12 characters (preferably one with a decent "V") One sensor has a built in ADC with a 2 wire output. The other 2 sensors will need a 12 bit, preferably a 3.3V reference voltage ADC. Possible sensors: http://www.sparkfun.com/products/10644 http://www.sparkfun.com/products/9418 or http://www.parallax.com/Store/Sensors/TemperatureHumidity/tabid/174/CategoryID/49/List/0/SortField/0/Level/a/ProductID/84/Default.aspx
I do have a BSII.
Possible operational schemes depending on what the processor can do:
A) 1 reading, reading changes to the next sensor every 4 seconds or so.
1 reading, selected manually with a switch.
C) 1 reading, reading changes to the next sensor every 4 seconds or so, or selected manually with a switch.
D) 3 readings on a multi line display.
1) as D) above with a clock or varying irreverent statements on a 4th line.
Refresh rate at least 2 Hz.
If doable, is there a "best" version of the BSII for this task?
I have almost no experience with programming, some electronics background. This is a project to support my main hobby of radio control, so the "less" I have to learn the better. I do have several books and a BOE for the BSII, (I did complete a project where the BSII managed some relays based on push button inputs, current state and time delays).
If I know that this is within the capabilities of the BSII series then the searching and battle begins!
Thanks for you time and opinions,
Ken Lilja
I want to read voltage, current and temperature sensors and display the readings on a display, minimum 12 characters (preferably one with a decent "V") One sensor has a built in ADC with a 2 wire output. The other 2 sensors will need a 12 bit, preferably a 3.3V reference voltage ADC. Possible sensors: http://www.sparkfun.com/products/10644 http://www.sparkfun.com/products/9418 or http://www.parallax.com/Store/Sensors/TemperatureHumidity/tabid/174/CategoryID/49/List/0/SortField/0/Level/a/ProductID/84/Default.aspx
I do have a BSII.
Possible operational schemes depending on what the processor can do:
A) 1 reading, reading changes to the next sensor every 4 seconds or so.
1 reading, selected manually with a switch.
C) 1 reading, reading changes to the next sensor every 4 seconds or so, or selected manually with a switch.
D) 3 readings on a multi line display.
1) as D) above with a clock or varying irreverent statements on a 4th line.
Refresh rate at least 2 Hz.
If doable, is there a "best" version of the BSII for this task?
I have almost no experience with programming, some electronics background. This is a project to support my main hobby of radio control, so the "less" I have to learn the better. I do have several books and a BOE for the BSII, (I did complete a project where the BSII managed some relays based on push button inputs, current state and time delays).
If I know that this is within the capabilities of the BSII series then the searching and battle begins!
Thanks for you time and opinions,
Ken Lilja
Comments
A BS2 will do for this, but the BS2p or BS2pe or BS2px has built-in I2C statements and more memory that I'd prefer to have if I didn't already have a BS2.
Thanks for the response. A couple more questions.
The BS2p has built in I2C support. Can I find a 12 bit ADC that uses this protocol?
I also see that the BS2p has a built in lcd controller. It seems to be limited to 2x24 and 4x12. I haven't found any 4x12 displays. Can I use a 4x16 or 4x20 display with a serial different controller?
Thanks for any info.
Ken Lilja
There are I2C ADCs including 12 bit ones. I don't have any specific recommendations. Maybe someone else can chime in with one.
One I've used with the Stamp (have code for!) is the MAX11612 and the firmware-compatible MAX1236. It is a 4-channel (2-channel differential) device with an included 4.096V reference, in a 8-pin uMax package. Other ADCs in the same family have up to 12 inputs, or a 2.048V reference for use say with the Propeller.
Tracy, I went with a MAX11615 ADC. Being of the same family as the MAX 11612 I hope that it can use the same code. Could you send me a copy?
Thanks for the help!
Ken