Lab 4.4 Arduino Microcontroller, Resistors, and Simple Circuits

Similar documents
ENGR 40M Problem Set 1

Building an Electric Circuit to Convert the Sensor Resistance into a Usable Voltage INSTRUCTIONS

LAB 7. SERIES AND PARALLEL RESISTORS

Getting Started with the Digilent Electronics Explorer Board

Micro USB Lamp Kit ESSENTIAL INFORMATION. Version 2.1 DESIGN A STYLISH LAMP WITH THIS

A device that measures the current in a circuit. It is always connected in SERIES to the device through which it is measuring current.

CHAPTER 2. Current and Voltage

Technical Workshop: Electrical December 3, 2016

General Electrical Information

SUPER CAPACITOR CHARGE CONTROLLER KIT

Digital Multimeter: This handheld device is used by this course to measure voltage and resistance we will not use this to measure current or capacitan

8 Channel 5V Optical Isolated Relay Module

SQUEEZY TORCH KIT ESSENTIAL INFORMATION. Version 2.0 LEARN ABOUT SIMPLE CIRCUITS WITH THIS

Happy Friday! Do this now:

Basic Electronics Course Part 1

EMG SpikerShield v1.2 Instructions

Lab # 4 Parallel Circuits

Engineers in Training Day 2. Developed by Shodor and Michael Woody

Chapter 3. ECE Tools and Concepts

Circuit Basics and Components

Laboratory 2 Electronics Engineering 1270

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

C capacitance, 91 capacitors, codes for, 283 coupling, polarized and nonpolarized,

INVESTIGATION ONE: WHAT DOES A VOLTMETER DO? How Are Values of Circuit Variables Measured?

Electric Circuits 2 Physics Classroom Answer Key

Engineering Innovation Center EIC. Electronic Component Selection

Lab #1: Electrical Measurements I Resistance

Let's start our example problems with a D'Arsonval meter movement having a full-scale deflection rating of 1 ma and a coil resistance of 500 Ω:

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

PHY152H1S Practical 3: Introduction to Circuits

MESA USA and LIMBS International Prosthetic Arm Project

Lab 2 Electrical Measurements and Ohm s Law

Physics - Chapters Task List

Electronics Technology and Robotics I Week 2 Basic Electrical Meters and Ohm s Law

Level 3 Physics: Demonstrate understanding of electrical systems Batteries and Kirchoff s Laws - Answers

Resistivity. Equipment

Ohm s Law. 1-Introduction: General Physics Laboratory (PHY119) Basic Electrical Concepts:

Figure 1: (a) cables with alligator clips and (b) cables with banana plugs.

Series and Parallel Networks

Prototyping Walk through for PIC24HJ32GP202 Startup Schematic

BREADBOARD PLUGIN POWER SUPPLY # REV3 +5VDC

11.1 CURRENT ELECTRICITY. Electrochemical Cells (the energy source) pg Wet Cell. Dry Cell. Positive. Terminal. Negative.

Batteries n Bulbs: Voltage, Current and Resistance (8/6/15) (approx. 2h)

My project: A prototyping test bed complete with 3.3, 5, and 12 volt power supplied, measuring tools, and breadboard.

Assembly Guide for RedBot with Shadow Chassis

Basic Circuits Notes- THEORY. An electrical circuit is a closed loop conducting path in which electrical current flows

Electronic Circuit Basics With Tinkercad

Lesson 1 - Make The Car Move Points of this section

DPS Telecom Your Partners in Network Alarm Management

Build Manual. for Studying Electrical Conductivity using a 3D Printed 4-Point Probe Station

Cabrillo College Physics 10L. LAB 7 Circuits. Read Hewitt Chapter 23

PHY222 Lab 4 Ohm s Law and Electric Circuits Ohm s Law; Series Resistors; Circuits Inside Three- and Four-Terminal Black Boxes

AFT mid drive kit Trouble shooting guide For 24v to 48V Kelly Controller KBS 48101L-L 100 A peak

PARTS LIST. Beams: 72x. 16x. 64x. 16x. 12x. 2x Breadboards CYB x TotemDuino 1x LabBoard 1x 30cm 34way Flat Cable 1x Power Supply 12v 1,5A

EXPERIMENT 4 OHM S LAW, RESISTORS IN SERIES AND PARALLEL

REAR BIKE LIGHT KIT TEACHING RESOURCES. Version 2.0 MASTER THE ART OF SOLDERING WITH THIS

Electronic STEM Kit. 15 Projects-in-1. Documentation

MATE Triggerfish Trouble Shooting the Sabertooth 2X5 Motor Controller

Uno Compatible Pogobed Kit

Faraday's Law of Induction

Bill of Materials: Car Battery/charging system diagnostics PART NO

Circuits-Circuit Analysis

Load Cell Amplifier HX711 Breakout Hookup Guide

Build your own omni robot

Electric current, resistance and voltage in simple circuits

Mens et Manus. Controlling a Brushless Motor

Lab 4: Robot Assembly

CamJam EduKit Sensors Worksheet Three. Equipment Required. The Parts

Chapter 26 DC Circuits

WINDUP TORCH KIT TEACHING RESOURCES. Version 1.1 LIGHT UP YOUR DAY WITH THIS

Chapter 26 DC Circuits. Copyright 2009 Pearson Education, Inc.

Chapter 2. Battery Charger and Base Assembly

BEGINNER EV3 PROGRAMMING LESSON 1

I Ish. Figure 2 Ammeter made from galvanometer and shunt resistor.

34.5 Electric Current: Ohm s Law OHM, OHM ON THE RANGE. Purpose. Required Equipment and Supplies. Discussion. Procedure

This reference document will help you navigate the new Electric Circuit application.

LAB 3 SeaMATE PufferFish Practice Board

BATTERY TESTER KIT TEACHING RESOURCES. Version 2.0 MEASURE THE REMAINING CAPACITY OF AA BATTERIES WITH THIS

DARK ACTIVATED COLOUR CHANGING NIGHT LIGHT KIT

Using your Digital Multimeter

DIY Synth Kit - Manual STUTTER SYNTH

DIY Synth Kit - Manual

Virtual Ground for HV Boosters Calibration

V=I R P=V I P=I 2 R. E=P t V 2 R

Chapter 19: DC Circuits

Battery Bank for Wind Turbine. Project Proposal Prash Ramani, Marcos Rived TA: Katherine O Kane

Mandatory Experiment: Electric conduction

MARELLI SRA EDL8 ECU

Lab Electronics Reference: Tips, Techniques, and Generally Useful Information for the Labs

PROPERTIES OF ELECTRIC CIRCUITS

Experimental Procedure

In the first part of this series on

PSC1-003 Programmable Signal Calibrator

Experiment 3: Ohm s Law; Electric Power. Don t take circuits apart until the instructor says you don't need to double-check anything.

CamJam EduKit Robotics Worksheet Six Distance Sensor camjam.me/edukit

PHY132 Practicals Week 5 Student Guide

Explanation 1 Input External Switch 2 Input Hipot Safety Switch

Chapter 9 Basic meters

UltraSmartCharger TM

THERMOMETER PROJECT KIT

Transcription:

Lab 4.4 Arduino Microcontroller, Resistors, and Simple Circuits A microcontroller is a "brain" of a mechatronic system that interfaces sensors with a computer. Microcontrollers can perform math operations, take sensor readings, monitor analog and digital inputs, and control analog and digital outputs (take actions based on the inputs). We will be using Arduinocompatibile microcontrollers because they are easy to use for those with no previous electronics experience, inexpensive, cross-platform and open source. Searching the web we can find a multitude of Arduino projects: robotics, smart devices, and musical devices. The Arduino family is composed by several boards; we will be using an Uno compatible board manufactured by Sparkfun called the Redboard. All Arduinos share the same programming language and have a free Integrated Development Environment (IDE) available for Windows, Mac OS, and Linux. Task 1. Use an Arduino and Breadboard to Examine Resistors in Series and Parallel What you need: Three (3) 10kΩ resistors (in Arduino Kit) A multimeter A breadboard (in Arduino Kit) A solderless breadboard is a great tool for making temporary circuits and prototyping without soldering. Our breadboards have horizontally connected rows, and power rails that run vertically along the sides. Pictured is the front and back of a breadboard with the backing removed so you can see the connections between the horizontal rows and the power rails. Typically the (+) power rail is connected to power in your board and the (-) power rail to ground (GND). The Arduino itself usually gets its power from the USB port on a computer. You can also use an external power supply such as a battery pack or a wall wart. Horizontal rows are separated by a ravine, so the left and right side of each row is not connected. Notice the left power rails are not connected to the right power rails. The numbers and letters marked on various rows and columns don t serve any purpose other than to help guide you when building your circuit. Page 1 of 6

Resistors in Series Using your breadboard, place one 10kΩ resistor as indicated in the figure and measure with a multimeter. Yes, it should say ~10kΩ. Place another one in similar fashion but with a lead from each resistor connecting electrically through the breadboard and measure again. The meter should now say something close to 20kΩ. Try with a third resistor in series. Record your results. You may notice that the resistance you measure might not be exactly what the resistor says it should be. Resistors have a certain amount of tolerance, which means they can be off by a certain percentage. Thus, you may read 9.8Ω or 10.1kΩ. Resistor Configuration - Series Calculated Resistance Measured Resistance 10 kω 10 kω + 10 kω 10 kω + 10 kω + 10 kω LIGHT UP AN LED Place an LED lightbulb in your breadboard. Use a wire to connect the long leg of your LED to the 5 Volt channel on your Arduino. Use another wire to connect the short leg of your LED to top leg of your top resistor. Use a third wire to connect the bottom leg of the bottom resistor to the GND terminal on your redboard. If you haven t already, plug the usb cable into your Board and the other end into your laptop. Your LED should light up. Move the wire so the circuit is going across just two resistors, or just one resistor and observe the changes in the brightness of the LED. An LED is a Light Emitting Diode. Diodes allow current flow only in one direction. The long lead is the positive side of the device. Most components are diodes with a positive side labeled. Wire your circuits properly. Diodes can t be reversed. You need to use a resistance of at least 140 ohms to prevent LEDs from burning up. Page 2 of 6

Resistors in Parallel Now try resistors in a parallel configuration. Place one 10kΩ resistor in the breadboard as before. Place a second 10kΩ resistor next to the first, taking care that the leads of each resistor are in electrically connected rows. Calculate what the new value should be (hint: it s going to be 5kΩ). Repeat with 3. Parallel Calculated Resistance Measured Resistance Wire your parallel resistors to your LED and record your findings Table 3. Adding additional resistors in series increases / decreases brightness of the LED Adding additional resistors in parallel increases / decreases brightness of the LED Page 3 of 6

Task 2: Investigate Kirchoff s Laws through Calculations and with your Arduino Use Kirchoff s Laws to Analyze the Circuit Below. Label your voltage loops and label resistors with + and -. W W I 1 I 3 W I 2 Calculated Currents I 1 = I 2 = I 3 = After you calculate I 1, I 2, and I 3, build the Circuit on your Arduino (continued on next page) Page 4 of 6

Measure I 1, I 2, and I 3. Set the multimeter to ma. To measure current your multimeter needs to be in line with the circuit, acting as a wire in the circuit. You need to cut the circuit and connect one probe to each of the cut ends: Remove the breadboard end of the wire, hold one lead of the multimeter to the wire, and the other lead of the multimeter to the end of the resistor. Measured Currents I 1 = I 2 = I 3 = Continued on next page Page 5 of 6

Task 3: Get the Arduino IDE If you haven t already, download the Arduino IDE from this website: https://www.arduino.cc/en/main/software Scroll down to Download the Arduino IDE and select your operating system from the choices. Install the Arduino IDE. Restart your computer and open the Arduino environment (the blue Infinity symbol with the positive and negative symbols in the center.) If all went well you should see an editor window like this: Navigate to the Boards manager by going Tools - Board Board Manager. Select Uno. Check to ensure you have the correct drivers to connect your laptop to your board. Plug the usb cable into your Board and the other end into your laptop. From the tools menu, select port. In windows look for a com port numbered above 3. For Mac it will be a /dev/cu.usbserialxxxxx(some hex #) Depending on your operating system, you may need to install additional drivers. https://learn.sparkfun.com/tutorials/how-to-install-ftdi-drivers http://www.ftdichip.com/drivers/vcp.htm Page 6 of 6