Dharmesh’s PolyBot project turns the Arduino Uno into a robotic shape racer for a teen learning to code. Gearmotors and a castor wheel drive the bot in a polygon loop, like a square, making a thrilling way to steer coding into motion.
MoonCampaign by Dharmesh (11 years)
Our Social Impact - We're transforming education globally with free robotics and math workshops in the US, UK, Canada, and Australia. Our workshops have helped 66,000 students alone in the US plus 14,000 students benefit from our four-week sessions.
Innovative MoonCampaigns
Minutes of Visual Content
Unique Video Views
Unique Feedbacks
STEM Transformation
Increased Confidence
Moonpreneur STEM Program Student
Project Name: Robotic Car PolyBot
Skills
Arduino programming, sensor integration, conditional logic, product design, and more
Category
Show n Tell
MoonCampaigns highlight student's creativity, public speaking, presentation skills, and teamwork, with an impressive track record that speaks volumes. MoonCampaigns, through quarterly Show & Tell, highlight thousands of inspiring learning stories from Moonpreneur students worldwide.
Innovative MoonCampaigns
Minutes of Visual Content
Unique Video Views
Unique Feedbacks and appreciation to kids from community
parents observed transformational changes in their ward's STEM knowledge and leadership skills
Parents Reported Increased Confidence in their child
I’d like to introduce you to my robotics project—Polybot. Polybot is a robotic car that moves in the shape of a polygon, completing a loop around a test area using programmed instructions. I built this project using a robotics car kit that included hobby gear motors, a caster wheel, an Arduino motor shield, and a battery pack to power the bot.
The code was written in C++ using Arduino’s IDE, where I used variables, functions, and built-in libraries to control the robot's movement. Variables helped store pin numbers and speed values, while the libraries made it easier to control hardware without writing low-level code.
I initialized my components in the void setup() function and wrote custom movement functions like moveForward(), sharpRightTurn(), and stopRobotCar().
The main logic is inside the void loop() and a custom moveShape() function, which combines movement commands and delays. For example, the car moves forward for 3 seconds, makes a right turn, and repeats this process to trace a polygon. Each motor is controlled using digital and analog signals to set direction and speed precisely.
The Code:
let num1 = 0
let num2 = 0
let result = 0
input.onButtonPressed(Button.A, function () {
num1 = randint(0, 20)
num2 = randint(0, 20)
basic.showNumber(num1)
basic.pause(1000)
basic.showString("-")
basic.pause(1000)
basic.showNumber(num2)
basic.pause(1000)
result = num1 - num2
basic.showString("=")
basic.showNumber(result)
})
input.onButtonPressed(Button.B, function () {
num1 = randint(0, 20)
num2 = randint(0, 20)
basic.showNumber(num1)
basic.pause(1000)
basic.showString("+")
basic.pause(1000)
basic.showNumber(num2)
basic.pause(1000)
result = num1 + num2
basic.showString("=")
basic.showNumber(result)
})
Watching Polybot trace a polygon around the test zone was rewarding. It showed how code and electronics could work together to create something dynamic and useful.
Beyond the project, I learned how robotic cars are used in real life—like Tesla’s autopilot, driverless taxis in major cities, and self-delivery robots for coffee shops. Polybot may be a prototype, but it represents the future of automation.
See what people around the world are saying about Krishanth's innovative
bike safety project
WEF's Future of Jobs Report 2025 reveals that 40% of employers expect to reduce their workforce where AI can automate tasks . While AI is projected to create 69 million new jobs globally by 2030, it will simultaneously eliminate 83 million positions, particularly in clerical, administrative, and routine cognitive roles. The message is clear: routine tasks are being automated, but critical thinking and communication skills cannot be replaced.
Critical Thinking & Analysis
Rated by 78% of business executives as the most important skill they seek, yet only 34% of college graduates arrive well-prepared in this area
Communication Skills
Essential for collaboration, innovation, and leadership in STEM fields
Problem-Solving
The ability to break down complex, unprecedented challenges and devise creative solutions
Adaptability & Resilience
Mental agility to assess new situations and pivot strategies in rapidly changing environments
When students (ages 7-16) build projects, they're not just learning to code, they're developing the future-proof skills that AI cannot replicate:
Technical Skills:
Arduino programming, sensor integration, conditional logic, and hardware troubleshooting
Critical Thinking:
Analyzing real-world safety problems, designing solutions, and debugging when things don't work as expected
Communication:
Articulating their process, presenting their work, and explaining complex technical concepts in accessible language
Digital Marketing & Entrepreneurship:
Showcasing their innovations publicly, building their personal brand, and learning to pitch their ideas
Problem-Solving:
Overcoming challenges like mixed-up variables and incorrect responses through systematic troubleshooting
©️ Copyright, Moonpreneur Inc.
691 S Milpitas Blvd, STE 217 Milpitas CA 95035, USA