|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#4
|
|||
|
|||
|
Re: Custom Driver Stations
Quote:
Part of the exercise during the summer was to design a custom Arduino Shield which had the interface to 16 buttons, 4 potentiometers and a LCD display for debugging. The students enjoyed the process of unpacking the package from the factory in China w/the custom shields w/our team name on it that did just what we wanted, and soldering the shift registers/resistors and other components on the board - and each student got one to work with. For our driver, in addition to a standard off-the-shelf 3D USB joystick for our mecanum drive, we added 4 dedicated buttons arranged in a circle for the driver to perform an "auto-rotate" to 0, 90, 180 and 270 degrees. To strafe in a straight line, the driver simply held down the "auto-rotate to 0 degrees" button while strafing. These buttons are the big arcade-style buttons they sell on Sparkfun for a few dollars each. That, in addition to our Field-centric drive system provided a lot of driving control. Then for our "gizmo" operator, we dedicated 6 toggle switches for control of the pneumatic system. We initially thought of using push-buttons, but realized after some testing that a toggle switch was much more intuitive. The operator got good enough to manage multiple switches with a single hand. [NOTE: we also learned that in autonomous mode the robot can receive the state of all the switches, we didn't know that before because we'd never tried toggle switches previously. That allowed us to do some creative modifications to the way the robot behaved in our autonomous programs.] We also bought a big red LED-lit "FIRE" button from Sparkfun - but we didn't get a chance to use that this year. ![]() Once the drivers realized they could move buttons and switches around wherever they wanted, it really encouraged some creativity and refinement that helped the driving team be very involved, efficient and reliable. And a few very clever mentors figured out how to get the enclosure to fold up into a box shape w/the laptop nestled inside, so it was very easy to carry from the pits to the field. Next year we want to add a rotary switch for the autonomous program selector, which should be more simple (and more reliable) than the "SendableChooser" in the Smart Dashboard they currently use to select their chosen autonomous program. Because there are some potentiometers to work with, we may put a camera pan/tilt servo control on the panel, or perhaps something that steers a turret, depending on the game. Now we've built the groundwork and experience to be able to customize the panel for the different challenges we expect to face in the future. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|