Moonpreneur Icon

Robotic Car PolyBot

MoonCampaign by Dharmesh (11 years)

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.

  • 👍
  • 🎁 44 days left

Your support will go a long way in encouraging Dharmesh and taking their innovation Robotic Car PolyBot to new heights.

Robotic Car PolyBot

terms and conditions

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.

Impact of MoonCampaigns

5000+

Innovative MoonCampaigns

20,000+

Minutes of Visual Content

1M+

Unique Video Views

40,000+

Unique Feedbacks

80%

STEM Transformation

95%

Increased Confidence

Learning Journey

  • Moonpreneur STEM Program Student

    Project Name: Robotic Car PolyBot

  • Skills

    Arduino programming, sensor integration, conditional logic, product design, and more

  • Category

    Show n Tell

Impact of MoonCampaigns

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.

5000+

Innovative MoonCampaigns

20,000+

Minutes of Visual Content

1M+

Unique Video Views

40,000+

Unique Feedbacks and appreciation to kids from community

80%

parents observed transformational changes in their ward's STEM knowledge and leadership skills

95%

Parents Reported Increased Confidence in their child

Want your child to be part of an innovative and creative competition?

STORY

Total Views:

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.



Every child is gifted. Discover how yours can innovate and lead

Feedback

See what people around the world are saying about Krishanth's innovative
bike safety project

The Future Belongs to Critical Thinkers

Hard Truth About Future of Work

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.


What AI Can Never Replace:
  • 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

MoonCampaign Prepares the Next Generation

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

You Might Also Like

Every child is gifted. Discover how yours can innovate and lead