|
Re: non-'FRC legal' control systems?
Quote:
Originally Posted by Otaku
My senior project involves motors and I'm already somewhat familiar with robot control systems, but if I can't get permission to use an old IFI FRC control system for my project, I'll need to figure out how to take the values from the two pots in a joystick and turn them into PWM signals. And as cheaply as possible.
Essentially, I need to build a system that will be light, cheap, effective and robust for use in a wheelchair I am designing and building that is based off of some of 675's previous chassis designs.
|
Simply put: "Arduino"
$35 and you are good to go. All you need to do then is learn a little coding for the FREE Development environment. That's right, FREE!!
The code to convert analog to PWM is EASY!!
10 bit A/D gives values from 0 -1024.
Set the dig out high, wait 1 millisecond + wait a number of microseconds equal to the digital value read from the pot, set the dig out low. Repeat every 20 milliseconds.
This is just a rough outline and may require a little tweaking, but it works. I know, I already did it.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
|