Electronics guides
Get to know the parts, choose the right board and build your projects with confidence.
BasicsArduino Interrupts: attachInterrupt, ISR Rules and Debouncing
Learn how to use interrupts so you never miss a button press, an encoder step or a motor pulse: attachInterrupt, ISR rules, volatile, debouncing, IRAM_ATTR on the ESP32 and MicroPython irq on the Pico.
Read more
ComponentsRain Sensor Arduino Guide: Wiring, Code and Automatic Window
Learn how the FC-37 and YL-83 rain sensor works, how to connect it to an Arduino, set the threshold, keep the pad from corroding, build a rain alarm and a servo-driven automatic window, and send phone notifications with an ESP32.
Read more
GuidesArduino Keeps Resetting? Fix Servo, Relay and Freezing Issues
Find the real reason your Arduino restarts by itself or freezes with a diagnostic sketch, then apply separate power, capacitors, diodes, RAM fixes and the watchdog, with ESP32 and Pico examples.
Read more
ComponentsTCS3200 Color Sensor with Arduino: Wiring, Calibration and Code
Learn to wire the TCS3200 color sensor to an Arduino, read red, green and blue values with pulseIn, calibrate it against white and black, and build a machine that sorts objects by color.
Read more
GuidesArduino Smart Greenhouse Project: Sensors, Watering, Fan, Code
Build your smart greenhouse step by step, from the model enclosure and parts list to sensor and relay wiring and complete Arduino code with hysteresis; monitor it from your phone with an ESP32, run it in MicroPython on a Pico and get ready for the science fair.
Read more
Basics7805 Voltage Regulator: Pinout, Capacitors and Heat Calculation
Learn how to get a safe 5 V from 12 V with a 7805, which capacitors to use, how to calculate dropout and heat, how to pick a heatsink, and when to use an AMS1117-3.3 LDO or a buck converter, with Arduino, ESP32 and Pico examples.
Read more
ComponentsACS712 Current Sensor: Measure DC and AC Current with Arduino
Learn to measure DC and AC current with the ACS712 and Arduino: pick the right model, tame noise with averaging, calculate RMS and power, wire it to ESP32 and Pico, and stay safe on mains.
Read more
GuidesESP32 Bluetooth Tutorial: Classic vs BLE, LED Control and Sensors
Compare Classic Bluetooth and BLE on the ESP32, switch an LED on from your phone, build your own BLE service, test it with nRF Connect and send sensor data to an iPhone or Android phone.
Read more
GuidesArduino Code Explained Step by Step: Understand, Then Change It
We walk through the Understand the code tab in BlueGrays with a real free project: its sections, matching code to steps, a 15-minute routine, a strategy for Try it yourself tasks, Understand the blocks and ideas for using it in class.
Read more
GuidesESP32 Lesson Plan: First Class Prep Checklist and 40-Minute Flow
A ready-made plan for teachers giving their first ESP32 class: driver, board package and cable prep, a materials list for 24 students, a minute-by-minute 40-minute flow, two LED sketches, common problems and exit questions.
Read more
GuidesArduino Projects Step by Step: How to Follow a Project Page
The order for following a ready-made Arduino project from start to finish: Required Components, Circuit Diagram, Source Code, Understand the code and testing. A section-by-section project page guide built on the free Night Light with Ldr project, plus a checklist you can copy.
Read more
BasicsApp to Learn Arduino: A 30-Day Beginner Roadmap From Zero
A 30-day roadmap for learning Arduino with your phone: what to buy, what each section of the app is for, free projects and commands week by week, a 30-minute daily routine, choosing between Arduino, ESP32 and Pico, and where beginners usually get stuck.
Read more
GuidesMonthly or Yearly Educator Package? Course Length and Transfers
How many days does your course run, will students change, will they keep going at home? Answer these three questions to choose a monthly or yearly educator package, and move a code's remaining time to another student with a transfer if someone leaves.
Read more
GuidesHow to Redeem an Educator Code: Activate Premium with a BG Code
Got a Premium code starting with BG from your teacher? Here's how to enter it in the app, through a link or on the web, how long it lasts, what each error message means and which of your details your teacher can see.
Read more
GuidesShare an Arduino Project With Students: Teach With Your Own
A step-by-step way to share your own Arduino project as a Tutorial post on the BlueGrays forum and show students the circuit, code and parts list on their phones: New Post fields, the Share link, a sequence with ready-made projects and a sample lesson.
Read more
GuidesArduino App for the Classroom: Does Each Student Need Premium?
Teaching Arduino to a class of 30 doesn't mean 30 separate subscriptions: with an educator package you buy codes in bulk and students get Premium without a card. Steps, a comparison, pack combinations and a 10-minute handout plan.
Read more
GuidesBlock Coding Lesson Plan: 8-Week Arduino Robotics Course
An 8-week robotics course with block coding for teachers and clubs: a free Arduino project each week, a materials list, a minute-by-minute sample lesson, a rubric, differentiation and the move from blocks to code.
Read more
BasicsBlock Coding to MicroPython: Sensors and Raspberry Pi Pico
Read an LDR and an HC-SR04 with blocks on Arduino and see the matching analogRead and Serial.println lines, then learn how the blocks turn into MicroPython on the Raspberry Pi Pico and how to upload with Thonny and main.py.
Read more
BasicsBlock Coding Loops and Variables: Arduino for Loops and Arrays
Match the "loop forever", "count with", array and "set … to" blocks to real Arduino C++ line by line: the LED chaser, its adjustable speed version and Knight Rider, a round counter example and the most common mistakes.
Read more
GuidesESP32 Telegram Bot Tutorial: Alerts, LED and Relay Control
Learn step by step how to create a bot with BotFather, find your chat ID, send motion and gas alerts from the ESP32 to your phone, switch a relay with the /ac and /kapat commands and lock the bot so it only answers you.
Read more
BasicsBlock Coding If Statement: Arduino Button and LED with If/Else
Part 3 of From Blocks to Code: learn the "if … do … else" block side by side with Arduino if/else code. Button-controlled LED, on/off toggle, comparison operators, the and block, an LDR night light and the ESP32 versions.
Read more
BasicsArduino Block Coding: Blink an LED with Blocks and C++ Side by Side
Your first block program: blink the LED on pin 9. The C++ line behind every block, what the wait time does, two LEDs, a traffic light and police lights, the same idea on ESP32 and Pico, and the usual mistakes.
Read more
GuidesArduino Python Serial Communication: pyserial, CSV and Live Plots
Learn to make Arduino and Python talk: find the port with pyserial, log sensor data to CSV, send LED commands from Python, draw a live plot with matplotlib and fix port busy and auto-reset problems.
Read more
BasicsWhat Is Block Coding? How Block Programs Become Real Code
Learn what block coding is, what the block colors mean and how a block program turns into real C++ or MicroPython code, using LED, button and Pico projects. Part 1 of the From Blocks to Code series.
Read more
