click below
click below
Normal Size Small Size show me how
Sensors-Servos
| Term | Definition |
|---|---|
| Arduino Uno | microcontroller board |
| Sensor shield | makes it easy to connect cables and devices to the correct Arduino pins |
| Ping sensor | measures distance using sonar |
| IR sensor | carries a single infrared LED and phototransistor pair that gives a digital output when it detects something in range |
| Flat-separate cable | 3-pin cable that connects sensors and other devices to the Arduino, one end allows for non-standard pin arrangement |
| QTI sensor | an infrared emitter/receiver that is able to differentiate between a light surface and a dark surface |
| USB cable | connects computer to Arduino to upload programs |
| Flat-latch | standard 3-pin cable that connects sensors and other devices to the Arduino |
| Analog pins | inputs broken out with power, ground and signal for each |
| Digital pins | 14 inputs/outputs broken out with power, ground and signal for each |
| Reset button | starts the code back at the beginning of the setup |
| Power indicator LED | lights up when everything is wired correctly |
| Sensor | device that detects or measures a physical property and records, indicates or otherwise responds to it |
| Control Structure | decides the order in which instructions are executed |
| Actuator | mechanism that puts something into automatic action |
| Compile | translate a computer program into machine language |
| Serial monitor | additional window that allows the user to view sensor data from a peripheral device |
| Upload | transfer data or programs between devices, usually from peripheral device to central device |
| void setup | the code between the curly braces that will run only once when your Arduino program begins |
| void loop | runs after the setup is finished and continues until power is removed |
| // | single line comment |
| /* */ | multi-line comment |
| { } | used to define when a block of code starts and stops |
| ; | ends each line of code |
| #include | used to add outside libraries to your program |
| int | primary datatype for number storage |
| serial | used for communication between Arduino and computer |
| println | sends data to the serial port as human readable text |
| begin() | used for serial communication |
| attach() | used to associate a serial pin with a Servo variable |
| write() | assigns the number in the variable to the parenthesis |
| == | equal to |
| || | or |
| && | and |
| ! | not |
| < | less than |
| > | greater than |
| operand | object of mathematical operation |
| false | 0 |
| true | 1 |
| boolean | data type having two values, true or false |