1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Pir sensor and micro

Discussion in 'AVR' started by ommsend, Oct 5, 2013.

  1. ommsend

    ommsend New Member

    Joined:
    Oct 5, 2013
    Messages:
    3
    Likes:
    0
    hi everybody

    I'm new to microcontrollers.

    i want to interface PIR sensor with micro AVR or PIC.

    my question is that how the program can be written for the purpose of displaying INTENSITY of sensor's detection by a number (0-255 or ...)?

    which micro is suitable for this project?

    thanks

    excuse me becuase of my languge!
     
  2. georgetwo

    georgetwo Member

    Joined:
    Jul 30, 2009
    Messages:
    197
    Likes:
    8
    Location:
    DELTA state Nigeria
    there are more than one pir sensors around. can you post a picture or link?
     
    • Like Like x 1
  3. Mike odom

    Mike odom Active Member

    Joined:
    Feb 21, 2010
    Messages:
    670
    Likes:
    52
    Location:
    Kansas City, KS, U.S.A.
    Most PIR sensors I've worked with only have a hi/lo output (low when triggered). If you have one that gives an analog output, you'll have to identify it for us to help you.
    You could, however, change the display for how long it's staying activated.
     
    • Like Like x 1
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Mike odom

    Mike odom Active Member

    Joined:
    Feb 21, 2010
    Messages:
    670
    Likes:
    52
    Location:
    Kansas City, KS, U.S.A.

    ... and...
    you can use either a PIC or an AVR, depends on your preference. Each have a variety of micros that you can chose from. Before we can help you pick a micro, you'll have to give us more about your sensor and how you intend to use it.
     
    • Like Like x 1
  6. ommsend

    ommsend New Member

    Joined:
    Oct 5, 2013
    Messages:
    3
    Likes:
    0
    thanks a lot- this is the sensor:
    http://roboeq.ir/files/id/657/name/0404011.pdf
    i understood that the output is logic, but now how the program could be for this purpose?
     
  7. georgetwo

    georgetwo Member

    Joined:
    Jul 30, 2009
    Messages:
    197
    Likes:
    8
    Location:
    DELTA state Nigeria
    • Like Like x 1
  8. ommsend

    ommsend New Member

    Joined:
    Oct 5, 2013
    Messages:
    3
    Likes:
    0
    thanks a lot friend.
     

Share This Page