← All articles

23 November 2026

What Is the Serial Monitor? Reading Sensor Numbers Together With Your Child

Illustration of a computer screen showing running sensor numbers, next to a small circuit board connected to a sensor

Your child has just connected an ultrasonic sensor to a robot. They move their hand closer, and the robot stops. They ask: "How does the robot know my hand is near?" The answer lives in numbers the eye cannot see. The sensor measures distance all the time and sends back a stream of numbers: 120, 90, 60, 35, 20. As the numbers get smaller, the robot understands that a hand is coming closer. The Serial Monitor is where those numbers appear so that people can read them.

This article explains what the Serial Monitor is, why reading sensor numbers is the most important skill for a beginner in robotics, and three simple experiments parents can do with their child just by watching the numbers change.

What is the Serial Monitor?

Imagine a robot as a friend who cannot speak human language, but is very good at counting. To know what that friend is "thinking", you need a sheet of paper they write numbers on. The Serial Monitor is that sheet of paper, shown on a computer screen.

More precisely, the Serial Monitor is a window in the programming software for a circuit board. The board sends letters and numbers through a cable to the computer, and that window shows them line by line, in real time. Each line is one "report" from the board: what the sensor measured just now, what state the robot is in, which step the program has reached.

A familiar example helps children picture it: the Serial Monitor is like the departure board at an airport. The board does not fly the planes, but it tells everyone where each plane is, whether it is about to take off, or whether it has just landed. The Serial Monitor does the same — it does not control the robot, but it tells your child what the robot is seeing and doing, right at that moment.

One thing is worth saying clearly to your child: the numbers on the Serial Monitor are not made up by the computer. They come from a real sensor measuring the real world. Move your hand closer, and the distance number falls. Cover the light sensor, and the light number falls. Hold a warm hand against the temperature sensor, and the temperature number rises. That direct link between what your child does and the number on the screen is what makes the Serial Monitor so engaging: your child touches the world, and the world answers in numbers.

Why reading numbers matters more than watching the robot move

When children start learning robotics, they usually only watch the robot move: moving is fun, stopping is sad, moving wrongly means fixing things at random. Looking at numbers helps a child move from "guessing" to "knowing".

Take the obstacle-avoiding robot as an example. Without numbers, a child only knows the robot stops "when it gets near a wall". With numbers, the child knows the robot stops when 20 centimetres remain, and knows the sensor reads 120 centimetres when nothing is in front of it. From there the child can ask a sharper question: "If I want the robot to stop earlier, what should I change the number 20 to?" That is the first step towards thoughtful programming, instead of blind trial and error.

Numbers also help children understand that sensors are not perfect. Sometimes an ultrasonic sensor reads 0 even though nothing is in front of it, because the sound wave bounced away sideways. Sometimes the numbers jump up and down even though nobody touched anything, because the light in the room changed. Children learn a big lesson: sensors measure the real world, and the real world is noisy and untidy, unlike a textbook. A good robot maker is not someone who has never met a strange number, but someone who knows how to read a strange number and ask: "What is happening here?"

There is also a practical reason: when a robot does not behave as expected, the Serial Monitor is usually the first place that points to the problem. Is the program running? Is the sensor sending numbers back? Do the numbers change when your child touches the sensor? Those three questions, answered with numbers, narrow down the problem far faster than taking all the wires apart and starting again from scratch.

Experiment 1: A hand comes closer, the number gets smaller

This experiment uses an ultrasonic sensor — the distance-measuring sensor found in many robot kits, and a common sight in simulation lessons too. It is very simple: open the Serial Monitor, point the sensor at an empty space, and look at the number that appears. That is the distance to the nearest object in front of the sensor.

Now let your child move their hand slowly towards the sensor from far away. The number will fall step by step as the hand advances. Stop the hand, and the number stops. Pull the hand back, and the number rises. Before each movement, ask your child to guess first: "What number do you think it will show when your hand is one hand-span away from the sensor?" Guessing first and then checking is the fastest way for children to learn — and it is also how they discover which unit the sensor measures in, and whether a bigger number means further or nearer.

Then try different objects: a book, a soft cushion, an open hand, a closed fist. Your child will see that some objects give steady numbers and others give jumpy ones. Do not rush to explain everything. Let your child say what they observed: "The book gives steadier numbers than the cushion." From that observation, your child is building their own understanding of how ultrasound reflects off different surfaces — without having to memorise a single definition.

Experiment 2: Cover the light, the number follows

The second experiment uses a light sensor, which measures how bright the surroundings are. Open the Serial Monitor and look at the number in the room's normal light. Then let your child cover the sensor with their hand a little at a time: half covered, almost covered, fully covered. The number will change with each level of cover.

A small game makes this experiment more fun: one person covers the sensor by a secret amount, the other looks at the number and guesses how much of the sensor is covered. After a few rounds, children work out the pattern for themselves: the darker it gets, the more the number moves in one fixed direction — and that direction is consistent, not random. From there, a parent can lead to a big idea: a robot "knows it is dark" not with eyes, but by reading a number and comparing it with a threshold. A lamp that switches itself on when it gets dark does exactly that: when the light number falls below the threshold, the lamp switches on.

Ask your child: "If you were making the lamp for the robot, at what number would you want it to switch on?" That question moves a child from reading numbers to making decisions from numbers — the very heart of robot programming.

Experiment 3: Temperature tells a slow story

The third experiment uses a temperature sensor, if one is available. Unlike the two experiments above, which give instant results, temperature changes slowly, and that slowness teaches children patience in observing.

Open the Serial Monitor and write down the room temperature number. Then let your child hold the sensor in the palm of their hand and keep still. The number will rise very slowly, little by little, over about a minute. While waiting, ask your child: "What number do you think it will stop at? Why does it rise more slowly than the distance number?" Children will compare for themselves: a hand coming closer changes the number at once, but heat takes time to travel. That is a physics understanding gained through experience, not through a lecture.

Drawing the path of the number on paper — up, flat, down — is a first step towards understanding graphs: a picture of numbers over time.

When the numbers look "strange": that is when debugging is learned

There will be times when the Serial Monitor shows numbers that look very strange: all zeros, a negative number, or a row of numbers jumping wildly even though nobody moved anything. A child's first reaction is usually: "It's broken!" This is the moment for a parent to help the child think differently: a strange number is not a failure, it is a clue.

Go through the checks together, one at a time, in order. Is the sensor plugged into the right place? Is a wire loose? Is the program sending numbers to the Serial Monitor at all, or is the window completely empty? Do the numbers change when your child touches the sensor? Each answer rules out one possibility. If the numbers do not change even when your child covers the sensor, the problem may be a wire or the sensor not being read in the program. If the window is completely empty, the board may not be sending anything yet — check whether the program is running and whether the transfer speed matches.

This "one thing at a time" way of checking is exactly the debugging thinking engineers use every day, and the Serial Monitor is the best tool for teaching it to children: because your child sees the result of each check at once. Fix one wire, and the number changes. Change one place in the program, and the number changes. Children learn that a robot does not "just break" — there is always a cause, and that cause can be found by observing in an orderly way.

From numbers to decisions: the idea of a threshold

Once your child is comfortable reading numbers, a parent can introduce a very powerful idea without any difficult terminology: a threshold — a boundary number the robot uses to decide.

For example: an obstacle-avoiding robot decides to stop when the distance is less than 20. A lamp switches on when the brightness is less than a certain level. A fan starts when the temperature is greater than a certain level. In each example there is a boundary number, and the robot only has to compare: has the measured number crossed the boundary? If yes, do this; if no, do that.

Let your child choose the threshold in a game: "How far from the wall do you want the robot to stop? 30 or 15? Try both and see how they differ." When your child chooses and tests for themselves, they are programming — even before writing a single line of code. And when they come to real code, the instruction "if the distance is less than 20, stop" will not be a strange symbol, but a familiar sentence they thought of themselves beforehand.

One small habit is well worth building: writing things down. After each experiment, write three lines together with your child: what was measured today, what the numbers were, and what your child concluded. A sheet of paper with a few lines of numbers is enough for a child to see that today's numbers differ from yesterday's, and to start asking why.


Start with ManuStem: Your child aged 8+ can learn robotics right in the browser — no kit to buy, nothing to install. 28 lessons including 8 Component Lab lessons and 20 Competition Robot lessons, 4 free trial lessons, and an AI co-pilot at every step: AI Circuit wires, Gen AI writes code, the Agent coach debugs, plus a 3D robot preview. Learn in Vietnamese and English. Explore now at stem.manusignal.com.

Read the Vietnamese version:

Serial Monitor là gì? Cách đọc số liệu cảm biến cùng con