Serial Input – Reading an Integer

Requires

This project reads numbers from your computer and processes them on your Arduino board, displaying the original value and its doubled result.

The Arduino prompts you to enter a number, then waits for serial input. When you send a number, the board receives it, displays the value, calculates and shows the doubled result, and asks for another number. This creates a simple interactive loop demonstrating basic serial communication and numeric processing.

Parts List

  • Arduino board
  • USB cable

Assembly Instructions

  1. Connect the Arduino board to your computer
  2. Open the Serial Monitor in Code Kit
  3. Set the baud rate to 115200 in the Serial Monitor
  4. Type a number in the input field and press Enter/Send
  5. Observe the Arduino processing your input and displaying the results