PIR (motion) sensors in the shop!

Pirsensor Lrg
Pirsensorback Lrg
PIR sensors are used to detect motion from pets/humanoids from about 20 feet away (possibly works on zombies, not guaranteed). Usually this sensor comes with a straight 3-pin header soldered on. This makes it annoying to use because its is not easy to plug into a breadboard and you can’t solder wires in. So we requested to leave it off and include a 3-pin right-angle header instead which you can solder in for breadboard use or skip and use wires. Runs on 3.3-6V. Digital signal output is high/low. In the shop now, $10 !


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NEW PRODUCT – Half Height / Low Profile MX-Compatible Key Switches – 12 pack – Outemu GTMX

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Diving into the Raspberry Pi RP2350, Python Survey Results and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — IoT Vulnerability Disclosure, Decorative Dorm Lights, and more!

Maker Business – Adafruit Daily — A look at Boeing’s supply chain and manufacturing process

Electronics – Adafruit Daily — Function Generator Outputs

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



7 Comments

  1. I’m currently building a wildlife camera trap for a nature museum using the Parallax version of this sensor. but I believe it functions identically. It is very easy to hookup and get functioning with a few lines of code. Depending on the size/IR strength of the target, the sensor has a range upwards of 40ft- ymmv. The datasheet also says to give the sensor up to a min to calibrate, but I have found 5-10 seconds after powering up the unit, and no motion in its field of view, that it has settled and works fine.

    Its definitly a fun little sensor.

  2. Can you adjust the sensitivity? I’ve been hacking the commercial motion sensors for light fixtures because they’re adjustable. This would be smaller and much easier to work with…

  3. I found this for the Parallax PIR sensor module:
    http://www.neufeld.newton.ks.us/electronics/?p=208
    I suspect the IC onboard which does the signal amplification and TTL conversion can be modified in a similar fashion. Or, you could build the whole circuit yourself with the D203B module this board is built around.

    But the beauty of this board is that it’s all put together for you.
    You could play around with shaping the field of view and your program code to create levels of sensitivity based on duration of detected motion.

  4. Thanks for that tutorial! The lens is fixed, so you cant change the range or sweep. Unfortunately this sensor seems to be one of the only ones that is easily available for microcontroller hacking. I wish there was better but the factory was not very receptive to improvements 🙁

  5. Did you mean “easily available for microcontroller hacking” or “not easily available for microcontroller hacking”? I ask because the statement makes more sense with a “not”, but I thought I should ask. Funny how one word can mean so much to a statement. 🙂

  6. i do mean, this is one of the easier ones. most require 9-12V. this one is 3-5V logic. that is unfortunate because i wish more (better) sensors were microcontroller-compatible

  7. This sensor is digital. If you need adjustable sensitivity you could create a formula that only would trigger if say the last 3 of 10 readings came up positive. Therefore disregarding rogue positives.

Sorry, the comment form is closed at this time.