Loyihalar · Arduino / ESP32 / Pico

Arduino loyihalarini kashf qil

Boshlang‘ichdan yuqori darajagacha, sxemali, kodli va videoli yuzlab loyihalar. Qaysi darajada bo‘lsang, o‘sha yerdan boshla.

Raspberry Pi Pico Alternating Two LEDs (Blink-Flip Pattern)
PI-3Boshlang‘ich

Raspberry Pi Pico Alternating Two LEDs (Blink-Flip Pattern)

The next step after the Pico's single LED: the classic flip-flop animation, with two LEDs blinking in turn. One LED turns off as the other turns on, the most basic example of handling multiple GPIOs. Two LEDs of different colors (red on GP14, green on GP13) swap every 500 ms. With MicroPython's Pin.toggle() method, the code stays short and readable.

5.0(2)
19
Raspberry Pi Pico Traffic Light Simulator (3 LEDs Sequential)
PI-4Boshlang‘ich

Raspberry Pi Pico Traffic Light Simulator (3 LEDs Sequential)

We recreate real traffic light logic with red, yellow and green LEDs, the first Pico project to move up to 3 LEDs! Green says "go" for 4 seconds, yellow "get ready" for 1.5 seconds, red "stop" for 3 seconds, and red+yellow "set off" for 1 second (the European traffic light pattern). You'll learn to define functions (def all_off()), state machine logic and multi-GPIO synchronization.

4.0(1)
12
Raspberry Pi Pico Police Strobe Light Effect (Red + Blue)
PI-5Boshlang‘ich

Raspberry Pi Pico Police Strobe Light Effect (Red + Blue)

We simulate a police car's light bar with a Raspberry Pi Pico in its simplest form! The red and blue LEDs take turns (flip-flop): while red is on, blue is off, and they swap every 0.3 seconds, forever. The code writes the two steps directly in a single while True loop; the speed is set with the WAIT_MS constant.

4.7(3)
10
Raspberry Pi Pico 3-Burst Police Flip-Flop (2 LEDs)
PI-6Boshlang‘ich

Raspberry Pi Pico 3-Burst Police Flip-Flop (2 LEDs)

Rhythmic variation of the police strobe project — 3-burst flip-flop! Same 2-LED circuit (GP11 red + GP12 blue), but a different pattern: red LED flashes 3 times rapidly, then blue flashes 3 times, forever. This "burst + switch" pattern is the most recognizable rhythm of real police siren lights. Learn parametrized function def burst(led, count, duration_ms), rhythm design, and generating different visual effects with code on same circuit.

5.0(1)
16
Raspberry Pi Pico Chasing LED (6 LEDs)
PI-7Boshlang‘ich

Raspberry Pi Pico Chasing LED (6 LEDs)

The classic "running LED" animation with the Pico, 6-LED version! Six LEDs light up one after another from left to right, as if the light were walking along the row. You'll learn Python lists (LED_PINS = [14, 13, 12, 11, 10, 9]), list comprehensions, controlling pins with a for loop and enumerate(). Six LEDs go on pins GP9-GP14, each with a 220Ω current-limiting resistor.

5.0(1)
9
Raspberry Pi Pico Knight Rider LED Scanner (6 LED Back-Forth)
PI-8Boshlang‘ich

Raspberry Pi Pico Knight Rider LED Scanner (6 LED Back-Forth)

Classic "Knight Rider" LED scanner effect with Pico! 6 LEDs go left-to-right, then right-to-left, forever. Like the front grille of KITT car from the iconic 80s TV series. This project is an upgrade of the Chasing LED project: same 6 LED circuit (GP9-GP14), different code pattern. Learn reversed() function for list reversal, two separate for loops for back-and-forth pattern, and generating multiple animations on same circuit.

5.0(1)
14
Raspberry Pi Pico Button Toggle LED
PI-10Boshlang‘ich

Raspberry Pi Pico Button Toggle LED

Button + LED — next level! Unlike the basic button project, there is no need to hold the button. Press and release → LED on. Press and release again → LED off (toggle). Same circuit (LED GP14, Button GP2), but big code difference. Learn edge detection (capturing the 1→0 falling moment), state tracking, debounce (mechanical bounce filter). MicroPython's led.toggle() swaps state in one line. Foundation of all interactive button projects (mode switcher, IRQ, double-click).

10
Raspberry Pi Pico PWM LED Fade (Breathing Effect)
PI-14Boshlang‘ich

Raspberry Pi Pico PWM LED Fade (Breathing Effect)

The LED doesn't just blink anymore, it breathes! With the Raspberry Pi Pico's PWM (Pulse Width Modulation), the LED's brightness slowly rises and then slowly fades, a calm "breathing" effect like a sleeping laptop's light. You'll learn the machine.PWM class, the 16-bit brightness value from 0–65535 with duty_u16() and the PWM frequency.

4
Raspberry Pi Pico RGB LED Color Cycle (3-Channel PWM)
PI-15Boshlang‘ich

Raspberry Pi Pico RGB LED Color Cycle (3-Channel PWM)

One LED, millions of colors! An RGB LED actually holds 3 separate LEDs: red, green and blue. Set the brightness of each one separately with the Pico's 3 PWM channels and the colors mix: red + green = yellow, green + blue = cyan, all three = white. In this project the LED cycles through 8 colors.

6
Raspberry Pi Pico Parking Sensor (HC-SR04 + 3 LEDs + Buzzer)
PI-18Boshlang‘ich

Raspberry Pi Pico Parking Sensor (HC-SR04 + 3 LEDs + Buzzer)

Bring your car's reverse parking sensor to your desk! The Raspberry Pi Pico uses an HC-SR04 ultrasonic sensor to measure the distance to an obstacle about 16 times a second. As it gets closer, the green, yellow and red LEDs light up in turn and the buzzer beeps faster; under 10 cm the tone turns continuous and the red LED flashes. Ultrasonic ranging, PWM sound and non-blocking timing in one project.

1
Raspberry Pi Pico Button Piano (5 Buttons + Buzzer + Melody Recorder)
PI-19Boshlang‘ich

Raspberry Pi Pico Button Piano (5 Buttons + Buzzer + Melody Recorder)

A five-key mini piano that remembers what you play! The Raspberry Pi Pico plays DO, RE, MI, FA and SOL on a passive buzzer from five buttons, and a note lasts as long as you hold its key. Hold DO for a second, play your tune, then hold DO again: the Pico plays it back, shortening silences longer than 1.5 seconds between notes to 1.5 seconds. The record indicator is the LED already on the board, so no extra parts. PWM notes, debouncing and non-blocking timing in one project.

Raspberry Pi Pico Binary Clock (6 LEDs + Button)
PI-32Boshlang‘ich

Raspberry Pi Pico Binary Clock (6 LEDs + Button)

This clock has no digits! We are building a clock with a Raspberry Pi Pico that shows the time in binary. The 6 LEDs are the 32-16-8-4-2-1 places; add up the lit ones and you read the seconds, minutes or hours. A single button switches fields and sets the time, and a light sweep runs across the LEDs every full hour.