http://www.rentron.com/serial.htmOriginally Posted by KyleYankan
You will find what your looking for
Hey everyone. I have a quick question. I want to design a PIC interface with my computer. One of the things I want is to check the voltage of my battery and send red flags up if it goes too low. Now, I know of ADC (Analog-digital converters), but not how to use them. I can't find a website either. Can anyone give me a quick tutorial, schematic and code, or anything? Thanks in advance.
PIC Basic? *gag*
PICBasic? Never heard of it. I'm on my way to fireworks, il read tha ttonight though. thanks.
You should probably put a zener on the input pin just to keep it within the 5V range so it doesn't damage anything and increase those resistors for the higher volts.
Well I just read that the PIC16F877A has 8 A2D inputs, so I ordered them and a few 4.0 mhz crystals. It's too bad I can't find any C code, because that's what I was hoping to program the rest in.
That's why I decided on the 18F2455. With the guys here using it and all the source and C compilers, it was easy. I've already got driverless USB I/O going.
You can search forum.microchip.com for anything related. Something good might show up.
Kyle: I think I have some C code for the 874 (same ports as 877 I believe) which was supposed to be a 0-1.5V battery tester using one pin of the ADC. If you think it would be any use I'll dig it up and any docs that went with it.
rsd: if it's not too much trouble. IT makes me want t ogo back and get an assembly book. there's like NO c code for pics on the internet. at least any that I see.