Sale!

2-Way Lever Switch Red MB-102

Original price was: 4,57 €.Current price is: 2,11 €. Excluding VAT

2-Way Lever Switch Red MB-102

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

🎬 The product on video

Description

What is it The 2-Way Lever Switch Red MB-102 is a simple electronic device used to control the flow of current in a circuit. This red switch is suitable for Arduino, Raspberry Pi, or other microcontrollers projects. Features Type: 2-way lever switch Contact chain: 2-way Color: Red SKU: ARD006562 What is it used for The MB-102 switch is ideal for projects requiring manual current flow control. It can be used in domestic systems like alarms or any other electronic device where it is necessary to interrupt or allow the passage of electrical current. Tutorial: How to use the Red MB-102 Lever Switch The 2-way red lever switch is a simple device that allows you to control the electrical flow in a circuit. Ideal for Arduino, Raspberry Pi, or any other microcontroller project where user input needs to be managed. What do you need Arduino Uno Breadboard Jumper wires Steps Connect the breadboard to pin 2 of the microcontroller. Connect the two contacts of the lever switch to the common buses of the breadboard. Check the correct polarity of the connectors. Write and upload the Arduino sketch to handle the switch input. Example code void setup() { pinMode(2, INPUT); } void loop() { int val = digitalRead(2); if(val == HIGH) { Serial.println(“Interruttore ON”); } else { Serial.println(“Interruttore OFF”); } } Mini-project Create a domestic alarm system that sends a notification when the switch is pressed. Common errors Not checking the polarity of the connectors. Connecting the breadboard without first testing the switch. Ignoring the datasheet specifications. Using an incompatible switch. Recommended accessories Breadboard 830 points Multicolored jumper wires Arduino Uno R3 Frequently asked questions Is the MB-102 switch compatible with Raspberry Pi? Yes, the switch can be connected to a Raspberry Pi GPIO. Which breadboard pins should I use for the switch? Use the common buses A and B of the breadboard.

Reviews

There are no reviews yet.

Be the first to review “2-Way Lever Switch Red MB-102”

Your email address will not be published. Required fields are marked *