WEB.BOARD

Complete Component Reference Guide

v1.0
๐Ÿ“–

Introduction

Welcome to the WEB.BOARD Complete Component Reference. This guide documents every component available in the WEB.BOARD electronics sandbox, including pin configurations, properties, state behaviors, and usage examples.

๐Ÿ’ก Component State Types

Sequential: Components with memory that change state on clock edges or events (flip-flops, counters, etc.)
Combinational: Pure logic components where output depends only on current inputs (gates, adders, etc.)

Each component entry includes:

โšก

Power Sources

Batteries, supplies, and voltage regulation components. These provide the electrical energy needed to power circuits.

๐Ÿ”‹

AA Battery

BATTERY_AA
Standard 1.5V alkaline battery with internal resistance and depleting charge.
PinDirNameFunction
posOUT+Positive terminal
negOUTGNDNegative terminal (ground)
Voltage0.5V - 6V
Internal Resistance0ฮฉ - 10ฮฉ
Charge0% - 100%
โšก Sequential โ€” Charge depletes over time
๐Ÿ”‹

9V Battery

BATTERY_9V
High-voltage 9V battery for circuits requiring more power.
PinDirNameFunction
posOUT+Positive terminal
negOUTGNDNegative terminal
Voltage1V - 12V
Charge0% - 100%
โšก Sequential โ€” Charge depletes over time
๐Ÿ”‹

Li-Ion Cell

BATTERY_LI
Rechargeable 3.7V lithium-ion battery with configurable capacity.
PinDirNameFunction
posOUT+Positive terminal
negOUTGNDNegative terminal
Voltage2.5V - 4.35V
Capacity100 - 10000 mAh
Charge0% - 100%
โšก Sequential โ€” Charge depletes over time
๐Ÿ”Œ

DC Supply

DC_SUPPLY
Adjustable DC power supply with current limiting. Ideal for bench power.
PinDirNameFunction
posOUT+Positive output
negOUTGNDGround reference
Voltage0V - 24V
Current Limit0.1A - 10A
โšก Combinational
โ˜€

Solar Cell

SOLAR_CELL
Photovoltaic cell with adjustable light level. Output varies with illumination.
PinDirNameFunction
posOUT+Positive terminal
negOUTGNDNegative terminal
Light Level0% - 100%
โšก Combinational
๐Ÿ”—

USB Power

USB_POWER
Standard 5V USB power source with current limiting protection.
PinDirNameFunction
posOUT5V5V output
negOUTGNDGround
Current Limit0.1A - 3A
โšก Combinational
โš

Ground

GROUND
Common ground reference point. All circuits need a ground reference.
PinDirNameFunction
gndINGNDGround connection
โšก Combinational
๐ŸŽš

Voltage Regulator

VREG
Linear voltage regulator. Maintains constant output voltage from varying input.
PinDirNameFunction
inINVINInput voltage
gndINGNDGround
outOUTVOUTRegulated output
Output Voltage1V - 12V
โšก Combinational
โคด

Boost Converter

BOOST_CONV
Step-up DC-DC converter. Increases voltage with configurable efficiency.
PinDirNameFunction
inINVINInput voltage
gndINGNDGround
outOUTVOUTStepped-up output
Output Voltage5V - 48V
Efficiency50% - 98%
โšก Combinational
โคต

Buck Converter

BUCK_CONV
Step-down DC-DC converter. Decreases voltage with high efficiency.
PinDirNameFunction
inINVINInput voltage
gndINGNDGround
outOUTVOUTStepped-down output
Output Voltage0.8V - 24V
Efficiency50% - 98%
โšก Combinational
๐ŸŽ›

Inputs

User-controlled and automated input sources. Switches, buttons, clocks, and signal generators.

๐ŸŽš

Toggle Switch

TOGGLE_SWITCH
SPST toggle switch. Click to toggle between ON and OFF states.
PinDirNameFunction
inININInput signal
outOUTOUTSwitched output
Stateon (true/false)
โšก Sequential โ€” Click to toggle
๐Ÿ”˜

Push Button

PUSH_BUTTON
Momentary push button. Output HIGH while held, LOW when released.
PinDirNameFunction
outOUTOUTButton output
Heldtrue/false
โšก Sequential โ€” Hold to activate
๐ŸŽ›

Rotary Switch

ROTARY_SWITCH
4-position rotary switch. Click to cycle through positions 0-3.
PinDirNameFunction
out0OUT0Position 0 active
out1OUT1Position 1 active
out2OUT2Position 2 active
out3OUT3Position 3 active
Position0 - 3
โšก Sequential โ€” Click to rotate
๐Ÿ”ข

Keypad 3x3

KEYPAD
Numeric keypad with 4 outputs representing keys 0-3. Click to cycle.
PinDirNameFunction
out0OUT0Key 0 pressed
out1OUT1Key 1 pressed
out2OUT2Key 2 pressed
out3OUT3Key 3 pressed
Key-1 to 3
โšก Sequential โ€” Click to cycle
๐ŸŽš

Potentiometer

POTENTIOMETER
Variable resistor with wiper output. Adjustable tap position.
PinDirNameFunction
inININInput voltage
wiperOUTWIPERVariable tap output
gndINGNDGround reference
Wiper Position0.0 - 1.0
Total Resistance100ฮฉ - 100kฮฉ
โšก Combinational
๐ŸŽš

Slider Input

SLIDER
Horizontal slider providing variable output value.
PinDirNameFunction
outOUTOUTSlider value output
Value0.0 - 1.0
โšก Combinational
โฐ

Clock Generator

CLOCK_GEN
Configurable square wave oscillator. Generates periodic clock signal.
PinDirNameFunction
outOUTOUTClock output
Period2 - 60 ticks
Duty Cycle0.05 - 0.95
State: phase0 - period
State: val0 or 1
โšก Sequential โ€” Oscillates automatically
๐Ÿ“ถ

Pulse Generator

PULSE_GEN
Single-shot pulse generator. Click to trigger a pulse of configurable width.
PinDirNameFunction
outOUTOUTPulse output
Pulse Width1 - 30 ticks
State: countdown0 - width
โšก Sequential โ€” Click to pulse
โฌ†

Constant HIGH

CONST_HIGH
Always outputs logical HIGH (1). Useful for tying inputs high.
PinDirNameFunction
outOUTOUTConstant HIGH
โšก Combinational
โฌ‡

Constant LOW

CONST_LOW
Always outputs logical LOW (0). Useful for tying inputs low.
PinDirNameFunction
outOUTOUTConstant LOW
โšก Combinational
โ›ฉ

Logic Gates

Fundamental digital logic building blocks. Combinational logic with no internal state.

โ›ฉ

AND Gate

AND_GATE
2-input AND gate. Output HIGH only when both inputs are HIGH.
PinDirNameFunction
aINAInput A
bINBInput B
outOUTOUTA AND B
Truth Table: 00โ†’0, 01โ†’0, 10โ†’0, 11โ†’1
โšก Combinational
โ›ฉ

OR Gate

OR_GATE
2-input OR gate. Output HIGH when either or both inputs are HIGH.
PinDirNameFunction
aINAInput A
bINBInput B
outOUTOUTA OR B
Truth Table: 00โ†’0, 01โ†’1, 10โ†’1, 11โ†’1
โšก Combinational
โ›ฉ

XOR Gate

XOR_GATE
2-input XOR gate. Output HIGH when inputs are different.
PinDirNameFunction
aINAInput A
bINBInput B
outOUTOUTA XOR B
Truth Table: 00โ†’0, 01โ†’1, 10โ†’1, 11โ†’0
โšก Combinational
โ›ฉ

NAND Gate

NAND_GATE
2-input NAND gate. Inverted AND output.
PinDirNameFunction
aINAInput A
bINBInput B
outOUTOUTNOT (A AND B)
Truth Table: 00โ†’1, 01โ†’1, 10โ†’1, 11โ†’0
โšก Combinational
โ›ฉ

NOR Gate

NOR_GATE
2-input NOR gate. Inverted OR output.
PinDirNameFunction
aINAInput A
bINBInput B
outOUTOUTNOT (A OR B)
Truth Table: 00โ†’1, 01โ†’0, 10โ†’0, 11โ†’0
โšก Combinational
โ›ฉ

XNOR Gate

XNOR_GATE
2-input XNOR gate. Inverted XOR output. HIGH when inputs are equal.
PinDirNameFunction
aINAInput A
bINBInput B
outOUTOUTNOT (A XOR B)
Truth Table: 00โ†’1, 01โ†’0, 10โ†’0, 11โ†’1
โšก Combinational
โ›ฉ

NOT Gate (Inverter)

NOT_GATE
Single-input inverter. Outputs the logical opposite of input.
PinDirNameFunction
aINAInput
outOUTOUTNOT A
Truth Table: 0โ†’1, 1โ†’0
โšก Combinational
โ–ท

Tri-State Buffer

TRISTATE_BUFFER
Buffer with enable control. When disabled, output is high-impedance (floating).
PinDirNameFunction
aINAData input
enINENEnable (active HIGH)
outOUTOUTBuffered output or Hi-Z
EN=0: Output=Hi-Z (floating)
EN=1: Output=A
โšก Combinational
โš–

Comparator

COMPARATOR
2-bit magnitude comparator. Compares two values and outputs relation.
PinDirNameFunction
aINAValue A
bINBValue B
gtOUTA>BA greater than B
eqOUTA=BA equals B
ltOUTA<BA less than B
โšก Combinational
๐Ÿ“ฅ

4-to-2 Encoder

ENCODER
Priority encoder. Converts 4 inputs to 2-bit binary code.
PinDirNameFunction
i0INI0Input 0 (LSB)
i1INI1Input 1
i2INI2Input 2
i3INI3Input 3 (MSB)
o0OUTO0Output bit 0
o1OUTO1Output bit 1
โšก Combinational
๐Ÿ“ค

2-to-4 Decoder

DECODER
Binary decoder. Converts 2-bit input to 4 one-hot outputs.
PinDirNameFunction
a0INA0Address bit 0
a1INA1Address bit 1
o0OUTO0Output 0
o1OUTO1Output 1
o2OUTO2Output 2
o3OUTO3Output 3
โšก Combinational
๐Ÿฅ‡

Priority Encoder

PRIORITY_ENCODER
4-input priority encoder. Highest active input wins.
PinDirNameFunction
i0INI0Input 0 (lowest priority)
i1INI1Input 1
i2INI2Input 2
i3INI3Input 3 (highest priority)
o0OUTO0Output bit 0
o1OUTO1Output bit 1
โšก Combinational
๐Ÿ”ข

Arithmetic

Mathematical operation components for building calculators and processors.

โž•

Half Adder

HALF_ADDER
2-bit adder without carry-in. Produces sum and carry-out.
PinDirNameFunction
aINAInput A
bINBInput B
sumOUTSSum (A XOR B)
coutOUTCCarry out (A AND B)
โšก Combinational
โž•

Full Adder

FULL_ADDER
3-bit adder with carry-in. Complete single-bit addition.
PinDirNameFunction
aINAInput A
bINBInput B
cinINCinCarry in
sumOUTSSum output
coutOUTCCarry out
โšก Combinational
โž•

4-Bit Adder

ADDER4
4-bit parallel binary adder with carry-in and carry-out.
PinDirNameFunction
a0-a3INA0-A34-bit input A
b0-b3INB0-B34-bit input B
cinINCinCarry in
s0-s3OUTS0-S34-bit sum
coutOUTCoutCarry out
โšก Combinational
โž–

4-Bit Subtractor

SUBTRACTOR4
4-bit binary subtractor (A - B). Outputs difference and borrow.
PinDirNameFunction
a0-a3INA0-A3Minuend (4-bit)
b0-b3INB0-B3Subtrahend (4-bit)
s0-s3OUTS0-S3Difference (4-bit)
borrowOUTBorBorrow out
โšก Combinational
โซ

4-Bit Incrementer

INCREMENTER
Adds 1 to a 4-bit value. Wraps from 15 to 0.
PinDirNameFunction
a0-a3INA0-A34-bit input
s0-s3OUTS0-S3Input + 1 (mod 16)
โšก Combinational
โฌ

4-Bit Decrementer

DECREMENTER
Subtracts 1 from a 4-bit value. Wraps from 0 to 15.
PinDirNameFunction
a0-a3INA0-A34-bit input
s0-s3OUTS0-S3Input - 1 (mod 16)
โšก Combinational
โœ–

2-Bit Multiplier

MULTIPLIER2
Multiplies two 2-bit numbers. Produces 4-bit result.
PinDirNameFunction
a0,a1INA2-bit multiplicand
b0,b1INB2-bit multiplier
p0-p3OUTP0-P34-bit product
โšก Combinational
โž—

2-Bit Divider

DIVIDER2
Divides two 2-bit numbers. Outputs quotient and remainder.
PinDirNameFunction
a0,a1INA2-bit dividend
b0,b1INB2-bit divisor
q0,q1OUTQ2-bit quotient
r0,r1OUTR2-bit remainder
โšก Combinational
๐Ÿ”€

2:1 Multiplexer

MUX2
2-input multiplexer. Selects one of two inputs based on SEL.
PinDirNameFunction
aINAInput A
bINBInput B
selINSELSelect (0=A, 1=B)
outOUTOUTSelected output
โšก Combinational
๐Ÿ”€

4:1 Multiplexer

MUX4
4-input multiplexer. Selects one of four inputs using 2-bit select.
PinDirNameFunction
i0-i3INI0-I3Data inputs
s0,s1INS0,S1Select bits
outOUTOUTSelected output
โšก Combinational
๐Ÿ”€

1:4 Demultiplexer

DEMUX
Routes one input to one of four outputs based on select.
PinDirNameFunction
inININInput signal
s0,s1INS0,S1Select bits
o0-o3OUTO0-O3Outputs (one active)
โšก Combinational
๐Ÿงฎ

4-Bit ALU

ALU4
Arithmetic Logic Unit. Performs ADD, SUB, AND, OR operations.
PinDirNameFunction
a0-a3INAOperand A (4-bit)
b0-b3INBOperand B (4-bit)
op0,op1INOPOperation select
y0-y3OUTYResult (4-bit)
zeroOUTZEROZero flag
OP=00: ADD | OP=01: SUB | OP=10: AND | OP=11: OR
โšก Combinational
๐Ÿ—„

Memory

Storage elements from simple latches to complex RAM blocks. Sequential components with internal state.

๐Ÿ—„

SR Latch

SR_LATCH
Set-Reset latch. Basic memory element. S=1 sets Q, R=1 resets Q.
PinDirNameFunction
sINSSet (active HIGH)
rINRReset (active HIGH)
qOUTQStored value
nqOUTQฬ„Complement of Q
State: q0 or 1
โšก Sequential โ€” Memory element
๐Ÿ—„

D Flip-Flop

D_FLIPFLOP
Edge-triggered D flip-flop. Captures D on rising clock edge.
PinDirNameFunction
dINDData input
clkINCLKClock (rising edge)
qOUTQStored value
nqOUTQฬ„Complement of Q
State: q0 or 1
State: lastClk0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ—„

JK Flip-Flop

JK_FLIPFLOP
JK flip-flop with toggle capability. J=K=1 toggles output.
PinDirNameFunction
jINJJ input
clkINCLKClock (rising edge)
kINKK input
qOUTQStored value
nqOUTQฬ„Complement of Q
State: q0 or 1
State: lastClk0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ—„

T Flip-Flop

T_FLIPFLOP
Toggle flip-flop. T=1 toggles output on clock edge.
PinDirNameFunction
tINTToggle input
clkINCLKClock (rising edge)
qOUTQStored value
nqOUTQฬ„Complement of Q
State: q0 or 1
State: lastClk0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ—‚

4-Bit Register

REGISTER4
4-bit parallel register. Stores 4 bits on clock edge.
PinDirNameFunction
d0-d3IND0-D34-bit data input
clkINCLKClock (rising edge)
q0-q3OUTQ0-Q34-bit stored value
State: v[4]4-bit array
State: lastClk0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ—‚

4-Bit Shift Register

SHIFT_REGISTER4
Serial-in, parallel-out shift register. Shifts on each clock edge.
PinDirNameFunction
dinINDINSerial data input
clkINCLKClock (rising edge)
q0-q3OUTQ0-Q3Parallel outputs
State: v[4]4-bit shift array
State: lastClk0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ”ข

4-Bit Counter

COUNTER4
4-bit binary counter with asynchronous reset. Counts on clock edges.
PinDirNameFunction
clkINCLKClock (rising edge)
rstINRSTReset (active HIGH)
q0-q3OUTQ0-Q34-bit count value
State: v0-15
State: lastClk0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ’พ

RAM 16x4

RAM_16x4
16-word by 4-bit random access memory. Read/write on clock.
PinDirNameFunction
a0-a3INA4-bit address
d0-d3IND4-bit data input
weINWEWrite enable
clkINCLKClock (rising edge)
q0-q3OUTQ4-bit data output
State: mem[16]16x4 array
State: lastClk0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ’ฟ

ROM 16x4

ROM_16x4
16-word by 4-bit read-only memory. Pre-loaded with values 1-15,0.
PinDirNameFunction
a0-a3INA4-bit address
q0-q3OUTQ4-bit data output
State: mem[16][1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0]
โšก Combinational โ€” Read-only

Storage Blocks (Wide Memory)

Byte-addressed storage with configurable data width (4/8/16/32-bit). Supports parallelization via CS/OE.

๐Ÿ—ƒ

4-Bit Storage Block

STORAGE_BLOCK_4
256-word by 4-bit storage. 8-bit address bus, parallelizable.
PinDirNameFunction
d0-d3IND4-bit data in
a0-a7INA8-bit address (0-255)
weINWEWrite enable
clkINCLKClock
csINCSChip select
oeINOEOutput enable
q0-q3OUTQ4-bit data out
State: mem[256]256x4 array
State: lastWe0 or 1
Property: labeltext
Property: baseAddress0-255
โšก Sequential โ€” Clock-triggered
๐Ÿ—ƒ

8-Bit Storage Block

STORAGE_BLOCK_8
256-word by 8-bit storage. Standard byte-addressable memory.
PinDirNameFunction
d0-d7IND8-bit data in
a0-a7INA8-bit address
weINWEWrite enable
clkINCLKClock
csINCSChip select
oeINOEOutput enable
q0-q7OUTQ8-bit data out
State: mem[256]256x8 array
State: lastWe0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ—ƒ

16-Bit Storage Block

STORAGE_BLOCK_16
256-word by 16-bit storage. Wide memory for 16-bit systems.
PinDirNameFunction
d0-d15IND16-bit data in
a0-a7INA8-bit address
weINWEWrite enable
clkINCLKClock
csINCSChip select
oeINOEOutput enable
q0-q15OUTQ16-bit data out
State: mem[256]256x16 array
State: lastWe0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ—ƒ

32-Bit Storage Block

STORAGE_BLOCK_32
256-word by 32-bit storage. Wide memory for 32-bit systems.
PinDirNameFunction
d0-d31IND32-bit data in
a0-a7INA8-bit address
weINWEWrite enable
clkINCLKClock
csINCSChip select
oeINOEOutput enable
q0-q31OUTQ32-bit data out
State: mem[256]256x32 array
State: lastWe0 or 1
โšก Sequential โ€” Clock-triggered
๐Ÿ’ก

Outputs

Visual, audible, and mechanical output devices. Most consume power when active.

๐Ÿ’ก

LED

LED
Light emitting diode. Illuminates when forward biased.
PinDirNameFunction
aINAAnode (+)
kINKCathode (-)
ColorRed/Green/Blue/Yellow/White
Brightness0.1 - 1.0
Forward Voltage1.5V - 3.6V
Power0.02W
โšก Combinational โ€” Visual output
๐ŸŒˆ

RGB LED

RGB_LED
Red-Green-Blue LED with common cathode. Mix colors with PWM.
PinDirNameFunction
rINRRed channel
gINGGreen channel
bINBBlue channel
gndINGNDCommon cathode
Brightness0.1 - 1.0
Power0.03W
โšก Combinational โ€” Visual output
๐Ÿ’ก

Light Bulb

LIGHT_BULB
Incandescent bulb with configurable wattage.
PinDirNameFunction
aINATerminal A
bINBTerminal B
Wattage1W - 100W
Power0.5W
โšก Combinational โ€” Visual output
๐Ÿ”Š

Buzzer

BUZZER
Piezoelectric buzzer with configurable frequency.
PinDirNameFunction
aIN+Positive
bIN-Negative
Frequency100Hz - 5kHz
Power0.05W
โšก Combinational โ€” Audio output
๐Ÿ”ˆ

Speaker

SPEAKER
Dynamic speaker with impedance and volume control.
PinDirNameFunction
sigINSIGSignal input
gndINGNDGround
Impedance2ฮฉ - 32ฮฉ
Volume0.0 - 1.0
Power0.1W
โšก Combinational โ€” Audio output
โš™

DC Motor

MOTOR
Brushed DC motor with visual rotation indicator.
PinDirNameFunction
aIN+Positive terminal
bIN-Negative terminal
Max RPM100 - 20,000
Torque0.1 - 50 Nยทcm
State: ang0ยฐ - 359ยฐ
Power0.8W
โšก Sequential โ€” Rotates when powered
๐Ÿงฒ

Relay

RELAY
Electromechanical relay with SPDT contacts.
PinDirNameFunction
coil_aINCOILCoil terminal A
coil_bINCOILCoil terminal B
comINCOMCommon contact
noOUTNONormally open
ncOUTNCNormally closed
Coil Voltage3V - 24V
Max Switch Current1A - 30A
Power0.15W
โšก Combinational โ€” Electromechanical
8

7-Segment Display

SEVEN_SEG
Single digit 7-segment LED display with decimal point.
PinDirNameFunction
a-gINA-GSegment inputs
dpINDPDecimal point
Power0.05W
โšก Combinational โ€” Visual output
88:88

4-Digit 7-Segment

SEVEN_SEG_MULTI
Multiplexed 4-digit display with digit select inputs.
PinDirNameFunction
a-gINA-GSegment bus
d0-d3INDIGDigit select (active)
Power0.1W
โšก Combinational โ€” Visual output
โฃฟ

Dot Matrix 5x7

DOT_MATRIX
5x7 LED matrix display with shift register interface.
PinDirNameFunction
clkINCLKClock
dinINDINSerial data
csINCSChip select
State: buf[35]5x7 pixel buffer
State: shiftshift register
State: bitsbit counter
Power0.08W
โšก Sequential โ€” Shift register
โ–ญ

LCD 16x2

LCD_DISPLAY
Character LCD display with text buffer.
PinDirNameFunction
clkINCLKClock
dinINDINData input
rsINRSRegister select
csINCSChip select
Display Texttext input
Contrast0.0 - 1.0
Power0.06W
โšก Combinational โ€” Visual output
๐Ÿ–ฅ

Virtual Screen 128

VIRTUAL_SCREEN
128x128 pixel graphical display with SPI-like protocol.
PinDirNameFunction
clkINCLKSerial clock
dinINDINSerial data
dcINDCData/Command select
csINCSChip select
vccINVCCPower
gndINGNDGround
State: fb[16384]