Electronics guides
Get to know the parts, choose the right board and build your projects with confidence.
GuidesTÜBİTAK 2204 vs 4006: Which Program Should You Apply To?
2204 is a research competition, while 4006 is a science fair your school organizes. Learn the differences in application, timeline, judging, reports and posters, and which program your Arduino project belongs in.
Read more
GuidesESP32 Failed to Connect Error Fix: BOOT Button, Driver, Cable
Learn every cause of the "Connecting...." hang and the Failed to connect error when uploading to an ESP32: BOOT button, charge-only cable, driver, strapping pins, ESP32-CAM and bare modules, as a step-by-step checklist.
Read more
ComponentsBH1750 Arduino Light Sensor: Measure Lux with I2C (Full Guide)
Learn to connect the BH1750 digital light sensor to Arduino, ESP32 and Pico, read light directly in lux, pick the right measurement mode, and build an automatic night light and a classroom light meter.
Read more
ComponentsPMS5003 Dust Sensor Arduino: Measure PM1.0, PM2.5 and PM10
Measure winter air pollution yourself: learn to read PM1.0, PM2.5 and PM10 with the PMS5003 laser dust sensor, decode its data frame, put it to sleep to extend its life and build a colour-coded air quality indicator.
Read more
GuidesIoT Project Ideas: 8 Ready-Made ESP32 and Pico W Templates
Get to know the 8 ready-made templates in BlueGrays IoT: which parts you need, which ESP32 and Pico W pins to use, what you see on your phone and where people slip up. Plus a line-by-line walkthrough of the plant watering code.
Read more
GuidesRaspberry Pi Pico Christmas Ornament: WS2812B NeoPixel Ring Star
Build a glowing Christmas ornament for your tree with a Raspberry Pi Pico and a 24-LED WS2812B ring: five effects, touch mode switching, code that remembers your settings, a power bank calculation and colour picking from your phone with a Pico W.
Read more
GuidesESP32 Firebase Guide: Write Sensor Data and Control an LED
Learn to connect the ESP32 to Firebase Realtime Database: create the project, sign in with email, write security rules, send DHT22 data to the cloud and control an LED instantly over the internet.
Read more
GuidesArduino Countdown Timer: New Year Clock with ESP32 and MAX7219
Show the days, hours and minutes left until New Year on a MAX7219 8x32 LED matrix using ESP32 NTP time, with scrolling text and a buzzer melody at midnight. Includes an offline Uno + RTC version and a Pico W version.
Read more
BasicsElectrical Power Calculation: P = V × I, Watts, kWh and Examples
Learn how watts, amps and volts relate with P = V × I. Work out how many kWh your devices use, why resistors and the 7805 get hot, and what amp rating of adapter your project needs, with real examples.
Read more
ComponentsSSR Relay with Arduino: Solid State Relay and Heater Control
Learn how a solid state relay (SSR) differs from a mechanical relay, what DA, DD and AA types mean, how zero-cross and heatsink sizing work, and build a safe heater thermostat with Arduino, ESP32 and Pico.
Read more
ComponentsPeltier Module with Arduino: TEC1-12706 Cooling and Heating
Why does one side of a Peltier module get cold while the other heats up, why does it need a heatsink and fan, and how do you safely control 6 amps with Arduino? Build a mini cooler and heater box with a MOSFET, H-bridge and DS18B20.
Read more
GuidesArduino Fan Speed Control: Temperature-Based PWM Fan Control
Learn to drive a 2-wire fan with a MOSFET and a 4-pin PC fan with 25 kHz PWM based on temperature, read RPM from the tach, build a speed curve with map and run the fan quietly, with Uno, ESP32 and Pico code.
Read more
BasicsPID Controller Arduino: Tune Kp, Ki, Kd with Code Examples
Learn why on-off control oscillates, what the three PID terms do, and how to tune Kp, Ki and Kd step by step with the Arduino PID library, using a heater and a line follower robot.
Read more
GuidesSanta Detector Arduino: PIR Motion Sensor Christmas Project
Build a Santa detector that catches anyone passing the tree: a PIR sensor, a ho ho ho sound from a DFPlayer, flashing LEDs, an LDR night mode, time-stamped logs and phone alerts with an ESP32.
Read more
ComponentsMH-Z19 CO2 Sensor: Measure ppm with Arduino, ESP32 and Pico
Find out when the air in a closed classroom or bedroom goes stale with the MH-Z19B: UART wiring, reading ppm, warm-up, ABC calibration and an LED ventilation alert with Uno, ESP32 and Pico.
Read more
GuidesESP32 Smart Plug: Relay, Web Panel and NTP Timer Tutorial
Build your own Wi-Fi smart plug with an ESP32, a relay module and an HLK-PM01: switch it from the browser, use a countdown timer and run it on an NTP schedule. Test at low voltage first, then enclose it safely.
Read more
BasicsAC vs DC Current: Differences, Frequency and RMS Explained
Compare alternating and direct current by waveform, frequency and RMS value; see how an adapter converts AC to DC, why Arduino runs on DC, and how to switch 230 V loads safely with a relay or SSR.
Read more
ComponentsHLK-PM01: Power ESP32 and Arduino from 220 V Mains Safely
Learn to power an ESP32 or Arduino straight from the mains with the HLK-PM01: pinout, fuse and varistor, mains-to-5 V isolation distance, enclosure, power budget and when a ready-made adapter is the better choice.
Read more
GuidesFrost Alarm with Arduino: DS18B20 for Greenhouse, Pipes and Car
Protect seedlings in your greenhouse, water pipes on an outside wall or your car from frost with a waterproof DS18B20: threshold and hysteresis alarm code, Telegram alerts with an ESP32 and a deep sleep setup that runs for months on a battery.
Read more
ComponentsAHT10 Arduino Guide: AHT20 Temperature and Humidity Sensor
Learn to measure temperature (±0.3 °C) and humidity (±2%) with the AHT10 and AHT20 I2C sensors, how they differ from the DHT11 and DHT22, and how to track winter indoor humidity on an OLED with Uno, ESP32 and Pico code.
Read more
BasicsWhat Is a Pull-up Resistor? Pull-down, INPUT_PULLUP & Values
Learn why a floating input gives random readings, the difference between pull-up and pull-down resistors, how to use INPUT_PULLUP, the internal resistors on ESP32 and Pico, and the right value for I2C, with code examples.
Read more
GuidesESP32 Christmas Lights Timer: Switch On at Sunset Automatically
Build an ESP32 timer that switches your balcony and garden lights on at sunset every evening, turns them off at midnight and can be controlled from your phone: the NOAA sunset formula, a city table, ready code and outdoor safety.
Read more
GuidesArduino Thermostat with DS18B20, Relay, Hysteresis and LCD
Build an Arduino thermostat with a DS18B20 sensor, relay, three buttons and an I2C LCD: adjustable setpoint, hysteresis and safety features. Then change the target from a browser on an ESP32, or run it in MicroPython on the Pico.
Read more
ComponentsMAX6675 Arduino Thermocouple Guide: K-Type up to 1000 °C
Learn to connect the MAX6675 module and a K-type thermocouple to Arduino, ESP32 and Pico, decode the 16-bit SPI data, show temperature on an LCD and build alarms and relay control for a stove, oven or soldering station.
Read more
