Bat moved by Servomotor
Bat moved by Servomotor
Published 2017-10-26T10:29:10+00:00
This object was made in Tinkercad. https://www.tinkercad.com/things/5fwQb7G3UEa
This is my entry on the #TrickOrTreat3D@MyMiniFactory@tinkercad@bcn3dtech.
View on Youtube video of the Bat in action :
https://youtu.be/B1vYn6w7-s4
I wanted to create a pretty scary object ... Imagine, knocking on the door of one of your neighbors in the evening when the night fell; they open, you appear in Chinese shadow, with that bat in your hand, or better, on your shoulder; she slowly beats her wings, ready to fly on them. The sound of the small servo motor will add to their stupefaction, it looks like a mist of an evil beast. To make sure you do not throw a spell at them, they'll give you all their treats so they'll be scared.
The final object (the bat), once assembled is quite impressive. I 've try to be as much as possible in the theme while being original, to have 100% printable files and resistant objects. Being sure that 3D printing is the future, I also try to offer objects that would not be easily manufactured with other industrial processes. Here, it is the small number of pieces which guided me : the main body is not possible in one piece except by the 3D printing because of the angles of clearance which would require a mold in several moving parts and which would be very expensive.
Instructions :
Print the following parts in black, gray, or dark brown:
- Bat moved by Servomotor - 9G Servo motor support_Legs.stl
- Bat moved by Servomotor -Left Wing.stl
- Bat moved by Servomotor -Right Wing.stl
- Bat moved by Servomotor-Main Body.stl
- Bat moved by Servomotor-Main Body_Bottom.stl
Print the following parts in photoluminescent or fluorescent filament:
- Bat moved by Servomotor-Mouth with Teeth
- Bat moved by Servomotor-Eye.stl (X2)
Print the following parts in the color you want:
- Bat moved by Servomotor - Electronic and 9v Battery Box_Bottom.stl
- Bat moved by Servomotor - Electronic and 9v Battery Box_Top.stl
You will then need:
- An Arduino Nano Link :
https://fr.aliexpress.com/item/1pcs-Nano-3-0-controller-compatible-with-for-arduino-nano-Atmega328P-CH340-USB-driver-NO-with/32830175387.html?spm=a2g0w.search0104.3.215.3bJdov&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10344_10345_10342_10343_10340_10341_10540_10305_10304_10307_10306_10060_10302_10155_10154_10056_10055_10539_10054_10538_10537_10059_10536_10534_10533_100031_10099_10103_10102_5590020_10052_10053_5640020_10107_10050_10142_10051_10084_10083_5370020_10080_10082_10081_10177_10110_10111_10112_10113_10114_10312_10313_10314_10184_10078_10079_10073,searchweb201603_30,ppcSwitch_5&btsid=6977d303-633b-44f7-a7b5-b408308e4768&algo_expid=bac9f9bb-a3a1-4e5d-8b98-4e8473380e16-30&algo_pvid=bac9f9bb-a3a1-4e5d-8b98-4e8473380e16
- An Expansion Shield for Arduino Nano Link :
https://fr.aliexpress.com/item/NANO-I-O-Expansion-sensor-Shield-Module-for-Arduino-UNO-R3-Nano-V3-0/32667093908.html?spm=a2g0w.search0104.3.16.XkcwWe&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10344_10345_10342_10343_10340_10341_10540_10305_10304_10307_10306_10060_10302_10155_10154_10056_10055_10539_10054_10538_10537_10059_10536_10534_10533_100031_10099_10103_10102_5590020_10052_10053_5640020_10107_10050_10142_10051_10084_10083_5370020_10080_10082_10081_10177_10110_10111_10112_10113_10114_10312_10313_10314_10184_10078_10079_10073-10177_10110,searchweb201603_24,ppcSwitch_5&btsid=ef74345a-b950-4e29-ae13-b7c012038474&algo_expid=183dd447-42c8-4514-9cb5-4e8f0e7b3aa6-2&algo_pvid=183dd447-42c8-4514-9cb5-4e8f0e7b3aa6)
- A servo motor 9G. Link :
https://fr.aliexpress.com/item/Rc-Mini-Micro-9g-1-6KG-Servo-SG90-for-RC-250-450-6CH-For-Helicopter-Airplane/32830018764.html?spm=a2g0w.search0104.3.95.qFEWGX&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10344_10345_10342_10343_10340_10341_10540_10305_10304_10307_10306_10060_10302_10155_10154_10056_10055_10539_10054_10538_10537_10059_10536_10534_10533_100031_10099_10103_10102_5590020_10052_10053_5640020_10107_10050_10142_10051_10084_10083_5370020_10080_10082_10081_10177_10110_10111_10112_10113_10114_10312_10313_10314_10184_10078_10079_10073,searchweb201603_30,ppcSwitch_5&btsid=fb0a956e-783c-46a2-8520-20b0d881a7ca&algo_expid=fb961b96-4d81-43f3-bc60-fe6c65d37c65-12&algo_pvid=fb961b96-4d81-43f3-bc60-fe6c65d37c65
- A rectangular 9V battery.
Connector for 9V rectangular battery to 2.1x5.5mm Male plug. Link :
https://fr.aliexpress.com/item/Free-shipping-100pcs-lot-Experimental-9V-battery-snap-power-cable-to-DC-9V-clip-male-line/1891096688.html?spm=a2g0w.search0104.3.1.YE8TiW&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10344_10345_10342_10343_10340_10341_10540_10305_10304_10307_10306_10060_10302_10155_10154_10056_10055_10539_10054_10538_10537_10059_10536_10534_10533_100031_10099_10103_10102_5590020_10052_10053_5640020_10107_10050_10142_10051_10084_10083_5370020_10080_10082_10081_10177_10110_10111_10112_10113_10114_10312_10313_10314_10184_10078_10079_10073,searchweb201603_30,ppcSwitch_5&btsid=8091a5bc-6ed0-4ed0-80d1-f5f3a049f16a&algo_expid=442b977f-c108-4fb7-a1ef-7217ac92393d-0&algo_pvid=442b977f-c108-4fb7-a1ef-7217ac92393d
- An extension for servo motor the length you want (here, 1 meter). Link:
https://fr.aliexpress.com/item/New-1m-RC-Servo-Extension-Cord-Lead-Wire-Cable-for-RC-Helicopter-Car-Plane/32826174621.html?spm=a2g0w.search0104.3.1.XRQWcx&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10344_10345_10342_10343_10340_10341_10540_10305_10304_10307_10306_5640015_10060_10302_10155_10154_10056_10055_10539_10054_10538_10537_5370015_10059_10536_10534_10533_100031_10099_10103_10102_10052_10053_10107_10050_10142_10051_10084_10083_10080_10082_10081_10177_10110_5590015_10111_10112_10113_10114_10312_10313_10314_10184_10078_10079_10073,searchweb201603_30,ppcSwitch_5&btsid=c7dc3f7d-0d5c-4836-bbc0-dc9eb7d86134&algo_expid=8ce8b336-fb50-4f5c-8f3d-857177314d06-0&algo_pvid=8ce8b336-fb50-4f5c-8f3d-857177314d06
- 2 x 3mm * 30mm lenght screws and 2 x M3 Bolts. (To serve as a hinge.)
- 2 x 4mm * 20mm lenght screws. (To fix from below, the lower body on the main body).
- 2 x 2mm * 12mm lenght screws (with the accessories of the 9G servomotor).
- 2 rubber elastics of 40mm length. (between 35mm and 50mm)
- 500 mm of nylon thread.
(Optional: magnetic base.
- Bat moved by Servomotor-Arm Fixation.stl (3D Print it, in black preferably)
- 2 Neodym magnets of 5mm diameter by 14mm long. BE CAREFUL FOR YOUR COMPUTERS (Hard Disks hate Neodym Magnets !!! )
- 1 steel washer of 10,5mm inside, 27mm outside. 2 mm maximum thickness.
- 1 band of Velcro: 300mm * 15mm (for your arm or hand) OR 550mm * 20mm (To fix it on your shoulder or your biceps)
- Some neoprene or epoxy glue (two components).
)
Load this sketch on your Nano Arduino: (Same as Arduino / Sample / Servo / Scan files). I only changed the value 180 by 110. You can try different values. And you can create a sequence for seemingly random wingbeats.
/* Sweep
by BARRAGAN <http://barraganstudio.com>
This example code is in the public domain.
modified 8 Nov 2013
by Scott Fitzgerald
http://www.arduino.cc/en/Tutorial/Sweep
*/D
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop() {
for (pos = 0; pos <= 110; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
for (pos = 110; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
}
Scare as many people as possible and have fun!
many time
Date published | 26/10/2017 |
Benoetigte Zeit | 1080 - 2160 Minuten |
Menge an Filament | 125 |
Dimensionen | 265 110 146 |
Technologie | FDM |
Schwierigkeitsgrad | Very Easy |