Arduino Serial Monitor Challenges

by Robotix_au in Circuits > Arduino

5170 Views, 17 Favorites, 0 Comments

Arduino Serial Monitor Challenges

Arduino Programming Challenges

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!

Simple Counter

Challenge 1: Loop Counter

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

Countdown Timer

Challenge 2: Countdown Timer

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

Digital Clock

Challenge 3: Digital Clock

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

Test Even or Odd

Challenge 4: Even/Odd Tester

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

Prime Number Tester

Challenge 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

Factorisation Program

Challenge 5.1 Factors and Prime Numbers

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.

Reversing a Number

Challenge 6: 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.