-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About the pedal can't be used #5
Comments
Use a translator. For example: https://www.deepl.com/de/translator It is not possible that wheels are spinning after poweron. First it checks if both potis are on 0 position. If potis are non 0, it waits for them to get 0. Then it enables the motors and makes di-di sound. On first poweron you have to calibrate the potis: So press and hold power-button for ~10 sec, until it beeps. Then move both potis and wait for another beep. It now should have saved min and max positions for both potis in eeprom. |
@larsmm How can I contact you? |
Make a video and show the problem. |
2e62276e9a5154f00f87b017604326d4.mp4 |
a830355b630841e8a7225648b86f9065.mp4 |
@larsmm I don't know why, but my car is ready. This question has been bothering me for a long time |
@larsmmI have a good suggestion. I'll give you my BIN file to try, and you give me your bin file to try (the 36 lithium battery I use). |
In version 1.100301.220327 of toolchain-gccarmnoneeabi package the adcs switched positions. In version 1.90301.200702 it is working like expected. There must be a serious problem in the code. It is fixed in my newest commit. Please test again. |
@larsmm #define ADC_MARGIN still not working I've tweaked everything between 30 and 200 and my head is exploding |
Can you calibrate it automatically @larsmm |
你用什么社交软件 @larsmm |
What social media do you use @larsmm |
I did an update. Please try again. Please show debug output after calibrating. Use ADC_Margin 100 for now. Does it make a difference to end the calibration by short pressing power button? |
@larsmm It still doesn't work. |
EFeru |
Please post the serial debug output: You will get lines like: in1 and in2 are the raw adc values of your pedals. Post values for not pressed and fully pressed for both pedals please. How much noise is there on min and max positions? If my firmware powers off too fast, use emanuels firmware. |
There's a brake problem in third gear |
Unable to calibrate the pedal, the tire rotates automatically after turning on. Continue to Didi, my English level is too low, I do not know if you can understand
The text was updated successfully, but these errors were encountered: