Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - ADC

(you are viewing a thread; or go back to list of threads)

ADC (by Odong)
i use atmega8. i want to read adc and send it to my computer using serial comunication. but the value of adc always 1023 although input to pin adc was change. thank
Fri May 24 2013, 03:54:40
(no subject) (by David R)
Can you post the code.ld
Regards
David
Fri May 24 2013, 04:42:19
(no subject) (by Odong)
thank for reply david
Fri May 24 2013, 05:27:14, download attachment Nyoba Serial.ld
(no subject) (by David R)
hi, there is nothing in the code that will do that.
i have done some changes to the code that you can look at.

you don't need to pulse the adc.

I would check that you have connected the adc ref and gnd pins correctly.

Regards
David.
Sun May 26 2013, 05:52:00, download attachment NyobaSerial.ld
(no subject) (by Odon)
thank you david, i forget connect areff to avcc,thank you make my code be simple
Tue May 28 2013, 03:19:54
Read ADC from LM35 (by Tin)
Dear David
I use PIC 16f877
Can you guide me the ways, connect and write code from LM35.
Program:
If temperature higher 24 degrees C, then fan run.
and below it fan off.

Regards
Tin

"Before you print think about paper made by woods"
Mon Jul 1 2013, 07:03:45, download attachment read adc from lm35.ld
adc , sample program's (by saravanan - india)
sir

have a nice day

I use pic 16f877

can you guide me the ways, ( ladder logic )

program:

input 0 to 10 volt

out put o to 10 volt

set 5 volt

thanking you
saravanan.s
Thu Jul 4 2013, 13:24:22
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):