Documente Academic
Documente Profesional
Documente Cultură
html
Jump to:
Circuit Diagram
Firmware
Software
Video
Help
What is it?
The serial servo controller, or SSC, is my design for interfacing
hobby servos with a computer using RS232 communications (USB serial adapters should also work, but untested as of yet). The
design is based around a PIC microcontroller running an interrupt
based code. The RS232 to TTL serial communications are handled
by a MAX232 convertor IC.
The controller can be used to, test servos, control robotics projects,
remote surveillance and anything else you can think of!
Upto 8 Individual Servo Channels are currently supported.
Examples:
- Walking robots, arm/head actuation
- Remote control over IP! It's possible to have the program running
on a host computer and connectting to that computer via the
Internet or Lan and use "Remote Desktop" to control the SSC
through Servo Commander or Olly's Servo Controller. This has been
tested by me using a palmtop running pocket pc 2003se connected
remotely to my computer which is running the program (below),
controlling the SSC! It would be possible to control the SSC from
anywhere in the world using this system.
Click to enlarge
Click to enlarge (do not make pcb from this, use version in zip file)
PCB Files:
File formats are for Easy PC 7 and AutoCAD (and others). High resolution JPG's
are also provided.
PCB version 1.3 - Fixed major problem with pcb and DSUB 9 socket, scaled
images so that they can be printed directly out and replaced 12V regulator with
2x 5V regs.
A revised PCB picture can be found HERE (use this version instead of the
original pcb below due to an error in the layout of the 9 Pin D Sub,
includes pin functions)
Download original pcb Zipped files HERE (this version includes the old 9
pin D sub PCB files, if you have problems obtaining the old style, please
adapt the PCB files using the above revised image as required)
The copyright text is not to be removed from these files.
(Additional Parts)
- 12V-18V Power Supply, must be capable of a least 3 Amp!!
- Heatsinks for regulators, they get very hot with multiple servos
attached.
- Serial 9 pin extension cable (optional but probably needed)
Cost without additional parts: ~5
Construction:
- Gather the parts
- Study the diagram and ask on the Forum if you don't understand
anything!
- Build the circuit on your chosen medium, take your time and be
careful with the contruction
- Insert the PIC microcontroller into your programmer (I personally
use the flawless Veleman PIC programmer K8048 with ICSP), Load
the HEX into your programming software and program the PIC
- Insert the PIC into your circuit
- Take a break!
- Power up the circuit, with current limitter set to on, on your
power supply if possible. Make sure there are no problems (current
draw with no servos should be under 100mA).
- Connect the SSC to your computer and either use the free Servo
Commander software or Olly's Servo Controller software to
experiment with your new Servo Controller.
Firmware for the SSC:
The firmware for the microcontroller is pre-assembled for the
PIC16F627,628,628a and 84. Other's are possible, email me to let
me know.
Download HEX file here:
SSC Firmware v1.0 for PIC16F627
PC Interface Software:
Olly's Servo Controller:
Current Version: v1.20
Changes since v1.00:
-fixed recalling profiles not being loaded properly
-added Draw Pad feature, small screen form fix and graphical layout
-loop function added to recorded servo motion playback
-Solved a problem with the servo reverse function and implemented some minor changes
-added speech output function, positions of servos can be spoken as angle or number
-added servo range limiting, servos can be restricted to only move within a certain range
- Joystick buttons can now be defined to either playback a pre recorded movements file or move a servo to
a desired position
- Servo timer functions and program looks have been altered to be more efficient
- Added webcam function, OSC Camera
Price: Free!!!!
I have recently made this program free for private use, if you
require a version for corporate use, please contact me.
This program has taken a long time to contruct, it is far more
complex than the Servo Commander version (with well over 10000
lines of code!). I will be regularly updating this program with new
features. If you have any suggestions for additional functions,
please email me.
Features:
- Easy to use slider controls
- Servo center adjustments
- Servo channel reversing
- Joystick Control over 1 to 8 channels simultaneously
- Joystick button control over servo positions or playback a pre
recorded movements files
- Save/Load profiles
Mini Mode
"DrawPad" mode
Control your servo axis by simply mouse dragging a virtual joystick
OSC Camera
Control your servos as you view the live webcam feed! Useful for
animatronics or remote viewing of the servo effected output.
Video:
Or download below
Features:
- Smaller form size for small desktop resolutions (800x600)