Rooted Redmi 13C 5G running the Moth Rig app, connected by USB-C to a controller for an LED strip

The rooted Redmi talking over USB-C to the LED controller.

I’m working on a project that needs a high resolution camera, GPS, storage, and a microcontroller to control some lights. (More on the project soon!) I’ve been designing PCB adapters around a Raspberry Pi, an Arducam 64MP camera, and a GPS module. Every time I add another part, the bill grows.

I’m also trying an ESP32-P4 board, which will get its own post soon. But the alternative I keep coming back to is an old smartphone.

I have a Redmi 13C 5G and a Huawei Mate 30 5G. Phones like these turn up second hand on Taobao for roughly ¥300–500 (£33–56 / €40–67 / $45–75). The Redmi gives me a camera that saves 50MP JPEGs; the Mate 30 has a 40MP main camera and a telephoto lens. Both already contain GPS, storage, a clock, a battery, mobile data, and a touchscreen. Their USB-C ports give me a route to the PCB that will handle the lights and other sensors.