-
Notifications
You must be signed in to change notification settings - Fork 983
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
How to use a middle resting pot for gas and brake? #529
Comments
I am guessing i am very stupid and thats the reason i dont get any answers from you electronic/coding guys! :-) #define DUAL_INPUTS // ADC*(Primary) + Sideboard_R(Auxiliary). Uncomment this to use Dual-inputs |
Actually i thought i had. But since i am stupid beyond belief i think i should again. I was trying to trick the software to think two normal pots was in use. But i see now i could use middle pot (2) to get this, but i need to think about the values i guess. Thank you. I will try again, and again! :-) |
The autocalibration will handle it. Now try this with adc variant and let me know if it's OK. Best option would be to use skateboard variant, but you would need to do non standard changes in config.h as this variant is meant to be used with pwm input. |
Dude! :) Thanks for answering! |
This happens with auto calibration? |
Yes. But maybe i was sloppy and didnt erase the memory like i should. It seems to save values now. |
That's what you would get with the skateboard variant.
By this:
and then autocalibrate. But I never did this before and I haven't played with the firmware for at least a year. So I am not 100% sure. |
Ok. I thought i would get this with hovercar aswell. Since i need both wheels i thought that would be the way to go. But i will try this for sure. Truly grateful for your help. I will try this and report back! Thanks. |
Hovercar uses 2 separate inputs for throttle and brake |
Ah. Got it. |
Well. I tried. Both rotations on the middle pot now turns both wheels the same way. Freewheeling works. But no braking. Maybe i forgot something. I will check the code again. |
But since i use both INPUT1 and INPUT2 i should connect the middle resting pot to both? Right? Doesnt seem to matter tho. I cant get braking it seems. |
You are only using one pot right? Le 5 janv. 2025 22:23, L1mp4 ***@***.***> a écrit :
But since i use both INPUT1 and INPUT2 i should connect the middle resting pot to both? Right?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
I am using one pot yes. And connected the output to both inputs. Green and blue. But i cant get braking to work. |
Are you sure it's the skateboard variant you are using ? |
Yes. But i am sure i have made something wrong. :-/ |
These have nothing to do with this, right? Seems more like an autobrake or so. // Extra functionality |
I will try again. And make it clean. MAybe i screwed up. |
Nah. Same result. I can spin the motors one way with one direction but when they spin, if i turn the other way they increase speed. Altho "the other way" does not seem to start the motors. Question. Might this be hardware related? Say i need to switch the hall-cables? No? |
Variant
HOVERCAR
Control type
Commutation
Control mode
Torque
Description
Hi! I have tried to finding this answer in the wiki and on other places on the web. But i cant get this right. I want to use the Hovecar to use two motors simultaneously. Although i am building a scooter with a large two motor wheel in the back. I am trying to use a singel pot, middle resting (5Kohm), to use one turn direction for gas and the opposit direction to brake. I dont know how to set up the firmware or the hardware for this. Is there anyone who can help? Is it at all possible? I cant read code that well. :-) Thanks.
The text was updated successfully, but these errors were encountered: