Last Change: November 23 2008 !! You use this programm to your own risk !!!!! !! It could damage your hardware! What works? - goto with KStars - slew in nannoseconds - USB-Joystick for correction RA/DEC in slew-mode (I use a 3 Button, Three Axis USB-Joystick) - Sync from KStars - simple unidirectional stepper-controller - bidirectional Stepper-Controler 3D-Step from www.nc-step.de It also works with parallel-port-stepper-controllers with following allocation: PIN 2 (D0) - Direction X PIN 3 (D1) - Clock X PIN 4 (D2) - Direction Y PIN 5 (D3) - Clock Y whats new: 23.11.2007 -- USB-Joystick-Support in Modul bidicontrol.c 07.03.2007 -- Changes in bidirectional Rtai Modul bidicontrol.c supports now Rtai 3.6 07.07.2007 -- Bugfix in calculate the Julian Date 12.11.2006 -- correction in function get_gmst (mytele.c) 22.10.2006 -- changes in bidifullstep.c to speed up the stepper motors from low speed to max speed (ramp) -- changes in mytele.c to correct the RA after a long period of goto 25.09.2006 -- changes in bidicontrol.c to optimize slewing. changes in mytele.c to optimize telescope goto 26.08.2006 -- changes in bidicontrol.c to get higher task-priority and optimize slewing, now using rt_make_hard_real_time 25.08.2006 -- After announce new version whith bidirectional stepper driver Jasem Mutlaq give me some hints to optimize: Changes in mytele.c: INumberVectorProperty eqNum = { mydev, "EQUATORIAL_COORD", "Equatorial J2000",BASIC_GROUP, IP_RW, 0, IPS_IDLE, eq, NARRAY(eq),0,0}; to INumberVectorProperty eqNum = { mydev, "EQUATORIAL_EOD_COORD", "Equatorial JNOW",BASIC_GROUP, IP_RW, 0, IPS_IDLE,eq, NARRAY(eq),0,0}; and change my wrong translation from german "Längengrad" to LATITUDE (;-)) now its corrected to LONGITUDE 24.08.2006 -- remove some unused variables in driver mytele.c correction handpad-driver in bidicontrol.c 06.08.2006 -- Changes in mytele.ini remove some (now) unneeded variables changes in bidicontrol.c for bidirectional stepper 22.07.2006 -- Now it works also with the bidirectional stepper-controller 3D-Step from www.nc-step.de 16.04.2006 -- Driver now works with INDI Library v0.4 01.10.2005 -- Driver now works with INDI Library v0.3 30.09.2005 -- Controll via handpad integrated in halfstep modul 24.06.2005 -- changes in goto after startup 05.05.2005 -- changes in fullstep-rtai-Modul Bugfix in slewing and goto. 25.04.2005 -- fullstep module now with RTAI support mytele runs now only with RTAI modules halfstep and fullstep 08.04.2005 -- Support for RTAI in halfstep-module runs with rtai-3.2-test and the Hal-Patch from fusion-0.7 (both on www.rtai.org) Kernel 2.6.10 vanilla on fedora core2 and core3 Short description: You can find a good install-discription for RTAI at http://www.rtai.dk/cgi-bin/gratiswiki.pl It also works with Ubuntu-EMC Live CD edition (rtai-magma) http://www.linuxcnc.org/iso/emc2.2.2-1-ubuntu6.06-desktop-i386.iso You must install this distribution from Live-CD an install gcc, kdeedu Download the sources mytele.tgz and the needed version halfstep and fullstep The programm fullstep and halfstep works with unipolar stepper motors. You must be root because the sources use outb() and inb() To use the bidrectional stepper controller, you need the sources from the directory bidirectional_3dstep In the ordner schemantic you can find a simple stepper controller from Enrico Gueli. The programms halfstep.c and fullstep.c works with it. The original sources for the stepperdriver you can find on "www.luberth.com". To install (as root!) download myindi.tgz. tar xvfz myindi.tgz cd myindi make edit mytele.ini to your needs halfstep for rtai: look at rtai directory from the sourcedirectory start indiserver -v mytele Now you can connect from KStars _________________mytele.ini_____________________ invert_motor_RA:0 invert_motor_DEC:1 INITIAL_RA:06.00 INITIAL_DEC:90.00 POLLMS:1000 WORM_CORRECTION_LR_RA:0.0005 WORM_CORRECTION_LR_DEC:0.0005 WORM_RATIO_RA:1467033.914 WORM_RATIO_DEC:800000 FULLSTEP_RATIO_RA:400 FULLSTEP_RATIO_DEC:400 FULLSTEP_MAXSPEED_RA:800000 FULLSTEP_MINSPEED_RA:1000000 FULLSTEP_MAXSPEED_DEC:800000 FULLSTEP_MINSPEED_DEC:800000 LATITUDE:9.960555556 neustart:0 bidirectional:1 brake:10 ______________________________________________________________ Don't change the order in mytele.ini Change motor direction: invert_motor_RA:0 invert_motor_DEC:0 set static startposition: RA hour, DEC in degree INITIAL_RA:06.00 INITIAL_DEC:90.00 Intervall for poll functions POLLMS:1000 Correction after change direction WORM_CORRECTION_LR_RA:0.05 WORM_CORRECTION_LR_DEC:0.05 How much steps you axis need for one full turn? WORM_RATIO_RA:1467033.914 WORM_RATIO_DEC:800000 How much steps did your motor need for one full turn? FULLSTEP_RATIO_RA:400 FULLSTEP_RATIO_DEC:400 Maxspeed for highest speed of one axis FULLSTEP_MAXSPEED_RA:3500000 FULLSTEP_MINSPEED_RA:4000000 FULLSTEP_MAXSPEED_DEC:3500000 FULLSTEP_MINSPEED_DEC:4000000 your latitude LONGITUDE:9.960555556 Set last Position after new start? Default 0 neustart:0 Use the bidirectinal stepper-controller: bidirectional:1 Speed up the goto: brake:10 Multiplikator for USB-Joystick-Correction in Slew mode (Correction Made with 10 x Slew-Speed) bidimultiplikator:10 _