Sale!

White 11MM LAY37 to 11 m (PBC) Y090LAY7-11 m Push-Point Mushroom Head Button Switch

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

White 11MM LAY37 at 11 m (PBC) Y090LAY7-11 ma 11 m push-point mushroom head button switch

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

Category:

🎬 The product on video

Description

White 11MM LAY37 to 11m (PBC) Y090LAY7-11m mushroomhead push button switch

We have datasheets available for all components, if not present in the product download sheet, send us a message from the contact us module and we will publish it as soon as possible on our website.

Tutorial: How to use Pulsant Y090LAY7-11

The Y090LAY7-11 button is ideal for Arduino-based projects that require user interface interactions. Useful for beginners and those who want to add input functionality.

What you need

  • Arduino
  • Power cable
  • 10kΩ resistor

Steps

  1. 1. Install the Arduino IDE.
  2. 2. Connect the button to pin D2 of Arduino with a cable.
  3. 3. Connect the GND pin of the button to the GND of Arduino.
  4. 4. Connect the other end of the button to the 10kΩ resistor.
  5. 5. Connect the other end of the resistor to pin D3 of Arduino.
  6. 6. Load the following code into Arduino.
  7. 7. Test the button.
  8. 8. Check the datasheet for further details.

Example code

```int buttonPin = 2;
int ledPin = 13;
int buttonState = 0;

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

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

Mini project

Create a simple light switch. Connect an LED to pin D13 of Arduino and use the Y090LAY7-11 push button to turn the LED on/off.

Common mistakes

  • Do not connect the button pins correctly.
  • Use a resistor other than 10kΩ.
  • Do not load the correct code onto the Arduino.
  • Forget to check the datasheet.

Recommended accessories

  • LED
  • 10kΩ Resistor
  • Power Cable
  • Arduino

Frequently asked questions

How can I verify the button is working?
Check that the button works correctly by connecting it to an LED and ensuring the LED turns on/off when you press the button.

Can I use a different button than this one?
Yes, but make sure the button has the same connectors and dimensions.

Which Arduino pins can I use?
You can use any I/O pin on the Arduino.

Does the button work with Arduino Nano?
Yes, the button is compatible with Arduino Nano.

Reviews

There are no reviews yet.

Be the first to review “White 11MM LAY37 to 11 m (PBC) Y090LAY7-11 m Push-Point Mushroom Head Button Switch”

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