Thingiverse
Focuser Motorlid USB-C
von PtiteSerra
0
Downloads
1
Likes
0
Makes
I bought a USB-C Arduino Nano clone (NANO V3 ATMEGA 328 Type-C) for this project and I needed a new motorlid at the right size for the USB-C port, so here it is :)
By the way, in my case, the arduino could not fit properly in its case; therefore, I had to change the pins where the motor was attached.
Here are the lines of code to change to connect the motor on pins 4 to 7 instead of 3 to 6 (it also moves the remote pins to 8 and 9):
\#define BTN_IN 8
\#define BTN_OUT 9
AccelStepper stepper(AccelStepper::FULL4WIRE, 7, 5, 6, 4, false);
By the way, in my case, the arduino could not fit properly in its case; therefore, I had to change the pins where the motor was attached.
Here are the lines of code to change to connect the motor on pins 4 to 7 instead of 3 to 6 (it also moves the remote pins to 8 and 9):
\#define BTN_IN 8
\#define BTN_OUT 9
AccelStepper stepper(AccelStepper::FULL4WIRE, 7, 5, 6, 4, false);
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!