[ Főoldal ] [ Térburkolatok ] [ Üllői vízmű ] [ Modellezés ] [ Úszómedencék ] [ Minolta AF5000 ] [ Habvágás ] |
[ Bipolar chopper stepper driver ] [ Stepper motor for sale ] [ LCD-s léptetőmotor vezérlő ] |
I made a small standalone stepper motor controller for www.astronomycustomized.com ( István Zentai ). The following is a brief description of the device. If you own a piece of this electronics, and you have any problem with the controller you are welcome to contact me directly. If you want a modified hardware and/or firmware version for different purposes you are also welcome to contact me directly, but if you would like a piece of this hardware for your telescope please contact István Zentai first at www.astronomycustomized.com, this page is also available in hungarian.
Power requirements, motor characteristics, connections:
To ease user information, the controller is fitted with a 2 line by 8 characters backlighted dot-matrix LCD display module, to display position and other informations. The device has 4 main buttons (HS),(LS),(+),(-) and 4 number buttons (1)..(4)
Button arrangement is the following:
[ low speed, gray, ( LS ) ] [ high speed , gray, ( HS ) ] [ minus, blue, ( - ) ] [ plus, red, ( + ) ] [ one, green, ( 1 ) ] [ two, gray, ( 2 ) ] [ three, gray, ( 3 ) ] [ four, green, ( 4 ) ]
The 8 buttons has various functions during average usage, and there are some special button combination for startup only usage to ease setting to a new installation.
The buttons are software filtered against too fast state changes
The device has a microcontroller to keep track of all the movements, to stay inside telescope allowed movement range, the following features are implemented:
To make it possible to command the controller from a PC, or any other device capable of sending serial commands, it has an RS-232 communication interface.
The valid commands are
':FS#' - select slow speed ':FF#' - select fast speed ':F+#' - start movement in (+) direction ':F-#' - start movement in (-) direction ':FQ#' - stop movement
The device has two preset selectable and changeable movement speeds, high speed and low speed respectively. Use (HS) to select high speed, (LS) to select low speed, and combinations with (+) (-) to change the preset speed values ( detailes below ), to store the changed speed values into non-volatile memory ( for next session ) hold (HS)+(LS) for 2 seconds
Pushbutton functions during normal usage are the following, when 2 or 4 sec also noted you have to hold the button / button combination for the given time to select the function
Pushbutton functions of main buttons: 0 - buttons released - nothing to do, complete 1 - (+) is pushed - move to (+) with current speed if not limit switch 2 - (-) is pushed - move to (-) with current speed if not limit switch 3 - (HS) is pushed - select high speed 4 - (LS) is pushed - select low speed 5 - (HS)+(+) is pushed - adjust HS speed (+) 6 - (HS)+(-) is pushed - adjust HS speed (-) 7 - (LS)+(+) is pushed - adjust LS speed (+) 8 - (LS)+(-) is pushed - adjust LS speed (-) 9 - (HS)+(LS) is pushed, 2 sec - store HS,LS to eeprom 10 - (HS)+(LS) + (+) is pushed, 4 sec - store (+) limit 11 - (HS)+(LS) + (-) is pushed, 4 sec - store (-) limit 12 - (1)(2)(3)(4) is pushed - select stored position 1..4 13 - (HS)+(LS)+(1..4) is pushed, 4 sec - store position 1..4 14 - (HS)+(4) is pushed - standby mode 15 - (HS)+(1) is pushed - turn on/off RS232 mode
There are two special pushbutton combination of main buttons:
16 - (HS)+(2) is pushed, 4 sec - to change between normal mode and B-Mode 17 - (HS)+(3) is pushed, 1 sec - move to zero position in B-Mode, and standby
Connect the motor cord to the motor connector, connect RS-232 cable to the PC if you will perform remote controll, and finally connect the 12 V battery voltage to the power connector.
When DC power is applied, internal microcontroller powers up, but other circuitry is powered down yet. To turn on the device: push any of the buttons for a brief time. After the first sensed button push you have approximately 0.8 sec to reach desired startup button combination. In not a valid startup combination, or necessary hold time is detected, the device will power up in normal startup mode. If you hadn't succeeded to enter into desired startup mode, then you have to pull DC connector from the device and connect it once more.
Pushbutton functions during startup:
(+)+(-) is pushed, more then 2 sec - no software limit sw sense (HS) is pushed during startup, more then 2 sec - no init, no soft (HS)+(LS) is pushed, more then 2 sec - no soft,hard limits, no init (HS)+(LS)+(+)+(-) is pushed, more then 4 sec - is pushed, more then do factory reload
These special functions are to correctly setup new installations:
If the new installations requires greater movement range then permitted by default software limit switches, this can't be set during normal movement because active soft limit switches doesn't allow you to drive over range, those you can not store extended limit switch positions into non-volatile memory for future use. The device to be capable to correctly track positions, has to have a valid internal position counter. The internal position counter is valid if the device on startup seekes the hard limit switch and finds zero position. This means: to set the soft limits out of current range you have to startup the device in no soft limit switch sense mode, but with hard limit sense, and init movements, for these purpose you have to use (+)+(-), 2 sec startup button combination.
If for some reason, you don't want during startup the device to seek zero position ( init ) for example because it is too far from current position, but you know the hard limit switch is functioning correctly, you may startup with (HS), 2 sec button in no init mode. The correctly functioning hard limit switch will prevent driving off range in (-) direction, but no limit will be applied to (+) direction movements. In this mode no position information is valid, those no addressed movement will be correct. Storing positions, limit switch or addressed movement, in this mode will result faulty settings.
If you know your hard limit switch is not functioning correctly then you may startup the device in bare movement mode with (HS)+(LS), 2 sec buttons. In this mode movement is possible, but position information will not be valid, and nothing will prevent you from driving off range either (-) or (+) direction.
If you completely mess up settings, and you would like to start setup from the beginning, you may want to reload factory defaults, to achieve this hold (HS)+(LS)+(+)+(-) for more then 4 seconds during startup. These defaults are not for the given telescope but for the controller, don't expect telescope fitted factory default values. The factory reload will not change the controllers Normal / B-Mode setting.
The contrast of the LCD display is set by a small potentiometer on the bottom side of the circuit, to access this you have to unscrew the RS-232 interface connector's screws, open the enclosure, and unscrew the circuit holder nuts. This adjustment is not for everyday use, don't proceed unless it is absolutely necessary.
You may use with this controller the 8 V robotron stepper motors available from me with additional resistors.
Don't forget to check www.umatelescopes.com for telescope hardware.
You may comment this page in email, or by phone +36 (29) 351-678 in the evenings ( usually ) central european time.
[ Főoldal ] [ Térburkolatok ] [ Üllői vízmű ] [ Modellezés ] [ Úszómedencék ] [ Minolta AF5000 ] [ Habvágás ] |
[ Bipolar chopper stepper driver ] [ Stepper motor for sale ] [ LCD-s léptetőmotor vezérlő ] |