A little curiosity. A whole lot of making.Robotics, CNC & connected ideas
robodatech.
Arduino sample library

1,000 Arduino examples

Short sketches that each do one thing, with the wiring written out: switch a pin, read a sensor, drive a motor, print to a display. Open any of them in the online compiler and change it into whatever you are building.

Open the Arduino compiler →

Analog Sensor Read (40)

Sample potentiometers, light sensors, thermistors, and analog robot signals.

Bluetooth Serial (40)

Bridge commands between Serial and software serial Bluetooth modules.

Button Debounce (40)

Filter switch bounce with clean state transitions.

Digital Input Pullup (40)

Read buttons, limit switches, and contact sensors with stable internal pullups.

Digital Output (40)

Blink and pulse digital pins for LEDs, relays, indicators, and simple actuators.

EEPROM Counter (40)

Persist counters and calibration values between resets.

ESP8266 AT Commands (40)

Send AT commands to Wi-Fi modules for connected robotics prototypes.

I2C Scan (40)

Find I2C device addresses for sensors, displays, and expanders.

Interrupt Counter (40)

Count encoder ticks and fast events with external interrupts.

L298N Motor Driver (40)

Control direction and speed for common two-wire DC motors.

LCD 16x2 (40)

Display local status, menu labels, and sensor values on a parallel LCD.

Line Follow Logic (40)

Combine sensor thresholds and motor decisions for line following robots.

Millis Scheduler (40)

Run non-blocking timed jobs without delay-heavy loops.

PWM Fade (40)

Control LED brightness, buzzers, and motor driver speed inputs.

RGB LED (40)

Blend three PWM channels for status colors and visual feedback.

RTC Clock Shell (40)

Structure clock reads and timestamped behavior for RTC modules.

Relay Control (40)

Switch pumps, lamps, valves, and classroom loads through relay modules.

Roboda Cloud State (40)

Package robot state as JSON for Roboda Cloud telemetry ingestion.

SD Logger Shell (40)

Prepare logging flow for SD card based data capture.

SPI Transfer (40)

Exchange bytes with SPI peripherals and radio modules.

Serial Monitor (40)

Print structured diagnostics for classroom debugging and telemetry checks.

Servo Sweep (40)

Drive hobby servos for grippers, pan-tilt heads, and small robot joints.

Stepper Driver (40)

Move stepper motors with the bundled Stepper library.

Tone Melody (40)

Generate tones for alerts, teaching kits, and robot feedback.

Ultrasonic Distance (40)

Measure obstacle distance with trigger and echo timing.

Good ideas start here.

Free robotics lessons, CNC build notes and product updates. Confirm your email to join. Unsubscribe anytime.