Robotics GA 1.1 Flashcards
-A small computer (SoC) on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals
-Serves as the brain of our robot
-Compared to our nervous system, this unit sends the information programmed so different robotic parts can function
Microcontroller Unit (MCU)
-A single-board microcontroller to make using electronics in multidisciplinary projects more accessible
Arduino
-Can be used with either a 9v or 12v Supply
Power IN (Barrel Jack)
-Provides power and communicates with the board when plugged into a computer via USB
Power IN (USB Port)
-It blinks when receiving data
LED (RX: Receiving)
-It blinks when transmitting data
LED (TX: Transmitting)
-It blinks when the program is running properly
LED (Troubleshooting)
-Can be used for input, output, power, and ground
-Pin 0 – 13
-Analog Output Pins / PWM Pins Pin ~ 3, ~5, ~6, ~9, ~10 and ~11
Pins (Digital, Analog, Ground)
-Indicates if there is power
LED (On/Off)
-Manually resets the Arduino that makes your code restart
Reset Button
-They can be used for input, output, power, and ground
Pin (Analog In, Power In, Ground Power Out, Reset)
-Contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions and a series of menus
-Connects to the Arduino and Genuino hardware to upload programs and communicate with them
Arduino IDE (Integrated Development Environment)
-Compiles and checks your code
-It will catch errors in syntax
Verify
-Sends your code to the Arduino board
-When you click it, you should see the lights on your board blink rapidly
Upload
-This button opens up a new code window tab
New
-This button will let you open up an existing sketch
Open
-This saves the currently active sketch
Save
-This will open a window that displays and serial information your Arduino board is transmitting
-It is very useful for debugging
Serial Monitor
-Shows the name of the sketch you are currently working on
Sketch Name
-This is the area where you write the code for your sketch
Code Area
-This is where the IDE tells you if there were any errors in your code
Message Area
-This shows complete error messages
-When debugging, this is very useful
Text Console
-Shows you what board and serial port selections
Board and Serial Port
-Will overwrite the bootloader on the board
Upload Using Programmer
-Saves a .hex le that may be kept as archive or sent to the board using other tools
Export Compiled Binary
-Opens the current sketch folder
Show Sketch Folder
-Adds a library to your sketch by inserting #include statements at the start of your code
Include Library
-Adds a source le to the sketch (it will be copied from its current location)
Add File
-Is the name that Arduino uses for a program
-It is the unit of code that is uploaded to and run on an Arduino board
Sketch
-Describes the process of obtaining data from a source, such as a network connection, user input, sensor, or file
Read
-It is referred to as this to save or output data to a destination, such as a file, a display, a network connection, or a database
Write
-Using this function, a microcontroller’s digital pins can have their states changed. The pin number and the status (HIGH or LOW) are the two arguments that are required.
digitalWrite()
-This microcontroller function is used to read the status of a digital pin. The pin number to be read is the only argument needed
digitalRead()
-To create a Pulse Width Modulation (PWM) signal on a digital pin. The pin number and the analog output value are its two required arguments.
analogWrite()
-Using this function, a microcontroller’s analog pin can be read for its value. The analog pin number to be read is the only argument required.
analogRead()