====== SCD - ScriptingCommandDispatcher ====== [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [ [[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/websites | WebSites]] [[http://www.openhardsoftware.de/mediawiki | MediaWiki]] [[http://www.openhardsoftware.de/nextcloud | NextCloud]] ] ===== Definitionen ===== Projekt-Kürzel: **SCD** \\ Projekt-Header: **ScriptingCommandDispatcher** \\ ==== Abkürzungen ==== * MC : MicroController * MP : MicroPython * PC : PersonalComputer * Command : Text (drei Zeichen) (Beispiel: MPA) * Parameter : Text (1..Nc Zeichen) mit Argument eines Commands * CommandLine : Textzeile mit Command und Np-Parametern, Trennung: ' ' , Abschluss: '\r\n' * LFS : LocalFileSystem * CFS : SDCard-FileSystem ===== Vorraussetzungen ===== ==== Hardware ==== * MicroController mit installiertem MicroPython-Image * typisch Esp32UnoBoard, Esp32NanoBoard mit Interfaces Uart, Wlan, Lan, Bt * Stm32F407Board mit Interfaces Uart, Lan ==== Software ==== * MicroPython (für MC, hier Esp32UnoBoard) * VisualStudioCode/PyMakr oder Thonny (auf PC) zur Programmierung der MP-Scripts * Anaconda/Spyder (auf PC) zur Programmierung der PC-SCD-Software (GUIs, CLs) ===== Abstract ===== Das Projekt SCD ermöglicht über einen Command-Dispatcher * den Upload/Verwaltung von MP-Scripts (reine Texte!) vom PC zum MC über Wlan oder Uart * die Abarbeitung einzelner MP-Commands (ohne Compiler) * die Abarbeitung von MP-Scripts (ohne Compiler) Die SCD-Software wird auf einer geeigneten SCD-Hardware installiert (Esp32/Stm32F407). \\ Wegen der Script-Verarbeitung ist SCD nicht für Echtzeitprozesse geeignet. \\ Das SCD-Board verfügt über mindestens ein Uart-Interface zur Kommunikation mit weiteren Echtzeit-Prozessoren. \\ Scripting : Upload / Download / Execute von MicroPython-Scripts für den Esp32. \\ Die Script-Execution erfolgt im MultiTasking parallel zu allen anderen Threads. \\ ===== Übersicht ===== ===== zukünftige Aufgaben ===== [[:project:SCD_ScriptingCommandDispatcher:scd-scriptingcommanddispatcher-futuredo | SCD-ScriptingCommandDispatcher: FutureDo]] ==== ScriptingCommandDispatcher: Basis-Version ==== [[:project:SCD_ScriptingCommandDispatcher:scd-scriptingcommanddispatcher-tiny | SCD-ScriptingCommandDispatcher: Tiny]] ==== SCD-ScriptingCommandDispatcher: Finale Version ==== [[:project:SCD_ScriptingCommandDispatcher:scd-scriptingcommanddispatcher-pro | SCD-ScriptingCommandDispatcher: Pro]] ----- [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [ [[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/websites | WebSites]] [[http://www.openhardsoftware.de/mediawiki | MediaWiki]] [[http://www.openhardsoftware.de/nextcloud | NextCloud]] ]