Testing the AD Converters Upper Limit Channel

V Disconnect power to your BASIC Stamp module.

V Next, add a 1 kQ resistor between pin 3 (CH0) and pin 1 (Vdd) of the ADC0834 as shown in Figure 1-8 and Figure 1-9. This will apply +5 VDC to the CH0 input channel.

V Restore power to your BASIC Stamp module.

V Save and run the "hacked" code.

1 kQ

ADC0834

ADC0834

1 kQ

Figure 1-8

Testing The A/D

Converter's Upper Limit Schematic

Figure 1-8

Testing The A/D

Converter's Upper Limit Schematic

Figure 1-9

Testing The A/D Converter's Upper Limit Wiring Diagram

Figure 1-9

Testing The A/D Converter's Upper Limit Wiring Diagram

V Restore power to your BASIC Stamp module. (From here on we will assume you are in the habit of disconnecting power before altering circuits, and of course reconnecting power before using them!)

V Run the program ADCtest.bs2.

V Close the BASIC Stamp Editor's Debug Terminal so StampPlot can use the COM port.

V Bring up the StampPlot screen.

V Click on the Connect icon making sure that the Plot icon to the right is also selected.

You should now see the plot line marching across the screen at the 5-VDC level.

Solar Power

Solar Power

Start Saving On Your Electricity Bills Using The Power of the Sun And Other Natural Resources!

Get My Free Ebook


Post a comment