Gokino
Learn Arduino with AI
#044 मिनटLesson4_PushbuttonPullUp.ino

Arduino Pushbutton & INPUT_PULLUP: Floating Pin 1 Line Mein Fix | Lesson #4

1 line code mein Arduino pushbutton flicker rokein! Floating pin, built-in INPUT_PULLUP aur Active-LOW logic Chrome par Gokino AI se seekhein.

मुख्य सीख

  • Chrome Mein Gokino.dev Open Karein Bina Install
  • Workbench Kit (6 Parts, Zero Extra Button Resistor)
  • Floating Pin, Built-in INPUT_PULLUP aur Active-LOW Logic
  • Gokino AI /wiring Interactive Circuit Diagram

वर्कबेंच हार्डवेयर किट

  • Arduino Uno R3: ATmega328P 5V brain board with built-in 20k-50kΩ pull-up resistors + USB-B data cable
  • Solderless Breadboard: Half-size 400-point grid: 5-hole rows A-E / F-J, center gap, and blue (-) GND rail
  • 4-Pin Tactile Pushbutton: 6x6mm momentary switch straddling center gap (no polarity; uses built-in INPUT_PULLUP)
  • 5mm Red External LED: One-way 2.0V bulb (15mA safe): long (+) leg Anode, short flat-edge (-) leg Cathode
  • 220Ω Resistor: 1/4W Red-Red-Brown-Gold bands (either way works): protects LED at safe 13.6mA
  • Male-to-Male Jumper Wires: Blue Pin 2 wire, orange Pin 12 wire, and 3 black GND wires (no 5V wire needed!)

10-सेकंड हार्डवेयर चुनौती

Your pushbutton circuit works cleanly! Try flipping LOW to HIGH on gokino.dev for a fridge-door light, and subscribe for Lesson Five!