In this article you will find out how to use a push button sensor.
The push button sensor is designed to send a signal to the controller when a button is pressed.
Technical description:

- Working voltage - 3.3V~5V;
- Output - digital level (logical unit when pressed)

Principle of operation

A button (or pushbutton switch) is the simplest and most affordable of all types of sensors. By pushing it, you send a signal to the controller, which then leads to some kind of action: LEDs turn on, sounds are made, motors start.

Diagram of connecting the push button sensor to the R:ED One controller

Program example:
R:ED Code

Technical support

Technical support in Telegram

© R:ED – Robotics Education. All rights reserved