famichiki said:
casainho said:
For the ones that are installing our OpenSource firmware and discarding the VLCD5 remote button, save it! I hope soon everyone can reuse it to make a wireless remote button that will work to control the wireless TSDZ2 as also the GPS unit as I am doing here:
1. How does the VLCD5 remote output the button signal, is it a different resistance for each button?
The idea is to have the buttons of VLCD5 remote to connect on a small wireless board. Each button state will be sent using standard wireless protocol for remote control buttons. Doing this, it works as seen on the video and my GPS cycling computer detects the buttons press.
The small wireless board implements both ANT+ and Bluetooth, as needed. It will use a small coin cell. Here the schematic (note that the brakes sensor connection is not tested yet, may be to slow or not the communication for brakes):
And my setup for now, with flash debug pins of STLinkV2 wired as also external power supply instead of the coin cell:
famichiki said:
2. What are you using for the input to the controller, the throttle input or something else?
3. Can the brake input be repurposed to read analog signals or any other way to get an additional analog input?
I don't understand well your questions... but maybe you are missing the information of this project.
There will be another wireless board that will connect to TSDZ2 motor. This board will implement the standard o wireless EBike meaning any GPS cycling computer will be able to connect to it - I have it working now, I am using for testing my Garmin Edge cycling computer, see here a testing I did:
I got the motor voltage / power for TSDZ2 being turned on and off when I change the EBike assist level to 0, on my GPS cycling computer:
[youtube]P9KJfSMeXSI[/youtube]
And a picture of my current board (yes, I am always using the same wireless board as the main board). The big blue board converts the battery voltage of 24V ~ 52V to 5V to power the wireless board. What is missing is the UART TX and RX to the TSDZ2 motor, I did not tested that yet: