Code Recipes

Working code for every common project.

Hand-written, tested snippets for Arduino Uno, Mega 2560, Raspberry Pi, and ESP32 — copy them, wire your components, run. Every recipe is the same one our chat bot uses when you ask.

Tip: If your project isn't in the list, request a custom kit and we'll bundle the parts + write the sketch for you. For debugging code you've already written, paste it on our support page and our team will read it within one business day.
Arduino Popular

ARDUINO Blink Led

7 matched phrasings Open in Studio
Arduino Popular

DHT22 ARDUINO Code

6 matched phrasings Open in Studio
Arduino Popular

BME280 ARDUINO Code

5 matched phrasings Open in Studio
Arduino Popular

HC-SR04 Ultrasonic ARDUINO

5 matched phrasings Open in Studio
Arduino Popular

OLED Display ARDUINO

6 matched phrasings Open in Studio
Arduino Popular

ARDUINO Digital Read Button

5 matched phrasings Open in Studio
Arduino Popular

ARDUINO Fade Led PWM

5 matched phrasings Open in Studio
Arduino Popular

ARDUINO Traffic Light

5 matched phrasings Open in Studio
Arduino

ARDUINO Millis Without Delay

5 matched phrasings Open in Studio
Arduino

LDR Photoresistor ARDUINO

4 matched phrasings Open in Studio
Arduino

PIR Motion Sensor ARDUINO

4 matched phrasings Open in Studio
Arduino

ARDUINO Read Soil Moisture

4 matched phrasings Open in Studio
Arduino

ARDUINO 7 Segment Display

4 matched phrasings Open in Studio