Diy object scanner and detector

DIY AI Object Scanner: ESP32-CAM and TFT Screen That Names Objects and Shows Fun Facts | Kids Robotics
Robotics + AI Project · Ages 11+

Point it at a bunch of grapes and it tells you what they are

Build a pocket-sized object scanner. Press a button, the tiny ESP32-CAM takes a photo, an AI works out what it is, and a small colour screen shows the name, the type and two fun facts. It works on almost anything you can hold up to the lens.

Try it: pick something to scan

Ready!

Pick an object below

1.8" TFT 128x160

This is a demo of the kind of screen you will see. Your real scanner asks an AI, so its words will be different each time.

What you're building

A camera, a small screen and a helper in the cloud.

The Object Scanner has three parts that work as a team. The ESP32-CAM board has a tiny camera and a WiFi chip. A 1.8 inch TFT screen shows the results. And when you press the button, the board shrinks the photo, sends it over WiFi to an AI service, and gets a short answer back. The ESP32 then writes the object's name, its type and two fun facts onto the screen.

Eyes: ESP32-CAM

The OV2640 camera takes a photo of whatever you hold up.

Brain: an AI service

A big AI online looks at the photo and writes a short answer.

Screen: ST7735 TFT

A small colour display shows the name and fun facts.

  1. PressHold up an object and press the button.
  2. LookThe camera takes a photo.
  3. ThinkThe photo travels over WiFi to the AI.
  4. ShowThe answer appears on the screen.

Why does it need the internet?

Because recognising any object takes a very big AI, and the ESP32-CAM is very small.

  • The ESP32-CAM is tiny. It has a camera and WiFi, but not enough memory to recognise thousands of different objects on its own.
  • The AI lives online. The board sends a small photo over WiFi and gets back a few lines of text.
  • It costs a little each time. AI services charge a very small amount per photo, so an adult should create the account and set a low spending limit.
  • It can be wrong. Blurry photos and unusual objects can fool it, which makes a great science talking point.

A job for a grown-up

An adult needs to make the AI account, add a low spending limit and create the secret key (called an API key) that the scanner uses. This page uses the Claude API from Anthropic (see docs.claude.com). Other AI services that understand photos work in a similar way, but their request code is different.

Materials list

No soldering needed if your parts come with pin headers.

Electronics

  • 1x ESP32-CAM (AI-Thinker) with OV2640 camera module
  • 1x 1.8 inch ST7735 SPI TFT display, 128x160 (the red PCB kind)
  • 1x FTDI USB-to-serial programmer (the ESP32-CAM has no USB port)
  • 1x push button
  • Breadboard and jumper wires (male-to-male and female-to-male)
  • 5V 2A power supply or a USB power bank, with a short, good-quality cable
  • USB cable for the FTDI programmer

Everything else

  • 2 alligator clips or a small stand to hold the camera
  • Objects to scan: grapes, a banana, a pencil, a toy, a resistor
  • A plain sheet of paper or card for a clean background
  • A computer with the Arduino IDE
  • A 2.4 GHz WiFi network with internet (the ESP32-CAM cannot use 5 GHz)
  • An AI account and API key (made by an adult)

Check before you start

Take the tiny microSD card out of the ESP32-CAM's slot if there is one. The card shares pins with the screen wires and can stop them working.

Circuit diagram

The screen and button use the pins on the bottom edge of the ESP32-CAM. The FTDI programmer is only for uploading.

AI SERVICE ONLINE answers over the internet WiFi

Comments

Product Cards
Buddy Bot eBook
⭐ New 2026 Release
Build Your
Own Robot!
3D design, wiring &
Arduino coding.
★★★★★ Young inventors love it!
🖨️
3D Print
All parts
⚡
Wire it
Circuit guide
💻
Code it
Arduino IDE
🤖
Watch it
Walk & react
📋 Your Details
Enter your name
Valid 10-digit no.
Enter a valid email
Special Website Offer
₹499 ₹300
🌍 International: $5 USD
One-time · Instant digital delivery
🔒 Secured by Razorpay · Your data is safe
📄 Download Free Sample Copy
🔒 Secured by Razorpay · Your data is safe
🍓
Raspberry Pi Pico Mastery
21 Projects
⚡ Launch Price — 80% OFF
Learn Pico
Build 21 Projects!
MicroPython · Wokwi
IoT · Certificate
★★★★★ Perfect for beginners!
🖥️
Wokwi
No hardware
🐍
MicroPy
From zero
🔨
21 Projects
IoT + sensors
📄
Certificate
Verified cert
📋 Your Details
Enter your name
Valid 10-digit no.
Enter a valid email
Special Launch Offer
₹999 ₹200 80% OFF
🌍 International: $5 USD
One-time · Lifetime access · No subscription
🔒 Secured by Razorpay · UPI · Cards · NetBanking
🎉

You're in!

Payment successful! Your Buddy Bot eBook is ready. Time to build!

📖 Access Your eBook Now
🎉

Enrolled!

Payment successful! Lifetime access to all 21 Pico Projects is yours!

🍓 Go to My Course