HillCruiser
10 W
- Joined
- Jan 19, 2022
- Messages
- 81
I have a grin tripwire switch that I want to wire in parallel to one ebike controller and two arduino nanos.
The tripwire has two wires (no V+) that must be signal and ground.
So when I hook them into the controller I think there will be controller voltage on the signal wire.
If so, I'll need to pass the signal through a 5v to 3.3v level shifter before attaching to the nano's digital input pin.
In this case, when the tripwire is pulled the voltage on the nano's pin would go to zero, indicating a motor cutoff.
Am I thinking straight on this?
The tripwire has two wires (no V+) that must be signal and ground.
So when I hook them into the controller I think there will be controller voltage on the signal wire.
If so, I'll need to pass the signal through a 5v to 3.3v level shifter before attaching to the nano's digital input pin.
In this case, when the tripwire is pulled the voltage on the nano's pin would go to zero, indicating a motor cutoff.
Am I thinking straight on this?