Arduino Serial Monitor Challenges

About: I am robotics engineer and a teacher whose passion in life is breaking down the maths and academic jargon of programming and robotics into something that everyone can understand, primary school kids include...

Wanna test your Arduino programming skills?

Here are six challenges each of which is harder than the previous one and requires you to use more and more of the Serial Monitor functionality. All in all this is a fun way to practice your arduino programming with no circuitry needed, just plug in your Arduino and you are ready to go!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Simple Counter

This is a program that counts from 1 onwards and prints out each number on the serial monitor.

Step 2: Countdown Timer

This is a program that counts down from a desired number and prints out “Countdown Complete” when the countdown reaches zero!

Step 3: Digital Clock

This is a program that imitates a standard clock presenting time in the same format as seen on most digital watches

Step 4: Test Even or Odd

This is a program that reads a number put in by the user and then tests whether the number entered is even or odd

Step 5: Prime Number Tester

This is a program that reads a number put in by the user and then tests whether the number entered is a prime number

Step 6: Factorisation Program

This is a program that reads a number put in by the user and then tests whether the number entered is a prime number. If the number is NOT prime the program will list all the factors of this number.

Step 7: Reversing a Number

This program takes in a real number as in input through the serial, then it prints out the same number with the digits reversed.

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions

    None
    larkachanga

    Question 6 months ago on Step 2

    i am the very beginner to arduino i hav never worked on it before so plz guide and help me to learn and give me some advice which makes things easier to me .. and plz send me the code too