Testing Channel

V In the BASIC Stamp Editor, update the three lines of code in the Main routine to test channel 2, as shown below.

a2dMuxId = A2dMuxId2 ' Set A/D to convert ch 2

GOSUB A2D ' Do the conversion ch2 = a2dResult ' 8-bit result into ch2

V To test the upper limit, place the 1 kQ resistor between pin 5 (CH2) and pin 1 (Vdd) of the ADC0834.

V Download the modified code, and then close the Debug Terminal.

V Bring up StampPlot, and click on the Connect button to verify the voltage on the graph, then click on Disconnect again.

V To test the lower limit, modify the circuit by moving the 1 kQ resistor so it connects pin 5 (CH2) and pin 7 (Vss) of the ADC0834.

V Re-run the modified code, and then close the Debug Terminal.

V Bring up StampPlot, click on the Connect button to view the voltage graph again, and then click on Disconnect.

DIY Battery Repair

DIY Battery Repair

You can now recondition your old batteries at home and bring them back to 100 percent of their working condition. This guide will enable you to revive All NiCd batteries regardless of brand and battery volt. It will give you the required information on how to re-energize and revive your NiCd batteries through the RVD process, charging method and charging guidelines.

Get My Free Ebook


Post a comment