feketehegyi said:
casainho said:
AZUR said:
Feketehegyi and Casainho
1 - Would it be possible to have the Casainho firmware to be configured through an app on a smartphone via bluetooth?
And have, following the firmware configuration, the trip information to be displayed on an LCD3 type screen?
Could it be Casainho LCD3 working in "passive" mode or would it have to be another display to show the same functions?
Could you keep the bluetooth module and the passive display physically connected at the same time?
2 - If this environment were possible could you have the smartphone, in the pocket of a jersey, to communicate via Bluetooth with the TSDZ2 motor, with the screen off memorizing travel data?
3 - Or, in another possibility, could the smartphone also be displaying the trip data on the screen simultaneously with the display?
1. depends fully fronm Feketehegyi, it is up to him to develop the app for communicating with the Flexible OpenSource firmware.
I know that KT motor controllers use LCD + UART Bluetooth module, but seems there are different UART wires/communication for each of them. This something that no one explored yet on KT OpenSource firmware and I would be very happy if that would happen on TSDZ2... all the information of firmware is Open, so everyone can communicate with it!! Also I am available to explain and help in what I can, if other developers want to join.
1. Yes, I see now no problem why not to implement it for Casainho's OpenSource firmware as well. However I'd first finish it for factory stock firmware.
I've added a "passive" mode switch to the android app. Means it'll only listening for data from motor, not to send anything. User can switch the modus.
I think it can work that there's a bluetooth module connected to RX,TX,GND parallel to LCD and android app will be switched to "passive" only for listening.
2. Well, I'm not sure if it will recording the data with switched off screen - but will test it - as long as I'm ready with data log functionality.
Anyway it's an interesting idea - so will try to implement to work so.
3. Android app can only display what motor controller sends. If you are meaning if stock LCD's Odometer data can be displayed in app, well the answer is no. Currently the app can eg. display the GPS calculated distance.
1 - Very good
It seems the only question is whether the hw connection in parallel works.
The hypothesis of putting the android app in passive mode is a solution that allows you to simultaneously run the Casainho firmware as well as the android app.
With this solution you do not have to find another display compatible with the "parallel" mode (if the LCD3 does not work).
If possible, in a next phase (phase 2) it would be important to be able to configure the Casainho firmware with the Android App.
Power level in each level of assistance, battery voltages, current, etc.
2 - When I go hiking I use the APP Runkeeper, in walk mode, with the GPS on.
After starting the activity, I put the Sansung smartphone (SP) in my pocket.
I always have the smartphone set to turn off the screen at the end of 30s.
The application continues to run with the screen switched off and every 5 minutes the information about the distance traveled, the rhythm and time of movement, etc. is heard through the loudspeaker.
Whenever I pick up the SP, the screen is switched on and the Runkeeper shows the current values on the screen.
I put the SP back in the pocket and everything goes on as I described earlier.
In the end I get in SP and I close the activity.
The management, of turning off the screen and the Runkeeper continues to function, is done automatically by the SP.
The main problem of the SP, in this type of uses, is the duration of the battery.
For those who do activities, lasting more than 10 hours, battery capacity is a problem.
The screen running permanently spends a lot of battery life.
Therefore, it is convenient, I think, to be able to continue an activity started before, after changing the battery.
3- I think it's pretty good that the saved speed, in SP, is the GPS speed (as well as the distances).
It is much more precise than the speed of the wheel. Whenever the tire pressure varies, the speed also varies and the pressure varies with the temperature ....
Thank you for all contributions.
Azur