Thursday, February 17, 2011

Presentation


Presentations

Being able to build, create or theorize plans is
one thing, but presenting ones work is essential
for a sucessful future.




Tips for public speaking:

  • Know the interests of your audience.
  • Understand the matieral thourghly.
  • Be enthusiastic, no one likes a boring speach.
  • Know your strong points as well as your weak ones.
  • Practice makes perfect, rehersing a couple of times wouldnt hurt.
  • Your presentation must contain key points to be discussed.
  • Don't go overboard on info and images on the presentation.
  • No reading off the presentation.
  • Your layout should be-
        Tell them what you are about to tell them.
        Tell them what you are going to tell them.
        Tell them what you are told to tell them.
Follow this and you will do well on any presentation.




 

Robotics challenge

At the day of the competition we did our final checks, and things weren't
the same as before.  We had to recalibrate the robots sensors due to poor
lighting, which allways happens when in a new inviroment.


All of our carefull planning and hardwork  has lead to this...


Well didn't go as planned, but it was a learning experience and enjoyable at that.

Pert/Gantt chart

The Pert Chart is a way to show a list of activities to be done in a orderly manner.
Once listed, anyone working can refer to the chart to keep track of whats next to
be done.


In the Gantt Chart is a more detailed set of tasks about the project.  The tasks are laid
out in regards to time so that everything is sequential and everyone is on task. 

Wednesday, February 16, 2011

Programming Vex: Ultrasonic sensor






The ultrasonic rangefinder works just like the way a bat uses its senses to find its soroundings.  A sound wave is sent out, bounces off an object, then sound reaches the sensor again.  The sensor measures how long it takes for the wave to return and calculates how far the object is.


Programming Vex: Encoders



The Encoder is used to measure rotation on moving parts.
It measures in 4-degree increments for 90 counts in a full
360 rotation. In using the sensor we are able to accurately
create movements in which the robot can do its job
proficiently and reliably.







Building Sensors


 top-(little wire sticking out)
      A line sensor is a little device used to detect difference in color by bouncing back light on a surface; the darker the surface the less light bounced back and vice-versa.  The way this works is as the light bounces back the detector receives light and creates a little current which sends it to the cortex, then the brain reads the values and determines what the surface is.



The color sensor works in a similar manner.  Instead of detecting a specific color, shine a specific color on the object and report what shines back the brightest.  When you shine lights on an object, it absorbs colors indifferent from it and reflects more of the same color shone on it.

Thursday, January 27, 2011

Working with 555 timer and oscilloscopes

The 555 Timer is different from other microcontrollers in which it fires electric pulses in order to keep track of time.  The way it works is that a capacitor is filled by a resistor and then emptied out by a different resistor.  Depending on your arrangement, you can increase the frequency of the pulses by changing one of the resistors for a pot or replacing the capacitor with a different quantity.





An Oscilloscope is a tool used to see the signals at different points of the circuit.  When seeing the grid, it will tell whether the ciruits are correct.  On the screen a V/t graph is drawn so it shows voltage vs. time.


There are three modes in which the oscilloscope works: channel 1,2, and dual mode. Channels 1 and 2 can be setup independently and "dual" allows for side by side comparison of signals.  Normally you dont get what you see in the picture bellow, so you have to do a little work to see the signal pattern.



<>
10K pot (blue), piezo (round sound emitter)



Wednesday, January 26, 2011

Toy Hacking

In programing the toy,  I first built a circuit suitable for a LDR and a motor port controlled by the LDR.  The system had a Darlington system so it could supply enough power through out the whole circuit.  The motor with the LDR work in a way that as light befalls the toy it remains motionless and when the child gets close enough, the toy moves its mouth. 


























In the programming....
main:
         readadc 4,b0
         ;debug
         if b0>120 then top
         if b0<70 then bot
         low 1
         low 2
goto main
top:
         high 1
         low 2
goto main
bot:
        high 2
        low 1

......I created a loop system where if the LDR reads above 120 the toy is motionless and if it drops below 70 the toy's mouth moves.  I did it this way so the child can react to the toy when face to face.

Darlington

 In the next setup, we created a Darlington circuit.  A Darlington circuit is a way to increase the gain of the system, what it does is simply the resultant product of the gain of each transistor.  It is used when there is just not enough "brightness" in the ciruit, (i.e. tree light experiment).
Once finished with the Darlington, the light bulb was replaced with a motorized toy.  The toy moved in cojunction with the previous program and if I reversed the hot and ground, the toy moved in reverse motion.

Microcontrollers

 Microcontrollers are mini computer chips that can store
programs in its memory unit, contain processing units,
and create an input/output circuitry all in one unit.
Once a circuit is built, the chip can be program with
a variety of functions such as motor-control, firing of
speakers, processing commands. 

After creating a circuit for the microcontroller, we needed a digital input sensor so we can execute the program for a simple task.  We used a limiting switch so that when we press the switch the LED would light up.

Instead of a switches, analogue sensors can be used.  A LDR (light dependent resistor) is a device in which touch is not necessary to activate a program.  The LDR has variable value (0 to 255) that can be adjusted to perform a task; if values are created in a range above a set point, the task is performed and if it falls bellow the set point then another task is performed.  An example is if one then light flashes, if two then light is off.

Wednesday, January 19, 2011

Transistor, and logic probe

Transistors work just like relay switches, it has three sections: the collector which recieves the current, the base which controls the current, and the emitter which sends it out. 



 When you combine the transistor with a switch, it is possible to switch the flow of the current.  With the setup to the right we can create a logic probe.

 A logic probe works to help the user find faults in the electronic design. Not only does it do fault finding but it helps in understanding how the electronics work in a system.

Normally the LED is dim when you make the probe touch a "hot flow" the LED brightens up,and when you touch ground the light shuts off; this results in a proper current flow.
 

Tuesday, January 18, 2011

Continuing wth the breadboard

There are two switches we looked at; slide switches and push buttons.

Slide switches are what the name implies, a sliding mechanism that allows current to flow from one circuit to another.  Each circuit must flow from positive to ground for the system to work.

Push buttons work by pushing the switch to make contact with the circuit.  The two forms are: "normally closed"- the current flows until you push the switch, "normally open" - the current flows when you push the switch. 


 
  Relays have coiled springs inside to switch contacts between ciruits when you push the switch.
Can be imagined to be like car blinkers.

Thursday, January 13, 2011

Using the bread board: multimeter, LED's, resistors

First topic was using a multimeter.  This is a device used to check continuity, resistance, voltage, and other functions.  We tested our soldering joints on the PCB board for continuity on two points.  With the multimeter, we looked at voltage.  Voltage comes in to forms: AC or DC, and is directional.  AC or alternating current is what comes out of a wall socket and DC or direct current is something like a battery.
Voltage will run through a LED light and brighten it.  The more voltage, the brighter it gets; too bright and the bulb will burn out.  For parts, next to the current a form of controlling voltage is needed-resistors.

Next is understanding resistors; these components limit how much current can flow through.  They are color coded to provide a value of how much current it takes in. 

The bread board is a great way to test the components.  Each LED has a limit to how much current it can take, so our job is to find out a proper resistor for optimal performance of the system.

First we need to know the "Voltage loop" law or KVL.  This means for any loop circuit voltage must balance: amount generated= amount used. So for a 5V battery with forward loop of 2.5V, the resistor voltage must equal 2.5V.  Thats just the voltage through the resistor.  To find the right resistor we need another law, Ohm's law.  This shows how resistors work...
Voltage across resistor(V) = current through resistor(amperes)*the resistance of the resistor(ohms).  V=I*R

We have voltage and the current is given to us, then we can find the resistor.
2.5V= .02A*R  R=125ohm.

Unfortunately you wont get an exact resistor so find one closest to it.  Also the bigger the resistors value the less current goes through which means a dimmer light and the vise-versa is also true.



Wednesday, January 12, 2011

Intro to soldering



At the beginning of class we looked at crucial safety rules to prevent any accidents.  We were instructed on how to properly create an acceptable solder joint.

The first assignment was to solder capacitors to a protoboard, then


rewire an AC power unit. 



 Tomorrow we will test our projects with a voltameter for perfect connections.