-
Notifications
You must be signed in to change notification settings - Fork 4
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
ADC control: Best way to use speed and steer #14
Comments
hi @bshowket, |
You are right. I want to drive the wheel individually based on gyro, GPS and external encoder input for more precise control which all take place in Arduino due. My programming skill is not great but willing to give it a try on my spare time. as far as I understand it would be taken out calculation from the code and maybe use Rx1& rx2 for speed and tx1 for the direction. This how still be able to use serial debug on tx2 pin. Can you point me where the speed to output to wheel take place? Thanks anyway. |
from the machine protocol, you should be able to read position to ~6mm (resolution of hall). But you may be better thinking about why we can't achieve this with the position drive. |
@btsimonh how does one use software serial, where to you wire it if you keep both sensor boards? |
I was lucky with my YST board, as some usable pins were obvious (see pictures ). |
I want to use pwm from Arduino due to control speed and digital IO to control direction for each wheel. I understand I have to modify the code to suits. But before jumping in to code, i was wondering if there any solution already implemented?
The text was updated successfully, but these errors were encountered: