Thursday, February 20, 2014

3.1.5 Variable Functions

In this packet, we were introduced into the plus block function, variable function block, and branch function block. 

Timeserver the program passes through the Plus function block, it adds a value to the block on the right block. And the variable function block keeps track of the value. 

The Branch Function Block is similar to the analog function block, except the branch retrieves information from whatever value is provided through the information node. In this case, the variable function block.

We used what we learned to turn on a lamp for a certain amount of time. 

Here is the lamp, and how it responds to the program. 

Wednesday, February 19, 2014

Super Advertising: 2014 Volkswagen Game Day Commercial: Wings





With the Super Bowl coming this past weekend, many companies spent big bucks securing their spots for slots on the air. For 30 seconds of air-time, a company must pay $4 million. The commercial that we chose, the "Volkswagen Wing Commercial", Volkswagen had to drop $8 million for it's minute long airing. With this, Volkswagen would have to sell 178 of it's most expensive 2014 model. (2014 Touareg coming in at $45,000) in order to make up that money. Above is the video to the commercial.

3.1.3 Basic Programming

In this worksheet, we learned to program a motor to run for a set amount of time. We were introduced to the basic program elements like Start, M1 output, Timd Delay, and End Program.

This is our flowchart, with text to show what each block does.

3.1.4 Branch Functions

As a gropu, we learned the difference between digital and analog functions. Digital is when the action is to turn off/off and analog is when there is a scale of a different values applied. We also learned that branch functions offer the program to make a decision because every branch function is a yes/no question. Programming two switches to have different jobs under the same function was something else we learned. With help from Mr. Olsen, we were able to learn how to use the potentiometer, which led us to be able to dim a light, because the potentiometer behaves as an analog device. It's important because there can be different outcomes for the same input.

This is our branch function with multiple decisions based on the value of the potentiometer, which let us dim the light.



This is our potentiometer.

Wednesday, February 12, 2014

3.1.1 Inputs and Outputs


In this activity, our group learned about digital inputs and analog inputs. We also learned about outputs, and how they can be used to control a buzzer and motor, by using the fischertechnik ROBO TX Controller.


 Digital Inputs
Switch normally open, no voltage present


Press switch, voltage now present. Represented by 1.


Mini Switch normally closed. Voltage present without pressing switch.
Press the switch, no more voltage present 




Analog Inputs
Using the Potentiometer to resemble analog inputs

Outputs

Motor output spinning


Test Interface allows us to control the inputs and outputs. In this case, the motor output.