Shop OBEX P1 Docs P2 Docs Learn Events
How to use the A/D converter on the activity board WX — Parallax Forums

How to use the A/D converter on the activity board WX

I am testing the use of- the A/D converter- using potentiometer(pot)- the wiper is connected to the - AD input (1) and the other two terminals to 5V+ and ground.

The WX board guide says:
Use the Analog to Digital Converter to monitor the voltage at analog inputs A/D 0, 1, 2, and 3. It will give a number from 0 to 4095, which tells what the voltage is in a range from 0 to 5 volts. The converter used here is a 12-bit, 200 ksps SPI ADC, with a 5-volt supply reference.

The pins for the converter are : CS=P21,SCL=P20,DO=P19 and DI = P18.
There is no access to any of these pins(18-21)

I would like someone to show me how to read the digital out put from the A/D converter from the board using PST or LCD.

Thank you

Siri

Comments

Sign In or Register to comment.