Difference between revisions of "TrigBoardStillOn"
(→CODE) |
(→CODE) |
||
Line 21: | Line 21: | ||
= CODE = | = CODE = | ||
− | Can be downloaded [https://www.kevindarrah.com/micro/Pusher/trigBoardV7_STILLON_1_3_19.zip HERE] and note that a bin file is included in case you want to OTA program the board. See | + | Can be downloaded [https://www.kevindarrah.com/micro/Pusher/trigBoardV7_STILLON_1_3_19.zip HERE] and note that a bin file is included in case you want to OTA program the board. See here: http://www.kevindarrah.com/wiki/index.php?title=TrigBoard#Programming |
Revision as of 14:42, 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
Can be downloaded HERE and note that a bin file is included in case you want to OTA program the board. See here: http://www.kevindarrah.com/wiki/index.php?title=TrigBoard#Programming