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:
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:
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--;
}
}
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.