Encountered a physical issue with the design causing the motor to stall (friction from the inside of the magnetic coupling)
This commit is contained in:
parent
73a59225bc
commit
08ff8a0fdd
|
@ -3,6 +3,7 @@
|
||||||
* Prototype
|
* Prototype
|
||||||
* Arduino Duemilanove
|
* Arduino Duemilanove
|
||||||
* L298N shield V03
|
* L298N shield V03
|
||||||
|
* https://traction-design.be/home/arduino-l298n-shield-v03-from-flamingoeda-com/
|
||||||
*
|
*
|
||||||
* Pin 13 = motor A or coil A +
|
* Pin 13 = motor A or coil A +
|
||||||
* Pin 12 = motor A or coil A –
|
* Pin 12 = motor A or coil A –
|
||||||
|
@ -24,12 +25,12 @@ void setup() {
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
clockwise();
|
clockwise();
|
||||||
set_speed(50);
|
set_speed(250);
|
||||||
delay(5000);
|
delay(5000);
|
||||||
brake();
|
brake();
|
||||||
delay(2000);
|
delay(2000);
|
||||||
counter_clockwise();
|
counter_clockwise();
|
||||||
set_speed(100);
|
set_speed(250);
|
||||||
delay(5000);
|
delay(5000);
|
||||||
brake();
|
brake();
|
||||||
delay(2000);
|
delay(2000);
|
||||||
|
|
Loading…
Reference in New Issue