Sale!

LAYE 11MM Yellow37 to 11m (PBC) Y090LAY7-11 Mushroomhead Push Button Switch

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

LAYE 11MM yellow37 to 11 m (PBC) Y090LAY7-11 ma 11 m push mushroom button Switch

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

Category:

🎬 The product on video

Description

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

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

Tutorial: How to use Y090LAY7-11

The mushroomhead push button switch Y090LAY7-11 is ideal for projects requiring a physical switch. Useful for beginners and intermediate makers.

What you need

  • Mushroomhead push button switch Y090LAY7-11
  • Arduino
  • Power supply cable
  • 10kΩ resistor
  • Breadboard

Steps

  1. 1. Mount the push button on the breadboard.
  2. 2. Connect the positive terminal of the push button to the digital input pin of the Arduino.
  3. 3. Connect the negative terminal of the push button to GND.
  4. 4. Connect a 10kΩ resistor between the digital input pin and VCC.
  5. 5. Download the following code to the Arduino.
  6. 6. Connect the Arduino to the power supply.
  7. 7. Test the button.
  8. 8. Verify the button reading on the serial monitor.

Example code

```void setup() {  pinMode(2, INPUT);  Serial.begin(9600);}void loop() {  int val = digitalRead(2);  Serial.println(val);  delay(100);}```

Mini project

Create a simple counter using the button. Connect the button to a digital pin and an LED to another. Each time you press the button, the LED should turn on and off.

Common mistakes

  • Do not check if the button is properly connected.
  • Omit the pull-up resistor.
  • Do not use the `digitalRead` function.
  • Forget to connect the power supply.

Recommended accessories

  • LED
  • LED resistor
  • Breadboard
  • Breadboard wires

Frequently asked questions

The button doesn’t work, what should I do?
Check connectivity and polarity. Make sure the pull-up resistor is correctly connected.

Can I use another type of button?
Yes, but make sure it has a mushroom push.

Does the button consume energy?
No, the button does not consume energy when not pressed.

Can I use another Arduino?
Yes, this button is compatible with any Arduino.

Reviews

There are no reviews yet.

Be the first to review “LAYE 11MM Yellow37 to 11m (PBC) Y090LAY7-11 Mushroomhead Push Button Switch”

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