Log in

View Full Version : Pic Basic has a analogue to digital converter



Isotope
- 14th June 2015, 09:01
Is it possible to use a Pic Basic has a analogue to digital converter or has a interface.

For example reading a voltage from 0 to 5 volts so it can be converted into digital by the Pic Basic and fed into the USB of a computer.


Thanks heaps.

Heckler
- 14th June 2015, 16:36
Yes, a PIC and PICbasic can easily do that.

Have you worked with PIC's before?
Have you tried the usual "blink an LED" for starters to learn pic's??

Isotope
- 15th June 2015, 10:43
Yes I have used a Pic before, only the basics.

Heckler
- 15th June 2015, 15:05
Do you already have a PIC chip model in mind??
Are you targeting a specific pin count or just wanting to experiment with A/D?

As far as feeding the A/D value to a PC via USB, I have not done that (others here have I'm sure) but you could easily write that value to an LCD or other display or feed it to a PC via serial.

Some more specifics on what your overall goal is might help.

Isotope
- 16th June 2015, 09:27
Any Pic chip would do and just any number of pins would be fine.

Thanks

Acetronics2
- 16th June 2015, 11:34
a look here :
http://www.picbasic.co.uk/forum/content.php?r=172-USBDemo-something-to-learn-USB-a-little-bit

Alain