ops_keisha
@kstewart · Mitglied seit März 2025
Plant manager · food and beverage
- Themen
- 8
- Antworten
- 64
- Punkte
- 0
Erstellte Forenantworten
Normal Upload with IO0 bridged and it flashed first time. I’m sending jam as 0/1 rather than true/false so it charts. Thank you.
Von English mit KI übersetzt ·
Wir haben noch ein paar davon an Zeilenzählern im Einsatz, deshalb habe ich mich damit beschäftigt.P6 ist der RUN-Pin. Wenn man seine beiden Löcher kurzschließt, wird die Platine zurückgesetzt. Löten Sie also zwei Stiftleisten-Pins ein und verbinden Sie zwischen ihnen einen normalen Taster. Das ist Ihr Reset-Knopf, mehr wird nicht benötigt.P5 auf einer Rev-2-Platine bietet zusätzliche Stromversorgung und GPIO:
P5-1 5V P5-2 3.3V
P5-3 GPIO28 P5-4 GPIO29
P5-5 GPIO30 P5-6 GPIO31
P5-7 GND P5-8 GND
GPIO28/29 kann ein zweiter I2C-Bus sein. Er ist dafür vorgesehen, von unten bestückt zu werden, daher wirkt die Pinnummerierung von oben gespiegelt; das eckige Pad ist Pin 1. Für einen Temperaturlogger brauchen Sie P5 nicht, nutzen Sie die Hauptleiste (ein DS18B20 an GPIO4 ist der einfachste Fall). Alles arbeitet mit 3,3 V Logikpegel, niemals 5 V an einen GPIO legen.
We still have a few of these on line counters, so I’ve been through it.
P6 is the RUN pin. Shorting its two holes resets the board, so solder in two header pins and wire a normal momentary push button across them. That’s your reset button, nothing else needed.
P5 on a rev 2 board is extra power and GPIO:
P5-1 5V P5-2 3.3V
P5-3 GPIO28 P5-4 GPIO29
P5-5 GPIO30 P5-6 GPIO31
P5-7 GND P5-8 GND
GPIO28/29 can be a second I2C bus. It’s meant to be fitted from underneath, so pin numbering looks mirrored from the top, the square pad is pin 1. For a temperature logger you don’t need P5, use the main header (a DS18B20 on GPIO4 is the easy one). Everything is 3.3 V logic, never 5 V into a GPIO.
Is the sensor powered from 3.3 V or 5 V? Some of those boards output more than 3.3 V on 5 V supply.
Changed the line, the on_connect had the old four arguments so that needed fixing too. Service is up, readings back on the board and I tested the alarm by opening the chiller door for a few minutes. Thanks Aoife, and Ciarán for the stopgap.
How many probes? Matters for whether a redesign pays off.
Contractor swapped the Uno for an ESP32-ETH board last week, same photo-eye. The ERP job now pulls the hourly increases, and the first full week matched the hand count within 2 cases. One snag: they first sent the count as text in quotes, so it showed as a latest value but nothing charted. Sending a number fixed it.
You nailed it. dnsIP was an internal server and the lookup failed. IT added a forwarder for the broker host, the node is back on DHCP and connected first try. They were happier to do that than to see a static IP.
One total per shift, shifts change at 06:00, 14:00 and 22:00. The ERP is on a server inside our network and IT won’t open it to the internet, that was already a fight.
2.1.0. The tech’s notes say 1.6.1.
Same trap with a display library last year, it re-initialised the bus behind our back.
Which meter is it? The manual’s register map says whether a value is a float or a scaled integer.
Sent that exact question. Vendor two sent a PDF with the advertising format the same day. Vendor one said „the app has a CSV export“. Ordering two from vendor two to test with a gateway.
Von English mit KI übersetzt ·
Tipp von den Inbetriebnahme-Skids: Notieren Sie während der Tests den Rohwert neben der Spannung. Wenn ein Messwert in drei Monaten falsch aussieht, erkennen Sie anhand des Diagramms sofort, ob ein Verstärkungsfehler (Gain) oder ein Sensorproblem vorliegt.
Tip from commissioning skids: while you’re testing, send the raw count next to the volts. When a reading looks wrong in three months you can tell a gain mistake from a sensor problem straight from the chart.
Von English mit KI übersetzt ·
Wir machen dasselbe bei unseren Liniensensoren. Ein Tipp aus der Halle: Den Namen des Setup-APs auf einen Aufkleber am Gehäuse drucken. Sechs Monate später erinnert sich niemand mehr, welcher Knoten „ESP-3C84A1“ ist.
We do the same on our line sensors. One tip from the floor: print the setup AP name on a sticker on the case. Nobody remembers which node is „ESP-3C84A1“ six months later.
Von English mit KI übersetzt ·
„Gleiche SD-Karte wie der Belegdrucker“ ist der Hinweis. Prüfe /boot/firmware/config.txt (unter Bookworm wurde sie von /boot dorthin verschoben) auf dtoverlay=disable-bt. Unser Integrator hat das für einen RS-485-Hat an einem Linien-Gateway eingetragen, und sechs Monate später hat jemand einen Tag damit verbracht, einen Scanner mit demselben Pi zu koppeln.Beim Pi 4 hängt der Bluetooth-Chip am guten UART. disable-bt gibt dieses UART an die GPIO-Pins ab, und Bluetooth verschwindet vollständig, was zu deiner rfkill-Ausgabe passt. Zeile auskommentieren, dann:
sudo systemctl enable --now hciuart
sudo reboot
# nach dem Neustart
rfkill list # sollte hci0: Bluetooth zeigen
bluetoothctl show
Wenn du sowohl ein Hardware-UART als auch Bluetooth am Pi 4 brauchst, hält dtoverlay=miniuart-bt Bluetooth auf dem Mini-UART, oder du nutzt eines der zusätzlichen UARTs (uart2 bis uart5), die der Pi 4 hat.
„Same SD card as the receipt printer“ is the clue. Check /boot/firmware/config.txt (on Bookworm it moved from /boot) for dtoverlay=disable-bt. Our integrator put that in for an RS-485 hat on a line gateway and six months later someone spent a day trying to pair a scanner to the same Pi.
On the Pi 4 the Bluetooth chip hangs off the good UART. disable-bt gives that UART to the GPIO pins and Bluetooth disappears completely, which matches your rfkill output. Comment the line out, then:
sudo systemctl enable --now hciuart
sudo reboot
# after reboot
rfkill list # should show hci0: Bluetooth
bluetoothctl show
If you need both a hardware UART and Bluetooth on the Pi 4, dtoverlay=miniuart-bt keeps Bluetooth on the mini UART, or use one of the extra UARTs (uart2 to uart5) the Pi 4 has.

