Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Cover for Too Close to the TV? How an Arduino Sends Pause by Infrared

Video by Adaptive AgroTech. If the embedded player is unavailable, open the original video ↗.

Too Close to the TV? How an Arduino Sends Pause by Infrared

An Arduino waits until an object remains within 40 cm of the distance sensor for two seconds before sending an infrared PAUSE command. It sends one command per approach.

Understand the concept

The key idea

The dwell time filters brief passages through the detection zone. Moving away rearms the logic, allowing a later approach to generate another command without automatically resuming playback.

What to remember

  • A sustained range condition triggers a single event.
  • Rearming the detector and resuming playback are separate actions.
Pause & think

Check your understanding

Why send PAUSE once instead of transmitting it on every close-range reading?

Show the explanation

One transmission represents the approach and avoids repeatedly issuing the same command.