1.) What is Arduino? A microcomputer that can sense and control the psychical world.
2.) What is electricity? Current? Voltage? Resistance? Electricity is a form of energy caused by charged particles. Current is the flow of electric charge around the circuit. Voltage is the difference in charge between two points in an electrical field. Resistance is is the repulsion of a current within a circuit.
3.) What is a circuit? How does electricity flow in a circuit? A circuit is a path where electrons from a voltage or current source flows.
4) What is Ohm’s law? OHM’s law is made from 3 mathematical equation that shows the relationship between resistance, current, and voltage. When might you use it? It is used to find the voltage in a circuit. How would you use it? Using the OHM’s calculator.
5.) What is a series circuit? It is a circuit where resistors can be connected in many ways. arranged in a chain form so that the current has only one path for the charges to take. also has more than one resistor. Parallel circuit? A parallel circuit has multiple current paths for energy to flow through.
6.) What is the difference between digital and analog signal/voltage? Analog is a signal that represents physical measurement. Digital signals are discrete physical signals that represents values
7.) What is code? Programmed instruction or system of words, letters or symbols for the purpose of secrecy (like a password)
8.) What is a variable? Information that can be changed. How is it used in Arduino? Same way. Changing variable name Pin=14
9.) What is a function?Code that executes a specific task repeatedly. How is it used in Arduino? have the advantage of not having to repeatedly write down the code.
10.) What two functions are required in Arduino code? What do they do? Void setup and Void Loop. Void setup is in the beginning of a sketch. It starts up variables. Void Loop is consecutive and controls the Arduino
11.) Write one function that sets the pins on an Arduino.
int ledPin = 12; // LED connected to digital pin 12
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
}
12.) How do you end a statement in Arduino? Using curly braces }
13.) What are curly braces/brackets used for in Arduino? curly braces/brackets are used to enclose statements
14.) Describe one digital function and one analog function. Digital function would be PinMode which makes something behave as an in or output
15.) What are conditional statements in Arduino? Statements that start with “If”. Can help evaluate if something is true or false. If blanky bank blank then do this.
16.) What is pulse width modulation (PWM)? How does it work? When might you use it in Arduino? PWM is used for getting analog results with digital means.
17.) What is a multimeter? How do you use one? A multimeter is an electronic measuring instrument that combines several measurement functions in one unit. Has the ability to measure resistance, current, and voltage.
18.) How do you get code from your Arduino Sketch to an Arduino? What four things should you check for/do? Using “BareMinimum”. The function is called when a sketch starts. After that the loop function runs:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
19.) What is the serial monitor for? How do you invoke it in your code? On the Arduino IDE?
20.) What is baud rate? Baud rate sets the data rate in bits per second