Presentation is loading. Please wait.

Presentation is loading. Please wait.

All you wanted to know about Arduino (and somethings you didn’t)

Similar presentations


Presentation on theme: "All you wanted to know about Arduino (and somethings you didn’t)"— Presentation transcript:

1 All you wanted to know about Arduino (and somethings you didn’t)
Workshop Connect to PUHSD_Public for WIFI

2 Welcome Morning Session – An Introduction to the wonderful world of Microcontrollers -What’s an Arduino Microcontroller? -How can Arduino be integrated into engineering projects -Intro to circuits -Intro to coding ++ resources -Sparkfun Inventors Kit Project 1: Light -Sparkfun Inventors Kit v4 – Circuit 1A: Blink an LED -Sparkfun Inventors Kit v4– Circuit 1B: Potentiometer -Sparkfun Inventors Kit v4– Circuit 1C: Photoresistor -Sparkfun Inventors Kit v4– Circuit 1D: RGB Night-Light Working Lunch – provided Afternoon Session – A Deeper Dive -IOT (The Internet of Things) and the future -Intro to sensors and stuff (I/O Analog, Digital, PWM, etc) -Using a multimeter -Open Workshop with Sparkfun Inventor Kits v4

3 What’s an Arduino Microcontroller?
Arduino consists of both a physical programmable circuit board (often referred to as a microcontroller) and a piece of software, or IDE (Integrated Development Environment) that runs on your computer, used to write and upload computer code to the physical board……. In other words a relatively easy platform for artist, hobbyist, designers, teachers, students, or anyone to make interactive objects and environments using electronic components and code.

4 https://learn. sparkfun

5 How can Arduino be integrated into engineering projects?
In many ways….

6 Any questions?

7 Intro to Circuits Can you light a light bulb with a single wire, bulb, and “battery”?

8 Simply put…”It’s the flow of electric charge.”
What is electricity? Simply put…”It’s the flow of electric charge.” But you probably have questions like…… Where do the charges come from? How do we move them? Where do they move to? How does an electric charge cause mechanical motion or make things light up? We have to start with the building blocks of the universe….. The Atom and all its glorious bits: Proton (+ charge) Neutron (Neutral/ No Charge) Electron (- charge)

9 Can you guess the element?
To get electricity to flow we need to move an electron, the easiest one to move is the called the valence electron. With the right motivation, the movement of electrons can continue on and on to create a flow of electrons called electric current. Some elemental types of atoms are better than others at releasing their electrons Conductors – metals (aluminum, copper, gold, etc) Insulators – non metals (rubber, plastics, wood, etc) Can you guess the element?

10 So what is the right motivation to get charges moving
So what is the right motivation to get charges moving? (Hint: It’s the ability to make things happen.) Energy When we harness electricity to power our circuits, gizmos, and gadgets, we’re really transforming energy. Electronic circuits must be able to store energy and transfer it to other forms like heat, light, or motion. The stored energy of a circuit is called electric potential energy. One of the most common terms we discuss in evaluating electricity is voltage. A voltage is the difference in potential between two points in an electric field. Voltage gives us an idea of just how much pushing force an electric field has.

11 How does this work with circuits and Arduino?
Charges want to flow from the highest source of potential energy to the lowest. One of the most common ways to harness and store this energy is using a cell/battery

12 So…………How does this work with circuits and Arduino?
Note: This demonstrates conventional current rather than electron flow

13 An Electrical Circuit is a closed loop network of connected electrical components ( such as wires, lightbulbs, motors, servos, switches, cells/batteries, and many more) A schematic is a technical way of representing circuits using symbols A Fritzing diagram is commonly used to illustrate Arduino circuits

14 Breadboard  How do you connect the components together?

15

16 Amperage – Think charge flow
Voltage – Think motivator/ potential energy Resistance – is futile Power – How fast you expel energy Name Symbol Current / Amperage A Voltage V Resistance Ohm or Ω Power Watt

17 If you would like to go further in depth with circuits
Summer Physics Modeling Course - PHS 594: Modeling Instruction in CASTLE Electricity

18 Intro to Coding/Programming ++ Resources

19

20 https://scratch.mit.edu/ https://www.tinkercad.com/circuits
Resources

21 By the way Arduino IDE accepts C/C++
Now lets jump in to some hands on stuff

22 Sparkfun Inventors Kit Project 1: Light
-Sparkfun Inventors Kit v4 – Circuit 1A: Blink an LED -Sparkfun Inventors Kit v4– Circuit 1B: Potentiometer -Sparkfun Inventors Kit v4– Circuit 1C: Photoresistor -Sparkfun Inventors Kit v4– Circuit 1D: RGB Night-Light If having issues with the Arduino IDE use the virtual Arduino

23 Lunch

24 Sensors - Potentiometer
 Potentiometer. These variable resistors are often used for inputs, like volume knobs, which need to be adjustable. Soft Potentiometer - This is a thin and flexible strip that can detect where pressure is being applied. By pressing down on various parts of the strip, you can vary the resistance Flex sensor - uses carbon on a strip of plastic to act like a variable resistor, but instead of changing the resistance by turning a knob, you change it by flexing (bending) the component. int sensorValue; sensorValue = analogRead(sensorPin);

25 Sensors - Other  Photosensor changes resistance based on how much light the sensor receives Temperature Sensor- Just like it sounds but uses voltage rather than resistance for sensor values Push Buttons – Uses a digital input to either be on or off

26 Sensors - Potentiometer
 Potentiometer. These variable resistors are often used for inputs, like volume knobs, which need to be adjustable. int sensorValue; sensorValue = analogRead(sensorPin);


Download ppt "All you wanted to know about Arduino (and somethings you didn’t)"

Similar presentations


Ads by Google