science tinker

Arduino and ESP32 project gallery

Ready-made projects you can open, run and change in the free microcontroller simulator: 32 guided projects with wiring and code, and projects published by students and teachers. Nothing to install and no account needed to open one.

Community projects

Published by signed-in students and teachers. Each one is checked by a person before it appears. Opening a project gives you your own copy.

🌍 Publish yours

Guided projects by Science Tinker (32)

Each one gives you the parts, a goal and a ✔ Check button that tests your wiring and code. Stuck? The 💡 Solution button shows the answer.

2. SOS signal

Flash SOS in Morse code on the LED on pin 13: three short flashes (200 ms), three long flashes (600 ms), three short flashes, then a pause of about 1.4 s, and repeat. Keep 200 ms off between flashes and a longer gap (about 600 ms) between letters.

Arduino UnoBasicLED

7. Night light

Turn the LED on pin 13 on when it gets dark and off when it is bright. The light sensor on A0 reads high in bright light and low in the dark: switch the LED on when the reading is below 400.

Arduino UnoBasicLight sensor, LED

8. LED bar graph

Turn the knob on A0 to light a bar of LEDs on pins 2, 3, 4, 5 and 6, like a volume meter: knob at 0 → no LEDs, knob at the top → all five. Light them from pin 2 upwards, with no gaps.

Arduino UnoIntermediatePotentiometer, LED

9. Play a scale

Play the C major scale on the buzzer on pin 8, going up: C D E F G A B C (262, 294, 330, 349, 392, 440, 494, 523 Hz). Each note 300 ms with a short gap, then stay silent.

Arduino UnoIntermediatePiezo buzzer

11. Temperature alarm

Read the TMP36 on A0 and work out the temperature in °C. Above 30 °C, turn on the red LED on pin 13 and sound the buzzer on pin 8 (tone 1000 Hz). At 30 °C or below, both are off. Print the temperature to the Serial Monitor.

Arduino UnoIntermediateTemperature sensor, LED, Piezo buzzer

12. Colour picker

Turn the knob on A0 to choose the colour of the RGB LED (red on pin 9, green on pin 10, blue on pin 11): knob in the first third → red, middle third → green, last third → blue. Only one colour at a time.

Arduino UnoIntermediatePotentiometer, RGB LED

14. Reaction timer

Test your reflexes. After a random wait of 1 to 3 seconds, turn on the LED on pin 13. Measure how long until the button on pin 2 (wired to GND) is pressed, and print it to the Serial Monitor in milliseconds. Turn the LED off and start again.

Arduino UnoIntermediateLED, Push button

16. Parking sensor

Measure distance with the ultrasonic sensor (TRIG 7, ECHO 6). Beep the buzzer on pin 8 faster as an object gets closer, and stay quiet beyond 100 cm.

Arduino UnoIntermediateUltrasonic distance sensor, Piezo buzzer

17. Dark-activated lamp (relay)

A relay lets a small Arduino pin switch a separate, bigger circuit. Switch the relay on pin 7 on when it gets dark (light sensor on A0 below 400) so it lights the 6 V bulb, and off when it is bright.

Arduino UnoIntermediateLight sensor, Relay module

19. Button counter

Count button presses on the 7-segment display (a–g on pins 2–8). Start at 0; each press of the button on pin 12 (wired to GND) adds one; after 9 it goes back to 0. Holding the button down counts only once.

Arduino UnoIntermediate7-segment display, Push button

20. Automatic door

Use the ultrasonic sensor (TRIG 7, ECHO 6) and the servo on pin 9 as a door. When something is closer than 30 cm, open the door (90°). Close it (0°) only after nothing has been near for 1 second.

Arduino UnoAdvancedUltrasonic distance sensor, Servo motor

21. Pedestrian crossing

Car lights on pins 12 (red), 11 (yellow) and 10 (green); a push button on pin 2 (to GND). Cars normally have green. When someone presses the button: yellow for 1 s, red for 4 s, then green again. Cars must always get at least 3 s of green between crossings: if the button is pressed too early, remember it and start the crossing when the 3 s are up.

Arduino UnoAdvancedLED, Push button

22. Electronic dice

Press the button on pin 12 (wired to GND, use INPUT_PULLUP) to roll: the 7-segment display (a–g on pins 2–8) shows a random number from 1 to 6 and keeps it until the next press.

Arduino UnoAdvanced7-segment display, Push button

23. Fan thermostat (relay)

Switch a fan on the relay (pin 7) with the TMP36 on A0: on when the temperature goes above 28 °C, and off only when it falls below 26 °C. Between 26 and 28 °C it keeps doing what it was doing (this gap is called hysteresis).

Arduino UnoAdvancedTemperature sensor, Relay module

24. LCD thermometer

Show the temperature from the TMP36 on A0 on the first line of the 16×2 I²C LCD (for example “Temp: 24.8 C”). On the second line show HOT when it is above 30 °C, otherwise OK. Turn the backlight on.

Arduino UnoAdvancedTemperature sensor, LCD 16×2 with I²C backpack

25. Distance meter (LCD)

Measure distance with the ultrasonic sensor (TRIG 7, ECHO 6) and show it on the LCD’s first line, for example “Distance: 45 cm”. On the second line show TOO CLOSE when it is under 20 cm, otherwise OK.

Arduino UnoAdvancedUltrasonic distance sensor, LCD 16×2 with I²C backpack

26. Motor speed and direction

Use the knob on A0 to drive the DC motor through the L298N (ENA on pin 10, IN1 on 9, IN2 on 8). Knob in the middle: stop. Turned right: forward, faster the further you turn. Turned left: reverse, faster the further you turn.

Arduino UnoAdvancedPotentiometer, Motor driver

27. LCD stopwatch

Build a stopwatch on the LCD. The button on pin 2 (wired to GND) starts it; the next press stops it, and the time stays on screen. Show the time in seconds with one decimal place on the first line (for example “Time: 3.4 s”).

Arduino UnoAdvancedPush button, LCD 16×2 with I²C backpack

28. Line-following robot

Program the robot car to follow the black line for a full lap. Two IR sensors at the front read HIGH over the black line (left on pin 2, right on pin 3). The L298N drives the left wheel (motor A: ENA 10, IN1 9, IN2 8) and the right wheel (motor B: ENB 5, IN3 7, IN4 6).

Arduino UnoAdvancedIR line sensor, Motor driver

29. Simon memory game with score

Build the classic Simon game. The Arduino plays a growing sequence on the four LEDs (pins 9, 10, 11, 12: red, green, blue, yellow, each with a 220 Ω resistor) with a tone on the buzzer (pin 8); the player repeats it on the four buttons (pins 2, 3, 4, 5, each to GND, INPUT_PULLUP). The score shows on two 7-segment displays driven by two chained 74HC595 shift registers (already built for you): connect A0 to SER (pin 14), A1 to RCLK, the latch (pin 12), and A2 to SRCLK, the clock (pin 11) of the first 74HC595. A wrong button ends the game.

Arduino UnoAdvancedLED, Push button, Piezo buzzer, 8-bit shift register…

31. Wi-Fi thermometer

Read the TMP36 on GPIO 34 and show the temperature in °C on a web page at /, so anyone on the same Wi-Fi can check it from a phone (for example "24.0 °C"). Open the page on the phone, then change the temperature and refresh.

ESP32AdvancedTemperature sensor

32. Earthquake alarm

Read the MPU6050 accelerometer. When the ground shakes harder than everyday vibration (like a passing truck), sound the buzzer on GPIO 25 and light the LED on GPIO 26 for at least 2 seconds. The checker gives you stillness, then a truck, then a real earthquake.

ESP32AdvancedAccelerometer and gyroscope, Piezo buzzer, LED

How to publish your project

  1. Sign in and build. Make your circuit and code in Studio and press 💾 Save.
  2. Press Publish. On your dashboard, press 🌍 Publish on the design's card and add a short description.
  3. We check it. A person looks at every project so the gallery stays safe for schools.
  4. It appears here. Anyone can open a copy. You can unpublish it whenever you like.

Questions students ask

What is the project gallery?

A page of ready-made Arduino and ESP32 projects you can open and run in the free Science Tinker simulator. It has the 32 guided projects written by Science Tinker, from Blink to a line-following robot, and projects that signed-in students and teachers have chosen to publish.

How do I publish my own project?

Sign in (free), build and save your design in Studio, then open your dashboard and press Publish on the design's card. Give it a clear name and a short description. A person at Science Tinker checks every project before it appears here, usually within a few days.

Can other people change my published project?

No. Opening a project from the gallery always opens a copy. People can study it, run it and change their own copy, but your original stays exactly as you published it. You can unpublish it from your dashboard at any time.

Does the gallery show who made a project?

No. A published project shows only its name, description, picture, circuit and code. Your email address and account are never shown. Do not put your full name, school, address or contact details in the project name, description or code comments.

What should I do if I see something that should not be here?

Press Report on the project's card. Reported projects are checked by a person, and a project that is reported several times is hidden straight away until it has been checked.

Keep building

Know someone who would use this?

It’s free for every learner. Send it to your class, team or club.

Updated · Free, no sign-up ·