element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Learn how to Make a Photo Booth with the ESP32 and Telegram Automation! -- Episode 664
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Project Videos requires membership for participation - click to join
Related
Recommended
ADI-Webinar-Voyager4
Engagement
  • Author Author: cstanton
  • Date Created: 7 May 2025 3:57 PM Date Created
  • Last Updated Last Updated: 8 May 2025 1:17 PM
  • Views 1668 views
  • Likes 7 likes
  • Comments 2 comments

Learn how to Make a Photo Booth with the ESP32 and Telegram Automation! -- Episode 664

In this episode of element14 Presents, Mark completes the wiring and programming of a DIY ESP32-powered photo booth that connects to Telegram. Learn how to connect LEDs, switches, and power lines, set up the ESP32 for programming, and configure your custom Telegram bot to remotely trigger photo captures. Follow along step-by-step as we demonstrate wiring tips, software setup in Arduino, and how to manage credentials and bot tokens for a fully functional remote-controlled camera system.

Watch the Video

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Mark from element14 Presents takes on a practical embedded project using the ESP32-CAM to build a DIY photo booth that sends captured images directly to a Telegram bot. It’s a compact, network-connected device that can be used at parties, events, or just for home automation fun. The project starts with flashing the ESP32-CAM using the Arduino IDE, and connecting it to Wi-Fi for basic functionality. The aim is simple: capture a photo when a physical button is pressed, then push that image to a user via Telegram.

The first major step in the build involves getting the ESP32-CAM up and running. Mark uses a USB-to-serial adapter to flash the module and ensure it communicates correctly with the development environment. One early challenge he faces is the sometimes tricky process of initiating flash mode on the ESP32-CAM, which requires grounding GPIO 0 and resetting the board. Once the firmware is flashed, he moves on to testing the camera module and verifying the image capture through the serial monitor.

Hardware-wise, the core of the setup includes the ESP32-CAM, a pushbutton connected to a GPIO pin, and some basic wiring. Mark also includes a 5V regulator to ensure stable power delivery, as the ESP32-CAM can be sensitive to voltage drops, especially when the camera is active. Integrating the Telegram bot is done by interacting with the Telegram Bot API and programming the ESP32 to send an HTTP request with the image data. This part of the project involves some careful handling of certificates and understanding how multipart form uploads work within the constraints of the ESP32.

One issue that arises is managing memory usage and response time. The ESP32 doesn’t have much RAM, so Mark experiments with different image resolutions to find the right balance between quality and stability. Larger images can cause the device to crash or fail to send, so finding a middle ground becomes key to a reliable setup. Through debugging and iterative testing, he gets consistent image capture and delivery working, with a pushbutton triggering the snapshot and upload flow seamlessly.

For those wanting to recreate this project, Mark advises double-checking the power supply and paying close attention to wiring—especially around the flash and reset process. The Arduino IDE makes development approachable, but users will need to be comfortable with C++ code and familiar with how the Telegram Bot API works. The final result is a working photo booth powered entirely by an ESP32-CAM and a few simple components, offering an engaging entry point into IoT and embedded camera projects.

Downloads and Links

- Supporting Code and Schematics

- ESP32 Board Library

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
Power supply 230 /5V Multicomp Pro 1 Buy Now
Power connector Multicomp Pro 1 Buy Now
Pushbutton Switch, 12 mm, SPST, On-Off, Round Raised, Yellow Multicomp Pro 1 Buy Now
 

element14 presents

element14 presents  |  About Mark Donners |  Project Videos

  • esp32
  • microcontroller project
  • telegram automation
  • home automation
  • remote camera
  • iot project
  • Electronics Project
  • photo booth
  • maker project
  • telegram bot
  • arduino ide
  • esp32-cam
  • Embedded Systems
  • diy photo booth
  • friday_release
  • image capture
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • DAB
    DAB 9 days ago

    Nice project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • donnersm
    donnersm 12 days ago

    Remember, if you have any questions feel free to ask and I’ll try to answer.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube