PIC16F84A · port I/O, one bit at a time

I/O Pin Lab

logic 1logic 0Hi-Z / floatingunknown (x)signal firing now

Pin circuit · RB0

Q1Q2Q3Q4
DATA BUS bit 0 to / from W and ALU RD LAT Read-LAT path: PIC18 only. The 16F84A has no LAT register. Data latch (PORT) DQCK WR PORT Output buffer Hi-Z open-drain (N-channel only) VDD weak pull-up (RBPU) RB0 floating 330 Ω LED off J1 SW LED 470 Ω VDD 10 kΩ SW released click J1: SW or LED RD TRIS TRIS latch DQCK WR TRIS OE (active-low) TTL input buffer Input latch (transparent) DQEN RD PORT EN = 1 · transparent
RESET

Pins

click a pin to inspect it

PORTA · RA4–RA0EXT

PORTB · RB7–RB0EXT

Selector J1 wires each pin to one device: a push-button switch (input device: 10 kΩ pull-up, 470 Ω to the pin) or an LED (output device: 330 Ω to GND). The board starts with switches on PORTA and LEDs on PORTB. EXT: SW·HI = switch released · SW·LO = pressed · LED. Click J1 or SW in the circuit, or EXT here.

Command line

Guided examples

Registers

bank 0