loading


Froggy put on a little eye makeup before heading out for the new ride, "The Seesaw."  The Seesaw is the third ride in the amusement park for adventurous plastic frogs.

This ride received Froggy from "The Boot" and slides him over to a waiting rail car. 

Froggy World 1 The Catapult is here:
https://www.instructables.com/id/Froggy-World-1-The-Catapult/

Froggy World 2 The Boot is here:
https://www.instructables.com/id/Froggy-World-2-The-Boot/

Files for the 3d printed parts are here:
http://www.thingiverse.com/thing:48138

An arduino controlled servo motor operates the slide.

Major components include:
Arduino
Servo motor--Hitec HS-311 (Amazon.com)
1/4 inch id bearing  vxb.com
Aluminum channel from Amazon:

6063 Aluminum U-Channel, T52 Temper, Meets AMS QQ-A-200/ASTM B221 Specifications, 1/2" Leg Lengths, 3" Width, 0.125" Wall Thickness, 36" Length


 

Step 1:

Start with 3 inch wide (1/2 inch high walls) aluminum channel, 29 inches long.

Step 2:

Print the seesaw al bracket and attach it to the center of the aluminum channel with machine screws.

Step 3:

Add the seesaw cap to one end of the channel.

Step 4:

Add acrylic shields to the end and right side of the channel (these are to keep Froggy from bouncing out).  I screwed one piece of acrylic on and I "welded" the other by "painting" (small brush) acetone on the abs printed part--then holding the acrylic against the abs printed part.

Step 5:

Using the balance base a, catapult motor c and catapult motor lid (printed 3d parts), attach the servo motor to "the tower."

Step 6:

Attach a 1 1/2 inch diameter, 7 1/2 inch long acrylic rod to an 8 inch by 6 inch by 1/2 inch (painted plywood) base.

Step 7:

Find a position "midway" in the servo travel and let the motor rest there.  This way, when you attach the channel in a "mid travel" position; you'll know that you have room to make it move by software where it needs to go.

Step 8:

Pre drill holes in the top of the acrylic rod to accept the gear bearing holder.

Step 9:

Mount the servo horn to the seesaw al bracket, then mount the channel to the servo motor.  Fasten the servo screw in the center.

Step 10:

The wood dowell (1/4 inch diameter) should fit into the bearing and slide through both holes in the seesaw al bracket.

Step 11:

It should look like this.

Step 12:

Fasten the gear bearing holder to the acrylic rod with a machine screw to fit your pre-drilled hole.

Step 13:

Take a 5 inch long (1 1/2 inch diameter) acrylic rod and saw one end to an angle that is similar to the angle of the aluminum channel when the channel approaches the train. Secure this acrylic in a block of wood (I drilled a 1 1/2 inch hole and friction fit).

Step 14:

Glue (superglue) a piece of sponge to the acrylic rod, then fasten the assembly to the base with screws.

Step 15:

Print the seesaw support and glue sponge into the cradle at the top. Attach this to the base.

Step 16:

Wire according to this schematic.


Enter this code in the Arduino:

#include <Servo.h>

 

Servo myservo;

int start = 10;

int next = 7;

int val = 0;

 

void setup ()

{pinMode(start,INPUT);

pinMode(next,OUTPUT);

digitalWrite(next,HIGH);

  myservo.attach(5);

myservo.write(78);

delay(1000);

 

}

 

void loop ()

{val=digitalRead(start);

if(val==LOW)

 

{myservo.write(40);

delay(1000);

myservo.write(35);

delay(500);

myservo.write(30);

delay(500);

myservo.write(22);

delay(3000);

myservo.write(40);

delay(1000);

myservo.write(50);

delay(500);

myservo.write(60);

delay(500);

myservo.write(65);

delay(500);

myservo.write(70);

delay(500);

myservo.write(75);

delay(500);

myservo.write(78);

delay(500);

digitalWrite(next, LOW);

delay(500);

digitalWrite(next, HIGH);

}}

Step 17:

Adjust the "myServo.write" numbers to keep the movement "soft" and to reach the appropriate end positions.

Step 18:

To avoid litigation from "adventurous plastic attorneys," I built a caution sign--indicating what will happen if a frog sits on the end stop cradle.

Step 19:

Connect it to the last ride (The Boot) and let the fun begin!

About This Instructable

1,686views

3favorites

License:

Bio: I am an author and a maker. Current projects include Santa's Shop and Little Friend (ultracapacitor powered robot) on hackaday.io. I'm working ... More »
More by MikeTheMaker:Another Slinky Machine Robot Servo With Idle Horn Servo Bracket 
Add instructable to: