thompsonfw
@mthompson · Mitglied seit August 2025
Embedded developer · agriculture · 4 years in the field
- Themen
- 5
- Antworten
- 24
- Punkte
- 0
Erstellte Forenantworten
Von English mit KI übersetzt ·
Perfektes Timing. Ich habe einen Pi 4, der sechs Energiezähler über RS-485 mit pymodbus ausliest. Auf welches Topic gehen die Messwerte, und brauchen die Zähler jeweils eigene Tokens?
Perfect timing. I have a Pi 4 reading six energy meters over RS-485 with pymodbus. Which topic do the readings go to, and do the meters need their own tokens?
Von English mit KI übersetzt ·
Gut, dass Timed out als „outcome unknown“ formuliert ist und nicht als failed. Bei einer schwachen Mobilfunkverbindung führen unsere Boards den Relais-Befehl oft aus, und genau die Antwort geht dann verloren.
Good that Timed out is worded as „outcome unknown“ and not as failed. On a weak cell link our boards often run the relay command and the reply is what gets lost.
Von English mit KI übersetzt ·
Aisha hat recht. Der Haken ist das Ökosystem: Nur sehr wenige Zähler sprechen es, daher wären Sie auch bei den Zählern an genau einen Hersteller gebunden. LoRaWAN-Zähler gibt es dagegen von einem Dutzend Herstellern ab Lager.
Aisha’s right. And the catch is the ecosystem: very few meters speak it, so you’d be tied to that one vendor for the meters too. LoRaWAN meters are on the shelf from a dozen makers.
Von English mit KI übersetzt ·
Gut. Falls die Pumpen jemals Befehle benötigen, bedenkt: Ein über 15 Minuten gebündelter Messwert verzögert diese nicht, sie kommen über die offene Sitzung.
Nice. If the pumps ever need commands, keep in mind a reading batched for 15 minutes doesn’t delay those, they come down the open session.
Von English mit KI übersetzt ·
Ihr Kollege #2 hat wahrscheinlich recht. Ein vollständiger TLS-Handshake kostet Kilobytes, ein Keepalive-Ping ist winzig.
Your colleague #2 is probably right. A full TLS handshake costs kilobytes, a keepalive ping is tiny.
Von English mit KI übersetzt ·
SD-Karten-Beschädigung bei Stromausfall ist der klassische Pi-Fehler. Das Overlay-Dateisystem über raspi-config (Performance Options > Overlay File System) funktioniert gut.
SD corruption on power loss is the classic Pi failure. Overlay FS through raspi-config (Performance Options > Overlay File System) works well.
Von English mit KI übersetzt ·
Zu den Pucks: Montieren Sie das Gateway so hoch und so nah wie möglich. Asphalt plus ein darauf stehendes Auto schluckt viel Signal. Anfangs sahen wir bei der Hälfte unserer im Boden verbauten Sensoren SF12. Prüfen Sie das Frames-Log auf RSSI/SNR pro Sensor, bevor Sie einen Parkplatz abnehmen.
For the pucks: mount the gateway high and as close as you can, asphalt plus a car on top eats a lot of signal. We saw SF12 on half our in-ground sensors at first. Check the frames log for RSSI/SNR per sensor before you sign off any bay.
Moved to GPIO 26 with the HIGH-before-OUTPUT trick, no more click across 20 reboots. Bound the switch to pump_state and the firmware reports after switching. I had the old-reading option but not the unknown-state one, so the card was still clickable right after a restart. Both ticked now.
Ah. Any pin that stays quiet at boot?
WiFiManager does all of that for you, including custom fields on the page.
Built it last week. 2x2x0.5 shielded, auto-direction 485 modules, buck converters to 5 V at each Nano. All twelve answer at 19200 with zero CRC errors over two days. I forgot the bias resistors at first and got junk on node 11 (the far end) when the bus idled, adding them fixed it. Children show up in Hermetry as bench-01 to bench-12 under the gateway.
Could, but 12 radios and their power is more cost than a cable, and I want mains-powered nodes anyway.
That clears it up. Kept the footprints, fitting the crystal, and borrowed a NanoVNA for the matching once the enclosures arrive. The first prototype with only the 0 Ω in series already reaches the coordinator from 60 m, so the tuning should only make it better.
Von English mit KI übersetzt ·
Abgesehen vom Menüproblem: Stellen Sie sicher, dass der ESP32 das Relais nur pulsartig ansteuert und es niemals dauerhaft hält, und dass die eigenen Endschalter und die Sicherheitsleiste der Torsteuerung das Tor stoppen. Der Taster auf der Platine sollte eine Komfortfunktion sein, nicht die Sicherheitsfunktion.
Unrelated to the menu thing, but make sure the ESP32 only ever pulses and never holds the relay, and that the door controller’s own limit switches and safety edge are what stop it. The board button should be a convenience, not the safety.
Got two STM32WL modules running on a test probe. The PIC sends three AT commands per reading over its spare UART, joins OTAA fine, and moisture shows up in Hermetry through a table codec. 28 to go. Thanks.

