Donate Gallery Join our Frequently Asked |
Experimental Joystick and Motor Controller BoardFigure 1. Joystick Motor Controller
WARNINGS and ADVISORIESThis is an experimental prototype electronics board, which has not been fully tested or evaluated for safety. The design is maintained as a collaborative effort by volunteers, and is constantly evolving. It may have software or hardware bugs. Use at your own risk.If you plan to use this device to control the motors, make sure that the wheel chair is operated away from dangerous locations such as stairs, water, roadways,sidewalks, or other un-level locations where the wheelchair could fall, in the event that the controller board loses control. An adult should always be present when the wheelchair is used with this controller board. Please note that we are a small group of volunteers, and can not provide much technical support. If you are not technically savvy you may need to find someone who is who can help you. Ordering InfoFigure 2. JOY-MOTOR-CTRL-KIT: Includes Joystick Motor Control board, Joystick with Joystick PCB Board, 3D Joystick enclosure, Power Switch, Ethernet cable, Battery and Motor Wires.
OverviewWe are using the Joystick and Motor Controller Board as the brains of the wheelchair that members of our foundation have collaboratively designed. It is under continual development, and we hope to further refine it over time. All documentation for the board including schematics, assembly drawings and software is provided here so that you can build your own from scratch and make modifications, or you can purchase a unit form our website. Purchases of this experimental motor controller board help fund The Wheelchair Foundation. Newer models have a It is comprised of an H-Bridge PWM motor driver and microcontroller with software. It will read a 2 axis Joystick and convert those readings into appropriate motor movements. It has a USB port which can be used to update board settings such as the maximum speed, and to upgrade the firmware. It has 5 diagnostic LEDs, 4 of which indicate motor activity, and 1 which indicates a heart beat for indicating that the board is powered and operational. The kit also includes a joystick board, which is soldered on to the joystick terminals. This board has an Ethernet plug, so you merely need to plug in the included Ethernet cable, and then wire the other end of the cable to the terminal blocks of the controller board. The power switch is also plugged into the joystick board. You will need to solder this board to the joystick. We now include a black joystick enclosure in this kit. The joystick enclosure is a 3D printed part. You can use the supplied part, or print your own if you want it in a different color or finish. You can download the 3D STL file if you want to print it yourself: JoystickEnclosure.stl Speed ControlThere is a speed control knob on the latest version of the board. This can be turned to adjust the maximum speed of the chair. This should be set to a lower speed at first, and then as the child gets used to the chair, can be increased. On older version of the board, this maximum speed is set through the USB port. Assembly InstructionsThe controller board has 3 terminal blocks that are used to connect wires to the other electrical components:
You can open the and close the terminal block terminals with a small flat head screw driver. Turning the screw clockwise will open the terminal, and counter clockwise will close the terminal. If you are in doubt as to the position of pin 1 on a terminal block look at the back of the board, and you will see that pin 1 has a square ring around the hole. The board has text next to each of the terminals indicating the wire color and function of the terminal. Left and right motors are referenced to the child's left and right if he/she where sitting in the chair. Connect all of the terminal blocks using the following tables:
Figure 3. Joystick PCB Board Follow these steps to wire up and verify the joystick and motor controller board:
Configuration Via USB PortThe controller board has a USB2.0 port which can be used to update motor settings, and firmware. When using the USB port remove all power and wires to it. Connect it through a USB hub to your computer. A serial communications program must be used to access the board. While the board will work with most any serial communications program, we recommend Termie for Windows. If you are having difficulties, get it working with Termie first, then switch to your desired program. When you plug a USB Comm device into your computer it will randomly assign a comm port number. To determine which comm port the device has been assigned to do the following:
Now that you have the correct comm port number for the device, you can setup Termie:
With the exception of the COM Port, your Termie settings should look like the following screen shot:
Diagnostic (Heart Beat ) LEDThe controller board has several LEDs: four of which indicate the directions of the motor, and 1 which is a diagnostic LED. When the board is correctly powered, the diagnostic LED should blink at a rate of about once per second. When there is an error condition, it will blink about 5 times per second. The diagnostic LED will blink rapidly at 5 times per second under the following conditions:
TroubleshootingTo trouble shoot you will need a low cost multimeter, which you can get from a hardware store, or www.amazon.com.
The diagnostic LED keeps blinking rapidly indicating an error state.
Firmware Upgrades Via USB PortThe controller can be updated with the latest firmware via the USB port, by downloading a executable file, using our update console program utility. This will be posted later when we have a firmware upgrade that we want to distribute. If you want to develop your own custom code for the board see the software section below. Detailed Design DocumentationSince our design is completely open, if you are curious and have good engineering skills you are welcome to look at our detailed design documentation. This will be beyond the skill level of the average wheel chair user. 3D Printed PartsThe joystick enclosure is 3D printed. The kit contains a black enclosure. You can download and print your own enclosure in any color you desire from this link: JoystickEnclosure.STL |
The Open Wheelchair hardware design is licensed under CERN Open Hardware Licence v1.2 and the Software is licensed under the GNU General Public License Version 3. By viewing or using the design posted on this website you are agreeing to these licenses. To view the license see our license page.
© Copyright 2024 Open Wheelchair Foundation. All rights Reserved.
|