Difference between revisions of "TrigBoardStillOn"
(→CODE) |
|||
Line 21: | Line 21: | ||
= CODE = | = CODE = | ||
− | + | http://www.kevindarrah.com/micro/pusher/trigBoardV7_STILLON_1_3_19.zip |
Revision as of 15:39, 3 January 2019
...Back to Projects:
This is a simple hack you can make to the board to check the digital input using the on-board timer. This is useful in situations where you would like to know the current state of the input, like for example "Is the garage still open?". The trigBoard's timer wakes the board up once an hour, so now with this hack, it checks to see if the input is still open. If it is, then it sends out a notification.
Parts needed
Just a standard N-Channel MOSFET is all that's needed. I used a 2N7000 for this example: https://www.digikey.com/product-detail/en/on-semiconductor/2N7000-D26Z/2N7000-D26ZCT-ND/2094402
Installation
Note, the leads were kept long in this example just to show where they hook up to more easily.
CODE
http://www.kevindarrah.com/micro/pusher/trigBoardV7_STILLON_1_3_19.zip