Hallo liebe Entwicklergemeinde,
ich mach hier mal diesen Fred auf, um die SW-Aspekte des openDrive Projekts zu diskutieren...
DS, Holger
openDrive - SW Entwurf
- starrookie
- Geschlossen
-
-
Hallo Holger,
es ist geplant auf Basis von freertos zu entwickeln.
Siehe: http://wiki.github.com/selste/openDrive/toolsErste FW-Schritte werden wohl sein:
1. Siderische Nachführung zum Laufen bekommen (Initialisierung und richtige Konfiguration der TMC428)
2. Korrekturen über ST4-Schnittstelle
3. Handbox mit LX200 über RS232 einbinden
.
.
.Geplant ist ein kl. Webserver auf der Kiste, wo man u.A. die Grundparametrierung machen kann.
Grüße
Michael -
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">Zitat:<hr height="1" noshade id="quote"><i>Original erstellt von: a_treff</i>
es ist geplant auf Basis von freertos zu entwickeln.
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
ich kenn den TMC428 und auch RTOS nicht. Aber ich führe mit einer 3 Kanal parallelport CNC-Steuerung (3d-Step) nach. Wobei ich im Moment nur 2 Kanäle belege. Läuft unter RTAI-Linux. Wenn sich das nicht zu stark von RTOS unterscheidet, können man das Timing der Nachführung, die ich inzwischen als Kernelmodul geschrieben habe, eventuell dafür benutzen.
cs
Peter
-
Hallo Peter,
dein rtai Projekt habe ich schon bewundert aber noch nicht in die Sourcen geguckt.
Das Timing soll nach dem bisherigen HW-Entwurf ein TMC428 übernehmen.
Dem Chip kann man Sachen wie Geschwindigkeit, Beschleunigung, Zielposition, etc. per SPI vorgeben
und die Rampen werden selbstständig berechnet und die Motortreiber angesteuert.Grüße
Michael -
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">Zitat:<hr height="1" noshade id="quote"><i>Original erstellt von: a_treff</i>
<br />
Geplant ist ein kl. Webserver auf der Kiste, wo man u.A. die Grundparametrierung machen kann.Grüße
Michael
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">Das ist ein wichtiger Aspekt für mich. Wenn ihr Hilfe bei der Erstellung der Webseite braucht, dann könnt ihr euch an mich wenden.
-
Hallo Michael,
die Infos über den TMC428 sind interessant. Muss ich mir mal ansehen.
Woher kann in Deutschland das Entwicklungsboard LPC-P2148 wie im Nachbarthread beschrieben beziehen?Ein gutes Library für astronomische Berechnungen und vielleicht auch für das Opendrive verwendbar ist libNOVA:
http://libnova.sourceforge.net/Ich würde es genial finden, wenn man auch das INDI-Protokoll integrieren würde. Dann hätte man gleich Netzwerkschnittstellen zu Cartes du Ceil V3/Sky Charts (Indi auch unter Windows funktionsfähig), KStars und XEphem.
An meinem RTAI-Projekt klebe ich ein wenig. Ich habe das in den letzten Wochen auf eine neue INDI-Version upgedatet und
die Nachführung und das Positionieren als Kernelmodul umgestaltet.
Die Tage bin ich auf die Idee gekommen, das ganze in einen Thin-Client reinzubasteln und hänge seit dem am portieren des Kernels
auf eine Vortex86DX CPU.Viele Grüsse
Peter
-
Hallo Peter,
das Dev-Board gibt es u.A. von hier:
http://shop.embedded-projects.…ikel&action=artikel&id=51Danke für den Tipp mit der NOVA Lib.
Wir haben mittlerweile eine Ubuntu bzw. Debian Toolchain für den ARM am laufen.
Die Freertos Geschichte wurde damit übersetzt und scheint auch zu funktionierenD.h. wir haben somit das Softwaregerüst bereits fertig, mit Features wie:
(Auszug aus dem Makefile mit den Konfigurationsschaltern)
Code
Alles anzeigen# -D CFG_CONSOLE_USB for console on USB (requires CFG_USB, CFG_USB_SER) # -D CFG_CONSOLE_UART0 for console on UART0 # -D CFG_CONSOLE_UART1 for console on UART1 instead of USB (disables GPS task, baud rate set to 115200) # -D CFG_USB to enable USB support (disables USB mass storage and console if not defined) # -D CFG_USB_SER to enable USB serial support (disabled USB console if not defined) # -D CFG_USB_MSC to enable SD/MMC as a mass storage class device over USB # -D CFG_I2C to enable I2C support (disables AT24C1024 and LM75 if not defined) # -D CFG_SPI to enable SPI support (disablee M25LC512 and uIP if not defined) # -D CFG_RTC to enable real time clock support # -D CFG_IAP to enable IAP support # -D CFG_WDT to enable watchdog functionality # -D CFG_FIQ to enable fast interrupt request functionality # -D CFG_SWI to enable SWI handling in C (asm code remains, requires CFG_LED) # -D CFG_PWM to enable pulse width modulation support # -D CFG_ABORT to eanble abort decoder and test code # -D CFG_MD to enable memory dump (needed by CFG_I2C, CFG_AT24C1024, and CFG_M25LC512) # -D CFG_MEM to enable memory toys # -D CFG_BEEP to enable beeper and tune player # -D CFG_MISC to enable port configuration display and type size # -D CFG_LED to enable LED blinking task # -D CFG_GPS to enable parsing GPS data on UART1 (disabled if CFG_CONSOLE_UART1 defined) # -D CFG_SENSORS to enable sensors task (ADC, DAC) # -D CFG_LCD to enable LCD support (edit lcd/Makefile for 4 vs 8 bit LCDs) # -D CFG_KBD to enable keyboard support (see kbd/README) # -D CFG_FATFS to enable SD/MMC FatFS support # -D CFG_UIP to enable uIP w/ ENC28J60 on SPI0 # -D CFG_TELNETD to enable telnet server under uIP # -D CFG_HTTPD to enable http server under uIP # -D CFG_SNTP to enable sntp client under uIP # -D CFG_DHCP to enable DHCP under uIP # -D CFG_AT24C1024 to enable AT24C1024 I2C EEPROM support # -D CFG_LM75 to enable LM75 I2C temperature sensor support # -D CFG_M25LC512 to enable M25LC512 SPI EEPROM support # -D CFG_INTONLY to remap printf->iprintf, sprintf->siprintf, and snprintf->sniprintf (CFG_GPS disables) # -D CFG_AUTO_UIP to automatically start uIP at reboot (ignored if not CFG_UIP) # -D CFG_AUTO_DHCP to automatically to DHCP for an address at start (ignored if not CFG_UIP, CFG_DHCP and CFG_AUTO_UIP)
.
.
.Grüße
Michael -
Hi,
wir haben mittlerweile ein Forum eingerichtet, da unsere Mailingliste zu unübersichtlich geworden ist.
http://opendrive.gizmor.org/forum/index.php
Entwickler und potentielle Nachbauer sich herzlich willkommenGrüße
Michael
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!