CNAP

Parts Reference

Each page covers one component: pin names, configurable attributes, a wiring guide, and code examples.

Available parts

ComponentTypeDescription
Arduino UnoMicrocontrollerATmega328P board — 14 digital I/O, 6 analog inputs, PWM, SPI, I²C, USART
LEDOutputStandard single-colour LED
ResistorPassiveFixed-value resistor for current limiting and pull-up/pull-down
PushbuttonInputMomentary tactile button — SPST-NO, works with INPUT_PULLUP
7-Segment DisplayOutputSingle-digit 7-segment display with decimal point
LED Bar GraphOutput10-segment bar of individually addressable LEDs
LED RingOutput16-pixel WS2812B addressable LED ring
NeoPixelOutputSingle WS2812B addressable RGB LED
NeoPixel MatrixOutputGrid of WS2812B addressable RGB LEDs (default 8×8)
LCD 1602Display16×2 character LCD (HD44780-compatible)
LCD 2004Display20×4 character LCD (HD44780-compatible)
SSD1306 OLEDDisplay128×64 monochrome graphical OLED (I²C)
ILI9341 TFTDisplay240×320 colour TFT display over SPI
Pushbutton 6mmInputCompact 6mm tactile pushbutton
Slide SwitchInputSPDT slide switch
Membrane KeypadInput4×4 scanned matrix keypad (16 keys)
DIP Switch 8Input8-way DIP package of independent switches
RGB LEDOutputCommon-cathode red/green/blue LED package
PotentiometerInput / AnalogRotary variable resistor
BuzzerOutput / AudioPiezo buzzer driven with tone()
Servo MotorOutput / MotorStandard hobby servo, absolute-angle control
DHT22SensorDigital temperature and humidity sensor
HC-SR04SensorUltrasonic distance sensor
PhotoresistorSensorLight-dependent resistor (LDR) module
Analog JoystickInput / Analog2-axis joystick with push button
Arduino MegaMicrocontrollerATmega2560 board — 54 digital I/O, 16 analog inputs, 4 serial ports
Arduino NanoMicrocontrollerATmega328P board in a compact DIP form factor
ESP32 DevKit V1MicrocontrollerDual-core WiFi/Bluetooth board, 3.3V logic
FranzininhoMicrocontrollerATtiny85-based minimal board
Nano RP2040 ConnectMicrocontrollerRP2040-based Nano with WiFi/Bluetooth, 3.3V logic
Slide PotentiometerInput / AnalogLinear-travel variable resistor
Tilt SwitchInput / DigitalBall/mercury orientation switch
NTC Temperature SensorSensorAnalog thermistor temperature sensor
PIR Motion SensorSensorPassive infrared motion detector
Gas SensorSensorMQ-series gas/smoke sensor
Flame SensorSensorIR flame/fire detection sensor
Sound Sensor (Big)SensorHigh-sensitivity microphone sound detector
Sound Sensor (Small)SensorCompact microphone sound detector
Heart Beat SensorSensorOptical pulse sensor
MPU-6050 IMUSensor6-axis accelerometer + gyroscope over I²C
DS1307 RTCModuleI²C real-time clock
KY-040 Rotary EncoderInput / DigitalQuadrature rotary encoder with push button
IR ReceiverSensorInfrared receiver module
IR RemoteInputSimulated infrared remote control (no pins)
Stepper MotorOutput / Motor4-wire bipolar stepper motor
Biaxial StepperOutput / MotorTwo independent stepper motors for 2-axis motion
KS2E RelayOutput / RelayDual-channel SPDT relay module
HX711 Load Cell AmplifierModule24-bit ADC for load cells/weight sensors
Rotary DialerInput / DigitalVintage rotary telephone dial
MicroSD Card ModuleModuleSPI microSD card breakout for file I/O