I would like to hack a 3.3v UART controlled Self Balancing Scooter in away that it can keep old logic (control), but optionally it should be able to switch to external control data source.
The question is will the presented schema do the job if
- 3.3v Data IN - is the original source. I have no control on it.
- Switch 5.0v - is the switch to disconnect original source.
- 5.0v Data IN - is come from an Arduino UNO board and need to be logic level shifted to 3.3v
- 3.3v Data OUT - is the UART signal connected to motor control board of the hoverboard
In practice
I cut the wires between the Motor Controller and the Gyro Board.
Unfortunately I have no information about the schematics of the current circuitry.