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.
Raspberry Pi
Popular
Pi Led Blink | Pi Led Blink Help | Blink Pi Led | Led Blink Pi | Pi Blink Led | How To Blink Pi Led | Blink Pi With Led | Led Blinking On Pi | RPI Blink Led | Blink Led With RPI | RPI Led Blink | Blink An Led RPI | Led Blink Script RPI | RPI Blinking Led | Blink Led Using RPI | RPI Blink Code | Python GPIO Blink | Blink Led Using Python GPIO | Python GPIO Blink Example | GPIO Blink Code In Python | How To Blink With Python GPIO | Python Script For GPIO Blink | Python GPIO Led Blinking | Blink GPIO Pin W/ Python | Pi GPIO Led | Pi GPIO Led Setup | Led GPIO Pi | GPIO Led Pi Config | Pi GPIO Led Control | Led With Pi GPIO | GPIO For Pi Led | Pi GPIO Led Project | Raspberry Pi Blink Led Python | Blink Led With Pi Python | Python Code Pi Blink Led | Raspberry Pi Led Blink Script | Pi Led Blink Using Python | Python Blink Led Raspb | How To Blink Led Pi Py | Blink Pi Led Via Python
Raspberry Pi
Popular
Read DHT22 Raspberry Pi | DHT22 On Pi | Pi DHT22 Setup | Use DHT22 With Pi | Pi And DHT22 | DHT22 Pi Config | How To Use DHT22 Pi | Connect DHT22 To Pi | Pi Dht Sensor | Dht Sensor Info | Pi Dht Details | About Pi Dht | Pi Dht Help | Dht On Pi | Info On Dht Pi | What's Pi Dht? | Pi Temperature Humidity | Humidity With Pi | Raspberry Pi DHT22 Python | Raspberry Pi DHT22 Code | Python Script For DHT22 | DHT22 Sensor With Python | Code For Raspberry Pi DHT22 | DHT22 Raspberry Pi Example | Py Code For DHT22 | How Use DHT22 W/ Pi
Raspberry Pi
Gpiozero Button | Gpiozero Btn Issue | Btn In Gpiozero | Problem W Gpiozero Btn | Gpiozero Button Help | Using Gpiozero Btn | Gpiozero Button Prob | Trouble With Btn Gpiozero | Read Button Raspberry Pi | Read Btn On Pi | Pressing Pi's Read | Pi Read Feature | Use Pi Read | Pi Read Option | Click Pi Read | Pi Read Function | Pi GPIO Button | GPIO Pi Button Help | Pi GPIO Btn Query | Button On Pi GPIO | GPIO Button Pi Info | Pi GPIO Button Use | Btn Pi GPIO Setup | GPIO Pi Button Issue | Raspberry Pi Button Python | Raspberry Pi Btn Code | Python Script For Buttons | Pi Button Python Example | Coding Button On Pi | Button Control With Pi
Raspberry Pi
Python Web Server Pi | Python Web Server Raspberry | Pi Web Server Using Python | Run Web Server On Pi | Web Server Setup With Python Pi | Python Pi Web Server | Raspberry Pi Web Server | How To Set Up Python Webserver On Pi | Simple Flask App Pi | Flask Pi App | Pi Flask Example | Simple Flask Pi | Flask On Pi? | Pi Flask Tutorial | Basic Flask Pi | Flask Pi Code | Pi Flask Api | Pi Flask Api Help | Api Using Pi Flask | Flask Api With Pi | Pi & Flask Api Info | Need Pi Flask Api | Pi Flask Api Guide | Flask Api Pi Query | Flask Hello World | Flask Example | Hello World Flask | Basic Flask | Flask Tutorial Start | How To Flask | Starting Flask Project | Flask Intro Code
Raspberry Pi
Python Gui Pi | Python Pi Gui | Gui With Pi Python | Pi Python Gui App | Gui For Pi In Py | Py Gui On Pi | Pi's Python Gui | Python Gui 4 Pi | Pi Desktop Dashboard | Pi Desktop Board | Dashboard On Pi | Pi Desk Dashboard | Dash For Pi Desktop | Desktop Dash W/ Pi | Pi Dashboard Quick | What's Pi Dashboard? | Tkinter Sensor App | Tkinter Sensor Project? | Sensor App W/ Tkinter? | Making Tkinter Sensors? | Tkinter Sensor Interface? | Build Tkinter Sensor? | Tkinter Sensor Setup? | Tkntr Sensor App? | Raspberry Pi Tkinter Dashboard | Raspberry Pi Tkinter | Tkinter Dashboard RPI | RPI Tkinter Project | Dashboard Using Tkinter | Tkinter On Pi | Pi Tkinter Dashboard | RPI Tkinter Gui
Raspberry Pi
I2cdetect | I2cdetect Tool | Use I2cdetect | How Use I2cdetect | Wat Is I2cdetect | Enable I2C Raspberry Pi | Activate I2C On Pi | Enable I2C Raspberry | Turn On Pi I2C | Pi I2C Setup Plz | I2C Activate RPI | RPI I2C Config Needed | How To Enbale I2C Pi | Pi I2C Devices | Pi I2C Support | I2C For Raspberry Pi | Raspberry Pi I2C? | Pi I2C Compatibility | RPI I2C Devices | I2C On Pi | Pi I2C Peripheral? | Raspberry Pi I2C Scan | Raspberry I2C Check | Scan I2C RPI | RPI I2C Bus Scan | I2C Devices On Pi | Check I2C RPI | RPI I2C Test | Scan Pi I2C
Raspberry Pi
Sqlite Python Pi | Sqlite With Python Pi | Python Pi Sqlite? | Sqlite In Pi Code | Pi Sqlite Setup Python | Python Pi Uses Sqlite | Pi Sqlite Integration | Sqlite4pi W/python | Log Readings To Sqlite | Log To Sqlite Db | Sqlite Logging Needed | Record In Sqlite | Store Logs Sqlite | Save Logs Sqlite? | Input Data Sqlite | Write Logs Sqlite | Python Sqlite Sensor | Python Sqlite Sensors | Sqlite Sensor Code | Sensor With Sqlite In Py | Py Sqlite Sensor Example | How To Use Sqlite Sensor | Sensors & Sqlite Py | Sqlite Integration W/ Py Sensors | Pi Sqlite Logging | Pi Sqlite Log | Logging With Sqlite Pi | Sqlite Logging On Pi | Pi Sqlite Logging Setup | Sqlite Logging For Pi | Log Pi Using Sqlite | Logging Pi W/sqlite
Raspberry Pi
Python Rest Api Pi | Python Rest Api Docs | Rest Api In Python | How Create Rest Api | Python Api Tutorial | Restapi Using Python | Python Rest Api Exmpls | Fastapi Sensor Api | Fastapi Sensors | Sensor Api In Fastapi | Fastapi Sensor Integration | How About Fastapi Sensors | Fastapi With Sensors | Sensors Using Fastapi | Fastapi Sensor Endpoints | Fastapi Pi Api | Fastapi Pi Integration | Pi With Fastapi | Fastapi Pi Setup | Connect Pi Using Fastapi | Fastapi For Pi | Pi Api Via Fastapi | Pi + Fastapi Config | Raspberry Pi Fastapi | Raspberry Pi Fastapi Setup | Fastapi On Raspberry Pi | Fastapi Raspberry Pi Deploy | Setup Fastapi Rasp Pi | Raspberry Pi Fastapi Tutorial | RPI & Fastapi Integration
Raspberry Pi
Picamera2 Example | Picamera2 Demo | Example Of Picamera2 | Show Me Picamera2 | Picamera2 Tutorial | How To Use Picamera2 | Sample Code For Picamera2 | Picam2 Example Needed | Take Photo Raspberry Pi | Raspberry Pi Photo | Photo With Pi | Take Pic Raspberry | Pi Camera Python | Pi Cam Python | Python With Pi Cam | How Do Pi Cam W/ Python | Using Python Pi Cam | Python Pi Camera Setup | Pi Cam Python Code | Raspberry Pi Camera Capture | Raspberry Pi Cam | Camera With Pi | Pi Camera Function | Capture With Pi Cam | Cam For Raspberry
Raspberry Pi
Gpiozero Servo | Gpiozero Servo Support? | Servo With Gpiozero? | Can Use Gpiozero For Servos? | Gpiozero & Servo Compatibility? | Servo Control Via Gpiozero? | Using Gpiozero For Servos? | Gpiozero Servos? | Control Servo Raspberry Pi | Servo Control RPI | RPI Servo Setup | Control Servo Pi | How To RPI Servo | RPI Servo Control Q | Setup Servo RPI | Control Servo W/ Pi | Pi Servo Motor Code | Pi Servo Motor Script | Servo Pi Code Needed | Pi Servo Motor Example | Code For Pi Servo | Servo Motor Pi | Pi Servo Motor Program | How To Code Pi Servo | Raspberry Pi Servo Python | Raspberry Pi Servo Code | Python For Pi Servo | Servo Control Raspberry Pi | Pi Servo With Python | How To Use Servo Pi | Raspberry Pi Servo Script | Python Servo Pi Example
Raspberry Pi
PWM Led Raspberry Pi | PWM Led Raspi | Raspberry Pi PWM Leds | Led PWM On Raspi | Raspi PWM Led Setup | PWM Control For Raspi Leds | Leds PWM Raspberry Pi | Raspi PWM Led Tutorial | Gpiozero PWM Fade | Gpiozero PWM Fading | PWM Fade With Gpiozero | Fade Using Gpiozero PWM | Gpiozero PWM Blinking | PWM Fading Example | Gpiozero PWM Dimming | PWM Fade Function Gpiozero | Pi GPIO PWM Python | Pi GPIO PWM In Python | PWM On Pi GPIO Python | Python GPIO PWM Pi | GPIO PWM Script Py | Py Pi GPIO PWM | Pi GPIO PWM Coding | GPIO PWM With Python
Raspberry Pi
Cv2 Raspberry Pi | Cv2 For Pi | Raspberry Pi Cv2 | Pi Cv2 Setup | Cv2 On RPI | RPI Cv2 Install | How Cv2 In Pi | Cv2 Raspberry Config | Python Webcam Pi | Python Pi Webcam? | Webcam On Pi Python | Pi Camera Python? | How Use Webcam Pi? | Py Pi Webcam? | Pi Cam Python Script | What's Py Pi Webcam? | Face Detection Pi | Face Det W/pi | Pi Face Recog | Face Detect Raspberry | Pi Face Tracking | Raspberry Pi Face Det | Opencv Raspberry Pi | Opencv On Pi | Pi With Opencv | Raspberry Pi Opencv | Opencv Raspberry Setup | Opencv Pi Install | How To Pi Opencv | Opencv For Raspi
Raspberry Pi
Asyncio Gather Example | Asyncio Gather Demo | Example Of Asyncio Gather | Gather In Asyncio Code | Show Asyncio Gather Usage | Asyncio Gather Snippet | How To Use Asyncio Gather | Asyncio Gather In Action | Parallel Python Pi | Parallel Pi In Python | Python Parallel Pi | Pi Calc With Parallel | Parallel Computing For Pi | Py Parallel Pi Computation | Wat Abt Parallel Pi Py? | Async Sensor Reads | Async Data Fetching | Sensor Read Sync | Asynchronous Sensors | Read Async Sensors | Sync Sensor Reading | Sensors Read Async | Async Readings Sensors | Python Asyncio Sensors | Python Asyncio Sensor | Asyncio With Sensors | Sensors In Python Asyncio | How To Use Asyncio Sensors | Asyncio Sensors Integration | Sensors Using Asyncio In Pythn
Raspberry Pi
Schedule Python Task | Python Task Scheduling | How Do I Schedule Tasks | Schedule A Python Job | Set Up Python Task | Python Task Setup | Python Scheduler Help | Task Scheduler In Python | Apscheduler Example | Apscheduler Demo | Example Of Apscheduler | Apscheduler Use Case | Show Me Apscheduler | Basic Apscheduler Example | How To Use Apscheduler | Apscheduler Quickstart | Pi Schedule Cron Python | Cron Schedule In Py | Py Cron Timing | Python Cron Setup | Schedule Cron Py | Py Cron Script | Cron Job Using Py | Set Py Cron
Raspberry Pi
Run Python Every 5 Minutes | Run Py Every 5 Mins | Every 5 Min Run Script | Crontab Pi Example | Pi Crontab Example | Crontab Raspberry Pi | Pi Cron Example | Example Crontab Pi | Schedule Script Pi | Schedule Pi Script | Pi Script Timing | Script For Pi | Pi Script Calendar | When's Pi Script? | Pi Script Date | Sched Pi Script? | Raspberry Pi Cron Job | Cron Jobs Raspberry Pi | Raspberry Pi Crontab Setup | Set Cron Job Pi | Pi Cron Schedule | Cron On Raspi | Raspi Cron Help