Springfield Earthquake Models
These are the models or robots we built to tell the story of the earthquake in Springfield. We have some photos of the models and we describe how they worked and some of the problems we had with them.
The First Truck
The First Truck goes from side to side and finds its way along the road. It does this by following a black line. To follow the black line we used one light sensor. The light sensor can move up and down because the truck has to go up and down a slope when it comes to the bridge.
This is the truck. It has two wheels at the back and runns on arms at the front. There is a light sensor at the front following the black line.
|
The truck starts off with motor A running. This brings the light sensor over the black line. The light sensor is programmed to see the black line. When it sees the line it turns off motor A and turns on motor C for 0.3 seconds. It then turns off motor C and turns back on motor A. This takes the light sensor off the black line a little and then brings it back again. The truck moves zig-zag along the edge of the black line.
This is the second light sensor. It is pointing to the left. It sees the lights on the Conveyor Belt and stops the truck in the right place.
|
There is another light sensor on the truck. This one is pointing to the side and it will see the lights on the conveyor belt. When it sees the lights it sends a signal (the number 1) to the conveyor belt. The truck stops and the conveyor belt lets down an arm holding the conveyor belt. It turns on the belt and this drops the nuclear waste into the truck. Then it sends a signal to the truck (the number 2) and the truck is programmed to move on again when it gets this signal.
This is the front of the truck. The arm on the left hits the touch sensor if it runs into the second truck. This stops the truck.
|
This is the bucket on the truck. The nuclear waste dropped into the bucket. We put on a sloping piece of Lego in case it didn’t drop in the exact position. Then it would roll down into the bucket.
|
When it starts again the truck sends a signal to the bridge (the number 3). The bridge is waiting for this signal. When the bridge gets the signal it comes down from the upright position. It has to be lowered before the truck gets there so that it can cross.
After the bridge the truck meets the Second Truck. When it reaches the Second Truck it is stopped by a touch sensor. Then the First Truck drops the nuclear waste into the other truck. A slow motor lifts the bucket containing the waste and it rolls into the second truck.
Problems:
- Problem:
Trying to get the truck to stop in the right place when it came to the power station. Sometimes it was too far out from the conveyor belt and the waste missed the truck. - Solution:
We found out that we could make it work by changing where the conveyor belt was. When we found the right place for the conveyor belt we marked it on the board and made sure every time that the conveyor belt was in that exact place. - Problem:
Getting the truck to go over the bridge. When it was going up the bridge the light sensor was sticking in the ramp. When it was coming down the other side the light sensor was too high off the ground and was not finding the black line. - Solution:
We put the light sensor on an axle which could go up and down as the truck went up or down the bridge. We put on two sliders to keep the light sensor off the ground and to make it move smoothly along the ground. - Problem:
Getting the truck to stop when it hit the second truck, and getting it to unload the nuclear waste and getting it to send a signal. - Solution:
We had antennae on the front. When one of these was bent back this released a touch sensor and this was programmed to stop the truck, unload and send the signal. We could never get it to work properly.
We had two touch sensors connected to one port and they were programmed to stop the truck when one was released. We discovered that this programme would not run unless the two sensors were released together. Most of the time this didn’t happen. We discovered that the program would work if we could get the touch sensor pressed instead of released. We put on a different touch sensor and an extra arm which would press it when the truck ran into the other truck. this was a little bit better.
– Group: Shane, Robert, Deirdre, Roseanne, Ciarán.
The Second Truck
The Second Truck
|
The Second Truck is in two parts. The front part has the motors, RCX, light sensor and antennae with touch sensor.
The second part has the small motor to tip the nuclear waste out of the trailer.
What the Second Truck does is the truck waits until the First Truck elivers the nuclear waste and unloads it into the back of the Second Truck. Then when that is done, the First Truck will send a signal to the Second Truck.
The program on the Second Truck is waiting for the signal. At the start of this, it sends the message 5 to the Gate of the Mine. The Truck has to go through the gate of the mine. When the gate gets the signal it is programmed to open.
The Truck then pauses for 20 seconds to give the gate time to open. Then it starts the program to follow the black line. It turns on Motor A for 0.4 seconds. This takes the light sensor away from the black line. Then Motor A is turned off and Motor C comes on. This brings the truck back to the black line. When the light sensor sees the black line Motor C goes off and Motor A comes on again for 0.4 seconds. It keeps doing that the whole time.
This is the front of the truck. The antennae are attached to a touch sensor. When they hit something and bend back the sensor is released and the truck stops. The elastic band makes the antennae spring back.
|
The Second Truck will go through the gate following the black line. It hits the wall behind the gate. The antennae at the front hit the wall and they spring back. This releases a touch sensor. The sensor is programmed to turn everything off. Then when everything is turned off, it sends the message 6 to the Gate.
The gate is waiting for this signal and when it gets the signal it closes. The last thing the truck does is to start Motor B which tips out the nuclear waste from the trailer.
This is the gearing on the truck. An 8-tooth gear on the motor connects to a 40-tooth gear. A 24-tooth gear on the same axle connects to another 40-tooth. This is about an 8:1 reduction.
|
This is the tipper on the trailer. A small motor (bottom on right) drives an 8-tooth gear and this connects to a 24-tooth gear on another axle. This lifts the arms where the nuclear waste is carried and tips it out into the mine.
|
Problems:
- Problem:
The signal from the First Truck didn’t reach the RCX because it was facing away from the truck. - Solution:
Instead we got the First Truck to send the signal to the Gate RCX because it was facing it. Then the Gate RCX sent back a signal to the Second Truck. - Problem:
The gearing on the truck is not low enough and it travels too fast. - Solution:
We didn’t have time to change the gearing because we would have to rebuild the truck. We powered down the motors, we shortened the time moving away from the black line to 0.4 seconds each time and we also programmed the Second Truck to wait for 20 seconds to give the gate time enough to open. - •Problem:
The slow motor which unloads the nuclear waste is hard to fix on to the truck and sometimes it falls off. - Solution:
We tried to build it in so that it stays in place and has enough power to turn the axle.
– Group: Shane, Robert, Deirdre, Roseanne, Ciarán.
The Conveyor Belt at the Nuclear Power Station
The Conveyor Belt is part of the Isotope Nuclear Power Station in Springfield. All the rest of the building is made from cardboard. The Conveyor Belt was built to remove the nuclear waste from the Isotope Power Station, where an earthquake has taken place.
This is the Conveyor Belt. The motor on the right raises and lowers the belt. The motor on the top drives the belt. The RCX is facing the front to get and send signals.
|
When the program starts running it turns on three lights and waits for a signal from Truck 1. The truck has a light sensor which will detect the lights and then stop exactly under the Conveyor Belt. It will send the signal 1 to the conveyor belt.
This is the gearing on the conveyor belt. The motor is sitting on the top.
|
When the conveyor belt gets this signal it turns on motor A, which lowers the conveyor belt. When it touches touch sensor 1, it turns off motor A and turns on motor C. Motor C turns the belt and carries the nuclear waste out over the truck. The nuclear waste falls into Truck 1. The Conveyor Belt stops turning (motor C is turned off). Then the Conveyor Belt is raised again. Motor A is turned on and reversed. It goes back up until it hits touch sensor 2 and stops (turns off A and on C). Then it sends signal 2 to Truck 1. The truck is programmed to move off again when it gets this signal.
The three lights on the front of the Conveyor Belt are there to stop the truck. The light sensor on the truck sees these lights and to stop the truck.
|
When the arm of the conveyor belt was raised at the end of the programme it hit a touch sensor and this stopped the programme. The next time we turned it on the touch sensor was still pressed and it turned off straight away. This note was to remind us to move the arm a little bit away from the touch sensor before we started it again.
|
To build the Conveyor Belt, we used two motors, 1 RCX, 3 lights, 2 touch sensors and much more.
Problems:
- Problem:
It was very hard to build because the gears keep slipping. That was because the motor was separated from the Conveyor Belt. - Solution:
We braced the motor to the rest of the building. - Problem:
We have to put the conveyor belt in exactly the right position or else the nuclear waste will not fall into the truck. If it is too far back the arm of the conveyor belt will not reach the truck. If it is too close to the truck the truck might hit the conveyor belt or get tangled in some of the leads. - Solution:
When we found exactly the right place we marked the board and made sure the Conveyor Belt was exactly in this position every time. - Problem:
If the back of the conveyor belt is touching sensor 2, when the program finishes the touch sensor is told to turn off every port and send message 2 to Truck 1. When the program starts again the next time it does this straight away, even though we don’t want it to. - Solution:
We put a note on it to remind us to move the conveyor belt a little bit away from the touch sensor before we start the program again.
– Group: Jane, Laura, Sinéad, Sarah.
The Bridge over the River Homer
The Bridge is built the same width as the road so that the model will fit on the bridge. On both sides of the bridge there are motors and gears. The motors are geared down so that the bridge will go down and up slower. The gearing is exactly the same on both sides so that the bridge will go up and down evenly. The gearing ratio is 25:1.
This is the bridge from the front. It is half way up.
|
This is the bridge from the side. The bridge is lifted with pulleys and fishing line. When the bridge is being raised all the weight is on the top. We had to build it very strong. In the beginning the top kept breaking with the weight.
|
We programmed the bridge so that when it gets the signal 3 from Truck 1, the bridge turns on motors A and C. This lowers the bridge. Then when it goes down as far as it can, it touches a touch sensor. The touch sensor is programmed to stop the motors and wait for about 70 seconds. This is to give the truck time to cross the bridge. Then it goes back up to where it was at the beginning and touches the touch sensor at the top. This touch sensor is programmed to turn off motors A and C.
Problems:
- Problem:
The programme did not work. Firmware went 3 times and we lost the programme each time.
•Solution:
Changed batteries in the RCX. Rechargeable batteries were part of the problem. They never seemed to last very long. - Problem:
The touch sensor that was at the bottom of the bridge wouldn’t work because we couldn’t get it to fit anywhere where it wouldn’t be in the way of bridge. - Solution:
We put the touch sensor at the side and put a Lego person’s head on the bridge. When the bridge came down the head hit the touch sensor and stopped the motors. - Problem:
There was a gap at the back of the bridge to allow it to lift up. When the bridge was lowered the truck could not pass with the gap still there. - Solution:
We had to find a way to close the gap when the bridge was down and to open it when the bridge was going up. We made a card flap and put an arm underneath to raise it and lower it as the bridge goes up and down. This arm is driven by a third motor, motor B. We geared it down to make it move slowly. The gearing ratio is 125:1. This motor is programmed to turn on for 6 seconds on the way up and on the way down. This works most of the time. Sometimes the truck still gets stuck at this flap.
– Bridge Group: Sharon, Andrew, Ciarán and Ethan.
The Gate at the Mine
The gate is opened by raising it up. The gate is supported by two piers and it slides between braces to keep it from swinging back and forth. There are two motors at the top, one at each side. Each motor is programmed the same to keep the bridge moving evenly on both sides.
This is the Mine Gate. There are motors at the top on each side and a touch sensor on each side.
|
The motors are attached to crown gears to change the direction of the drive. They lower and raise the gate with rack gears. There is a line of rack gears up each side of the gate. When the gate is raised high enough it hits a touch sensor which is programmed to stop it. When the gate is lowered almost to the ground it touches another touch sensor which is programmed to stop it.
This is the rack gear up the side of the gate.
|
This is the motor attached to the crown gear at the top of the gate. You can also see the touch sensor to stop the gate when it is raised.
|
Our gate is waiting for a signal form the Second Truck. We have two motors. Wen the signal is sent they will open until the touch sensor is pressed, then the gate stops. Then the truck follows the black line though the gate. When it gets to the back, the touch sensor is pressed. Then it sends another signal to our RCX to close the gate again until the second touch sensor is pressed.
Then the trailer, which is connected to the truck, lifts a scoop and drops the nuclear waste and Springfield is saved.
Problems:
- Problem:
The gate kept slipping on the rack gears and wouldn’t open. Sometimes one side worked and the other didn’t and the gate leaned to one side. - Solution:
We put braces down each side to keep the gate in position. We also put in pegs at the back to keep the rack gears pressed against the gear wheel so that the gear didn’t slip. It was very hard to get the two motors in exactly the same position. The motors were at opposite sides and facing the middle. Because they were the opposite way round we couldn’t match their positions exactly on each side. One was working better than the other. - Problem:
We couldn’t get suitable places to put the touch sensors so that the gate could press them at the top and bottom. The leads were in the way or else the sensors themselves were in the way of the truck. The gate was only just high enough and wide enough for the truck to fit through and even a touch sensor and a few bricks to hold it in place took up enough space. - Solution:
Eventually we discovered that we could put both sensors at the top, one at each side. We put them on the supports and put bricks on the gate that would touch them. One brick was put at the top of the gate and it would touch the sensor when the gate came down. The other brick was at the bottom of the gate and it would touch the second sensor when the gate was up. This solved the problem. - Problem:
The gate had to get a signal from the Truck to run the program to open. It had to get another signal from the Truck to run the program to close. The first signal was sent when the Truck was in front of the gate and the second signal was sent when the Truck had passed the gate. - Solution:
We had to try to find a place and direction for our RCX so that it could receive both signals.
– Group: Adam Randall, Paul Kelly, Owen Warren, Jamie Bergin, Zephlin Fogarty.