Arnov Sharma
Published © MIT

3D printed GearBox

Made a Gearbox from scratch for an upcoming Kinetic Sculpture project

BeginnerFull instructions provided1 hour863
3D printed GearBox

Things used in this project

Hardware components

Seeed Studio XIAO SAMD21 (Pre-Soldered) - Seeeduino XIAO
Seeed Studio XIAO SAMD21 (Pre-Soldered) - Seeeduino XIAO
×1

Software apps and online services

Fusion
Autodesk Fusion
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Seeed Studio Fusion PCB/PCBA
Seeed Studio Fusion PCB/PCBA
3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

cad file- STEP

Fusion360File

Schematics

SCH

Code

code

C/C++
const int motorPin1 = 0; // Pin connected to H-bridge input 1
const int motorPin2 = 1; // Pin connected to H-bridge input 2
const int ledCW = 3; // Pin connected to LED for clockwise direction
const int ledCCW = 4; // Pin connected to LED for counterclockwise direction
void setup() {
pinMode(motorPin1, OUTPUT);
pinMode(motorPin2, OUTPUT);
pinMode(ledCW, OUTPUT);
pinMode(ledCCW, OUTPUT);
}
void loop() {
// Turn motor ON in one direction (clockwise)
digitalWrite(motorPin1, HIGH);
digitalWrite(motorPin2, LOW);
digitalWrite(ledCW, HIGH); // Turn on CW LED
digitalWrite(ledCCW, LOW); // Turn off CCW LED
delay(3000); // Wait for 3 seconds
// Change direction (counterclockwise)
digitalWrite(motorPin1, LOW);
digitalWrite(motorPin2, HIGH);
digitalWrite(ledCW, LOW); // Turn off CW LED
digitalWrite(ledCCW, HIGH); // Turn on CCW LED
delay(3000); // Wait for 3 seconds
}

Credits

Arnov Sharma
340 projects • 346 followers
Just your average MAKER
Contact

Comments

Please log in or sign up to comment.