TrigBoardStillOn

From Kevin Darrah Wiki
Jump to: navigation, search

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

Screen Shot 2019-01-03 at 4.01.09 PM.png

Screen Shot 2019-01-03 at 4.00.37 PM.png

Screen Shot 2019-01-03 at 4.26.55 PM.png

Screen Shot 2019-01-03 at 4.26.33 PM.png

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