New: the AI firewall watches the whole platform and explains each incident in plain words. See how it works

Keisha S.

ops_keisha

@kstewart · Joined March 2025

Newcomer

Plant manager · food and beverage

Topics
8
Replies
64
Points
0
Newcomer10 points to Member

Forum Replies Created

Viewing 15 posts – 31 through 45 (of 64 total)

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.

Accepted solution♥ 2

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.

♥ 2

“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.

Accepted solution♥ 8
Viewing 15 posts – 31 through 45 (of 64 total)