Build a connected invention that helps a real person.
Get the board talking, then design and print a case for it.
Start hereThe ESP is the input. Motion nearby, a photo, and a feed anyone can see.
BeginThe ESP is the output. Something online, shown on a screen in the room.
BeginYour app is the input. Tilt your head and a servo in another room follows.
BeginEverything you learned, aimed at one real person's need.
See the cycleThe same three steps, with less help each time.
Two parts. First the board talks to your laptop. Then you design a case for it and it prints while you start Training A.
Part 1 · The board
esp32, and install esp32 by Espressif Systems. This one takes a while.https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Open Tools › Manage Libraries, search each name, and click Install. If it offers to install extra libraries it depends on, say Install all.
The camera and the motion sensor need no library. They are built in.
Plug the board into your laptop with a USB-C cable that carries data, not just power. Then set these in the Tools menu. They stay set.
The little light on the board blinks green and the Serial Monitor prints Hello from your ESP32-S3. Everything works.
Upload fails? Hold the BOOT button on the board, tap RESET, let go of BOOT, and upload again.
Every project keeps its private settings in a second file called secrets.h, so the main code stays safe to share with AI. These names are yours. Keep them in your notebook.
The identifier names your photo feed. Anyone who has it can see the feed, so make it something you would not mind a stranger reading. No real names. Lowercase letters, numbers, and hyphens only.
secrets.h.Never paste secrets.h into a chat, a website, or a shared file. Every new sketch needs its own secrets.h tab. Copy it from your last sketch.
You will change code by asking an AI, then uploading what it gives you.
Either way, start every new chat with the starter prompt. It tells the AI about your board and the rules.
Your inventions will buzz this phone.
Part 2 · CAD
Design a case for your board in Tinkercad and print it. Simple is fine. It has to protect the board, leave the USB-C port reachable, and let the camera see out.
Use the calipers. Write these in your notebook in millimeters:
Draw the case on paper with the measurements on it before you touch Tinkercad. Cardboard before CAD, paper before pixels.
The simplest case that works is a tray: an open-top box the board drops into.
Want more? Add a lid, a hole for the motion sensor's dome, a hook, or a stand. Keep the whole thing under 100 mm on every side so it prints in under an hour.
Does the board not fit? Measure what is wrong, change one number, and print again. That is the whole game.
Something moves. The camera takes a photo and sends it anywhere in the world.
A motion sensor senses something nearby.
The camera takes one photo.
The photo lands on your feed, on a phone, or anywhere you choose.
Ramsey's bird feeder camera
Step 1 · Build the skill
Build the template exactly. By the end, a wave of your hand puts a photo on the internet.
Feeds are public. Point the camera at things, pets, plants, and stuffed animals. Never at a person's face without asking them first.
The HC-SR501 has three pins under its white dome.
Turn both orange dials to the middle. The sensor senses body heat moving, so a rolling ball will not trigger it but your hand will. It needs about a minute to warm up after power on.
Your feed lives on this site under the one string you chose in Setup. It is the MY_ID line in secrets.h, and it is the only thing anyone needs to see your photos.
Your feed is at this link. Open it in another tab now. It says no photos yet.
secrets.h tab and paste your private settings.Watching...Hold still for a few seconds, then wave your hand in front of the sensor. The Serial Monitor prints NOTICED, then Sent. Look at your feed tab. Your photo is there.
Now hand the feed link to someone across the room, or across the world. They see the same photo.
PART 1: NOTICE decides when to take a photo.PART 2: SEE takes it.PART 3: SEND decides where it goes.To make it yours, you swap one part at a time.
Step 2 · Imagine
A photo is proof. Who would want proof that something happened while they were away, and what should it be a photo of?
My invention notices ___, takes a photo of ___, and sends it to ___, so they can ___.
Already in your template. A photo is taken the moment the motion sensor sees warmth move, then the board rests for REST_AFTER seconds.
Nothing to paste.
A button takes the photo. Wire one leg to pin 14 and the diagonally opposite leg to GND. Replace PART 1 with this:
A photo every few minutes, no sensor needed. A plant growing, a sunset, a tide. Replace PART 1 with this:
A distance sensor, a pressure pad, a message from a phone. Start a chat with the starter prompt, give the AI your sketch (never secrets.h), then add:
Already in your template. 640 by 480 pixels, quick to send.
Nothing to paste.
A bigger, clearer photo that takes longer to send. In startCamera() change these two lines:
Mounted upside down inside your case? Flip the photo instead of the case. Replace PART 2 with this:
Already in your template. Every photo goes to your feed on this site. Anyone with the link sees it, and you can put the feed inside your own website in Step 3.
Nothing to paste.
The photo goes to your feed, and then your phone buzzes with the photo attached. Everyone subscribed to your alert channel gets it. Replace PART 3 with this:
A Discord channel, a shared Google Sheet, a message with the photo link. Start a chat with the starter prompt, give the AI your sketch (never secrets.h), then add:
Step 3 · Design and create
Your three parts, plus a website of your own where the photos live.
Draw where the camera sits, what it points at, and the person looking at the photos. Label Part 1, Part 2, and Part 3.
Swap one part, upload, and make it send a photo. If the upload fails, click Copy error messages in the Arduino IDE and give the error to the AI with your sketch.
Your feed can live inside any web page. Open your feed page and copy the embed code. Then ask the AI to build the page around it:
Put it online in one minute:
index.html on your Desktop. On a Mac, TextEdit works: Format › Make Plain Text first.index.html into it.Trigger it in front of a classmate and have them open your website on their phone. Then put the board in its case and power it from a USB power bank or a wall charger. It keeps sending on its own.
Write one thing your partner noticed and one thing you would change next.
Something you care about is changing online. A screen in the room shows it.
The board asks the internet for one line of text.
The screen shows it.
When it changes, something physical happens.
Ramsey's eBay ticker
Step 1 · Build the skill
Build the template exactly. It shows the weather first, because the weather needs no account. Then you point it at your own thing.
The small OLED screen has four pins.
Wire the light too, the same way as before: pin 2 to a 220 ohm resistor, resistor to the LED long leg, short leg to GND.
secrets.h tab and paste your private settings.Within a few seconds the screen shows the weather in Santa Rosa. It checks again every minute.
The light only flashes when the text changes. To see that, change LATITUDE and LONGITUDE to a city on the other side of the world and upload again. New text, one flash.
PART 1: TRACK gets one line of text from the internet.PART 2: SHOW puts it on the screen.PART 3: REACT does something physical when the text changes.To make it yours, you swap one part at a time.
Step 2 · Imagine
A score, a countdown, a sale, the next bus, a friend's feed. Anything online with an address the board can ask.
My invention tracks ___ and shows it to ___ on ___, so they can ___.
Already in your template. Open-Meteo, free, no account. Change the latitude and longitude to any place on Earth.
Nothing to paste.
The screen shows the last message sent to your notice channel, from any phone or browser at ntfy.sh/ plus the channel name. A family message board, a coach's note, a countdown someone updates by hand. Replace PART 1 with this:
Your next calendar event on the screen. For this you build your own tiny API with Google Apps Script. It runs on Google's computers and answers with one line of text.
MY_API_URL line in secrets.h.Then replace PART 1 of your sketch with this:
Count the emails that match a search, the way Ramsey counts eBay sales. Same steps as the calendar version, with this script instead. Change the search to anything Gmail's search box accepts.
Then replace PART 1 of your sketch with the same Your calendar sketch part. It reads whatever your API answers.
A game score, the space station overhead, a stock, a countdown. Start a chat with the starter prompt, give the AI your sketch (never secrets.h), then add:
Already in your template. Two lines of text on the small OLED screen.
Nothing to paste.
The blue 16 by 2 LCD with the little board on its back. Ask Ramsey before wiring it, because it wants 5V. Wire GND to GND, VCC to 5V, SDA to pin 42, SCL to pin 47. Replace PART 2 with this:
No screen at all. A servo swings a paper needle across a dial you draw, like a fuel gauge. It reads the first number in the text. Wire the servo's orange wire to pin 14 with instructor-approved power and a shared ground. Replace PART 2 with this:
Already in your template. The LED on pin 2 flashes when the text changes.
Nothing to paste.
An active buzzer beeps three times. Wire the buzzer + to pin 21 and - to GND. Replace PART 3 with this:
Every phone subscribed to your alert channel buzzes with the new text. Replace PART 3 with this:
Just the screen. Replace PART 3 with this:
Step 3 · Design and create
Your three parts, in a case, in the place the person will actually look.
Draw the screen where it will live and the person glancing at it. Label Part 1, Part 2, and Part 3. Write what the screen says in your drawing.
Swap one part, upload, and make the screen change. If the upload fails, click Copy error messages in the Arduino IDE and give the error to the AI with your sketch.
Go back to Tinkercad and change your case so the screen shows through: a window the size of the glass, and a slot for its wires. Print the new version.
Have a classmate change the thing you are tracking, or send a message to your channel, and watch the screen catch up. Then power it from a wall charger where it belongs.
Write one thing your partner noticed and one thing you would change next.
Tilt your head on camera. A servo in another room tilts with you.
An app on your laptop watches your face.
The tilt becomes a number from 0 to 180.
The number flies over Wi-Fi to the board, which moves.
The no-hands switch
Step 1 · Build the skill
Two halves. The board listens on Wi-Fi. The app runs as a file on your computer and talks to it.
The SG90 servo has three wires.
Press a servo horn onto the shaft and tape a popsicle stick to it so you can see it move.
secrets.h tab and paste your private settings.It prints Board address: and four numbers with dots. Write that address in your notebook. It can change from day to day.
tilt.html..ino file, so the AI can see both halves.Your laptop camera stays on your laptop. The app saves nothing and uploads nothing. Only the number leaves.
Click Start camera and allow it. Tilt your head toward one shoulder, then the other. The number changes and the servo follows. Click Center while your head is level if the servo sits off center.
Now carry the board to the next room on a power bank. Same Wi-Fi, same address, still following.
The app has three, at the top of tilt.html:
PART 1: SENSE turns your face into one number. Tilt, for now.PART 2: MAP turns that into a servo angle from 0 to 180.PART 3: SEND sends the angle to the board.The board has three too:
PART 1: HEAR is how the number arrives.PART 2: TURN is what moves.PART 3: REST is what happens when the app goes quiet.To make it yours, you swap one part at a time, on either side.
Step 2 · Imagine
A page, a light, a camera, a door latch, a game. Think of a person who cannot use their hands right now, or ever.
My invention senses ___ on camera and moves ___ for ___, so they can ___.
Already in your app. The angle of the line between your eyes. Level is 0.
Nothing to paste.
Turning your head left and right, the way you shake it to say no. Replace PART 1 of tilt.html with this, save, and reload the page:
Nodding up and down. Click Center in the app while you look straight at the camera. Replace PART 1 with this:
How open your mouth is. Closed is 90 on the servo, wide open is 180. Replace PART 1 with this:
An eyebrow raise, a wink, leaning in. Start a chat with the starter prompt, give the AI tilt.html, then add:
Already in your app. A tilt of 25 degrees swings the servo all the way to one end.
Nothing to paste.
The servo only moves through the middle half, for things that should never slam. Replace PART 2 with this:
The servo moves the opposite way, if it feels backwards. Replace PART 2 with this:
No in-between. Left, middle, or right, like a switch with three positions. Replace PART 2 with this:
Already in both halves. The laptop and the board are on the same Wi-Fi, and the app sends to the board's address.
Nothing to paste.
No Wi-Fi where you are going? The board makes its own network, named after your identifier. Replace the board's PART 1 with this and upload:
192.168.4.1. Nothing in the app changes.Already in your sketch. The servo on pin 14 turns to the number.
Nothing to paste.
A light gets brighter as you tilt. Wire pin 2 to a 220 ohm resistor, resistor to the LED long leg, short leg to GND. Replace PART 2 with this:
Two servos, a buzzer whose pitch changes, a motor. Start a chat with the starter prompt, give the AI your sketch (never secrets.h), then add:
Already in your sketch. Two seconds after the last number, the servo returns to 90. Safe for anything that should not stay pushed.
Nothing to paste.
Stay where you left it, for a pointer or a latch. Replace PART 3 with this:
Step 3 · Design and create
The laptop with the person. The board with the thing that moves.
Draw the person at the laptop, a wall, and the board on the other side. Label the three app parts on the left and the three board parts on the right. Write the number that crosses the wall.
Swap one part, save or upload, and make the servo do the new thing. App changes need a reload of the page. If the upload fails, click Copy error messages in the Arduino IDE and give the error to the AI with your sketch.
A servo arm is nothing until it pushes something. Tape it to a light switch, a page, a cardboard pointer. Then go to Tinkercad and design a mount that holds the servo and the board in the right spot. Print it.
Put your partner in the other room with the board. Tilt, then text them. Did it move the way you meant? Then power the board from a wall charger where it belongs.
Write one thing your partner noticed and one thing you would change next.
You can make a device see, send, track, show, react, and move. Now aim all of it at one person.
Start here
One sentence. If you cannot fill every blank, you are not ready to build yet, and that is fine. Keep imagining.
I am building ___ for ___. It notices ___ and shows or sends ___, so they can ___.
Three things to build
Each one starts rough and gets finished only when the rough version proves it works.
Cardboard before CAD. Paper before pixels. Your Training A, B, and C sketches are your parts bin: take a PART from each and combine them.
The full invention page, with checkpoints, the print schedule, and the expo, is being built. Ramsey will fill it in before the camp.
Every device sends its photos here under one identifier. Type one to see its feed.
Lowercase letters, numbers, and hyphens. The identifier is the MY_ID line in your secrets.h.
Feeds are public to anyone with the identifier. The newest 300 photos are kept. Photos of things, pets, and plants only, never a person's face without asking.
Invention with Purpose by Ramsey Musallam