← all posts site ↗

esp32 lofi camera project

finally started the lo-fi camera project i have been thinking about. the xiao esp32 s3 sense already has the ov2640 camera built in so it is really a firmware question not a hardware one. the goal is a kodak charm er style point and shoot where the photos are intentionally low quality and warm looking. no display, no zoom, no flash. just a single button and a battery.

the first prototype uses wifi direct so the esp creates an access point and you connect your phone to open the interface. tap shoot and it captures a vga image with slightly boosted brightness and reduced saturation for that film look. images get stored to spiffs with a storage bar and delete buttons on the web ui. ran into a bunch of gotchas along the way. psram has to be enabled or the camera init fails with a frame buffer malloc error. the partition scheme matters too because layouts without a filesystem wipe your photos on every boot.

for the portable version i am soldering a five hundred milliamp hour lipo directly to the power pads on the back of the board. the button is a standard tact switch wired between a gpio pin and ground. no external resistor needed since the board has internal pullup. the external antenna makes a huge difference for wifi speeds compared to the tiny pcb trace antenna so i am keeping it connected and just folding the cable flat against the enclosure.