Module 3B: Arduino as Power Supply

Similar documents
Module 003: Introduction to the Arduino/RedBoard

EK307 Lab: Microcontrollers

Experiment 4.A. Speed and Position Control. ECEN 2270 Electronics Design Laboratory 1

Physical Computing Self-Quiz

Digital Pins and Constants

Lab 2.2 Ohm s Law and Introduction to Arduinos

1/Build a Mintronics: MintDuino

Pololu 12V Step-Up/Step-Down Voltage Regulator S10V2F12

Variable Power Supply Digital Control Circuit Diagram Using Lm317

Physics 120/220 Lab Equipment, Hints & Tips

CHAPTER 5. Voltage Regulator

Board Of Education USB (#28850)

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

ARDUINO MICRO WITHOUT HEADERS Code: A000093

Physical Computing Self-Quiz

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

MP6500 Stepper Motor Driver, Digital Current Control

Web Site: Forums: forums.parallax.com Sales: Technical:

Pridgen Vermeer Robotics ATmega128 Revision 0

UF-3701 Power Board Construction Guide

Lab #2: Building the System

Lab 3: Building a Power Supply and a Stereo Amplifier

DLA. DMX512 Analyzer. DLA Users Manual SV2_00 B.lwp copyright ELM Video Technology, Inc.

ARDUINO UNO REV3 Code: A000066

Adafruit PowerBoost Charger

An open-source hardware+software project. For design files and additional documentation, please visit:

Pridgen Vermeer Robotics Xmega128 Manual

A4988 Stepper Motor Driver Carrier with Voltage Regulators

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

Adafruit PowerBoost Charger

Goal: We want to build an autonomous vehicle (robot)

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

Rover 5. Explorer kit

RedBoard Hookup Guide

Thursday, September 15, electronic components

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

If I wanted to connect an LED and little light bulb and have them switch on and off with one switch, my schematic would look like the one below.

Lab 5 Nodal and Mesh Analysis

eace PLC Velocio s Embedded Ace (eace) PLC

COMP2121 Experiment 4

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

Adafruit Powerboost 1000C

SPIRIT. Phase 5 Analog Board Computer and Electronics Engineering

keyestudio Keyestudio MEGA 2560 R3 Board

Universal Keying Adapter 3+

ARDUINO LEONARDO WITH HEADERS Code: A000057

The Universal Translator

Lab 0: Wire Wrapping Project: Counter Board

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

FT232 Serial to USB Converter

Supplement for module D041 incl. ATMega8 Prozessor

ECE 2010 Laboratory # 2 J.P.O Rourke

BUILD: ARDUINO NANO + NEMA17 BIPOLAR STEPPER 12V 0.4A + EASYDRIVER

MuP-Security. Ver Aug-14

ARDUINO LEONARDO ETH Code: A000022

V1BOOST-STEPPER Unipolar Stepper Motor BoosterPack for the MSP430 LaunchPad. User s Guide

RoboClaw 2x30A Dual Channel Motor Controller

AT42QT101X Capacitive Touch Breakout Hookup Guide

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Look closely at this schematic diagram, in thid class you will be asked to construct this circuit WITHOUT using the textbook!

solutions for teaching and learning

LCD Prototype Circuit on Solderless Breadboard. 840 Pin Solderless Breadboard ( # ND)

ARDUINO MEGA 2560 REV3 Code: A000067

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT 995A ADJUSTABLE LDO LINEAR REGULATOR LT3080EDD DESCRIPTION

Preassembled 40-pin Pi Wedge Hookup Guide

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

Robotic Systems ECE 401RB Fall 2006

USB PowerControl 0042-USBPC-DSBT / USBPCNE-DSBT

ARDUINO M0 PRO Code: A000111

HUB-ee BMD-S Arduino Proto Shield V1.1

QRPometer Assembly Manual Copyright 2012 David Cripe NM0S The 4 State QRP Group. Introduction

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

OSDoge. Setup handbook

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER

INSTRUCTION MANUAL. Triple Output DC POWER SUPPLY MODELS 1651A & 1652 MODELOS 1651A & El Manual de la Instrucción

Laboratory of Sensors Engineering Sciences 9 CFU

PWR-I/O-DB Power and I/O Daughterboard (#28301)

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT DC BIT MICROPOWER NO LATENCY DELTA SIGMA ADC LTC2400 DESCRIPTION

Building and using JasperMIDI

Power Supply, Arduino MEGA 2560, and Stepper Motors Connections

Adafruit Powerboost 1000 Basic

Controller and Programmer to sequential firing detonators in s7 rocket models. Size: 26 x 40 x 12 mm(17mm witch connector)

EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation

2015 edition FT TYPE: Utility madbeanpedals. Previous version of the Road Rage:

MIDI CPU Hardware Rev K. User Manual

ARDUINO MINI 05 Code: A000087

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT 658 MULTI-OUTPUT DC/DC CONVERTER POWERED BY 2-CELL, USB OR WALL ADAPTER

RB-Pol V, 300mA Step-Down Voltage Regulator D24V3F3

Propeller Activity Board (#32910)

DSP Research Project

Introduction To Arduino

Light Dependent Resistor Circuit by VK4ION

SLCD1-IC Serial LCD Processor

Theme 2: Introduction to Digital systems

HM9708 HM9708. Battery-Powered Equipment Motherboard USB Power Switch USB Device Power Switch Hot-Plug Power Supplies Battery-Charger Circuits DC+ VIN

3. The circuit is composed of 1 set of Relay circuit.

Wi125 Evaluation Kit User Manual

Propeller Project Board USB (#32810)

7 8 9 C. PRELAB REQUIREMENTS You must adhere to the Lab Rules and Policies document for every lab.

Transcription:

Name/NetID: Teammate/NetID: Module 3B: Laboratory Outline As you work on through the labs during the semester and some of the modules you may want to continue experimenting at home. Luckily the microprocessor board can be used in place of the bench equipment making your kit a mobile laboratory. This short lab will show you how to power external circuitry with the voltage regulator circuit on the Arduino/RedBoard. If used carefully, knowing the limitations of the microprocessor board you can experiment anywhere. The Power Circuitry on the Arduino In the design of the Arduino and its clones the developers integrated a very flexible suite of interface circuitry in addition to the ATmega processor so that users from entry-level to experienced can integrate the board into almost any application. It interfaces with most integrated circuit families and so provides several voltage levels. Within certain limitations these voltages can be assumed to be ideal voltage sources like the power supply. Unlike the power supply only certain values are available luckily they are commonly used values. There is a separate module that addresses their use. Figure 1: Physical layout of the RedBoard.

The RedBoard s physical layout is shown in Figure 1 notice the power pins that provide voltage levels to external circuitry AND the Barrel Jack and USB connector that interface the board with either a battery connected to the Barrel Jack or a computer via a USB port. Computer Connection While designing and debugging designs involving the Arduino/RedBoard it is sometimes convenient to keep the board tethered to the computer. So first connect the board using the USB connector that came with the board to any of the USB ports on the computer. As you can see in the expanded view of the power pins there are 3 pins that deliver different voltage levels 3.3V,, and one curiously labeled. As you know from experimenting with the power supply and multi-meters voltages are always measured between 2 points. The board provided 2 pins labeled GND that are connected together all voltages on the board are specified with respect to these GND or ground pins. Using the multimeter measure the voltages between the 3.3V,, pins and ground. Enter them into the table below. 3.3V Well the results were not so surprising. The circuitry that takes the voltage supplied by the computer and regulates it to supply 3.3V and is very good and the multi-meters are very nearly ideal measuring devices for this application. What is?

Battery Connection Disconnect the USB connector and plug a battery into the barrel jack connector on the board you have adapters that can interface a 9V or 4AA batteries in your kits and there are batteries available in the lab. The figure below shows the three types available: a) special rechargeable, b) a cradle for 4AA batteries, and c) an adapter for a 9V battery. For the battery of your choice fill in the table again. 3.3V Again the results are not surprising but now you should know the function of. is a pin that provides a direct connection to the power source the default voltage of for when you used the USB cable is standard for all computers. Voltage Regulation The Arduino/Redboard has a special circuit on it call the voltage regulator. This device accepts any voltage within a certain range in the case of the RedBoard 7-1 and the Arduino 7-12V the pins labelled 3.3V and will ALWAYS deliver the labelled values as long as you work within the current limitations. To check this out repeat the voltage measurements for the other two choices of batteries. Be sure to label the table showing which values were measured using the corresponding battery.

3.3V Computer and Battery Connection Without disconnecting the battery reconnect the board to the computer using the USB cord. Measure. Which connection determines the voltage at the power pins when they are both connected the battery or the computer? Current Limitations on power pins The voltage is directly connected to the power source this allows the use of the battery/computer directly. The flexibility of the power connections on the Arduino/Redboard comes with a vulnerability there is no protection for the board if you drive too much current through so we should look at the limitations of these pins so that you don t destroy the board. It is surprisingly difficult to find a straight forward answer about how much current (or power) can be drawn from the power pins on the Arduino/Redboard. The 3.3V and pins are generated by a device called a voltage regulator. The regulator takes in any voltage within an allowable range for the Arduino this range is 6 20V and produces a robust 3.3V a for reasonable loads shorting would be bad but the Arduino in particular was designed to interface with most common small signal circuitry. It is quite difficult to find an absolute limitation so it is always best to be conservative. Limitations when powered by the USB Connection to a PC is conservatively 100mA total from all pins this limitation is set by the USB hardware to protect your computer. This means that your external circuitry no matter which pins are used the power

pins and the digital I/O pins the total current must be less than 100mA. This is usually not a problem because most of the hardware interfaced with the micro-controller board is designed to operate using a very small amount of current. The power limitations when the board is connected to a battery is more complicated. There is no one datasheet that describes the limitations for all the devices on the board. The rule for calculating current limits is to find the current limitations of the wimpiest part. Below is a table that I deemed conservative based on the schematic and the information on the forums. By the end of this class you should be able to determine the values yourself. NOTE: the limits on each pin does not mean you can draw the maximum amount of current from each pin. There is a total limit of conservatively 1A that can be drawn from all of the connections that supply power the 3.3V pin, the pin, the Vin pin, and all of the digital output pins. Current Usage and Limitation Guide voltage Current limit Limiting part Common usage 3.3V 50mA Voltage regulator ANALOG: the microphone in your kit uses a lower voltage to power the interface. DIGITAL: Used to interface with logic that is powered using 3.3V like CMOS (complementary metal oxide semiconductor) parts and some less commonly used logic families 200mA Voltage regulator DIGITAL: Used to interface with logic like TTL (transistor-transistor-logic) used in the hobby community because of the low cost of parts and some CMOS. V IN 1A Protection diode or battery which every is the most fragile GND Total board limit ~1A Ground traces and heat sink capability or lack thereof Used for the higher power circuitry like the motors you will be using on your robot cars. The total amount of current is about 1A. For each of the power pins enter the value of the smallest resistor that can be connected to each before the current limit is exceeded in the table below use to be the voltage any one of the battery packs.

3.3V Power something! Connect the pin from the Arduino to one of the terminal going to the motor and the GND pin to the other terminal. You can use the breadboard and your jumper wires to facilitate making these connections. NOTE: Despite the caveats the board is well designed and really difficult to damage using any of the equipment in the kits so experiment away!

What You Learned You learned that the Arduino/RedBoard can be used as a voltage regulator and can provide certain voltage levels when you are not in the lab with the power supply.