Swift Hardware Hacking
summary
Builds a working smart cat coin bank that counts deposits, speaks amounts, and syncs balances to a phone over Bluetooth LE. Uses Swift on Raspberry Pi, GPIO pins and a relay to control power, a photoresistor plus MCP3008 ADC to detect the lid, and a load cell with HX711 to weigh coins and infer value using bit‑banged 24‑bit reads. Provides library names, wiring choices, and demo code so the project actually runs.
AI-written summary · about








