WEEK 1- FRIDAY
- Aug 2, 2019
- 1 min read
Introduction to Arduinos for the first time. It's an ecosystem of things, uses C++ coding language and is commonly thought of as a single board. Used to measure a lot of things and track things.
Red= Positive, 5v active charge
Blue = Negative or ground charge
Input: sound, light, humidity, pressure, temp, location, different sensors
Output: LEDS (light), vibration, neo-pixels (rainbow), buzzers, bluetooth and wifi
Basic Circuit Theory
Voltage = I (amps) x Resistance (OHms)
Potentiometers change the voltage (ledcalc.com if lazy)
Coding
Variable= place holder -> int
CamelCase is used in coding (capital on words after first)
Things to note
- Comment code with //
- Asterisks can break up code
- Brackets {} need to be closed
- Commands need to be closed with a ;
Powering each LED at different times i.e turning one off and one on etc
Coding Serial Print to type something.
Powering an LED with a button press.



Comments