NEWBIE, Needs info for additional A to D inputs.
Frankfern123
Posts: 35
Hi All, today's stupid question is as follows.............
I'm using the Prop BOE as my test base and I need more ANALOG inputs. From what i can gather the Prop BOE can only handle one at a time, maybe two. I need to source 8 separate voltage signals ranging from 0-5 VDC including one that reads -5 - 0 +5 for a differential circuit.
Parts, schematics and source code links would be greatly appreciated.
ALSO OPINION NEEDED - Being I'm so new to this as a whole, would I be better off switching over too the new C language based Prop. It seams to me it will be easier to learn.
Thank you all in advance .......................
I'm using the Prop BOE as my test base and I need more ANALOG inputs. From what i can gather the Prop BOE can only handle one at a time, maybe two. I need to source 8 separate voltage signals ranging from 0-5 VDC including one that reads -5 - 0 +5 for a differential circuit.
Parts, schematics and source code links would be greatly appreciated.
ALSO OPINION NEEDED - Being I'm so new to this as a whole, would I be better off switching over too the new C language based Prop. It seams to me it will be easier to learn.
Thank you all in advance .......................
Comments
The A/D on the Prop BOE will handle 4 analog inputs, (at the same time). You could add another that does another 4 to the available lines, or the I2C buss that the original A/D is on, but with a different address.
There is no "C" based Prop. C programing has been available for a number of years, along with SPIN and PASM on the Prop 1.
As Publison mentioned, you can add another ADC of the same type using the same circuit for an additional 4 analog lines (with a different I2C address ... set when you wire up the ADC AS pin).
Other programming languages available include several versions of Forth and Basic.
Aslo about programming in "C" - This is what I was referencing - http://learn.parallax.com/propellerc
The link you showed is indeed the starting point for Propeller C programming. The exercises are mostly intended for the Propeller Activity Board, but the Propeller BOE is essentially an extended version of that. Have a look at the documentation for each board and you'll see how they relate to each other.
Ok gotcha on that, but I'm still confused about how to wire up 4 devices on the board. The lesson in "Prop learn" uses 3 out of the 4 pins. 1 for 3.3VDC, 1 for GROUND and 1 for the device VOLTAGE signal.
Do i have to use 2 out of the 4 ADC pins for 3.3V and GRD or can I use all 4 ADC pins for the return signal and source the #># and GRD elsewhere in the circuit?
Thank you ..........
EDIT: I don't actually own a Prop BOE, but by the schematics, you have four inputs in the lower right AD 0-3. Your analog input would go there, referenced to the ground pins to the left, (GND).
This is what keeps confusing me .............http://learn.parallax.com/node/113
BTW, the docs say there are three sockets labeled AD0, AD1, and AD2. There is a fourth, AD3. I need to send that little tidbit of info the Parallax.
I appreciate your patience and help .............