Skip to Content
Maestro Docs
Sim LabArduino

Arduino in tests and assignments

How Arduino circuit questions are set up and marked.

An Arduino question is a circuit question whose starting circuit already contains an Arduino Uno.

What you see

  • The circuit with the Uno in it, and the Code panel.
  • A starter program that the question author provided. You edit it or replace it.
  • The languages the question allows: Arduino sketch, AVR C, or both.

How it is marked

When you submit, Maestro builds your source code on its servers. It never trusts a program built in your browser. It then runs your circuit and program on a fake clock and checks the results.

A question can check:

  • Pin and node measurements, such as the frequency on a pin, a voltage after a button press, or the average and swing of a PWM signal through an RC filter.
  • Button presses: the question presses buttons at set moments during the run, and checks what your program does.
  • Serial output: the question can require the text your program prints to contain certain words.

Each check is worth marks. The question's Checked at list shows what's being tested.

What gets saved

Your code is saved with your answer. The review page shows the build result, the serial checks and what the board printed.

How long the run is

The question sets how long the simulation runs before it measures. A program that needs input from the serial monitor won't be marked correctly, because input isn't supported.

Lab assignments

For lab assignments from your college, the project starts with the starter program. Your code is handed in with your circuit.