Open derekclawson opened 3 months ago
Hi @derekclawson. This is a great idea!
I pushed a first shot in the branch feature/setup_throttle. It's not as good as what you describe as it requires to update the code and rebuild, but still a good start.
It exposes a new page, setup.html
It shows the current/min/max values that can be used to update
power_wheel.c
34. #define MIN_THROTTLE_VALUE 1.0f // v
35. #define MAX_THROTTLE_VALUE 2.6f // v
The button "Turn on setup mode" disables the motor, so the car doesn't move when testing
What's missing is an "override values" button which would save those straight in the car. However, this is sensitive as setting min with the wrong value would make the car drive without pressing the pedal. A wizard like you describe seems the safest option, but takes time to implement
@DavidBertet Thanks for your quick response! I was thinking about this and the process is very similar to setting up a VESC input from https://vesc-project.com/ and their app. (I know this is a different class of app, but it's what i've used) I have setup many electric longboards with this app and when I setup the input, it runs through a wizard that captures the min and max values from cycling the input 3 or 4 times.
I appreciate you creating this project! It is much cheaper than purchasing a VESC and works great! Here is a picture of the put together project. I'm using a 20v harbor freight battery with no problems so far... everything functions perfectly.
@DavidBertet Thanks for your quick response! I was thinking about this and the process is very similar to setting up a VESC input from https://vesc-project.com/ and their app. (I know this is a different class of app, but it's what i've used) I have setup many electric longboards with this app and when I setup the input, it runs through a wizard that captures the min and max values from cycling the input 3 or 4 times.
I appreciate you creating this project! It is much cheaper than purchasing a VESC and works great! Here is a picture of the put together project. I'm using a 20v harbor freight battery with no problems so far... everything functions perfectly.
Nice setup! Any chance you want to share the STL for that board? :-)
Nice setup! Any chance you want to share the STL for that board? :-)
@joroosen I can do that. It was hard to get: PowerJeep..zip
Nice setup! Any chance you want to share the STL for that board? :-)
@joroosen I can do that. It was hard to get: PowerJeep..zip
Thanks m8!
Any chance you got a version for 2 motor drivers? IF you would like to share the raw gcode I'm happy to add a mount for the 2nd motor driver myself (and ofcourse I will mention your name when sharing :-) ).
I will also design a box that will fit this frame (also including your name as you designed the frame for it, ofcourse :-) )
Nice setup! Any chance you want to share the STL for that board? :-)
@joroosen I can do that. It was hard to get: PowerJeep..zip
Thanks m8!
Any chance you got a version for 2 motor drivers? IF you would like to share the raw gcode I'm happy to add a mount for the 2nd motor driver myself (and ofcourse I will mention your name when sharing :-) ).
I will also design a box that will fit this frame (also including your name as you designed the frame for it, ofcourse :-) )
I do not have a 2 driver version. I used the existing one and used 2 screw holes to hold both controllers in place on the same mount.
My first prototype of the full stack with 2 motor drivers :-)
Also some room to place connectors for future addons
@joroosen It looks great! I'm not running any breadboards in my build... does this allow for mounting without them? Also, would you be able to post and STL for this as well?
@joroosen It looks great! I'm not running any breadboards in my build... does this allow for mounting without them? Also, would you be able to post and STL for this as well?
Thank you! My design fits everything except for the ESP32. For this, you'll need a solder breadboard (although the ESP32 isn't directly soldered onto the breadboard; I'm using through-hole connectors).
There's an additional solder breadboard included for potential future add-ons, but it's not essential.
I'll be more than happy to share the STL once it's fully prepared! :-)
how to i access this setup page? I dont see any buttons for setup on the screen after connecting.
Hello, I was wondering if you could build a "calibration mode" where you press a button in the web interface and it prompts you to not touch the pedal, captures its value, then it prompts you to press the gas pedal all the way in and press a button again to complete the calibration. It's been difficult to figure out what value aligns with my particular pedal and a wizard in the web interface would be amazing!