Week 8

Rube Goldberg Two: Electric Boogaloo

Our Rube Goldberg project works as follows:

IMG_2503

  1. The TMP36 is attached to 5V and GND. A hairdryer or heat gun raises the temperature of the TMP36 heat sensor to produce an output voltage.
  2. The voltage from the heat sensor is sent to the LM124 op-amp, which is attached to 5V and GND, taking in the heat sensor voltage, sending it through the LM124 as a non-inverting amplifier with a gain of approximately 3, and outputting a voltage which is high enough to trigger the relay.
  3. The relay is connected to GND on pins 1 and 5. The output from the LM124 is connected to pin 2. When the voltage on pin 2 exceeds 5V, the LED connected between pin 3 and GND is turned on.
  4. The LED is pointed directly at the photoresistor, which is between 5V and a parallel connection of a resistor which goes to ground and the base pin of a transistor. The collector pin of the transistor is connected to 5V, and the output pin is connected to a motor
  5. The motor has a string attached to it. When the motor is activated, the string winds around the motor and pulls both the stopper block for the lego car and the stopper for the 9V battery attached to the car.
  6. The car is free to roll down the track, and the circuit on it counts from 9 down to 0, and stops. The LED on the car flashes on every even number except 0.

The circuit on the car is separate from the initial circuit, and works as follows:

IMG_2504

  1. After the 9V battery stopper is released and the battery is connected, the circuit’s blue bar is grounded and the red bar receives the 9V. All of the following chips are connected to the 9V and GND.
  2. The 555 timer increments every second; this is the same setup as week 7, question 7. This is sent to the 74192.
  3. The 555 output is sent to the down pin of the 74192, and the high pin is attached to an output from the logic gates, inputting (base 2) 0000. The A and D input pins are put to high while the B and C pins are put to low. This makes the timer count backwards starting at 9, and when it is 0 both the high and low pin are equal, so the 74192 stops cycling. The qA, qB, qC, and qD outputs are sent to the 7447 and various gates to create an output that only is active when the number is even.
  4. The 7447 is connected to the digital display as in Week 7.
  5. Using a combination of OR, AND, and XOR gates, the output that the LED is as follows: outputLED = ( ( ( (1 AND qD) OR (qB OR qC) ) XOR (A) ) XOR 1). This makes the LED flash on even numbers with the exception of 0.
  6. Also, in order to get the output (base 2) 0000, the output is as follows: outputZero = ( (qA AND qB) AND (qC AND qD) ) = ( ( (qA AND qB) OR (qC AND qD) ) ) XOR 1 ). The XOR 1 is equivalent to a NOT gate. This negation is necessary because there weren’t enough AND gates to achieve the first equation. This output is sent to the 74192 as mentioned earlier.

Challenges and Improvements:

  1. Unfortunately, our circuit refused to cooperate on almost all fronts. For some reason, the TMP36 to LM124 to Relay setup was not working. I believe it was a faulty connection in the LM124, however the setup was working on Wednesday and before the presentation. Also, when the stopper for the 9V battery was pulled, the connection between the circuit and the battery remained broken. This was a problem earlier in the day as well, as it only worked about 50% of the time. There is proof that the circuit attached to the car does work below:
  2. There were several pieces I wanted to add to the circuit as well, however they were not available at the time. I would have liked for an alarm or buzzer to go off when the timer reached 0, however a buzzer was not available; I also wanted the LED to go on when the timer was at 0, however we ran out of OR gates to use. (I would have added OR outputZero to the outputLED equation). I also wanted a real switch instead of a stopper for the 9V battery, however that was not available either.
Advertisements

8 thoughts on “Week 8

  1. Nice job! I like how you had a separate circuit attached to the car. I’m a little bit confused about how you got the display to count backwards–maybe a truth table would help for that part.

    Like

    1. For that, we turned to the datasheet, 2 of the inputs had to be switched and then a preset number had to be made so it would start at 9 instead of 0

      Like

  2. This looks like it would have been an exciting Rube Goldberg to see in action and its a bummer that it didn’t work in class for the presentation! It looks like you were the only group to implement the photoresistor into the circuit. Also having a car going on its own with its own circuit was a very creative idea. i hope there is another chance to do something like this with more time to workout the small issues that came up.

    Like

  3. Loved your circuit, sorry if that hair dryer I loaned you was under-powered for the task.

    The Separate car was really cool. I understand your frustration about not having all the components you need especially since Mt Pleasant lost it’s Radio Shack. AutoZone and Advanced Auto still have some simple switches and such pretty cheap that may have solved your Stopper Problem.

    KP

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s