Using AVRDUDESS to change fuse bits of Uno

I want to read my fuse bits and set CKDIV8 to 1 (unprogrammed) if it is not set as 1. I need to increase clock frequency to experiment on a stepper motor speed. I'm using AVRDUESS which has a GUI. I can detect my Uno. I click on Read button. I see:

SUCCESS: Read high fuse
SUCCESS: Read low fuse
SUCCESS: Read extended fuse

and 0x00 appears in L & H & E fields. I' not sure if all fuse bits are set as 0x00. Any way I change them as Uno's presets (0xFF, 0xDE, 0xFD) and hit the "write" bottom with checked "Set fuses". Unfortunately I see this error:

**Reading | ################################################## | 100% 0.00s**

**avrdude.exe: Device signature = 0x1e950f (probably m328p)**
**avrdude.exe: reading input file "0xFF"**
**avrdude.exe: writing lfuse (1 bytes):**

**Writing |  ***failed;  **
**################################################## | 100% 0.04s**

**avrdude.exe: 1 bytes of lfuse written**
**avrdude.exe: verifying lfuse memory against 0xFF:**

**Reading | ################################################## | 100% 0.00s**

**avrdude.exe: verification error, first mismatch at byte 0x0000**
**             0x00 != 0xff**
**avrdude.exe: verification error; content mismatch**

**avrdude.exe done.  Thank you.**

I'm completely new to fuse bits. Am I doing something wrong?

When you install the Arduino UNO bootloader, the CKDIV8 fuse is turned off. That's why the Arduino UNO runs at 16 MHz instead of 2 MHz.

1 Like

So does that mean my stepper I can't go any faster with Uno? I've seen some videos like this which can go much faster than I go. What is the secret? They have put the code in the comment section. I can't find anything special about this code.

int x = 300; // x=600

void setup() {
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  digitalWrite(8, LOW);
  digitalWrite(9, LOW);
}
void loop() {
  for (int j = 0; j < 3000; j++) {
    for (int i = 0; i < 4; i++) {
      digitalWrite(9, HIGH);
      delayMicroseconds(x);
      digitalWrite(9, LOW);
      //delayMicroseconds(x);
    }
    if (x > 18) x--;

  }
}

I suspect the secret is in the power supply, the driver, the driver settings, and the motor specifications. Did they specify any of those things?

What happens with your stepper? Can you get it to move at lower speeds?

Yes, I've got no problem with my steppers. I want to achieve higher speed.
I've used many different drivers. lately 6600. My power supply can draw enough power for the stepper. Could it be the pre-scalers?

TB6600 drivers have jumpers to select the number of microsteps. If you have set it to a large number of microsteps, this is probably why the speed of the stepper motor is low.

I know. I set dip switches for full step. still too far from the speed that I see here:

of course I've used A4988 and it didn't help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.