Gokino
Learn Arduino with AI
#044 minLesson4_PushbuttonPullUp.ino

Botão Arduino e INPUT_PULLUP: Fim do Pino Flutuante em 1 Linha | Aula #4

Acabe com o LED piscando no botão Arduino em 1 linha! Aprenda pino flutuante, INPUT_PULLUP interno e lógica Active-LOW no Chrome com Gokino AI.

Principais aprendizados

  • Abrir Gokino.dev no Chrome sem instalar nada
  • Kit de bancada (6 peças, zero resistor extra para o botão)
  • Pino flutuante (Floating Pin), INPUT_PULLUP e lógica Active-LOW
  • Diagrama interativo com Gokino AI /wiring

Kit de hardware de bancada

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

Desafio de hardware de 10 segundos

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