Maker Pro
Maker Pro

References for PIC microcontroller programming for sensors

S

Shaddy Daddy

Jan 1, 1970
0
Does anyone have any references for PIC microcontroller programming
for sensors (ie such applications as light detection /laser detection)

Thanks!
 
L

Luhan Monat

Jan 1, 1970
0
Shaddy said:
Does anyone have any references for PIC microcontroller programming
for sensors (ie such applications as light detection /laser detection)

Thanks!

Shaddy,

Sounds like a no-brainer to me. Just connect the sensor to an
appropriate load resistance and feed an a/d input on the pic. You
should find lots of reference listings for using the a/d on Microchips
website.
 
J

John Fields

Jan 1, 1970
0
Shaddy,

Sounds like a no-brainer to me. Just connect the sensor to an
appropriate load resistance and feed an a/d input on the pic. You
should find lots of reference listings for using the a/d on Microchips
website.
 
R

Robert Monsen

Jan 1, 1970
0
Its output is a square wave, so instead of the A/D, I'd put the timer into
'counter' mode, use the timer input pin to count ticks for some interval,
and then read out the result from the timer register. Alternately, a
frequency to voltage converter IC would work to transform its output into an
analog voltage, so you could use the A/D.

I'm guessing you were just pointing out the limitations of using the A/D for
every sensor job.

I agree.

Regards,
Bob Monsen
 
W

Wouter van Ooijen

Jan 1, 1970
0
How would you connect something like a TI TSL245 to a PIC's ADC input?

It has a frequency output, so I'd google for 'pic frequency meter'.


Wouter van Ooijen

-- ------------------------------------
http://www.voti.nl
PICmicro chips, programmers, consulting
 
Top