Nouveau : le pare-feu IA surveille toute la plateforme et explique chaque incident en termes simples. Découvrez comment ça marche

Aoife Lynch

lynchlab

@aoife_l22 · Membre depuis avril 2025

Nouveau

Engineering student · university

Sujets
15
Réponses
79
Points
0
Nouveau10 points pour Membre

Toutes mes réponses sur les forums

15 sujets de 16 à 30 (sur un total de 79)

Traduit de English par IA ·

J’ai passé l’humidificateur en humidité absolue avec une durée minimale de marche/arrêt de 60 s, et c’est stable depuis 3 heures : température à 0,3 C près, HR à 2 % près. Avec tout sur un même graphique, j’ai aussi pu voir la brume faire monter la température environ 20 s après le passage de humid_on à 1, ce qui est directement allé dans le rapport. Mon superviseur veut bien sûr la version point de rosée ensuite.

Timestamps in UTC or it didn't happen.
♥ 0

Traduit de English par IA ·

J’ai trouvé un adaptateur AX88772 dans le tiroir du labo, eth0 est monté au premier démarrage, les mesures arrivent toutes les minutes. L’idée HEC est officiellement morte, merci de m’avoir évité l’après-midi.

Timestamps in UTC or it didn't happen.
♥ 0

Traduit de English par IA ·

Donc, en mode gadget, le Zero apparaît comme une carte réseau pour l’ordinateur portable, et l’ordinateur portable fait office de routeur pour lui ? Cela signifie que l’ordinateur portable doit rester allumé en permanence ?

Timestamps in UTC or it didn't happen.
♥ 0

Traduit de English par IA ·

Il existe des guides pour certaines cartes où l’on déplace un minuscule composant 0402 afin de router le signal radio vers un connecteur externe. Je ne suis pas sûr que le Pi 3 possède même ce pad, je vérifierais avant de chauffer quoi que ce soit.

Timestamps in UTC or it didn't happen.
♥ 2

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.

Timestamps in UTC or it didn't happen.
Solution acceptée♥ 2

Traduit de English par IA ·

Pourquoi l’entraînement est-il tellement moins bon que l’exécution ? Ce sont pourtant les mêmes mathématiques, non ?

Timestamps in UTC or it didn't happen.
♥ 1

Traduit de English par IA ·

J’ai commandé un répartiteur af de 2,4 A, et il fonctionne depuis 9 jours. Throttled était à 0x50005 le premier jour avec un câble patch plat de 15 m ; je l’ai remplacé par du Cat6 correct et il est à 0x0 depuis. J’ai ajouté la clé undervolt et les délais gateway/children offline comme vous l’avez indiqué.

Timestamps in UTC or it didn't happen.
♥ 0

Traduit de English par IA ·

Oui, c’était ça 🤦 J’ai déplacé deux fils et les deux adresses sont apparues (0x10 et 0x77). Le script a fonctionné du premier coup et les quatre touches sont maintenant sur ma carte. Leçon retenue : les numéros de broches physiques et les numéros GPIO ne sont pas la même chose

Timestamps in UTC or it didn't happen.
♥ 0

Traduit de English par IA ·

…Je me suis basé sur les numéros imprimés sur mon câble breakout, que je pense être des numéros GPIO. Donc GPIO3 et GPIO5 ?

Timestamps in UTC or it didn't happen.
♥ 0

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

Timestamps in UTC or it didn't happen.
Solution acceptée♥ 6

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.

Timestamps in UTC or it didn't happen.
♥ 0
15 sujets de 16 à 30 (sur un total de 79)