
SG 90 holder
thingiverse
A mount for SG90 and modifications made to the deck. Thanks for all your models Kabrumble. sketch is simple but I am no expert: ////#include <Servo.h> #include "SoftwareSerial.h"` #include "DFRobotDFPlayerMini.h" DFRobotDFPlayerMini myDFPlayer; #include <Servo.h> int t = 5000; int d = 2000; Servo drop; int angle = 10; ////somg runs 3 minutes void setup() { drop.attach(9);/// drop.write(angle); mySoftwareSerial.begin(9600);///Important for MP3 player myDFPlayer.begin(mySoftwareSerial); Serial.begin(9600); if (!myDFPlayer.begin(mySoftwareSerial));////// myDFPlayer.volume(23); myDFPlayer.play(1); ///// Serial.println("music on"); delay(10); } void loop() { Serial.println(d); delay(10000); delay(d); delay(d); Serial.println(d); for (angle = 10; angle < 80; angle++) { drop.write(angle); delay(5); } delay(d); for (angle = 80; angle > 10; angle--) { drop.write(angle); delay(100); } delay(d); delay(d); d = d + 2000; if (d==14000) {myDFPlayer.volume(21); myDFPlayer.play(1); Serial.println("music on");} if (d==24000) {myDFPlayer.volume(19); myDFPlayer.play(1); Serial.println("music on");} if (d==30000) {myDFPlayer.volume(17); myDFPlayer.play(1); Serial.println("music on");d=24000; } }
With this file you will be able to print SG 90 holder with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on SG 90 holder.