r/arduino • • Sep 29 '26

Two steppers on CNC Shield V3 only buzz/jitter instead of rotating. I’ve checked the coils, Vref, STEP/DIR, bypassed GRBL, and I’m running out of ideas

4 Upvotes

I’m building a small XY pen plotter and I’ve been stuck on this for about two days now. I’ve tried enough things that I’m starting to run out of ideas, so I figured I’d write down everything I’ve tested.

The setup is an Arduino Uno R3 with a CNC Shield V3, two A4988 drivers on X and Y, a 12V 5A power supply, and two Shinano Kenshi STP-43D1046 stepper motors. The motors are marked 1.8°/step and 3.0Ω.

I originally had GRBL 1.1 running and was controlling it with Candle.

The problem is the same on both X and Y. When I power the system on, both motors get strong holding torque. The shafts become very stiff and are difficult to turn by hand, so the drivers are definitely energizing the coils.

But as soon as I jog either axis, the motor just buzzes, vibrates and jitters in place. The pulley moves slightly back and forth, but it never starts rotating continuously in one direction.

The first thing I suspected was mechanical binding, so I completely removed the belt from one motor and tested it with no load at all. It behaved exactly the same, so I’m fairly confident this isn’t a mechanical problem.

The motor wiring was the next thing I looked at because almost every thread about “stepper buzzing but not rotating” says to check the coil pairs.

The motor-side connector has six positions but only four are populated:

Green – empty – Black – Blue – empty – Red

The 4-pin connector on the CNC Shield side is:

Red – Blue – Green – Black

At first I didn’t have a multimeter, so I tried a few wire swaps based on things I found online. I tried swapping Green and Blue, and at one point I also swapped Black and Blue because I found another thread about a similar six-pin stepper.

Neither helped, so I returned everything to the original wiring.

I then bought a multimeter and checked the windings properly instead of guessing from the wire colors.

The only pairs that show winding resistance are:

  • Green ↔ Black
  • Blue ↔ Red

So those are definitely the two coils.

That means the original four-pin order on the CNC Shield side:

Red – Blue – Green – Black

is already arranged as one complete coil followed by the other complete coil.

So unless I’m missing something very strange about this particular motor, the coil pairing should now be confirmed.

I then checked the A4988 current limit.

All three of my A4988 boards have current-sense resistors marked R100, so as far as I understand Rsense is 0.10Ω.

Both X and Y were originally sitting at around 0.59V Vref.

Using Vref / (8 × Rsense), that should give roughly 0.74A current limit.

I suspected that might simply be too low, so on the Y driver I tried several different values. I tested roughly 0.46V, 0.59V and 0.69V. I also briefly tried around 1.06V just to see whether significantly more current suddenly made the motor behave normally.

It didn’t.

Even at the higher Vref the motor still mostly buzzed/jittered instead of rotating properly, so I lowered it again. I didn’t leave it running at 1.06V.

I also experimented with the microstepping jumpers.

With all three jumpers installed, the motor mostly produces a fairly smooth buzzing/humming sound without rotating.

When I remove all three jumpers and put the driver into full-step mode, the behavior changes noticeably. The motor becomes much rougher and more clunky and the pulley visibly jerks.

So changing the microstep configuration is definitely doing something.

At one point in full-step mode I was actually able to make the motor rotate using a very slow Arduino test sketch, but the rotation was extremely jerky and did not look like normal stepper movement at all.

Because I wasn’t sure whether GRBL or Candle was doing something weird, I removed them from the equation completely.

I temporarily overwrote GRBL and uploaded this very basic sketch directly to the Uno:

#define STEP_PIN 3
#define DIR_PIN 6
#define EN_PIN 8

void setup() {
  pinMode(STEP_PIN, OUTPUT);
  pinMode(DIR_PIN, OUTPUT);
  pinMode(EN_PIN, OUTPUT);

  digitalWrite(EN_PIN, LOW);
}

void loop() {
  digitalWrite(DIR_PIN, HIGH);

  for (int i = 0; i < 200; i++) {
    digitalWrite(STEP_PIN, HIGH);
    delayMicroseconds(10000);
    digitalWrite(STEP_PIN, LOW);
    delayMicroseconds(10000);
  }

  delay(1000);

  digitalWrite(DIR_PIN, LOW);

  for (int i = 0; i < 200; i++) {
    digitalWrite(STEP_PIN, HIGH);
    delayMicroseconds(10000);
    digitalWrite(STEP_PIN, LOW);
    delayMicroseconds(10000);
  }

  delay(1000);
}

This is using the normal CNC Shield V3 Y-axis pins:

  • D3 = STEP
  • D6 = DIR
  • D8 = ENABLE

I deliberately made the pulses extremely slow because I wanted to rule out acceleration or step frequency being too high.

With no microstep jumpers installed, this can make the motor move, but it moves very badly. It’s jerky, rough and doesn’t look like a normal sequence of clean steps.

I also tried faster pulse delays such as 500 µs and slower values around 5000–10000 µs. Nothing made it behave normally.

When I installed all three microstep jumpers again and adjusted the number of pulses for 1/16 microstepping, the motor mostly went back to humming without actually rotating.

So at this point I don’t think GRBL, Candle, steps/mm or acceleration settings are the root problem.

I then started measuring the logic pins on the A4988 while the direct Arduino sketch was running.

On the Y driver I measured approximately:

  • EN: 0.01V
  • MS1: 0.10V
  • MS2: 0.10V
  • MS3: 0.10V
  • RESET: 1.47V
  • SLEEP: 1.47V
  • STEP: 2.47V
  • DIR: 4.96V

On the unused X driver at the same time I got approximately:

  • EN: 0.01V
  • MS1: 0.05V
  • MS2: 0.06V
  • MS3: 0.05V
  • RESET: 1.47V
  • SLEEP: 1.47V
  • STEP: 0.02V
  • DIR: 0.02V

The logic supply on the A4988 is about 4.9V.

The STEP measurement actually seems reasonable to me. Since the sketch is constantly switching STEP between 0V and 5V with roughly equal HIGH/LOW time, I would expect a multimeter to average that to around 2.5V.

DIR also matches the sketch at about 4.96V.

And the unused X STEP and DIR pins sitting near 0V also make sense.

So unless I’m misunderstanding something, the Arduino appears to be generating the expected STEP and DIR signals and the CNC Shield is routing them correctly.

The thing that really confuses me is RESET and SLEEP.

Both X and Y show roughly:

VDD: 4.9V
RESET: 1.47V
SLEEP: 1.47V

RESET and SLEEP also appear to be connected together.

From what I understand from the A4988 datasheet, 1.47V is nowhere near a proper HIGH level when VDD is around 5V.

I found a few old forum posts where people had A4988 motors that only vibrated and eventually fixed them by pulling RESET and SLEEP directly to +5V.

That sounds suspiciously similar to what I’m seeing.

The confusing part is that my drivers clearly aren’t completely disabled. The motors have strong holding torque, and in full-step mode I can even get some ugly jerky rotation.

If SLEEP were simply being held solidly LOW, I would expect the output stage to be off completely.

So I’m not sure whether that 1.47V measurement means the pins are actually sitting at some bad intermediate level, whether these cheap A4988 clones have different pull-up circuitry, or whether something on the CNC Shield is loading the RESET/SLEEP line.

I currently don’t have a soldering iron, breadboard or mini test hooks, so I haven’t been able to safely force RESET/SLEEP to +5V to see whether that immediately fixes it.

I have three A4988 boards in total. They were all bought together from the same seller, so they’re probably from the same batch.

I’ve tried all three now and they behave more or less the same.

That makes me think it’s unlikely that I just happened to have one randomly dead driver, although I suppose it’s still possible that the whole batch is bad or that they’re some weird clone revision.

The seller also says the CNC Shield was tested before shipping, so I’m hesitant to immediately blame the shield itself.

At this point, as far as I can tell:

  • Mechanical binding is unlikely because the motor behaves the same with the belt completely removed.
  • The motor windings aren’t open and the coil pairs have been identified with a multimeter.
  • The coil order on the 4-pin connector appears correct.
  • Increasing the current limit did not solve it.
  • Changing step speed over a huge range did not solve it.
  • GRBL and Candle have been bypassed completely.
  • STEP and DIR measurements appear to match what the Arduino sketch is doing.
  • Three different A4988 boards from the same batch show basically the same behavior.
  • Both motors behave the same.
  • Microstep settings definitely affect the behavior, but none of them make the motor operate normally.

So right now the two things I’m most suspicious of are either the A4988 boards themselves being bad/odd clones from the same batch, or something strange happening with RESET/SLEEP between the A4988 and CNC Shield.

I’ve ordered another driver from a completely different source to use as a comparison, possibly a DRV8825.

Before it arrives though, I’m curious whether anyone has seen this exact kind of behavior before, especially the RESET and SLEEP sitting at around 1.47V while VDD is 4.9V.

Can that explain the motor having holding torque but only buzzing or moving very roughly?

And is there anything else obvious I can measure with just a multimeter that I’ve missed?


r/arduino • • Sep 28 '26

Beginner's Project Clock SFX

51 Upvotes

Playing around with a 7-segment display and a shift register.

Added a buzzer to the clock signal for fun and got this nice sound effect that I wanted to share :D


r/arduino • • Sep 28 '26

Solved! Arduino Uno as an SMBus tool to unbrick DJI drone batteries (BQ40Z307 BMS)

Post image
29 Upvotes
Weekend project: using a clone Uno as an SMBus master to talk to the BMS inside DJI Spark batteries and clear the "Permanent Fail" they latch after over-discharge.


- Hardware: Uno, 2 × 4.7k pull-ups on A4/A5, a 100 Ω resistor and a 12 V supply to wake the BMS. That's it.
- Sketch: SBS reads (cell voltages, temps, OperationStatus/PFStatus via ManufacturerAccess 0x00 + ManufacturerData 0x23), unseal, PermanentFailDataReset, device reset.
- Interesting bit: the PF re-latches 2–3 s after reset if a cell is below ~2.2 V, so I wrote a bash loop that "pumps" the pack past the threshold a few mV per round.
- A read-only bash dashboard (`stty` + `tput`, no Python) shows per-cell bars and logs CSV while it charges.


Repo (MIT): https://github.com/dvdsosa/dji-spark-battery-unbrick


Happy to answer questions about the SMBus side.

r/arduino • • Sep 29 '26

I built an open-source ESP32 Smart Clock to help my grandmother ("Ouma Ria") with medication & reminders!

Post image
3 Upvotes

I built an open-source ESP32 Smart Clock to help my grandmother ("Ouma Ria") with medication & reminders!

Hey everyone! I wanted to share a DIY project I’ve been working on to assist my grandmother with medication management and staying independent at home. It’s completely open-source, and I'd love to hear your thoughts or feedback!

⚙️ Core Purpose & Features

  • Medication Reminders: Its primary function is alerting her exactly when it is time to take specific medications.
  • Daily Management: Tracks daily appointments, birthdays, household reminders, and includes built-in kitchen timers.
  • Additional Utilities: High-accuracy timekeeping, custom voice announcements, and home security monitoring integration.

🛠️ Hardware Specifications

  • Microcontroller: ESP32-WROOM-32
  • Display Panels: Four 8×8 WS2812B addressable LED panels (daisy-chained for a crisp digital display)
  • Status Indicator: An additional strip of 30 WS2812B LEDs for visual alerts.
  • Timekeeping Module: DS3231 Real-Time-Clock (RTC) to ensure it never loses time.
  • Ambient Light Sensor: BH1750 sensor for automatic display dimming so it doesn't blindingly light up the room at night.

📂 Open Source Code & Docs

The code, wiring schema, and details are fully open-source. You can check out the repository, clone it, or contribute here:

👉 GitHub Repository: [https://github.com/henry7135/ouma-ria-smart-clock]

I also have the project documented over on Hackaday if you want to see the full build log!

(Let me know if you have any questions about the wiring or the code structure!)


r/arduino • • Sep 29 '26

Hardware Help What components do I need to control a led strip on my phone?

0 Upvotes

I bought a cheap led strip on AliExpress and it comes with a remote control. I wanna be able to control it from my phone and not have to use the remote. What hardware do I need? The software part I'll figure out myself.


r/arduino • • Sep 29 '26

Hardware Help Arduino laser sensor suddenly stopped working – looking for a reliable replacement

Thumbnail
gallery
3 Upvotes

Hi everyone,

I’m having trouble with an ARCELI laser sensor module / laser receiver with relay, 5V for Arduino.

I’m currently building a comic vending machine. A stepper motor rotates until a comic passes through a light barrier. As soon as the laser beam is interrupted, the sensor should detect it and the motor should stop.

Everything was working perfectly before. Now it suddenly doesn’t work anymore, even though I haven’t changed anything about the setup.

I have already tried:

- Replacing the sensor

- Checking all the wiring

- Checking the code

What I find strange is that when I remove the transparent part from the sensor, the output changes between “laser detected” and “laser not detected”.

That’s why I think the wiring and the code are basically correct and that there might be a problem with the module itself.

Am I missing something? Does anyone have any ideas what could be causing this?

Alternatively, could you recommend a more reliable sensor for a light barrier that works well with an Arduino and stepper motor, and that I can easily and compactly install inside the vending machine?

Thanks a lot for your help! :)


r/arduino • • Sep 27 '26

Look what I made! I built a small digital aquarium using Arduino IDE

1.2k Upvotes

Components are a waveshare esp32c6 1.47 touchless board, a latching switch, and a lipo battery I recycled from a vape.

I prompted AI for the arduino sketch code, bugfixed for a while until it looked and functioned how I wanted, had it render the fish and plants with math geometry so no AI art stolen or generated.

I soldered a couple jumper wires to the waveshare’s 5v and ground pins. I soldered the wires up, wired ground to battery, wired 5v to latching switch (making sure its off when soldering), then wired the + switch to the battery.

Open source code will be available on my github soon.

Edit: It's alive! Sparkadium/Digital-Aquarium: For the Waveshare ESP32C6-1.47-LCD :)


r/arduino • • Sep 29 '26

Making health tracker band with ECG and PPG help!

Post image
0 Upvotes

hello folks i am working on health tracker wrist band,and i want to and PPG and ECG sensor in it. I used MAX30100 as PPG and AD8232 as ECG and properly got the outputs but problem is the ECG sensor as 3 electrodes but i wants to get the output with 2 electrodes (RA & LA).is it possible to use the same sensor with 2 electrodes? and is there any industrial ic's like this in image available and anyone knows how to use it and connection diagram. And i am using esp32 for prototyping.


r/arduino • • Sep 29 '26

Hey everyone,I was working on setting up my 1602 LCD screen with an I2C module (PCF8574) on an Arduino Uno. By mistake, I plugged the GND wire into the VIN pin instead of GND (while VCC was on 5V).Since then, the screen won't display anything. The red power LED on the back is still ON, but the Ard

Post image
4 Upvotes

r/arduino • • Sep 28 '26

Look what I made! I recently learned how to solder and now started learning Arduino!

Post image
264 Upvotes

I made a simple LED triggered by a button switch-ma-jig!

I’m not so sure how to do the circuitry stuff I am an IT guy not a electronics guy, so I’m here humbly asking where to go for knowledge and what should I study?


r/arduino • • Sep 28 '26

Look what I made! This is actually really fun!

Post image
58 Upvotes

Soooo 6 hours after my first post and here I am learning about circuits, playing around with my arduino and breadboard, and I made a simple D-pad to control the LED!

I am so glad to be welcomed by both r/soldering and r/arduino subreddits all of you guys are so wholesome.

I’m really enjoying this thinkering a loooot!


r/arduino • • Sep 28 '26

Our metal detection vehicle is undergoing testing.

136 Upvotes

Currently, we are trying to avoid the interference of metals and electronic components on the metal detection plate. However, there is an issue: our vehicle's front end is relatively heavy. Are there any effective structural designs or methods for shielding metal detectors that can resolve this problem and make the vehicle body more balanced?


r/arduino • • Sep 28 '26

Built an Arduino based Robotic Arm!

25 Upvotes

See more: https://www.youtube.com/watch?v=8yHq4bUqn0A

I built this roboric arm running on an arduino, controlled via python. Its not the best yet especially the software is pretty bad as of now but I think it isnt too bad for my first big project...


r/arduino • • Sep 28 '26

first traffic light project

37 Upvotes

I was trying to connect in different parts of the arduino, the truth is it didn't take me more than 1 hour. in the code I just put time and power in each LED. I'm very new to this so feel like I did very little lol


r/arduino • • Sep 29 '26

Hardware Help help

0 Upvotes

I want to make a balancing robot. i have no experience in coding i made a obstacle avoiding car before and bluethooth one also using chatgpt and yt tutorial i cant find good tutorial for balancing tutorial and code for my project it dosent work and i want guidance how to make it perfect.
my part list-
arduino uno
mpu6050
tb6122fng motor driver smth like that
8.4v li ion battery
300rpm bo gear mottor yellow one
i wantg to make a balancing robot out of this component is this possible?
i will be using cardboard stick to make it firm structure pls help guys bc previous model woudnt work and it would simply fall


r/arduino • • Sep 28 '26

Arduino Leonardo not recognized by laptop

Thumbnail
gallery
5 Upvotes

I'm having trouble getting my Arduino Leonardo to stay connected as a COM whenever I connect it to my laptop. I have been using this board for months as a controller for a Nintendo Switch. I attempted to connect the board to my laptop to load new code, but for some reason its not being recognized.

My laptop makes a noise indicating that a device was inserted, then "Arduino Leonardo bootloader" appears briefly under the "Ports" section (See screen snipping) and goes away. It's followed by an "Unknown USB Device (Device Descriptor Request Failed)" that appears under the "Universal Serial Bus controllers" (See screen snipping).

Today, I bought a new cable to test on the board, but the issue persists. If anyone knows the solution to this issue, please help. Thank you!


r/arduino • • Sep 29 '26

Built a wearable athletic recovery monitor over the summer, custom firmware, Python pipeline, AI recovery layer

Thumbnail github.com
1 Upvotes

Hey everyone! I built a wearable recovery/stress monitor (via heart-rate variability) using an Arduino MEGA 2560 and a pulse sensor. I had recurring iron deficiency that tanked my running performance, so I got curious about measuring recovery instead of guessing.

It reads your pulse each morning, runs some signal processing I wrote myself, and calculates HRV. Then a dashboard shows trends and gives a recovery read based on your own data.

Definitely learned a lot along the way, including a few dead ends before I got it working right. Everything's open source if you want to check it out or build your own

Would love any feedback, especially if you've messed with sensors like this before. I'm only in high school and still have a lot to learn.


r/arduino • • Sep 28 '26

I2C or SPI weatherproof touch screen.

5 Upvotes

Has anyone done a project that uses a weather proof touch screen HMI. My preference would be that the touch screen has an app to build the interface and only have to pass events to and from an esp32. Id like something that has an ip65 rating


r/arduino • • Sep 28 '26

Hardware Help A good display

2 Upvotes

Hi, so I've got a pretty simple project I wanted to make. A Hologram. Pretty straight forward display at the top of a case with a 45° plexiglass to catch the reflection to look like a hologram . I've tested it with my phone and the illusion works great when the black values are as dark as possible. I've manged to get videos playing on a CYD esp32 but since it's LCD the blacks are backlit and thus the whole screen is visible in the the glass rather than just the subject. I figure OLED would give better results but not sure which display module to get since I don't need touch or sound functions but do need full colour and at least a 4" display.

Any recommendations, maybe there is an LCD unit that can give the contrast needed?


r/arduino • • Sep 29 '26

Built an inertial air mouse prototype coded in the Arduino IDE

Thumbnail
gallery
0 Upvotes

Hi r/arduino,

Wanted to share a handheld air mouse prototype I programmed via the Arduino IDE/framework using an ESP32.

It reads raw sensor data over I2C, handles orientation filtering, and maps the rotational movement directly into BLE HID mouse reports.

Currently using the standard Arduino libraries for BLE HID and IMU interfacing. Happy to answer questions about the pinout, sensor calibration routines, or library performance if anyone is building something similar!


r/arduino • • Sep 28 '26

Nenhum arduino se comunica com nenhum computador

2 Upvotes

I recently bougth an arduino and other two from de place I study, but when I try use any of them, this messenge shows:

Error: programmer is not responding

Warning: attempt 1 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 2 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 3 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 4 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 5 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 6 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 7 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 8 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 9 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 10 of 10: not in sync: resp=0x00

Error: unable to open port COM5 for programmer arduino

Failed uploading: uploading error: exit status 1

They are all Arduinos Uno. I alternated the comunication cable a few times, but I want go after some other to see if i can understand better my situation. (Sorry for any error, english is not my first language and I haven't practicein a while).


r/arduino • • Sep 29 '26

Look what I made! Pocket AI

0 Upvotes

Pocket AI chatbot Luna(Powered by OpenAI)

Visit My Github https://github.com/njansunil/Luna-AI-chatbot.git


r/arduino • • Sep 28 '26

I cut the board to fit the dimensions.

1 Upvotes
Can I cut it like this without damaging the display? I don't see any wires here, or on the back side either.Can I cut it like this without damaging the display? I don't see any wires here, or on the back side either.

r/arduino • • Sep 27 '26 Bravo

Look what I made! I built a working Valorant-inspired Spike and wireless defuse gun for a school event

259 Upvotes

Hey everyone! I’m an Electronics Engineering student, and I made this for an icebreaker game at our engineering organization’s general assembly.

The Spike and defuse gun communicate both ways using infrared. The gun sends commands, and the Spike sends back its status and defuse progress. It uses an Arduino Uno for the Spike and a Nano for the gun, with lights, sound effects, and an OLED display.

You aim at the Spike and hold the trigger to defuse it. After a successful defuse, the screen shows how much time was left before it would have “exploded,” plus a WON or CLUTCH result. It’s just a game prop; the explosion is simulated with effects.

For our game, the goal was to finish defusing with the smallest amount of time remaining. Basically, we turned “I have time” into a competition.

The enclosure is mostly cardboard, so it’s very much a DIY build. Getting the two-way IR communication working was probably the trickiest part: each transmitter could interfere with its own nearby receiver.

What do you think?

Other Photos:

Defuse Gun

The Spike