Lecture 6
Making Things Get Smart
Making Things Get Smart
Elements of Electrical Circuits
Voltage Sources: Adapters - Batteries - Solar Cells
Output Devices: Motor - Heater - Speaker - Lamp - ...
Input Devices: Microphone - Light Sensor - Proximity - ...
Conductors: Jumper wires, Alligator clips, etc.
Elements of Smart Electronic Circuits
Electrical Circuits + Logic(Think/Compute)
What is a Smart thing?
Takes Inputs ------ > Compute what should happen ------ > Do the right Actions
How to Compute using Electricity
Transistors: Switching - Different maker applications - Transistor as a building block
Electronic Circuits: - Memory - Timed Actions - Comparators
Specialized Integrated Circuits: Example
General Purpose Microcontrollers: Hardware challenges - Software challenges
Arduino is many things:
Arduino Programming language
Arduino ready codes and Libraries
Arduino Shields and Modules
Arduino versions
Uno
what else? and why UNO?
Tour through Arduino UNO board
ATmega328
Crystal
USB Port
USB Programmer
Power Port
Voltage Regulator
Reset Button
Power Pins
Pin 0 and 1
Pin 2 to 13
Pin A0 to A5
(~) Pins
Getting Started with Arduino Programming
Setup Arduino IDE
Connect the Arduino
Open/Write the Code
Select the Board and Port
Upload the Code
Setup and Loop
Experiments
Taking Actions
Digital Output [Blink]: Buzzer - Motor
Analog Output [Blink]: LED levels - Fade
Data Outputs [servoSweep]
Reading Inputs and Taking Actions
Digital Input [Button]: wire - pushbutton - sensor
Serial Monitor [digitalReadSerial]
Analog Input [AnalogOutSerial]: LED with Pot
Tinker CAD
Easter Eggs