Hello,
I'm working on a project where I need to detect someone turning a flashlight on or off.
The flashlight circuit is quite basic:
It uses a 3V battery.
I understand that I'll need to connect the negative side of the battery to the ground of the Teensy. I also assume that I'll need to set my digital pin as a pulldown rather than a pullup.
The one thing I'm not sure, given the above schematic, what spot do I need to connect to my digital pin ? Do I need more components ?
(The teensy will be powered separately from the flashlight)
Thanks !
I'm working on a project where I need to detect someone turning a flashlight on or off.
The flashlight circuit is quite basic:
It uses a 3V battery.
I understand that I'll need to connect the negative side of the battery to the ground of the Teensy. I also assume that I'll need to set my digital pin as a pulldown rather than a pullup.
The one thing I'm not sure, given the above schematic, what spot do I need to connect to my digital pin ? Do I need more components ?
(The teensy will be powered separately from the flashlight)
Thanks !