Anzeige Simon is an open-source printed circuit board by makerspace-wi, from the makerspace-wi/SimonProject repository on GitHub. It is a 2-layer board of 50 × 37 mm with 25 parts on 30 nets, routed with 171 tracks and 28 vias.
It is built around the PCF8574P, 74HC688D and SFH617A-3. Its parts include 8 resistors, 5 connectors and 3 ICs.
I2C-Transfer von Byte-Werten an 3 Slave-Adressen (ADTrans)
Projektziel
Dieses Projekt stellt mit einem ESP32 einen lokalen Access Point bereit. Ueber HTTP-Endpoints koennen Anzeigeinhalte gesetzt oder geloescht werden. Die Ausgabe an die Fallblattmodule erfolgt seriell im Format:
Das Projekt ist fuer die aktuelle ESP32-PlatformIO-Umgebung ausgelegt.
Bei Problemen zuerst Build lokal pruefen und die Werte in platformio.ini kontrollieren.
OMEGA-Modul über RS485 ansteuern
Das OMEGA-Modul hängt an Serial1 (RS485, Pins 26/27, 19200 Baud, 8N1). Du hast bereits die Funktion module2SetPosition(), die den Befehl 0xC0 (Set Position) sendet. Diese kannst du für das OMEGA-Modul verwenden – aber mit der richtigen Adresse deines OMEGA-Moduls.
Statt:
cpp
setflip(logoadress, betreiber);
schreibst du:
cpp
// Betreiber an OMEGA-Modul über RS485 senden
// MODULE2_DIRECT_ADDR muss die tatsächliche Adresse des OMEGA-Moduls sein
module2SetPosition(static_cast<uint8_t>(MODULE2_DIRECT_ADDR), static_cast<uint8_t>(betreiber & 0xFF));
Super einfach, wir machen es Schritt für Schritt.
Das Tool ist ein kleines Programm, das über die serielle RS485-Schnittstelle Befehle an Module mit Adresse 0 bis 255 sendet.
Siehe auch: README.md
Was das Tool macht
Es sendet immer ein Telegramm im Format: BREAK + FF + COMMAND + ADDR + optionale Daten.
Du gibst an:
Port, Command, und Zieladresse(n).
Zieladressen können sein:
eine Adresse, ein Bereich oder alle 0..255.
Einmalige Einrichtung
Terminal im Projekt öffnen und in den Ordner wechseln:
cd "/Users/dieter/Documents/PlatformIO/Projects/Simon Project/omega-rs485-tool"
Laufendes Python-Skript stoppen
Im Terminal, in dem das Tool läuft: Control + C
Erst dadurch wird die serielle Verbindung geschlossen.
Virtuelle Umgebung verlassen
Befehl: deactivate
Falls Port trotzdem noch blockiert ist
Prüfen, welcher Prozess den Port hält:
lsof | grep cu.usbserial
Dann den betreffenden Prozess beenden:
kill -9 PID
Kurz gesagt:
Für den Port ist vor allem Control + C wichtig.
deactivate beendet nur die venv, nicht automatisch ein laufendes Skript.
It measures 50 × 37 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Anzeige Simon use?
25 parts, built around the PCF8574P, 74HC688D and SFH617A-3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Anzeige Simon KiCad files?
From the makerspace-wi/SimonProject repository on GitHub, at the commit this page was made from: the board is doc/Anzeige_Simon10/Anzeige_Simon.kicad_pcb and its schematic doc/Anzeige_Simon10/Anzeige_Simon.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Anzeige Simon design in my own project?
Its repository states no licence, so its author keeps all rights: ask makerspace-wi before reusing the design.
NgSpice Digital Twin of a complete off-grid solar power system: H-Bridge inverter (220V/50Hz, PI control, electro-thermal IGBT modeling) and 4kW MPPT boost converter (UC3843 analog control, KCL summing node, gate drive…
PCB boards for energy optimalization device. Contactors control for power switching with full optical isolation. Multiple current measurments made with current transformers.