Basic Analog to Digital Conversion Experiment
Dear all,
I am testing one of experiments under 'Basic Analogue and Digital'manual.
Under Chapter 3: Basic Analog to Digital Conversion · Page 45.
Attach here the BS2 code and the bmp file showing the experiment.
I have measured the power supply, grounding at BS2 , it is ok.
I also rotate the POT, there is a variable voltage 0-5VDC go into PIN2 of B2.
I have confirmed all the pins at BS2 is wire accordingly and no break.
But I cannot get the digital output value from the experiment....
Can someone try the experiment and let me know your result ?
Thank you.
Best regards.
Kam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank you.
Warm regards.
Kam
I am testing one of experiments under 'Basic Analogue and Digital'manual.
Under Chapter 3: Basic Analog to Digital Conversion · Page 45.
Attach here the BS2 code and the bmp file showing the experiment.
I have measured the power supply, grounding at BS2 , it is ok.
I also rotate the POT, there is a variable voltage 0-5VDC go into PIN2 of B2.
I have confirmed all the pins at BS2 is wire accordingly and no break.
But I cannot get the digital output value from the experiment....
Can someone try the experiment and let me know your result ?
Thank you.
Best regards.
Kam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank you.
Warm regards.
Kam
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
I have checked fully the wiring connection, they are wire according to the description:
I am using the BOE to do the experiments, the Vdd(on the schematic)
is connect to the Vdd(on the BOE) and the Vss(on the schematic) is
connect to the Vss(on the BOE).
Pin 1 on the ADC0831 is connected to pin P0 on the BASIC Stamp.
The wiper terminal of the pot is connected to pin 2 on the ADC0831.
Of the two remaining terminals on the pot, one is connected to Vdd on the Board of
Education, and the other is connected to Vss.
Pins 3 and 4 on the ADC0831 are connected to Vss.
Pins 5 and 8 on the ADC0831 are connected to Vdd.
Pins 7 and 6 on the ADC0831 are connected BASIC Stamp pins P1 and P2
respectively.
I have also tried the program SHIFTIN.bs2 on page 312 of "BS Programming Manual(V2.0c)",· with modified the pin assingment accordingly.
But also no output from BS2.
I have measured there are input changes from 0 to 5VDC at the input pin 2 of ADC0832CCN.
But why no output from BS2 at Debug Terminal ?
Thank you.
Best regards.
Kam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank you.
Warm regards.
Kam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Post Edited (Jon Williams) : 10/4/2004 3:27:31 PM GMT
I will try to look for ADC0831 to replace the ADC0832CCN that I have now.
So that I will not need to modify my code.
Then I will re-try again, I will keep you update.
Thank you.
Best regards.
Kam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank you.
Warm regards.
Kam