Connect with us

References for PIC microcontroller programming for sensors

Discussion in 'Electronic Design' started by Shaddy Daddy, Oct 31, 2003.

Scroll to continue with content
  1. Shaddy Daddy

    Shaddy Daddy Guest

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

    Thanks!
     
  2. Luhan Monat

    Luhan Monat Guest

    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.
     
  3. John Fields

    John Fields Guest

     
  4. 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
     
  5. 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
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-