Friday, February 12, 2016

FireSeeking Competition

In this final lab the class was split into teams and given the task of building a small robot to navigate through a maze and blow out a candle.


Wednesday, February 3, 2016

Hack-a-Toy

For this lab we had to buy or find a toy that has a motor and PCB board to 'hack'. I found a yellow Camaro that had lights and sounds with buttons that made the wheels move. To hack this toy I wanted to make the wheels move with the use of an IR sensor. To do this I removed the wires that were connected to the circuit board for the motor and the battery. Then I hooked these wires into the IR circuit that I prepared with my Arduino board and breadboard.


Wednesday, January 27, 2016

Code.org Homework Assignment

February 2,2016

In this assignment we learned how to write code and make  could interact with each other.  We learned how to program the the avatar "Alex" from Minecraft to interact with her surroundings,  like shearing sheep or building a house.  We also learned how to use "if" statements in the Minecraft lab,  for when Alex were to come in contact with a certain object like lava she would put a stone in front of her. We also learned how to use degrees in creating patterns with Anna and Elsa from Frozen.  Although these activities were for kids they were very helpful in reinforcing the building blocks of developing code that we learned in class.

Saturday, January 23, 2016

Music and Advanced Programming



For this lab, we were tasked with writing code for a circuit we mad with a small speaker to play a song. We downloaded the song off line into our library in the Arduino software. Then we added in some more code referencing the notes that we pulled from the internet. this part was only partially challenging for me because, it was hard for me to figure out what specific terms to use in the code to articulate what I was trying to express. But when completed the speaker play a short little song.

Wednesday, January 20, 2016

Driving Motors and Other Output Devices


January 14, 2016
For the first part of this lab we were tasked with using our Arduino board to light a Christmas light.in this lab I learned why a diode is used in this application. The diode is used to protect the relays from the back emf. I also learned that back emf is a large surge in current that rushes back from any device that has a metal coil inside and can damage unprotected components. We used a back emf suppressing diode, a Darlington transistor and our 5V power supply to light the bulb.



For the second part of this lab we used Darlington Transistor in a circuit powering a motor. in the part I learned that the Darlington transistor is much larger and can take much more than the small 2N3904 transistor. I also learned how the darlington differs from the smaller resistor in how to hook the resistor and motor up to the transistor.

For the final part of this labs we had to power the motor using our Arduino board. In this part of the lab I learned that unlike other motors, BDC motors do not require a controller to switch current in the motor windings. The small transistor from earlier in the lab isn't compatible with this so I had to use the Darlington Transistor. The code that was used to control the motor is the same ode that was use to  make the Christmas light blink.


Monday, January 18, 2016

Bi-Directional Motor Control







January 13,2016
In this lab we were first tasked with using a double-pole, double throw relay to get our motor to turn in two directions. I learned that the DPDT relay is switching the direction of current flow through the motor to get it to turn in either direction. We used a TIP102/120 transistor it must be able to handle the motor currents. I also learned that, in order to control the motor, you connect the ON/OFF pin to the motor, while connecting the direction pin to +9V that controls direction.
















In another part of this lab, we were responsible for creating an Hbridge circuit. For this circuit we uses four transistors to guide the flow of electricity. Another thing that was learned , was that at one time two switches of the same side cannot be on at the same time or it will cause a short circuit. The purpose of an Hbridge is to prevent short circuiting between the switches on the same side. If the bridge is sufficiently powerful it will absorb that load and our batteries will simply drain quickly.





















For the last part of this lab we had to demonstrate the HBridge circuit controlling the motor using an Adruino board. In this part we had to hook up the adruino board with the bread boar that our circuit was on. The same line of code that was used to make a light blink on and off was then used to make the motor turn on and off.

Wednesday, January 13, 2016

Transistor Switcing






January 12, 2016
In this lab we learned how a transistor works like a relay to switch the flow of electricity. We used a breadboard, 150 ohm resistor, a 10K ohm resistor, a 330 ohm resistor, a 2N3904 transistor and a switch to create a current the lights the LED. In the following experiment we looked into fingertip switching. We just used the transistor, a resistor and some jumper wires to light the LED with our fingers. The bulb lit when it came in contact with our fingers because our fingers are conducting positive voltage to the base of the transistor. Although our skin has a high resistance as well as only a trickle of voltage reaching the transistor; the transistor still responds. throughout these experiments we used an Ammeter to measure how much current was running through each of the trials we set up