TMC2209 Arduino Guide: Silent Stepper, UART, Vref and StallGuard
TMC2209 Arduino guide: StealthChop vs SpreadCycle, setting Vref, UART with TMCStepper, sensorless homing with StallGuard, NEMA 17 wiring, Uno and ESP32 code.
Used with an Arduino, the TMC2209 turns the familiar whine of an A4988 or DRV8825 into an almost silent stepper motor. This driver from Trinamic (now Analog Devices) has become standard in quiet 3D printers and desktop CNC machines: in StealthChop mode the motor is quiet enough to talk next to, a UART link lets you set current and microsteps in software, and StallGuard detects when the motor hits an obstacle, so you can home without an end stop.
In this guide you will learn the TMC2209's two operating modes, how it differs from the A4988 and DRV8825, how to wire a NEMA 17 and how to set the current with Vref. Then you will use the TMCStepper library to set current and microsteps over UART from an Arduino Uno, and finally do sensorless homing with StallGuard on an ESP32.
What is the TMC2209 and why is it so quiet?
Classic drivers limit coil current with hard on/off switching; the current waveform comes out stepped and the motor vibrates audibly on every step. The TMC2209's StealthChop mode applies voltage-controlled PWM to the coils and shapes the current into an almost perfect sine wave, so most of the vibration and noise disappears. Its built-in MicroPlyer interpolator drives the coils at 1/256 resolution even when you send 1/8 or 1/16 steps. The power transistors also have a low resistance (about 0.17 Ω), so it runs cooler than an A4988 at the same current.
| Feature | TMC2209 value |
|---|---|
| Motor supply (VM) | 4.75–29 V |
| Logic supply (VIO) | 3.3–5 V (5 V on Arduino, 3.3 V on ESP32) |
| Coil current | 2 A RMS (2.8 A peak); on a module with cooling, 1.2–1.7 A RMS in practice |
| Microstepping | 1/8, 1/16, 1/32, 1/64 by pins; 1/1–1/256 over UART; always interpolated to 1/256 |
| Operating modes | StealthChop2 (silent), SpreadCycle (dynamic) |
| Interface | STEP/DIR + single-wire UART (4 addresses via MS1/MS2) |
| Extras | StallGuard4, CoolStep, DIAG and INDEX outputs |
| Protection | Overtemperature warning (120 °C) and shutdown, short-circuit protection |
A4988 vs DRV8825 vs TMC2209
| Feature | A4988 | DRV8825 | TMC2209 |
|---|---|---|---|
| Motor voltage | 8–35 V | 8.2–45 V | 4.75–29 V |
| Comfortable continuous current | About 1 A | About 1.5 A | About 1.2–1.7 A RMS |
| Microstepping by pins | Up to 1/16 | Up to 1/32 | 1/8–1/64, interpolated to 1/256 |
| Noise | Noticeable whine | Noticeable whine | Almost silent in StealthChop |
| Current setting | Vref, I = Vref / (8 × Rs) | Vref, I = Vref × 2 | Vref or in mA over UART |
| Software control | None | None | UART: current, microsteps, mode, status |
| Sensorless homing | No | No | StallGuard4 + DIAG output |
| Price | Cheapest | Cheap | About 2–4 times as much |

StealthChop vs SpreadCycle: which mode when?
StealthChop is built for silence at low and medium speeds: it controls current through voltage and learns the motor's parameters during the first moves by itself (pwm_autoscale). As speed rises, the motor's back-EMF grows and torque in this mode drops noticeably, and sudden load changes are more likely to cause missed steps. SpreadCycle is a classic chopper that measures and corrects the current in every PWM cycle: it is stronger and more consistent at high speed and under changing loads, but it sounds close to an A4988. With a speed threshold called TPWMTHRS, the TMC2209 can run in StealthChop at low speed and switch to SpreadCycle on its own above the threshold.
| StealthChop | SpreadCycle | |
|---|---|---|
| Noise | Almost silent | Whine close to an A4988 |
| Low and medium speed | Excellent, smooth | Good |
| Torque at high speed | Drops noticeably | Maintained |
| Sudden load changes | More prone to missed steps | More robust |
| StallGuard4 | Works | Does not work on the TMC2209 |
| Typical use | 3D printer X/Y, camera slider, turntable | Extruder, CNC, heavy and fast axes |
NEMA 17 wiring and pinout
| TMC2209 pin | Function | Arduino Uno | ESP32 |
|---|---|---|---|
| VM | Motor supply 12–24 V (+ 100 µF) | Adapter + | Adapter + |
| GND (next to VM) | Power ground | Adapter – | Adapter – |
| A1, A2 (or 1A, 1B) | Motor coil 1 | Motor | Motor |
| B1, B2 (or 2A, 2B) | Motor coil 2 | Motor | Motor |
| VIO (VDD) | Logic supply | 5V | 3V3 |
| GND (next to VIO) | Logic ground | GND | GND |
| STEP | Step pulse | D2 | GPIO 25 |
| DIR | Direction | D5 | GPIO 26 |
| EN | Enable (LOW = on) | D8 | GPIO 27 |
| MS1, MS2 | Microsteps or UART address | GND (address 0) | GND (address 0) |
| PDN_UART | Single-wire UART | D10 (RX) direct, D11 (TX) via 1 kΩ | GPIO 16 (RX2) direct, GPIO 17 (TX2) via 1 kΩ |
| DIAG | StallGuard and fault output | D3 | GPIO 33 |
Setting the current with Vref (standalone mode, no UART)
Without UART, the TMC2209 behaves like an A4988 and you set the current with the potentiometer on the board. On common BTT and FYSETC modules the sense resistor (Rsense) is 0.11 Ω and the datasheet formula simplifies to Irms ≈ Vref × 0.71, that is Vref ≈ Irms × 1.41. A handy rule follows: on these modules, Vref in volts equals the peak current in amps. Measure Vref between GND and the metal top of the potentiometer (or the VREF test point); anything above 2.5 V does not add current. Note that the A4988 is set by peak current, while the TMC2209 is thought of in RMS. For a 17HS4401 rated at 1.7 A, 0.8–1.0 A RMS is a good start.
| Target current (RMS) | Peak current | Vref to set | Note |
|---|---|---|---|
| 0.6 A | 0.85 A | 0.85 V | Small NEMA 17, light load |
| 0.8 A | 1.13 A | 1.13 V | Recommended starting point |
| 1.0 A | 1.41 A | 1.41 V | Most 3D printer axes |
| 1.2 A | 1.70 A | 1.70 V | Heatsink required |
| 1.4 A | 1.98 A | 1.98 V | Heatsink and fan required |
In standalone mode, the MS1 and MS2 pins set the microstepping. There is an important difference from the A4988: with both pins at GND, the motor does not run in full steps but in 1/8 steps. Whatever mode you choose, the chip always interpolates to 1/256, so even in 1/8 mode the motion is very smooth and the number of pulses the Arduino has to generate per second stays low.
| MS1 | MS2 | Microstep | Steps per turn (1.8° motor) |
|---|---|---|---|
| GND | GND | 1/8 | 1600 |
| VIO | GND | 1/32 | 6400 |
| GND | VIO | 1/64 | 12800 |
| VIO | VIO | 1/16 | 3200 |
1// TMC2209 bağımsız mod, UART yok / standalone mode, no UART
2// MS1 = MS2 = GND -> 1/8 mikro adım, 1600 adım/tur / 1/8 microstep, 1600 steps per turn
3const int STEP_PIN = 2, DIR_PIN = 5, EN_PIN = 8;
4const long STEPS_PER_REV = 200L * 8;
5
6void setup() {
7 pinMode(STEP_PIN, OUTPUT);
8 pinMode(DIR_PIN, OUTPUT);
9 pinMode(EN_PIN, OUTPUT);
10 digitalWrite(EN_PIN, LOW); // sürücüyü aç (aktif LOW) / enable driver (active LOW)
11}
12
13void rotate(long steps, unsigned int pauseUs) {
14 digitalWrite(DIR_PIN, steps > 0 ? HIGH : LOW);
15 delayMicroseconds(5); // DIR otursun / let DIR settle
16 for (long i = 0; i < labs(steps); i++) {
17 digitalWrite(STEP_PIN, HIGH);
18 delayMicroseconds(3);
19 digitalWrite(STEP_PIN, LOW);
20 delayMicroseconds(pauseUs); // küçüldükçe hızlanır / smaller = faster
21 }
22}
23
24void loop() {
25 rotate(STEPS_PER_REV, 600); // 1 tur, yaklaşık 1 sn / one turn, about 1 s
26 delay(500);
27 rotate(-STEPS_PER_REV, 600);
28 delay(500);
29}This code uses no UART; with MS1 and MS2 at GND one turn is 1600 steps and takes about 1 second at 600 µs intervals. The EN pin is active LOW: set it HIGH and the coils are released so the shaft turns by hand. Almost any sketch written for an A4988 runs unchanged on a TMC2209 as long as you fix the steps per turn; to add acceleration with AccelStepper, use the example from the A4988 guide.
Current and microsteps in software over UART: TMCStepper
The UART link unlocks the TMC2209's real power: you write the current in milliamps, pick any microstep setting from 1 to 256, switch between StealthChop and SpreadCycle and read back temperature and fault flags. The link is a single wire: the Arduino's TX goes through a 1 kΩ resistor and RX goes directly to the driver's PDN_UART pin. In this mode MS1 and MS2 set the UART address, so four drivers can share the same two pins. Install teemuatlut's TMCStepper library from the Library Manager; on the Uno the hardware serial port is taken by USB, so the library uses software serial on D10 and D11.
1// TMC2209 + Arduino Uno: UART ile akım, mikro adım ve StealthChop / current, microsteps and StealthChop over UART
2#include <TMCStepper.h>
3
4const int STEP_PIN = 2, DIR_PIN = 5, EN_PIN = 8;
5const int SW_RX = 10, SW_TX = 11; // D11 -> 1 kOhm -> PDN_UART <- D10
6const float R_SENSE = 0.11f; // BTT/FYSETC modülleri: 0,11 ohm / BTT/FYSETC modules: 0.11 ohm
7const uint8_t DRIVER_ADDRESS = 0b00; // MS1 = MS2 = GND -> adres 0 / address 0
8
9TMC2209Stepper driver(SW_RX, SW_TX, R_SENSE, DRIVER_ADDRESS);
10
11void setup() {
12 Serial.begin(115200);
13 pinMode(STEP_PIN, OUTPUT);
14 pinMode(DIR_PIN, OUTPUT);
15 pinMode(EN_PIN, OUTPUT);
16 digitalWrite(EN_PIN, LOW);
17
18 driver.begin(); // SoftwareSerial 115200, PDN -> UART
19 driver.toff(5); // güç katını aç / enable the power stage
20 driver.I_scale_analog(false); // akım referansı dahili, Vref değil / internal reference, not Vref
21 driver.rms_current(800); // 800 mA RMS
22 driver.microsteps(16); // 1/16, içeride 1/256'ya ara değerleme / interpolated to 1/256
23 driver.en_spreadCycle(false); // StealthChop: sessiz / silent
24 driver.pwm_autoscale(true); // StealthChop otomatik ayarı / automatic tuning
25
26 Serial.print("UART test: ");
27 Serial.println(driver.test_connection() == 0 ? "OK" : "HATA / ERROR");
28 Serial.print("Surum / version: 0x");
29 Serial.println(driver.version(), HEX); // TMC2209 = 0x21
30}
31
32void loop() {
33 digitalWrite(DIR_PIN, HIGH);
34 for (int i = 0; i < 3200; i++) { // 1/16'da 1 tur / one turn at 1/16
35 digitalWrite(STEP_PIN, HIGH);
36 delayMicroseconds(3);
37 digitalWrite(STEP_PIN, LOW);
38 delayMicroseconds(300);
39 }
40 Serial.print("Akim olcegi / current scale: ");
41 Serial.print(driver.cs_actual()); // 0-31
42 Serial.print(" StealthChop: ");
43 Serial.print(driver.stealth());
44 Serial.print(" 120C uyarisi / warning: ");
45 Serial.println(driver.otpw());
46 delay(1000);
47}| Function | What it does |
|---|---|
| begin() | Opens the serial link, turns the PDN pin into UART and makes the microsteps come from the register instead of the pins |
| toff(5) | Enables the power stage; 0 leaves the motor unpowered |
| I_scale_analog(false) | Switches the current reference from Vref to the internal one, so the potentiometer no longer affects current |
| rms_current(800) | Sets coil current in mA RMS; at standstill current drops to half by default |
| microsteps(16) | Selects the microstep setting (1, 2, 4 ... 256) |
| en_spreadCycle(false) | false: StealthChop, true: SpreadCycle |
| pwm_autoscale(true) | Lets StealthChop learn the motor automatically |
| test_connection() / version() | If they return 0 and 0x21, the UART link works |
| cs_actual(), stealth(), otpw() | Actual current scale (0–31), active mode and the 120 °C temperature warning |
Sensorless homing with StallGuard (ESP32)
StallGuard4 measures the load on the shaft by watching the motor's back-EMF and puts the result in the SG_RESULT register as a number from 0 to 510: high when the motor spins unloaded, dropping fast when it presses against an end. When SG_RESULT falls below twice the SGTHRS value you set, the driver drives the DIAG pin HIGH. That lets you find the zero point without a limit switch at the end of the axis. On the TMC2209, StallGuard only works in StealthChop and above the speed set by TCOOLTHRS; it works best at a moderate speed of around 1–3 turns per second with slightly reduced current.
1// TMC2209 + ESP32: StallGuard ile sensörsüz uç bulma / sensorless homing with StallGuard
2#include <TMCStepper.h>
3
4const int STEP_PIN = 25, DIR_PIN = 26, EN_PIN = 27;
5const int DIAG_PIN = 33; // StallGuard çıkışı / StallGuard output
6const int RXD2 = 16, TXD2 = 17; // TX2 -> 1 kOhm -> PDN_UART <- RX2
7const float R_SENSE = 0.11f;
8const uint8_t DRIVER_ADDRESS = 0b00;
9const uint8_t STALL_VALUE = 80; // SG_RESULT <= 2 x 80 olunca DIAG HIGH / DIAG goes HIGH
10const uint32_t TCOOL = 200; // uç bulma hızında TSTEP ~124 / TSTEP ~124 at homing speed
11
12TMC2209Stepper driver(&Serial2, R_SENSE, DRIVER_ADDRESS);
13volatile bool stalled = false;
14
15void IRAM_ATTR onStall() {
16 stalled = true;
17}
18
19void setup() {
20 Serial.begin(115200);
21 Serial2.begin(115200, SERIAL_8N1, RXD2, TXD2);
22 pinMode(STEP_PIN, OUTPUT);
23 pinMode(DIR_PIN, OUTPUT);
24 pinMode(EN_PIN, OUTPUT);
25 pinMode(DIAG_PIN, INPUT);
26 digitalWrite(EN_PIN, LOW);
27
28 driver.begin();
29 driver.toff(4);
30 driver.blank_time(24);
31 driver.I_scale_analog(false); // akımı yalnız yazılım belirler / current set by software only
32 driver.rms_current(600); // uç bulmada düşük akım daha nazik / lower current is gentler
33 driver.microsteps(16);
34 driver.en_spreadCycle(false); // StallGuard4 yalnız StealthChop'ta / only in StealthChop
35 driver.pwm_autoscale(true);
36 driver.TCOOLTHRS(TCOOL); // bu hızın üstünde StallGuard açık / StallGuard on above this speed
37 driver.SGTHRS(STALL_VALUE);
38 attachInterrupt(digitalPinToInterrupt(DIAG_PIN), onStall, RISING);
39}
40
41bool home() {
42 digitalWrite(DIR_PIN, LOW); // uca doğru / towards the end
43 delay(5);
44 stalled = false;
45 for (uint32_t i = 0; i < 32000 && !stalled; i++) { // en fazla 10 tur / at most 10 turns
46 digitalWrite(STEP_PIN, HIGH);
47 delayMicroseconds(3);
48 digitalWrite(STEP_PIN, LOW);
49 delayMicroseconds(160); // yaklaşık 1,9 tur/sn / about 1.9 rev/s
50 }
51 return stalled;
52}
53
54void loop() {
55 bool found = home();
56 Serial.print(found ? "Uc bulundu / end found" : "Bulunamadi / not found");
57 Serial.print(" SG_RESULT: ");
58 Serial.println(driver.SG_RESULT());
59 delay(3000);
60}On the ESP32 the second hardware serial port (Serial2) is routed to GPIO 16 and 17, so no software serial is needed, and as long as VIO is on 3V3 no level shifter is needed either. Here is how TCOOLTHRS was chosen: in the code one microstep takes about 165 µs, so a 1/256 step is 165 / 16 ≈ 10.3 µs, which at the driver's 12 MHz clock gives TSTEP ≈ 124. With TCOOLTHRS = 200, StallGuard is only active above roughly 60% of the homing speed, so the slow moments at start-up do not cause false alarms. The 32000-step limit in the loop stops the motor from pushing forever if StallGuard never triggers.
The right SGTHRS value depends on the motor, current, speed and mechanics, so you have to measure it once. The easiest way is to let the driver's own velocity generator (the VACTUAL register) spin the motor without any STEP pulses and read SG_RESULT meanwhile. VACTUAL is roughly the microsteps per second divided by 0.715: at 1/16, 8950 corresponds to about 2 turns per second. You can drop this snippet into loop() temporarily:
1// SGTHRS ayarı: motoru UART'tan döndür, SG_RESULT'u izle / tuning: spin over UART, watch SG_RESULT
2driver.VACTUAL(8950); // ~2 tur/sn, STEP darbesi gerekmez / ~2 rev/s, no STEP pulses
3for (int i = 0; i < 50; i++) {
4 Serial.println(driver.SG_RESULT()); // serbestken yüksek, yük binince düşer / high when unloaded, drops under load
5 delay(100);
6}
7driver.VACTUAL(0); // dur, STEP pinine dön / stop, back to the STEP pin- With the motor spinning unloaded (or the axis sliding without resistance), note the SG_RESULT values, for example around 300.
- Gently brake the shaft with a finger or drive the axis into its end and watch how far the value falls, for example to 60.
- Set SGTHRS to about a quarter of the unloaded value (300 / 4 ≈ 75); the driver then stops when SG_RESULT falls below 2 × 75 = 150.
- Try homing several times. If it stops in the middle by mistake, lower SGTHRS by 5–10; if it buzzes against the end, raise it by 5–10.
- Repeat this whenever you change current, speed or mechanics.
Heat, cooling and current
- Loss estimate: each coil's current flows through two transistors of about 0.34 Ω in total; across both coils the loss is roughly 2 × I² × 0.34 Ω. That is about 0.7 W at 1 A RMS and about 1.5 W at 1.5 A, rising as the chip warms up.
- Heatsink: above 1 A, stick a small heatsink on the chip or on the copper pad under the module; add a fan in a closed box.
- Standstill current: TMCStepper halves the current by default when the motor stops; if you do not need holding torque, pass a lower factor such as rms_current(800, 0.3).
- Temperature monitoring: otpw() returns true at the 120 °C warning; lowering the current then prevents the chip from shutting itself down (around 143 °C).
- Motor temperature: if the motor body goes above 60 °C, reduce the current; in 3D printers that temperature can soften PLA parts.
Project ideas with the TMC2209
- Silent camera slider: in StealthChop the motor noise stays out of your video; ideal for timelapses.
- Automatic curtain: use StallGuard to find the fully open and fully closed positions without limit switches.
- A 3D printer in the bedroom: swap the A4988s in an older printer for TMC2209s to silence the X and Y axes.
- Turntable: rotate an object silently in equal angles for product photos or 3D scanning.
- Fish feeder or pet feeder: build a dosing mechanism that can run at night without waking anyone.
- Pen plotter: put two TMC2209s on the same UART line with different addresses and drive both axes from one ESP32.
Common problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| UART test reports an error | VM not connected, no 1 kΩ on TX, wrong pin or UART bridge open | Connect 12–24 V, check the wiring and the module's UART setting |
| Motor is weak and stalls easily | I_scale_analog on with Vref too low, or current too low | Add I_scale_analog(false), raise rms_current |
| Motor misses steps at high speed | StealthChop's torque loss at speed | Lower speed or acceleration, switch to SpreadCycle or use TPWMTHRS |
| Motor still whines | SpreadCycle active or StealthChop not tuned yet | en_spreadCycle(false) and pwm_autoscale(true); noise drops after the first moves |
| Homing stops halfway | SGTHRS too high or TCOOLTHRS also covers the start-up | Lower SGTHRS, set TCOOLTHRS to match the homing speed |
| StallGuard never triggers | SpreadCycle on, speed too low or DIAG not connected | Use StealthChop, run at 1–3 rev/s, check the DIAG wire |
| Driver shuts down after a few minutes | Overheating, 143 °C protection | Add a heatsink and fan, lower the current |
The TMC2209 drops into an A4988 socket and makes things quiet right away, and when you want it, gives you full software control over UART. Start by setting Vref in standalone mode and getting the motor turning, then move to UART, and as a last step get rid of your limit switches with StallGuard. Stepper basics are covered in the DC vs servo vs stepper motor and 28BYJ-48 stepper guides. In the BlueGrays app you can explore motion projects such as basic stepper control and turning a stepper into a 360-degree servo, with circuit diagrams and step-by-step code, and adapt them to use a TMC2209 as the driver.
Frequently asked questions
What is the difference between the TMC2208 and the TMC2209?
The TMC2209 is an upgraded TMC2208: it delivers more current (about 2 A RMS versus 1.4 A RMS), adds StallGuard4 for sensorless homing and CoolStep, and supports four UART addresses through MS1/MS2. The pinout is the same on most modules, so a TMC2209 usually drops straight into a TMC2208 socket.
How do I set Vref on a TMC2209?
With the motor disconnected, power VIO and VM, set the multimeter to DC volts and measure between GND and the metal top of the potentiometer. On common modules with a 0.11 Ω sense resistor, Vref ≈ Irms × 1.41, so for 0.8 A RMS set about 1.13 V. With UART you set the current in software instead and take Vref out of the loop with I_scale_analog(false).
Do I need UART to use a TMC2209?
No. In standalone mode without UART, the TMC2209 works like an A4988 over STEP/DIR: you set current with the Vref potentiometer and microsteps with the MS1 and MS2 pins, and StealthChop is still active. UART is only needed to change current in software, choose up to 1/256 microsteps, read status and set the StallGuard threshold.
Why is my stepper still noisy with a TMC2209?
The usual reasons are that SpreadCycle is active or StealthChop has not learned the motor yet; use en_spreadCycle(false) and pwm_autoscale(true) and let the motor make a few moves. At very high speed StealthChop struggles and noise rises. Any remaining hum often comes not from the driver but from motor vibration passing into the frame; a rubber or cork damper helps.
Does StallGuard work in SpreadCycle mode?
Not on the TMC2209. Its StallGuard4 only works in StealthChop, and the motor must also turn faster than the speed set by TCOOLTHRS. If you need load detection in SpreadCycle, look at SPI drivers with StallGuard2 such as the TMC2130 or TMC5160.
Does the TMC2209 work with an ESP32 at 3.3 V?
Yes. Its logic supply VIO accepts 3.3–5 V; connect VIO to the ESP32's 3V3 pin and the STEP, DIR, EN and UART signals are directly compatible with no level shifter. The motor supply VM still has to come from a separate 12–24 V source.
Projects to build after reading this
See all projects
Using a Stepper Motor
A motor that turns step by step, exactly as far as you want, like the hand of a clock.

360-Degree Servo from a Stepper Motor
Teach an ordinary stepper motor to go to any angle you want, all the way around the circle.

ESP32 Servo Motor (Potentiometer Control)
In this project, we control an SG90 servo motor using a potentiometer. We adjust the servo angle by mapping the analog value read from the potentiometer to the 0–180-degree range. The ESP32Servo library generates servo signals on suitable output-capable GPIO pins of the ESP32; this project uses GPIO 18. This is a fundamental control method for robotic arms, camera gimbals, and automatic door mechanisms.

Using a Servo Motor
The arm of a small servo motor turns to three positions in turn: all the way to the start, right to the middle and all the way to the end, waiting two seconds at each stop.

Servo Motor Operation with Potentiometer
As you turn the potentiometer knob, the servo motor's arm turns right along with it: one end of the knob means zero degrees, the other end means half a turn.

Servo Control with Joystick
Steer two motors with a joystick, just like turning a security camera. Push the stick left or right and the bottom servo motor slowly turns, push it up or down and the top servo tilts up and down…

Bluetooth Controlled Car with L298N
Turn your phone into a remote and drive your own robot car. The Arduino receives commands from a remote-control app on your phone through a Bluetooth module and spins the wheels with a motor driver…

Obstacle Avoidance Robot
How about building a smart vehicle that finds its own way? The Obstacle Avoidance Robot constantly scans its surroundings thanks to the ultrasonic sensor in front of it.
More articles
BlueGrays app
Build this circuit step by step on your phone
Wiring diagram, code and parts list on one screen. 500+ Arduino, ESP32, ESP8266, Pico, mBot and micro:bit projects ready to build.
Scan with your phone
Point your camera at the code and your phone's app store opens.
or open the store

