Sale!

20 Pieces SS12D03 / 1P2T Lever Switch / Pin Bending Switch

Original price was: 2,56 €.Current price is: 1,97 €. Excluding VAT

Our SS12D03 is a toggle switch 1P2T perfect for your Arduino projects. Useful for controlling various functions in electronic circuits.

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

Category:

🎬 The product on video

Description

What it is

The SS12D03 / 1P2T is a toggle switch with 1 pole and 2 positions, an electronic component that allows interrupting or resetting the flow of electric current in a circuit.

Features

  • Type: Toggle Switch
  • Polarity: 1P2T (1 pole, 2 positions)
  • Quantity: 20 pieces
  • SKU: ARD0011437

What it is for

The toggle switch SS12D03 / 1P2T is useful for controlling various functions in electronic circuits. It can be used in Arduino projects, 3D printing, and drones for simple and reliable manual control of power flow. Examples of use include turning LEDs on and off, activating motors, or selecting different settings.

Tutorial: How to use Toggle Switch SS12D03 / 1P2T

The SS12D03 / 1P2T toggle switch is an essential component for anyone who wants to control the flow of energy in an electronic circuit. Ideal for Arduino, 3D printing, and drone projects, this switch offers simple and reliable manual control.

What you need

  • Arduino Uno
  • Jumper cable
  • Breadboard
  • Led
  • Resistor

Steps

  1. Connect the toggle switch to the breadboard
  2. Connect a led and a resistor in series to the breadboard
  3. Connect the control pin of the switch to the input pin of the Arduino
  4. Write and upload the Arduino sketch

Example code

const int ledPin = 13;
const int switchPin = 2;

void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(switchPin, INPUT);
}

void loop() {
  if (digitalRead(switchPin) == HIGH) {
    digitalWrite(ledPin, HIGH);
  } else {
    digitalWrite(ledPin, LOW);
  }
}

Mini project

Create a lighting system controlled by a toggle switch. When you move the lever of the switch, the led turns on or off.

Common mistakes

  • Connect the wrong pin of the switch
  • Do not verify the correct resistor for the led
  • Do not check the correct flow of energy
  • Do not test the circuit before uploading the code

Recommended accessories

  • Arduino Uno
  • Breadboard
  • Jumper cable
  • Various LEDs

Frequently asked questions

How can I check if the switch is working correctly?
Check the continuity between the switch contacts when the lever is in the ‘ON’ and ‘OFF’ positions.

What is the current consumption of the switch?
Check the datasheet.

Reviews

There are no reviews yet.

Be the first to review “20 Pieces SS12D03 / 1P2T Lever Switch / Pin Bending Switch”

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