somebody-should
somebody-should copied to clipboard
Doorbot 2 failed
Doorbot 2 failed yesterday morning, when I got in it was repeatedly rebooting. It seems like the SD card holder on the Pi was broken. Ultimately just replaced the Pi with another Pi3 and that worked. We still need to reassign its IP address so that it's what we expect for doorbot2.
I tried setting up a Pi4 as a replacement. There was various problems. i2c is not enabled by default on the Pi, this needs to be enabled through raspi-config although it's quite possible that this can be by the Imager software too these days. I then needed to recompile the C program that we use for reading RFID cards so that it would run on the 64 bit Pi OS. This appeared to work but then was reading the first part of the fob's ID as zeroes. I couldn't get past this in the time I had so that was when I switched to a Pi4. Fobs with shorter IDs were all zeros, here's some examples with the actual identifying parts replaced by "na":
- 00000000nanana
- 00000000
So the doorbot is working, it could do with a new power supply with a longer cable but apart from that is probably fine but it might be a plan to either have spare Pi 3 devices or figure out how to get it working on a Pi 4 or other hardware (and then have some spares of those!)