ES-67IntermediatePremium

ESP32 Coin Counting Piggy Bank (3 LDR + I2C LCD + Servo Lock)

A piggy bank that tells you how much you have saved! Coins slide down a slanted ramp and drop through the first hole they fit; an LDR light gate under each hole sees the shadow and the ESP32 adds that coin. It is set up for Turkish coins (25 kuruş, 50 kuruş, 1 lira) and easy to switch to yours. The I2C LCD fills a goal bar, a fanfare plays at the goal and the servo lock opens; before that, only a parent can open the lid.

0.0(0)
ESP32 Coin Counting Piggy Bank (3 LDR + I2C LCD + Servo Lock)
Drop in your coins and let the bank do the counting: they slide down a slanted ramp, fall through the hole that fits, and each size of coin is recognised and added up. A small screen shows the total and a goal bar that fills up; the lid stays locked until you reach the goal, then a tune plays and the lock opens by itself. Saving turns into an exciting goal game for kids.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions