Difference between revisions of "TrigBoardMotion"

From Kevin Darrah Wiki
Jump to: navigation, search
 
(15 intermediate revisions by the same user not shown)
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 within a room.  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 pretty low, so with a 1000mAh battery or so, you can expect very long battery life.   
+
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.   
 +
 
 +
[[File:Screen Shot 2019-01-22 at 6.52.12 PM.png|800px]]
 +
 
 +
= Tutorial =
 +
 
 +
{{#evt:
 +
service=youtube
 +
|id=https://youtu.be/cVELBk86tO8
 +
|dimensions=560x315
 +
}}
  
 
= Parts needed =
 
= Parts needed =
Line 7: Line 17:
 
* 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
 
* 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
  
* 10uF capacitor - any would work that you have lying around.   
+
* 1uF and 10uF capacitor - any would work that you have lying around.   
 +
 
 +
* Ferrite - Surface Mount:  HF30ACB321611-T, Through-Hole: 28L0138-50R-10
  
 
* [[trigBoard]] & battery
 
* [[trigBoard]] & battery
Line 15: Line 27:
 
'''trigBoard Setup'''
 
'''trigBoard Setup'''
  
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.  
+
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]]
 
[[File:PIRtrigBoardjumps.png|400px]]
  
'''PIR Setup'''
+
'''PIR Setup and Connections'''
 
 
The PIR Sensor will need a 10uF 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'''
+
Fixed the false positive issue:
  
The PIR sensor has three pins:
+
{{#evt:
 +
service=youtube
 +
|id=https://youtu.be/ONMOkGluXnk
 +
|dimensions=560x315
 +
}}
  
+ goes to VBAT
+
[[File:PIRfilter.png|800px]]
- goes to GND
 
Out goes to PIR Output
 
  
[[File:Screen Shot 2019-01-22 at 6.49.40 PM.png|400px]]
+
[[File:trigBoardPIRdiag.png|800px]]

Latest revision as of 15:28, 5 April 2019

...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.

Screen Shot 2019-01-22 at 6.52.12 PM.png

Tutorial

Parts needed

  • 1uF and 10uF capacitor - any would work that you have lying around.
  • Ferrite - Surface Mount: HF30ACB321611-T, Through-Hole: 28L0138-50R-10

Installation

trigBoard Setup

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.

PIRtrigBoardjumps.png

PIR Setup and Connections

Fixed the false positive issue:

PIRfilter.png

TrigBoardPIRdiag.png