|
|
Line 1: |
Line 1: |
| ...Back to [[Projects:]] | | ...Back to [[Projects:]] |
| | | |
− | Low power PIR sensors can be tricky to get right - here's a way to get a push notification any time motion is detected. Since the trigBoard uses less than 1uA of standby current, we need to find a PIR sensor that uses very little current, especially because these sensors need to be "always on". I found one that pulls 10-12uA, so this is a perfect fit for this... plus they're pretty inexpensive. That amount current is still low, so with a 1000mAh battery or so, you can expect very long battery life.
| + | An FSR (Force Sensitive Resistor) is a near paper thin sensor that changes its resistance based on the pressure applied to it. The inspiration for this project was to see if the trigBoard could be "woken up" if someone stepped onto a welcome mat. |
| | | |
− | [[File:Screen Shot 2019-01-22 at 6.52.12 PM.png|800px]]
| |
| | | |
| = Tutorial = | | = Tutorial = |
| | | |
− | '''UPDATE 1/24/19''' after a few days of testing, I'm not a huge fan of these PIR modules. I get quite a few false-positives... like it just goes off on its own with nobody around. The other thing I noticed is that it can be sensitive to RF radiation. I extended the wires out to about 12" or so and that seems to help a lot. Before, I noticed every once and a while it would end up in a never-ending cycle sending notifications. Stay tuned... I'm going to continue to try other PIR sensors.
| |
− |
| |
− | {{#evt:
| |
− | service=youtube
| |
− | |id=https://youtu.be/cVELBk86tO8
| |
− | |dimensions=560x315
| |
− | }}
| |
| | | |
| = Parts needed = | | = Parts needed = |
| | | |
− | * PIR Sensor based on the AM312: https://www.amazon.com/gp/product/B07GJDJV63/ref=ppx_yo_dt_b_asin_title_o00__o00_s00?ie=UTF8&psc=1 | + | * FSR Sensor - I'm using [https://www.amazon.com/gp/product/B075MSKNRR/ref=ppx_yo_dt_b_asin_title_o04__o00_s00?ie=UTF8&psc=1 this one] |
| | | |
− | * 1uF capacitor - any would work that you have lying around. | + | * PNP Transistor - I'm using a standard 2N3906 |
| | | |
| * [[trigBoard]] & battery | | * [[trigBoard]] & battery |
Line 25: |
Line 17: |
| = Installation = | | = Installation = |
| | | |
− | '''trigBoard Setup'''
| + | [[File:FSRdiagram.png|800px]] |
− | | |
− | Cut the top "NC" jumpers as well as the small trace under above the jumper to the right. Also, fill in the bottom "NO" jumpers with solder. '''BE CAREFUL''' cutting the jumpers! It is very easy to slip with the blade and cut more traces than you intended.
| |
− | | |
− | [[File:PIRtrigBoardjumps.png|400px]]
| |
− | | |
− | '''PIR Setup'''
| |
− | | |
− | The PIR Sensor will need a 1uF capacitor soldered across the Output to GND - check polarity and make sure the capacitor's negative lead connects to ground:
| |
− | | |
− | [[File:Screen Shot 2019-01-22 at 6.47.18 PM.png|400px]]
| |
− | | |
− | '''Wiring'''
| |
− | | |
− | The PIR sensor has three pins:
| |
− | | |
− | + goes to VBAT
| |
− | | |
− | - goes to GND
| |
− | | |
− | Out goes to PIR Output
| |
− | | |
− | You can choose the locations that are easiest to connect to:
| |
− | | |
− | [[File:Screen Shot 2019-01-22 at 6.49.40 PM.png|1000px]] | |
An FSR (Force Sensitive Resistor) is a near paper thin sensor that changes its resistance based on the pressure applied to it. The inspiration for this project was to see if the trigBoard could be "woken up" if someone stepped onto a welcome mat.