Part 2-Quiz

1.)What is Arduino?

Arduino is electronic prototype platform that was design for artists and designer to add interactivity to their project. Arduino is a microcontroller microcontroller board based on the ATmega328(datasheet). Microcontroller if you do not know is is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. Program memory in the form of NOR flash or OTP ROM. There are many different types of Arduino’s. The recommended for beginner is Arduino Uno. Arduino uno has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. Arduino accept input from different type sensor (light, sound, pressure, humidity, temperature, vibration). Plug the sensor into input pin the arduino will process and measure input from different signals in addition using simple computer code that you type on arduino software and upload to the board. The board will process the signal and send to output pins the result can be buzzer, led, motor,servo, actuator.

2.) What is electricity? Current? Voltage? Resistance?

Electricity is a form of energy.Two forms of electricity current and static. current electricity power our homes. Electricity is a secondary energy source. We have to convert from another into electric power. Sources of electricity include burning natural gas and coal, nuclear power, natural source of power such as wind water and solar energy.

Voltage is the state of the object how much current to pull. For example the state of battery when charge from a source the flow is positive to negative.

Resistor design to detect flow of electricity.It is measured in Greek Omega character (OHMS). A component resist the flow of electrical energy.It convert some electrical energy into heat. For example if you design circuit with led next to a resistor, the resistor will use up some of the electrical energy and led will receive less energy. resistor give the led the amount of energy it is need and keep the led from receiving to much voltage.

3.) What is a circuit? How does electricity flow in a circuit?

A circuit is like a patch panel. It was to allow electricity to flow to components. Arduino has breadboard circuit that allow electronicity to flow to arduino uno in a specific design structure to produce and input and output result of something like a noise. Electricity would flow from high voltage 5V to low Volts GND. For example the input to activate led light connected pin 6 is sent through jumper wire on breadboard to 5v on the arduino uno and then travel back through jumper wire to led and then back through jumper wire to ground.

4) What is Ohm’s law? When might you use it? How would you use it?

George Simon Ohms discovered the relationship between current, voltage and resistors. Current * resistor determine voltage in circuit. The ohms law explain when the value of 1 element change like resistor then voltage and current also change.

5.) What is a series circuit? Parallel circuit?

Series circuit two switch on breadboard (circuit) in the series. This series mean the same electrical current flow through both of them and they switch both have to be pressed for led light to turn on.

Parallel circuit two switches are in parallel. The electrical current is split between them. if either switch pressed, the led will turn on.

6.) What is the difference between digital and analog signal/voltage? Describe an example.

digital signal is input pin that signal the power pins of the arduino uno or any other microcontroller it range from 0 voltage to 5 voltage. if you design your design your circuit to pull from 5V of the arduino that how much voltage it will to turn on an led for example.

Analog in pin has it own resistors. It is used in code in the loop to read the input pin from the digital pin and store the value to the correct variable that is on the circuit to activate a sensor. sample example

const int redLEDpin=9;

const int redSensorpin= A0;

//red sensor value is sent from pin 9 to Analog 0

int redValue=0;

7.) What is code?

A program is an instruction used to activate an a operation system, or a device to make cause and effect interface like code arduino when switch (cause) is press turn on led light (effect)

8.) What is a variable? How is it used in Arduino?

A variable is a place to store a piece of data. It has a name, a value, and a type. It is used in arduino to delcare input.

int pin = 10       //create variable to name a pin

9.) What is a function? How is it used in Arduino?

function is name to perform a task.

10.) What two functions are required in Arduino code? What do they do?

The two function are void setup and void loop. void setup is main section where you can set up digital pin input and output and void loop control the direction of the instruction of code to arduino board.

11.) Write one function that sets the pins on an Arduino. pinMode();

12.) How do you end a statement in Arduino? semicolon

13.) What are curly braces/brackets used for in Arduino?  first brackets used to say the instruction is going to be begin and the instruction is ending with another bracket.

void setup(){  //begin

}        //end instruction for void setup

14.) Describe one digital function and one analog function.

digitalRead()     //check voltage level on digital input

analogWrite()  // read digital input and store variable to appropriate varible

15.) What are conditional statements in Arduino? Name one and describe its use.

for loop conditional statement. It can be coded to blink 6 led lights on arduino back and forth using a switch button and for certain time using delay function. for loop would set instruction when switch is press each led turn on certain length time using delay function.

16.) What is pulse width modulation (PWM)? How does it work? When might you use it in Arduino? pulse width modulation pwm is used to fade led. pwd coded in arduino software to turn output pin high and low over fix period of time.

17.) What is a multimeter? How do you use one?

an instrument designed to measure electric current, voltage, and usually resistance, typically over several ranges of value. If you testing battery on your device it will tell you if it active with noise or dead.

18.) How do you get code from your Arduino Sketch to an Arduino? What four things should you check for/do?

1. build your circuit and make sure wires are in good

2.plug in usb component

3. type code to arduino software and check for error

4. on arduino software go to tools- board- arduino uno. tools-serial port-click your device

19.) What is the serial monitor for? How do you invoke it in your code? On the Arduino IDE? it is in loop as serial.print(). If your using temperature sensor it will send information from arduino to a computer.

20.) What is baud rate?in electronic bands is unit for symbol rate or modulation rate in symbol per second or pulses per second.


Leave a Reply

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

You are commenting using your 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