Switch, Micro SPDT, 15A, V-152-1C25

CAD $2.52

In stock

Description

This switch is a micro Single Pole Double Throw (SPDT) mechanical end stops. They are commonly used to help a robot sense the world around it. For example, in a CNC machine, the moving parts will back up until they contact the switch and then stop. This is called their “home” position.

Tutorial

  • Connect one pole to ground (black), one to 5v (red), and one to signal (blue).
  • Connect the signal line to an Arduino digital pin.
  • Run this Arduino code:
    void setup() {
      Serial.begin(9600);
      pinMode(YOURPIN,INPUT);
    }
    
    void loop() {
      Serial.println(digitalRead(YOURPIN));
      delay(100);
    }
  • Now open the serial window and watch the number change as you click the switch.

See Also

Switches on Wikipedia

Additional information

Weight 0.002343 kg
Dimensions 2.4 × 2.5 × 0.6 cm

Reviews

There are no reviews yet.

Be the first to review “Switch, Micro SPDT, 15A, V-152-1C25”

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0
Save & Share Cart
Your Shopping Cart will be saved and you'll be given a link. You, or anyone with the link, can use it to retrieve your Cart at any time.
Back Save & Share Cart
Your Shopping Cart will be saved with Product pictures and information, and Cart Totals. Then send it to yourself, or a friend, with a link to retrieve it at any time.
Your cart email sent successfully :)