Gokino
Learn Arduino with AI
#044 분Lesson4_PushbuttonPullUp.ino

아두이노 버튼 INPUT_PULLUP (플로팅 핀 1줄 해결!) | 레슨 #4

아두이노 버튼이 저절로 깜빡이는 플로팅 핀 잡음을 내장 INPUT_PULLUP 1줄로 해결하고 Active-LOW 반전 논리까지 크롬에서 실습하세요.

핵심 학습 포인트

  • 설치 없이 크롬에서 Gokino.dev 열기
  • 실습 준비물 6가지
  • 플로팅 핀 원리 및 내장 INPUT_PULLUP
  • Gokino AI /wiring 인터랙티브 회로도

실습 하드웨어 키트

  • 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!