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 - analogue uart

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

analogue uart (by Juan)
Hi Jonathan,

Is it possible to send a scaled analogue value via the "formatted string over uart" command?
Wed Dec 9 2009, 03:51:31
(no subject) (by Ilie)
See that.
Wed Dec 9 2009, 11:12:21, download attachment Imput analogic trimis pe serial.ld
(no subject) (by Jonathan Westhues)
The attached example reads an analog voltage using the ADC. It then scales the value to units of 10 mV, assuming a 5 V reference. This would correspond to absolute temperature in Kelvin, if you were using a sensor like the LM235. It then prints the resulting value to the serial port as ASCII text.
Wed Dec 9 2009, 23:46:47, download attachment serout.ld
(no subject) (by Juan)
Thanks Jonathan.
Thu Dec 10 2009, 02:01:07
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):