lynchlab
@aoife_l22 · Se unió el abril 2025
Engineering student · university
- Temas
- 15
- Respuestas
- 79
- Puntos
- 0
Respuestas de foro creadas
Traducido del English por IA ·
Cambié el humidificador a humedad absoluta con un mínimo de 60 s de encendido/apagado y lleva estable 3 horas: temperatura dentro de 0,3 C, HR dentro de 2 %. Con todo en un mismo gráfico también pude ver que la niebla afectaba la temperatura unos 20 s después de que humid_on pasara a 1, y eso fue directo al informe. Mi supervisor quiere, por supuesto, la versión con punto de rocío a continuación.
Switched the humidifier to absolute humidity with a 60 s minimum on/off and it’s been flat for 3 hours: temp within 0.3 C, RH within 2 %. With everything on one chart I could also see the mist hit the temperature about 20 s after humid_on went to 1, which went straight into the report. My supervisor wants the dew point version next, of course.
Traducido del English por IA ·
Qué bueno saberlo, que la opción del dongle funciona; mucho menos arriesgada que mi idea del 0402.
Good to know the dongle way works, much less risky than my 0402 idea.
Traducido del English por IA ·
Encontré un adaptador AX88772 cajón del laboratorio, eth0 se levantó en el primer arranque, las lecturas llegan cada minuto. La idea del HEC está oficialmente muerta, gracias por ahorrarme la tarde.
Found an AX88772 adapter in the lab drawer, eth0 came up on first boot, readings arriving every minute. The HEC idea is officially dead, thanks for saving me the afternoon.
Traducido del English por IA ·
Lo probé, la temperatura baja cada vez que el calentador espera y empeora.
I tried that, the temperature sags every time the heater waits and it’s worse.
Traducido del English por IA ·
Entonces, con el modo gadget, la Zero aparece como una tarjeta de red para el portátil, y el portátil enruta el tráfico para ella? Eso significa que el portátil tiene que estar encendido todo el tiempo?
so with gadget mode the Zero looks like a network card to the laptop and the laptop routes for it? that means the laptop has to stay on all the time
Traducido del English por IA ·
Hay guías para algunas placas en las que se mueve una pequeña pieza 0402 para llevar la señal de radio a un conector externo. No estoy seguro de que la Pi 3 tenga siquiera ese pad, yo lo comprobaría antes de calentar nada.
There are guides for some boards where you move a tiny 0402 part to route the radio to an external connector. Not sure the Pi 3 even has that pad though, I’d check before heating anything.
Traducido del English por IA ·
¿O los sacamos del binario y los escribimos en la NVS en el banco? Así también queda una sola imagen para los 60.
Or keep them out of the binary and write them to NVS at the bench? Then it’s one image for all 60 too.
Traducido del English por IA ·
¿Por qué tipo S en lugar de K a esa temperatura? ¿Es solo deriva?
why S type rather than K at that temperature? is it just drift?
Traducido del English por IA ·
Me encontré con algo casi igual en una Pi 4 de laboratorio con dos placas de termopar. Nunca llegué al fondo del lado del kernel, así que no puedo decirte si es un error del controlador. Pero spi5 usa GPIO12 a 15, y GPIO14/15 también son los pines UART que usa tu consola, así que con enable_uart=1 dos overlays se disputan los mismos pines. Eso solo ya basta para que no me fíe de esa configuración.Lo que hice, y lo volvería a hacer: no necesitas dos buses para dos MAX31865. Son dispositivos SPI con su propio chip select, así que ambos van en SPI0 con CE0 y CE1:
# /boot/firmware/config.txt
dtparam=spi=on
# elimina las líneas spi4-1cs y spi5-1cs
Cableado: SCLK GPIO11, MOSI GPIO10, MISO GPIO9 compartidos por ambas placas. CS de la placa 1 a CE0 (GPIO8), CS de la placa 2 a CE1 (GPIO7). En CircuitPython / Blinka eso es digitalio.DigitalInOut(board.CE0) y board.CE1 como pines CS. El MAX31865 funciona bien a 1 MHz, y el bus compartido no está ni cerca de saturarse leyendo dos temperaturas cada pocos segundos.Mantén la configuración de PT100 (2/3/4 hilos) de cada placa como estaba, o tus lecturas variarán unos grados y alguien abrirá un ticket sobre la caldera.
I ran into nearly the same thing on a lab Pi 4 with two thermocouple boards. I never got to the bottom of the kernel side, so I can’t tell you whether it’s a driver bug. But spi5 sits on GPIO12 to 15, and GPIO14/15 are also the UART pins your console is using, so with enable_uart=1 two overlays are fighting over the same pins. That alone is enough for me not to trust the setup.
What I did, and I’d do it again: you don’t need two buses for two MAX31865s. They are SPI devices with their own chip select, so both sit on SPI0 with CE0 and CE1:
# /boot/firmware/config.txt
dtparam=spi=on
# remove the spi4-1cs and spi5-1cs lines
Wiring: SCLK GPIO11, MOSI GPIO10, MISO GPIO9 shared by both boards. CS of board 1 to CE0 (GPIO8), board 2 to CE1 (GPIO7). In CircuitPython / Blinka that’s digitalio.DigitalInOut(board.CE0) and board.CE1 as the CS pins. The MAX31865 is happy at 1 MHz, the shared bus is nowhere near busy reading two temperatures every few seconds.
Keep the PT100 config (2/3/4 wire) the same as it was per board, otherwise your readings shift by a few degrees and someone will open a ticket about the boiler.
Traducido del English por IA ·
¿Por qué el entrenamiento es mucho peor que la ejecución? ¿No son las mismas matemáticas?
Why is training so much worse than running it? Isn’t it the same maths?
Traducido del English por IA ·
Pedí un splitter af de 2,4 A y lleva funcionando 9 días. Throttled estaba en 0x50005 el primer día con un cable de parcheo plano de 15 m; lo cambié por Cat6 adecuado y desde entonces está en 0x0. Añadí la clave undervolt y los retardos de gateway/children offline como indicaste.
Ordered a 2.4 A af splitter and it’s been up 9 days. Throttled was 0x50005 on the first day with a 15 m flat patch cable, swapped it for proper Cat6 and it’s 0x0 since. Added the undervolt key and the gateway/children offline delays like you said.
Traducido del English por IA ·
Sí, era eso 🤦 Moví dos cables y aparecieron las dos direcciones (0x10 y 0x77). El script funcionó a la primera y las cuatro teclas ya están en mi placa. Lección aprendida: los números de pin físicos y los números GPIO no son lo mismo
yep that was it 🤦 moved two wires and both addresses popped up (0x10 and 0x77). Script ran first try and the four keys are on my board now. lesson learned: physical pin numbers and GPIO numbers are not the same thing
Traducido del English por IA ·
…Me guié por los números impresos en mi cable breakout, que creo que son números GPIO. ¿Entonces GPIO3 y GPIO5?
…I went by the numbers printed on my breakout cable, which I think are GPIO numbers. So GPIO3 and GPIO5?
Traducido del English por IA ·
Hice la misma configuración de bomba para un proyecto de la universidad y me afectaron los dos problemas.Relé: muévelo al GPIO 26 o 27, que se mantienen en silencio durante el arranque. La mayoría de estos módulos azules son active LOW, así que establece el nivel antes de cambiar el pin a salida, o si no obtendrás igualmente un pulso corto:
digitalWrite(26, HIGH); // relay off for an active-low module
pinMode(26, OUTPUT);
Quita también el jumper JD-VCC y alimenta la bobina del relé desde su propio 5 V, manteniendo solo VCC/IN/GND desde el ESP. Una bobina alimentada desde el 5 V USB del ESP puede provocar una caída de tensión cuando se activa.Placa: el interruptor muestra lo que asocias como su estado actual. Haz que el firmware informe {"pump_state": 1} después de cambiar realmente, y asocia el campo Current state de la tarjeta Switch a pump_state. Entonces la tarjeta mostrará el estado que reporte el dispositivo cuando llegue, no el que se pulsó. Deja activado «Disable the control when The reading is old» (es el valor predeterminado) y marca también «The state is unknown», para que nadie pueda cambiarlo mientras el ESP esté desconectado. Mantén activado «Ask before running» para una bomba, que también es el valor predeterminado. Ajustes de la tarjeta: Control cards
I did the same pump setup for a uni project, both issues bit me.
Relay: move it to GPIO 26 or 27, they stay quiet through boot. Most of these blue modules are active LOW, so set the level before switching the pin to output, otherwise you get a short pulse anyway:
digitalWrite(26, HIGH); // relay off for an active-low module
pinMode(26, OUTPUT);
Also take the JD-VCC jumper off and feed the relay coil from its own 5 V, keep only VCC/IN/GND from the ESP. A coil on the ESP’s USB 5 V can brown it out when it pulls in.
Board: the switch shows what you bind as its current state. Have the firmware report {"pump_state": 1} after it actually switched, and bind the Switch card’s Current state slot to pump_state. The card then shows the device’s reported state once it arrives, not what was clicked. Leave «Disable the control when The reading is old» on (it’s the default), and also tick «The state is unknown», so nobody can flip it while the ESP is offline. Keep «Ask before running» on for a pump, that’s the default too. Card settings: Control cards
Traducido del English por IA ·
Esa es una respuesta mucho mejor para mi supervisor que «rediseñarlo». El modelo de pasarela que están considerando cuenta pulsos, así que la bomba va directamente y el nivel y el flotador pasan por un módulo de E/S. Además, voy a citar esto en mi ensayo sobre BEAM: reflejo analógico más una caja que habla.
That’s a much better answer for my supervisor than «redesign it». The gateway model they’re looking at counts pulses, so the pump goes straight in and the level and float go through an I/O module. Also going to quote this in my BEAM essay, analog reflex plus a box that talks.

