Documentation de développement
Monture Servo city Aluminum PT785-S Pan / Tilt System
Sur Mandriva 2010.2
mono UscCmd --servo 1,5000 === pour se deplacer a la position 5000 sur le port 1 du controleur pololu (axe elevation)
mono UscCmd --speed 1,5 ==== vitesse moyenne (1-10)
Utilisation de la webcam en mode manuel
Dessins techniques SBIG
Commandes de contrôle du LX200 de MEADE
Commandes émulant le handpad
haut: | :EK85# |
bas: | :EK68# |
droite: | :EK69# |
gauche: | :EK87# |
mode: | :EK9# |
enter: | :EK13# |
goto: | :EK71# |
srcup: | :EK85# |
srcdw: | :EK68# |
help: | :EK63# |
ecran | :ED# |
0: | :EK48# |
... | |
9: | :EK57# |
Autres commandes:
Stopper le mouvement | #:Q# |
mode altaz | #:AA# |
stop tracking (60.0 = 1t/24h | #:ST00.0# |
EL destination | #:Sa10*00'00# |
AZ destination | #:Sz25*00'00# |
goto | #:MA# |
Set latitude (backlash?) | #:StsDD*MM# |
Set longitude (backlash?) | #:SgDDD*MM# |
Set lunar tracking rate | #:TL# |
Set local time | #:SLHH:MM:SS# |
Set number of hours added to local time to yield UTC | #:SGsHH.H# |
Note (Propre à notre équipement): L'utilisation de la fonction #MA, sans avoir préalablement indiqué les positionnements de EL et AZ, entraînera un déplacement de 90 degrés en azimuth et la lecture de l'azimuth indiquera 360. Du moment qu'un AZ sera programmé et que #MA sera réactivé, la monture se déplacera correctement à la position et indiquera le bon degré. Surtout important à noter si le premier déplacement du programme s'effectue seulement en élévation.
GPS BU-353 usb de GlobalSat - utilisation manuelle de gpsd
- Exemple de code pour lire le gps
# une pause de 45 sec pour laisser le temps au gps de trouver ses satellites
sleep 45
gpspipe -w -n 5 > coordonnees.txt
tail -1 coordonnees.txt > toto.tmp
read bidon bidon bidon lat lon elev bidon
echo $lat $lon $elev
- Documentation http://gpsd.berlios.de/#documentation
Séquence d'initialisation du handpad
Séquences pour atteindre le mode terrestrial sur la monture (menu target) Note: Il est important de configurer la télécommande une première fois pour lui indiquer le type de télescope utilisé. Normalement, elle devrait conserver cette information à chaque redémarrage.
Première version du firmware (avant 2006) | Deuxième version (2007-) | Version 2012 |
Mode | Mode | Mode |
Mode | Mode | Mode |
Mode | Mode | Mode |
Mode | Mode | Mode |
Mode | Mode | Mode |
Enter | Down | Down |
Down | Down | Down |
Down | Down | Down |
Down | Down | Down |
Down | Down | Down |
Down | Enter | Enter |
Enter | Down | Enter |
Down | Enter | |
Enter |
Skycalc 6.1
(cette version n'est pas utilisée dans la version actuelle du système)
Utilisation de crond
- Voici une page de documentation très utile: http://fr.wikipedia.org/wiki/Crontab
- crond ne connait pas l'environnement par défaut, c'est pourquoi il faudra spécifier explicitement la position des exécutables dans un code exécuté par crond. Par ex. au lieu d'écrire grep on écrira /bin/grep
CFITSIO
Night time clear sky monitoring with a digital camera
(NOT YET IMPLEMENTED)
Giving that we have found that a CCTV camera can be used for that purpose with a CCTV camera web server, we do not need to develop this anymore.
This device is optional but can be very useful when analyzing the spectrums’ quality. The numerical camera must be able to detect the stars. We used a Canon PowerShot S30 model which exposure time can reach 15 seconds, and the ISO 800 with a F/2.8 aperture. It should be possible to use any other model instead but the remote control parameters have to be adapted. In order to determine those parameters the gphoto2 --list-config and gphoto2 --get-config=CHAINE functions can be used, where CHAINE can be for example shutterspeed. On some systems the usb devices permissions won’t let the sand user control the camera via gphoto2. It is recommended to do as root:
chmod g+w -R /proc/bus/usb
The following command can be used to download pictures every 180 seconds:
Pay attention no to exceed 300 secondes because otherwise the device will turn into a stand-by mode. Since the camera driver seems relatively unstable it would be wise to launch the observation quickly after the camera usb cable has been connected. This command is made as sand:
This command doesn’t need to be relaunched as long as the computer isn’t restarted because it runs in an infinite loop. If at the launching you get an error message you can remove the usb cable, wait 5 seconds, then reconnect the cable and wait 5 seconds again before relaunching the command.
Monitoring a webcam with fswebcam
In development
Installation
- Download fswebcam source from http://www.firestorm.cx/fswebcam/
- Open and decompress the archive
- ex.: gzip -d fswebcam-20101118.tar.gz ; tar -xvf fswebcam-20101118.tar
- Enter fswebcam directory
- ex.: cd fswebcam-20101118
- Using drakconf, install libgd2 et libgd-static-devel
- Compile the package
- ./configure --prefix=/usr
- make
- make install
To know available option for you specific webcam
- fswebcam -d /dev/video1 --list-controls
To acquire an image
- fswebcam -d /dev/video1 --png 0 -s brightness=255 -D 1.5 --save filename.jpg