Skip to content

derdacavga/DIY-Camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIY-Camera

In this project I will share with you Esp32-Cam based DIY Camera. It can taking photo after save in SD Card. Also it has photo count

Video Tutorial

V1

📸 DIY Retro Digital Camera (ESP32-CAM & OLED)

Build your own retro-style digital camera for under $10! This project transforms a simple ESP32-CAM into a portable, lo-fi camera inspired by the classic Game Boy Camera aesthetic. It features a grayscale live preview on an OLED screen and saves high-resolution photos directly to a microSD card.

Don't forget to Subscribe to the Channel and Like the video!


✨ Features

  • 100% DIY & Low Cost: Built using affordable, off-the-shelf components.
  • Retro Aesthetic: Monochrome live preview for a classic "Game Boy Camera" look.
  • Photo Storage: Automatically saves captured images to a microSD card (formatted to FAT32).
  • Persistent Counter: Remembers your photo count even after a reboot using EEPROM.
  • Built-in Flash: Includes a toggleable flash for high-quality low-light captures.
  • Portable Design: Integrated LiPo battery support for on-the-go photography.

⚙️ Hardware Requirements

The project uses I2C communication for the display to save precious GPIO pins for the SD card and shutter button.

Component Details Note
Development Board ESP32-CAM (AI-Thinker) The core microcontroller and camera module.
Display 0.96" SSD1306 OLED (I2C) Provides the monochrome live preview and photo count.
Storage MicroSD Card
Required: Must be formatted to FAT32.
Shutter Tactile Pushbutton Used to trigger the camera and save photos.
Power (Portable) LiPo Battery & TP4056 Includes a charger board and voltage booster (set to 5V).
Case 3D Printed Enclosure Custom design created in Fusion 360.

💻 Arduino Firmware Setup

  1. Install Libraries: Use the Arduino Library Manager to install:
  • Adafruit GFX & Adafruit SSD1306
  • JPEGDecoder
  • TFT_eSPI (Only if using the optional ST7789 color screen)
  1. Code Configuration:
  • Choose the "DIY Camera" script from the repository.
  • (Optional) Adjust the code to set your flash preference (ON/OFF).
  1. ESP32 Board Settings:
  • Select AI Thinker ESP32-CAM as your board.
  • Ensure the correct COM port is selected.
  1. Upload Mode:
  • Short circuit GPIO 0 to GND and press Reset to enter boot mode.
  • Click Upload in the Arduino IDE.

▶️ How to Use

  • Boot Up: Power the device; the display will show the live grayscale stream and photo count.
  • Aim: Use the OLED screen as your viewfinder to frame your shot.
  • Shoot: Press the shutter button. The flash will fire, and the screen will show a "Taking Photo" and "Saved" feedback.
  • Review: Remove the SD card and plug it into your PC to view your retro-style photos.

📂 Files & Links

My Mobile Games

About

In this project I will share with you Esp32-Cam based DIY Camera. It can taking photo after save in SD Card. Also it has photo count

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages