*insert video of project working for 30 seconds* For this project I was inspired by the movie Spirited Away. I really enjoy Ghibli films, and when the project was presented, I thought the cam motion was very impressive, so I wanted to combine these interests into one project. (I also thought it would be good to have an idea from the start of the project, rather than take a week to figure it out haha) The idea behind this project was to take the wave motion created by cams and use it to make it look like a dragon - in this case, Haku from Spirited Away - look like it is flying. During this project, I learned about gear ratios by designing my own gears to slow the motion of the motor down. I also laser cut cams out of balsa wood, made a wooden box for the base, and cut into the box with a drill and a saw. My handmade and homemade object was a sewn dragon made to look like Haku, although he was missing his horns. The biggest difficulty in making this automata was getting the cams to ...
Project 1: Digital Surrealist Object Project 1 Document Requirements: Start from a found object Create a 3D printed extension of the object Purpose of the object must be transformed Still unsure about what object to use... thinking of going to the thrift store to find an object and inspiration. Activity: Project 1 Activity Sketches
Connecting servo motors: Code to move servos: from servo import Servo import time sg90_servo = Servo(pin=26) #To be changed according to the pin used servo2 = Servo(pin=22) while True: sg90_servo.move(135) # turns the servo to 0°. servo2.move(45) time.sleep(1) #sg90_servo.move(90) # turns the servo to 90°. #servo2.move(90) #time.sleep(1) #sg90_servo.move(180) # turns the servo to 180°. #time.sleep(1) Code to make servos wiggle with proximity sensor: from machine import Pin from servo import Servo import utime import time trigger = Pin(27, Pin.OUT) echo = Pin(28, Pin.IN) sg90_servo = Servo(pin=26) def ultra(): trigger.low() utime.sleep_us(2) trigger.high() utime.sleep_us(5) trigger.low() while echo.value() == 0: signaloff = utime.ticks_us() ...
Comments
Post a Comment