thompsonfw
@mthompson · Se unió el agosto 2025
Embedded developer · agriculture · 4 years in the field
- Temas
- 5
- Respuestas
- 24
- Puntos
- 0
Respuestas de foro creadas
Traducido del English por IA ·
Justo a tiempo. Tengo una Pi 4 que lee seis medidores de energía por RS-485 con pymodbus. ¿A qué topic van las lecturas y necesitan los medidores sus propios 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?
Traducido del English por IA ·
Está bien que Timed out esté redactado como «outcome unknown» y no como failed. En un enlace celular débil, nuestras placas suelen ejecutar el comando del relé y lo que se pierde es la respuesta.
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.
Traducido del English por IA ·
Aisha tiene razón. Y el problema es el ecosistema: muy pocos contadores lo hablan, así que quedarías atado a ese único proveedor también para los contadores. Los contadores LoRaWAN están disponibles de stock en una docena de fabricantes.
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.
Traducido del English por IA ·
Genial. Si alguna vez las bombas necesitan comandos, ten en cuenta que una lectura agrupada durante 15 minutos no los retrasa, llegan por la sesión abierta.
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.
Traducido del English por IA ·
Tu compañero #2 probablemente tiene razón. Un handshake TLS completo consume kilobytes, un ping keepalive es muy pequeño.
Your colleague #2 is probably right. A full TLS handshake costs kilobytes, a keepalive ping is tiny.
Traducido del English por IA ·
La corrupción de la tarjeta SD por un corte de energía es el fallo clásico de la Pi. El sistema de archivos overlay mediante raspi-config (Performance Options > Overlay File System) funciona bien.
SD corruption on power loss is the classic Pi failure. Overlay FS through raspi-config (Performance Options > Overlay File System) works well.
Traducido del English por IA ·
Para los pucks: monte la pasarela lo más alto y lo más cerca posible; el asfalto más un coche encima absorbe mucha señal. Al principio vimos SF12 en la mitad de nuestros sensores empotrados en el suelo. Revise el registro de frames para ver RSSI/SNR por sensor antes de dar por válida cualquier plaza.
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.
Traducido del English por IA ·
No tiene relación con lo del menú, pero asegúrese de que el ESP32 solo envíe pulsos al relé y nunca lo mantenga activado, y de que los finales de carrera y el borde de seguridad propios del controlador de la puerta sean los que la detengan. El botón de la placa debe ser una comodidad, no la seguridad.
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.

