Difference between revisions of "TrigBoardStillOn"
(→Installation) |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
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. | 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. | ||
+ | |||
+ | {{#evt: | ||
+ | service=youtube | ||
+ | |id=https://youtu.be/NCG78lckmWw | ||
+ | |dimensions=560x315 | ||
+ | }} | ||
+ | |||
+ | {{#evt: | ||
+ | service=youtube | ||
+ | |id=https://youtu.be/ziOJC-0o5uc | ||
+ | |dimensions=560x315 | ||
+ | }} | ||
= Parts needed = | = Parts needed = | ||
Line 14: | Line 26: | ||
[[File:Screen Shot 2019-01-03 at 4.00.37 PM.png|400px]] | [[File:Screen Shot 2019-01-03 at 4.00.37 PM.png|400px]] | ||
+ | |||
+ | [[File:Screen Shot 2019-01-03 at 4.26.55 PM.png|400px]] | ||
+ | |||
+ | [[File:Screen Shot 2019-01-03 at 4.26.33 PM.png|400px]] | ||
+ | |||
+ | = 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 here: http://www.kevindarrah.com/wiki/index.php?title=TrigBoard#Programming |
Latest revision as of 15:46, 5 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