Testing Your Servo Board (WE Bots Members Only) - WE-Bots/ServoControl GitHub Wiki
-
Plug the board into a usb port on the computer. If the computer has never had this board on it before you may need to install “CDM 2.04.16.exe “ from FTDI.
-
The blue LED near the FDTI chip (solder side large ship) should blink. The computer should be installing USB drivers. Left click “My Computer” - “Manage” – “Device Manager” - “Ports” there should be a “USB Serial Port(COM##)” . If everything is install correctly. Remember the Com number for further testing.
-
Set up a power supply to 5 volts and < 0.2 amps. Plug your board into power supply, outside pin is + 5 volt and middle pin is ground. The blue LED by the 5 pin header should be lit. If not or the power supply collapse, unplug quickly, check for shorts or parts are in backwards.
-
Have your board programmed with the latest code.
-
Plug a servo into 3 pin header marked “JP1”, making sure yellow (or orange) wire is closest to optoisolator (middle of board). Plug your board into power and into computer’s USB port. Run “ServoContoller.exe” program on, windows, computer. Set communications to:
- Baud Rate - 9600
- Data Bits - 8
- Parity - None
- Stop Bits – 1
- Flow Control – None
- Com Port – to the COM number from testing 2
- Click “Open” button
- Go to “Servo Board” tab
-
All Servo LEDs should be lit. If not trouble shoot the optoisolator section. Possible causes are LED in backwards, optoisolator in backwards or more likely pins are not soldered down correctly, 3 pin header not solder down correctly and servo plugged in backwards.
-
Set “Servo 1” edit box to 5, press it’s “Play” button. The servo should move to one extreme. Even if it doesn’t put 96 into “Servo 1” edit box and press it’s “Play” button. The servo should move to the opposite extreme.
-
Move the servo to “JP2” and do test step 6 again with “Servo 2” group. Continue through all 12 servo positions.
-
Take note of any servo positions that don’ t work. Possible causes are optoisolator pins are not soldered down correctly, 3 pin header not solder down correctly and servo plugged in backwards.
-
If all work well congratulations you now have a great board to help make walking Robots.