Project 16 Using an L293D Motor Driver IC

Size: px
Start display at page:

Download "Project 16 Using an L293D Motor Driver IC"

Transcription

1 Project 16 Using an L293D Motor Driver IC In the previous project, you used a transistor to control the motor. In this project, you are going to use a very popular motor driver IC called an L293D. The advantage of using this chip is that you can control two motors at the same time, plus you can control their direction. The chip can also be used to control a stepper motor, as you will find out in Project 28. (You can also use a pin-for-pin compatible chip known as the SN754410, which has a higher current rating.) Notice anything missing from the parts list? Diodes, perhaps? Not to worry; the IC has its own internal diodes, so you do not need one for this project. Parts Required DC Motor L293D or SN Motor Driver IC 10KΩ Potentiometer Toggle Switch 10KΩ Resistor Heatsink 104

2 Connect It Up First, make sure your Arduino is powered off by unplugging it from the USB cable. Now, take the required parts and connect them as shown in Figure 5-3. Again, check the circuit thoroughly before powering it up. The L293D gets VERY hot when in use. Therefore, a heatsink is essential. Glue the heatsink to the top of the chip using a strong epoxy glue. The larger the heatsink, the better. Be warned that the temperature can get hot enough to melt the plastic on a breadboard or any wires touching it. Do not touch the heatsink as you may burn yourself. Do not leave the circuit powered up and unattended in case it overheats. It may be prudent to use stripboard instead of a breadboard for this project to save damaging your breadboard due to heat. Figure 5-3. The circuit for Project 16 (see insert for color version) Enter the Code Once you are satisfied that your circuit is connected correctly, upload the code in Listing 5-2. Do not connect the external power supply at this stage. Listing 5-2. Code for Project 16 // Project 16 - Using an L293D Motor Driver IC #define switchpin 2 // switch input #define motorpin1 3 // L293D Input 1 #define motorpin2 4 // L293D Input 2 #define speedpin 9 // L293D enable Pin 1 #define potpin 0 // Potentiometer on Analog Pin 0 int Mspeed = 0; // a variable to hold the current speed value 105

3 void setup() { //set switch pin as INPUT pinmode(switchpin, INPUT); // set remaining pins as outputs pinmode(motorpin1, OUTPUT); pinmode(motorpin2, OUTPUT); pinmode(speedpin, OUTPUT); void loop() { Mspeed = analogread(potpin)/4; // read the speed value from the potentiometer analogwrite(speedpin, Mspeed); // write speed to Enable 1 pin if (digitalread(switchpin)) { // If the switch is HIGH, rotate motor clockwise digitalwrite(motorpin1, LOW); // set Input 1 of the L293D low digitalwrite(motorpin2, HIGH); // set Input 2 of the L293D high else { // if the switch is LOW, rotate motor anti-clockwise digitalwrite(motorpin1, HIGH); // set Input 1 of the L293D low digitalwrite(motorpin2, LOW); // set Input 2 of the L293D high Once the code has finished uploading, set the potentiometer at its midpoint and plug in the external power supply. The motor will now rotate; you can adjust its speed by turning the potentiometer. To change direction of the motor, first set the speed to minimum, then flick the toggle switch. The motor will now rotate in the opposite direction. Again, be careful of that chip as it will get very hot once powered up. Project 16 Using an L293D Motor Driver IC Code Overview The code for this project is very simple. First, you define the pins you are going to put to use on the Arduino: #define switchpin 2 // switch input #define motorpin1 3 // L293D Input 1 #define motorpin2 4 // L293D Input 2 #define speedpin 9 // L293D enable Pin 1 #define potpin 0 // Potentiometer on Analog Pin 0 Then, set an integer to hold the speed value read from the potentiometer: int Mspeed = 0; // a variable to hold the current speed value 106

4 In the setup function, you then set the appropriate pins to either inputs or outputs: pinmode(switchpin, INPUT); pinmode(motorpin1, OUTPUT); pinmode(motorpin2, OUTPUT); pinmode(speedpin, OUTPUT); In the main loop, you first read in the value from the potentiometer connected to Analog Pin 0 and store it in Mspeed: Mspeed = analogread(potpin)/4; // read the speed value from the potentiometer Then you set the PWM value on PWM Pin 9 to the appropriate speed: analogwrite (speedpin, Mspeed); // write speed to Enable 1 pin Then you have an if statement to decide if the value read in from the switch pin is either HIGH or LOW. If it is HIGH, then output 1 on the L293D is set to LOW and output 2 is set to HIGH. This will be the same as output 2 having a positive voltage and output 1 being ground, causing the motor to rotate in one direction: if (digitalread(switchpin)) { // If the switch is HIGH, rotate motor clockwise digitalwrite(motorpin1, LOW); // set Input 1 of the L293D low digitalwrite(motorpin2, HIGH); // set Input 2 of the L293D high If the switch pin is LOW, then output 1 is set to HIGH and output 2 is set to LOW, reversing the direction of the motor: else { // if the switch is LOW, rotate motor anti-clockwise digitalwrite(motorpin1, HIGH); // set Input 1 of the L293D low digitalwrite(motorpin2, LOW); // set Input 2 of the L293D high The loop will repeat, checking for a new speed value or a new direction and setting the appropriate speed and direction pins. As you can see, using the motor driver IC is not at all as daunting as you might have thought at first. In fact, it has made your life a lot easier. Trying to recreate the above circuit and code without it would have been far more complex. Never be intimidated by ICs! A slow and careful read of their datasheets will reveal their secrets. Let s see how the new component introduced in this project works. Project 16 Using an L293D Motor Driver IC Hardware Overview The new component in Project 16 is the Motor Driver IC. This will be either the L293D or the SN754410, depending on what you have chosen (there are other chips available and a little research on the internet will find other pin compatible motor drivers). The L293D is what is known as a Dual H-Bridge. A H-Bridge is a useful but simple electronic concept (see Figure 5-4). 107

5 Figure 5-4. A H-Bridge made of switches (image by Cyril Buttay) In Figure 5-4, a motor is connected to four switches. The configuration is called a H-Bridge as it resembles a letter H with the load bridge the centre. Now take a look at Figure 5-5. Figure 5-5. Changing motor direction on the H-Bridge (image by Cyril Buttay) On the left hand side, the top left and the bottom right switches are closed. By doing so, the current will flow across the motor from left to right and the motor will rotate. If you open those switches and close the top right and bottom left switches instead, the current will flow across the motor in the opposite direction and hence cause it to rotate in the opposite direction. This is how an H-Bridge works. The Motor driver IC is made up of two H-Bridges. Instead of switches, it uses transistors. In the same way that the transistor in Project 15 was used as a switch, the transistors inside the H-Bridge switch on and off in the same configuration as Figure 5-5 to make your motor rotate in either direction. The chip is a Dual H-Bridge because it has two H-Bridges inside it. Thus you are able to control two motors and their directions at the same time. Note that you could make your own H-Bridge out of transistors and diodes, and it would do the same job as the L293D. The L293D has the advantage of being tiny and having all those transistors and diodes packaged up inside a small space. 108

6 EXERCISE Now try out the following exercise. Exercise 1: Instead of just one motor, try connecting up two, with two direction switches and potentiometers to control the direction and speed. Figure 5-6 shows the pinouts of the chip. Figure 5-6. The pinouts for the L293D (or SN754410)

Arduino Lesson 15. DC Motor Reversing

Arduino Lesson 15. DC Motor Reversing Arduino Lesson 15. DC Motor Reversing Created by Simon Monk Last updated on 2017-03-09 04:04:43 PM UTC Guide Contents Guide Contents Overview Parts Part Qty An Experiment In1 In2 Motor Breadboard Layout

More information

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

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 ZOETROPE Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images Discover : H-bridges Time : 30 minutes Level : Builds on projects :

More information

A4988 Stepper Motor Driver Carrier with Voltage Regulators

A4988 Stepper Motor Driver Carrier with Voltage Regulators 1 of 6 12/2/2011 6:37 PM A4988 Stepper Motor Driver Carrier with Voltage Regulators Pololu item #: 1183 26 in stock Price break Unit price (US$) 1 19.95 10 17.95 100 13.97 Quantity: backorders allowed

More information

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen By the end of this session: You will know how to write a program to

More information

MP6500 Stepper Motor Driver, Digital Current Control

MP6500 Stepper Motor Driver, Digital Current Control This breakout board for the MPS MP6500 micro stepping bipolar stepper motor driver is Pololu s latest stepper motor driver. The module has a pinout and interface that are very similar to that of our popular

More information

Me Stepper Driver. Overview

Me Stepper Driver. Overview Me Stepper Driver Overview The Me Stepper Motor Driver module is designed to precisely drive the bipolar stepper motor. When pulse signals are input into the stepper motor, it rotates step by step. For

More information

Thursday, September 15, electronic components

Thursday, September 15, electronic components electronic components a desktop computer relatively complex inside: screen (CRT) disk drive backup battery power supply connectors for: keyboard printer n more! Thursday, September 15, 2011 integrated

More information

LCMM024: DRV8825 Stepper Motor Driver Carrier,

LCMM024: DRV8825 Stepper Motor Driver Carrier, LCMM024: DRV8825 Stepper Motor Driver Carrier, High Current The DRV8825 stepper motor driver carrier is a breakout board for TI s DRV8825 microstepping bipolar stepper motor driver. The module has a pinout

More information

EP486 Microcontroller Applications

EP486 Microcontroller Applications EP486 Microcontroller Applications Topic 6 Step & Servo Motors Joystick & Water Sensors Department of Engineering Physics University of Gaziantep Nov 2013 Sayfa 1 Step Motor http://en.wikipedia.org/wiki/stepper_motor

More information

MigaOne-Arduino Tutorial: Position/Limit Sensing and Cycling with the Arduino Platform

MigaOne-Arduino Tutorial: Position/Limit Sensing and Cycling with the Arduino Platform Miga Motor Company 1250 Addison Street #208 Berkeley, CA 94702 www.migamotors.com MigaOne-Arduino Tutorial: Position/Limit Sensing and Cycling with the Arduino Platform 1.0 Introduction The purpose of

More information

Prototyping & Engineering Electronics Kits Basic Kit Guide

Prototyping & Engineering Electronics Kits Basic Kit Guide Prototyping & Engineering Electronics Kits Basic Kit Guide odysseyboard.com Please refer to www.odysseyboard.com for a PDF updated version of this guide. Guide version 1.0, February, 2018. Copyright Odyssey

More information

A4988 Stepper Motor Driver Carrier, Black Edition

A4988 Stepper Motor Driver Carrier, Black Edition A4988 Stepper Motor Driver Carrier, Black Edition A4988 stepper motor driver carrier, Black Edition, bottom view with dimensions. Overview This product is a carrier board or breakout board for Allegro

More information

ARDUINO MINI 05 Code: A000087

ARDUINO MINI 05 Code: A000087 ARDUINO MINI 05 Code: A000087 The Arduino Mini is a very compact version of the Arduino Nano without an on board USB to Serial connection The Arduino Mini 05 is a small microcontroller board originally

More information

L298N Dual H-Bridge Motor Driver

L298N Dual H-Bridge Motor Driver Handson Technology User Guide L298N Dual H-Bridge Motor Driver This dua l bidirectional motor driver, is based on the very popular L298 Dual H-Bridge Motor Driver Integrated Circuit. The circuit will allow

More information

A4988 Stepper Motor Driver Carrier

A4988 Stepper Motor Driver Carrier A4988 Stepper Motor Driver Carrier A4983/A4988 stepper motor driver carrier with dimensions. Overview This product is a carrier board or breakout board for Allegro s A4988 DMOS Microstepping Driver with

More information

GUIDE TO SP STARTER SHIELD (V3.0)

GUIDE TO SP STARTER SHIELD (V3.0) OVERVIEW: The SP Starter shield provides a complete learning platform for beginners and newbies. The board is equipped with loads of sensors and components like relays, user button, LED, IR Remote and

More information

1/Build a Mintronics: MintDuino

1/Build a Mintronics: MintDuino 1/Build a Mintronics: The is perfect for anyone interested in learning (or teaching) the fundamentals of how micro controllers work. It will have you building your own micro controller from scratch on

More information

Arduino Programming Part 3. EAS 199A Fall 2010

Arduino Programming Part 3. EAS 199A Fall 2010 Arduino Programming Part 3 EAS 199A Fall 2010 Overview Part I Circuits and code to control the speed of a small DC motor. Use potentiometer for dynamic user input. Use PWM output from Arduino to control

More information

Physics 120/220. Microcontrollers Extras. Prof. Anyes Taffard

Physics 120/220. Microcontrollers Extras. Prof. Anyes Taffard Physics 120/220 Microcontrollers Extras Prof. Anyes Taffard Introduction 2 There are an infinite amount of applications for the Arduino. Lots of interfaces that can be controlled with it. Extension boards

More information

MegaPi Born to Motion Control

MegaPi Born to Motion Control MegaPi Born to Motion Control SKU: 10050 Weight: 130.00 Gram 1. Overview MegaPi is a main control board specially designed for makers and also an ideal option for being applied to education field and all

More information

Adafruit TB A DC/Stepper Motor Driver Breakout Board

Adafruit TB A DC/Stepper Motor Driver Breakout Board Adafruit TB6612 1.2A DC/Stepper Motor Driver Breakout Board Created by lady ada Last updated on 2016-10-01 06:35:33 PM UTC Guide Contents Guide Contents Overview Pinouts Power Pins Signal in Pins Motor

More information

Instruction Manual for BE-SP3 Circuit. 10/21/07

Instruction Manual for BE-SP3 Circuit. 10/21/07 Page 1 of 54 Instruction Manual for BE-SP3 Circuit. 10/21/07 Page 1 Index: Page 2 BE-SP3 Circuit Specifications. Page 3-4 Intro to the BE-SP3. Page 5 Basics of serial to parallel. Page 6-7 ASCII Code.

More information

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments TEMPERATURE MEASUREMENT AND CONTROL USING LM35 Purpose: To measure

More information

solutions for teaching and learning

solutions for teaching and learning RKP18Motor Component List and Instructions PCB layout Constructed PCB Schematic Diagram RKP18Motor Project PCB Page 1 Description The RKP18Motor project PCB has been designed to use PIC microcontrollers

More information

MAKEVMA401 5 VDC STEPPER MOTOR WITH ULN2003 DRIVER BOARD USER MANUAL

MAKEVMA401 5 VDC STEPPER MOTOR WITH ULN2003 DRIVER BOARD USER MANUAL 5 VDC STEPPER MOTOR WITH ULN2003 DRIVER BOARD USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device

More information

Serial.begin ( ); Serial.println( ); analogread ( ); map ( );

Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); Control and Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); A system output can be changed through the use of knobs, motion, or environmental conditions. Many electronic systems in our world

More information

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

University of Hull Department of Computer Science C4DI Interfacing with Arduinos Introduction Welcome to our Arduino hardware sessions. University of Hull Department of Computer Science C4DI Interfacing with Arduinos Vsn. 1.0 Rob Miles 2014 Please follow the instructions carefully.

More information

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S Overview Motivation Circuit Design and Arduino Architecture Projects Blink the LED Switch Night Lamp

More information

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL 1 Preface About RobotLinking RobotLinking is a technology company focused on 3D Printer, Raspberry Pi and Arduino open source community development.

More information

Earthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 13. Serial Temperature Sensor

Earthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 13. Serial Temperature Sensor Project 13 Serial Temperature Sensor 75 Project 13 - Serial Temperature Sensor Now we are going to make use of the Temperature Sensor in your kit, the LM35DT. You will need just one component. What you

More information

Physical Computing Self-Quiz

Physical Computing Self-Quiz Physical Computing Self-Quiz The following are questions you should be able to answer without reference to outside material by the middle of the semester in Introduction to Physical Computing. Try to answer

More information

Physical Computing Self-Quiz

Physical Computing Self-Quiz Physical Computing Self-Quiz The following are questions you should be able to answer by the middle of the semeter in Introduction to Physical Computing. Give yourself 6.5 points for questions where you

More information

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

Experiment 4.A. Speed and Position Control. ECEN 2270 Electronics Design Laboratory 1 .A Speed and Position Control Electronics Design Laboratory 1 Procedures 4.A.0 4.A.1 4.A.2 4.A.3 4.A.4 Turn in your Pre-Lab before doing anything else Speed controller for second wheel Test Arduino Connect

More information

Robotic Systems ECE 401RB Fall 2006

Robotic Systems ECE 401RB Fall 2006 The following notes are from: Robotic Systems ECE 401RB Fall 2006 Lecture 15: Processors Part 3 Chapter 14, G. McComb, and M. Predko, Robot Builder's Bonanza, Third Edition, Mc- Graw Hill, 2006. I. Peripherals

More information

Make your own secret locking mechanism to keep unwanted guests out of your space!

Make your own secret locking mechanism to keep unwanted guests out of your space! KNOCK LOCK Make your own secret locking mechanism to keep unwanted guests out of your space! Discover : input with a piezo, writing your own functions Time : 1 hour Level : Builds on projects : 1,,3,4,5

More information

Motor driver board. EB022

Motor driver board.   EB022 Motor driver board www.matrixmultimedia.com EB022 Contents About this document 3 Board layout 3 General information 4 Circuit description 5 Circuit diagram 6 2 Copyright About this document This document

More information

Project 17 Shift Register 8-Bit Binary Counter

Project 17 Shift Register 8-Bit Binary Counter Project 17 Shift Register 8-Bit Binary Counter In this project, you re going to use additional ICs (Integrated Circuits) in the form of shift registers in order to drive LEDs to count in binary (I will

More information

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

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process Lab 01 Arduino 程式設計實驗 Essential Arduino Programming and Digital Signal Process Arduino Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's

More information

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE, IME-100 ECE Lab 3 Electrical and Computer Engineering Department Kettering University 3-1 1. Laboratory Computers Getting Started i. Log-in with User Name: Kettering Student (no password required) ii.

More information

Wii Nunchuk Transceiver. Wiring Diagrams

Wii Nunchuk Transceiver. Wiring Diagrams Wii Nunchuk Transceiver Wiring Diagrams Wii Nunchuk Controller Wiring SCL SCL SDA +3v3 +3v3 Det SDA To Nunchuk Controller Top View Bottom View Bottom View 2.4GHz Wireless Transceiver CMD RXD TXD VCC 220Ω

More information

Grove - I2C Motor Driver

Grove - I2C Motor Driver Grove - I2C Motor Driver Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_i2c_motor_driver_v1.3 Bazaar: http://www.seeedstudio.com/depot/grove-i2c-motor-driver-p-907.html

More information

Digital Pins and Constants

Digital Pins and Constants Lesson Lesson : Digital Pins and Constants Digital Pins and Constants The Big Idea: This lesson is the first step toward learning to connect the Arduino to its surrounding world. You will connect lights

More information

KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions

KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions 125 KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions Time: 1 HOUR Level: Builds on projects: 1, 2, 3,

More information

AT42QT1010 Capacitive Touch Breakout Hookup Guide

AT42QT1010 Capacitive Touch Breakout Hookup Guide Page 1 of 7 AT42QT1010 Capacitive Touch Breakout Hookup Guide Introduction If you need to add user input without using a button, then a capacitive touch interface might be the answer. The AT42QT1010 Capacitive

More information

Controlling a fischertechnik Conveyor Belt with Arduino board

Controlling a fischertechnik Conveyor Belt with Arduino board EXPERIMENT TITLE: Controlling a fischertechnik Conveyor Belt with Arduino board PRODUCTS USED: CHALLENGE: AUTHOR: CREDITS: Interface and control a conveyor belt model (24 Volts, fischertechnik) with an

More information

Introduction to Microcontrollers Using Arduino. PhilRobotics

Introduction to Microcontrollers Using Arduino. PhilRobotics Introduction to Microcontrollers Using Arduino PhilRobotics Objectives Know what is a microcontroller Learn the capabilities of a microcontroller Understand how microcontroller execute instructions Objectives

More information

HDBB Breakout board user s manual

HDBB Breakout board user s manual HDBB Breakout board user s manual The HDBB breakout board was designed to use with our Whale2(-T)*, Whale3, Mammut* and Dugong servo drives or with any other third party stepper or servo drives which using

More information

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Ahmed Okasha okasha1st@gmail.com

More information

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail Reacting to Sensors In this tutorial we will be going over how to program the Arduino to react to sensors. By the end of this workshop you will have an understanding of how to use sensors with the Arduino

More information

Discharge by touching: BNC coax shield, outlet metal cover plate, wire connected to GND

Discharge by touching: BNC coax shield, outlet metal cover plate, wire connected to GND Step-down transformer Very High Voltage Very Low Current Lower Voltage, 110V Power Station Grounding contact (3rd wire) Faulty wiring makes box hot!! Current path splits: 1) to ground (mostly) 2) through

More information

Physics 364, Fall 2012, Lab #9 (Introduction to microprocessor programming with the Arduino) Lab for Monday, November 5

Physics 364, Fall 2012, Lab #9 (Introduction to microprocessor programming with the Arduino) Lab for Monday, November 5 Physics 364, Fall 2012, Lab #9 (Introduction to microprocessor programming with the Arduino) Lab for Monday, November 5 Up until this point we have been working with discrete digital components. Every

More information

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

Note. The above image and many others are courtesy of   - this is a wonderful resource for designing circuits. Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how

More information

AUDIO AMPLIFIER PROJECT

AUDIO AMPLIFIER PROJECT Intro to Electronics 110 - Audio Amplifier Project AUDIO AMPLIFIER PROJECT In this project, you will learn how to master a device by studying all the parts and building it with a partner. Our test subject:

More information

Explorer V1.20. Features

Explorer V1.20. Features V1.20 Multi-function USB I/O Expander and Controller Features Dual h-bridge 1.3A motor drive with PWM speed control 4.6V to 10.8V input range USB communication 4x digital inputs 2x analogue inputs 7x 100mA

More information

Lab 2.2 Ohm s Law and Introduction to Arduinos

Lab 2.2 Ohm s Law and Introduction to Arduinos Lab 2.2 Ohm s Law and Introduction to Arduinos Objectives: Get experience using an Arduino Learn to use a multimeter to measure Potential units of volts (V) Current units of amps (A) Resistance units of

More information

IME-100 Interdisciplinary Design and Manufacturing

IME-100 Interdisciplinary Design and Manufacturing IME-100 Interdisciplinary Design and Manufacturing Introduction Arduino and Programming Topics: 1. Introduction to Microprocessors/Microcontrollers 2. Introduction to Arduino 3. Arduino Programming Basics

More information

EECE 2411/2211-Introduction to Electrical and Computer Engineering Lab. Lab 3

EECE 2411/2211-Introduction to Electrical and Computer Engineering Lab. Lab 3 EECE 2411/2211-Introduction to Electrical and Computer Engineering Lab Lab 3 Building Multi-Gate Logic Circuits Introduction: In this lab we will look at combining the simple logic gates we used in the

More information

ESPino - Specifications

ESPino - Specifications ESPino - Specifications Summary Microcontroller ESP8266 (32-bit RISC) WiFi 802.11 (station, access point, P2P) Operating Voltage 3.3V Input Voltage 4.4-15V Digital I/O Pins 9 Analog Input Pins 1 (10-bit

More information

Basic Electronic Toolkit for under $40

Basic Electronic Toolkit for under $40 Basic Electronic Toolkit for under $40 Multimeter http://www.mpja.com/prodinfo.asp?number=17191+te Small Wire cutters http://www.mpja.com/prodinfo.asp?number=16761+tl Wire strippers http://www.mpja.com/prodinfo.asp?number=11715+tl

More information

Lesson 8: Digital Input, If Else

Lesson 8: Digital Input, If Else Lesson 8 Lesson 8: Digital Input, If Else Digital Input, If Else The Big Idea: This lesson adds the ability of an Arduino sketch to respond to its environment, taking different actions for different situations.

More information

ACE-SDC-V3 Stepper Driver +Controller with USB 2.0 Communication

ACE-SDC-V3 Stepper Driver +Controller with USB 2.0 Communication ACE-SDC-V3 Stepper Driver +Controller with USB 2.0 Communication ACE-SDC-V3 Manual page 1 rev 1.00 COPYRIGHT 2008 ARCUS, ALL RIGHTS RESERVED First edition, April 2008 ARCUS TECHNOLOGY copyrights this document.

More information

Analog Input. Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot.

Analog Input. Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot. Analog Input Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot. +5V measure gnd Color coding: red goes to power, blue to ground, purple to measure here (it s a mix, see?)

More information

Project 18 Dual 8-Bit Binary Counters

Project 18 Dual 8-Bit Binary Counters Project 18 Dual 8-Bit Binary Counters In Project 18, you will daisy chain (or cascade) another 74HC595 IC onto the one used in Project 17 to create a dual binary counter. Parts Required 2 74HC595 Shift

More information

Earthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 15. Shift Register 8-Bit Binary Counter

Earthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 15. Shift Register 8-Bit Binary Counter Project 15 Shift Register 8-Bit Binary Counter 84 Project 15 - Shift Register 8-Bit Binary Counter Right, we are now going to delve into some pretty advanced stuff so you might want a stiff drink before

More information

How-To #7: Assemble an H-bridge Circuit Board

How-To #7: Assemble an H-bridge Circuit Board How-To #7: Assemble an H-bridge Circuit Board Making a DC motor turn is relatively easy: simply connect the motor's terminals to a power supply. But what if the motor is to be controlled by an Arduino,

More information

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

Goal: We want to build an autonomous vehicle (robot) Goal: We want to build an autonomous vehicle (robot) This means it will have to think for itself, its going to need a brain Our robot s brain will be a tiny computer called a microcontroller Specifically

More information

Iocard USB DcMotors Manual. Date:15/02/12 Rev.:2.0

Iocard USB DcMotors Manual. Date:15/02/12 Rev.:2.0 Iocard USB DcMotors Manual Date:15/02/12 Rev.:2.0 Index: IOCARD USB DCMOTORS MANUAL... 1 INDEX:... 2 INTRODUCTION:... 3 USB DCMOTORS:... 3 Outline and components:... 3 Connectors description:... 4 CONECTIONS:...

More information

UNIT 10: Driving motors

UNIT 10: Driving motors UNIT : Driving motors AIS The aim of this unit is to Give the basic ideas and simple examples for driving DC and Stepper motors with Arduino. THEORY SECTION Explain what is an electric motor Present what

More information

Using a Stepper Motor Like a Servo Controlled by a Potentiometer (G Payne 2017)

Using a Stepper Motor Like a Servo Controlled by a Potentiometer (G Payne 2017) Overview: Using a Stepper Motor Like a Servo Controlled by a Potentiometer (G Payne 2017) Stepper Motors can be accurately controlled by digital pulses. They are typically geared. In this demonstration,

More information

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 8051 Intermidiate Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6

More information

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software! Summer Training 2016 Advance Embedded Systems Fast track of AVR and detailed working on STM32 ARM Processor with RTOS- Real Time Operating Systems Covering 1. Hands on Topics and Sessions Covered in Summer

More information

SINCOS. Linear Stepper Motor Power Stage. Manual 2066-A006 GB

SINCOS. Linear Stepper Motor Power Stage. Manual 2066-A006 GB SINCOS Linear Stepper Motor Power Stage Manual 2066-A006 GB phytron SINCOS Linear Stepper Motor Power Stage for Bipolar Control Mode Manual 2066-A006 GB Manual SINCOS 2002 All rights with: Phytron GmbH

More information

AT42QT101X Capacitive Touch Breakout Hookup Guide

AT42QT101X Capacitive Touch Breakout Hookup Guide Page 1 of 10 AT42QT101X Capacitive Touch Breakout Hookup Guide Introduction If you need to add user input without using a button, then a capacitive touch interface might be the answer. The AT42QT1010 and

More information

Necessary software and hardware:

Necessary software and hardware: Necessary software and hardware: Bases: First, remember that I m a French guy so my English is not perfect ;) If you see any mistakes, don t hesitate to tell me so I can correct them (my email is at the

More information

Christian Brothers University 650 East Parkway South Memphis, TN

Christian Brothers University 650 East Parkway South Memphis, TN Christian Brothers University 650 East Parkway South Memphis, TN 38103-5813 WIRELESS SMART THERMOSTAT Martin Tribo Student IEEE Membership Number 90671969 Submitted for consideration in Region 3, IEEE

More information

Mercury Baseboard Reference Manual

Mercury Baseboard Reference Manual Mercury Baseboard Reference Manual www.micro-nova.com OVERVIEW The Baseboard is a great addition to the Mercury Module, providing a host of on-board components that can be used to design and test a wide

More information

Sanguino TSB. Introduction: Features:

Sanguino TSB. Introduction: Features: Sanguino TSB Introduction: Atmega644 is being used as CNC machine driver for a while. In 2012, Kristian Sloth Lauszus from Denmark developed a hardware add-on of Atmega644 for the popular Arduino IDE and

More information

Vector 3D printer complete wire list including extruder PWA listing

Vector 3D printer complete wire list including extruder PWA listing Vector 3D printer complete wire list including extruder PWA listing Conventions Pin numbering for connectors It is normal practice in print circuit board (PCB) layout to denote pin 1 of a PCB mounted connector

More information

Lesson 0 Installing IDE

Lesson 0 Installing IDE Contents Preface... 2 Components List... 4 Lesson 0 Installing IDE... 23 Lesson 1 Blink... 23 Lesson 2 Button... 30 Lesson 3 Flowing LED Lights... 34 Lesson 4 Active Buzzer... 37 Lesson 5 Passive Buzzer...

More information

TB6600 Stepper Motor Driver

TB6600 Stepper Motor Driver TB6600 Stepper Motor Driver V1.0 07 2018 Open Source Mechatronics LTD 2018 Safety Statement The author of this document is not liable or responsible for any accidents, injuries, equipment damage, property

More information

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino University of Portland EE 271 Electrical Circuits Laboratory Experiment: Arduino I. Objective The objective of this experiment is to learn how to use the Arduino microcontroller to monitor switches and

More information

RKP08 Component List and Instructions

RKP08 Component List and Instructions RKP08 Component List and Instructions PCB layout Constructed PCB RKP08 Scematic RKP08 Project PCB Page 1 Description The RKP08 project PCB has been designed to use PIC microcontrollers such as the Genie

More information

EQ573 Assembly guide. EQ573 Assembly guide Main board 1. Diodes. 2. Resistors (1) 3. Test pins. 4. Ceramic capacitors.

EQ573 Assembly guide. EQ573 Assembly guide Main board 1. Diodes. 2. Resistors (1) 3. Test pins. 4. Ceramic capacitors. EQ573 Assembly guide Safety warning The kits are main powered and use potentially lethal voltages. Under no circumstance should someone undertake the realisation of a kit unless he has full knowledge about

More information

Basic Interface Techniques for the CRD155B

Basic Interface Techniques for the CRD155B Basic Interface Techniques for the CRD155B April 2001, ver. 1.10 Application Note 101 Introduction This application note contains basic information about interfacing external circuitry to computer I/O

More information

PWR Meter click. PID: MIKROE 3169 Weight: 31 g

PWR Meter click. PID: MIKROE 3169 Weight: 31 g PWR Meter click PID: MIKROE 3169 Weight: 31 g PWR Meter click is a power measurement Click board, capable of measuring voltage and current through the load, connected to either AC or DC power source. PWR

More information

Components List No Product Name Quantity Picture 1 Uno 1 R3 Controller Board 2 USB Cable 1 3 LCD1602 Module 1 4 Breadboard 1 5 9V 1A Power Supply 1 4

Components List No Product Name Quantity Picture 1 Uno 1 R3 Controller Board 2 USB Cable 1 3 LCD1602 Module 1 4 Breadboard 1 5 9V 1A Power Supply 1 4 Contents Preface... 2 Components List... 4 Lesson 0 Installing IDE... 23 Lesson 1 Blink... 23 Lesson 2 Button... 30 Lesson 3 Flowing LED Lights... 34 Lesson 4 Active Buzzer... 37 Lesson 5 Passive Buzzer...

More information

Smart Objects. SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi

Smart Objects. SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi Smart Objects SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi 1 What is a Smart Object? Essentially, an object that: Senses Thinks Acts 2 Example 1 https://www.youtube.com/watch?v=6bncjd8eke0

More information

Applications of 8051 Microcontrollers

Applications of 8051 Microcontrollers Applications of 8051 Microcontrollers INTRODUCTION: A microcontroller is a versatile chip which can be used in various fields starting from simple consumer electronics, measuring devices to high end medical,

More information

cs281: Introduction to Computer Systems Lab03 K-Map Simplification for an LED-based Circuit Decimal Input LED Result LED3 LED2 LED1 LED3 LED2 1, 2

cs281: Introduction to Computer Systems Lab03 K-Map Simplification for an LED-based Circuit Decimal Input LED Result LED3 LED2 LED1 LED3 LED2 1, 2 cs28: Introduction to Computer Systems Lab3 K-Map Simplification for an LED-based Circuit Overview In this lab, we will build a more complex combinational circuit than the mux or sum bit of a full adder

More information

MAKE & COLLABORATE: SECRET KNOCK LOCK

MAKE & COLLABORATE: SECRET KNOCK LOCK MAKE & COLLABORATE: SECRET KNOCK LOCK A project from Arduino Project Handbook: 25 Practical Projects to Get You Started Project 9: Secret KnocK LocK For centuries clandestine groups have used Secret KnocKS

More information

Grove - Mini I2C Motor Driver v1.0

Grove - Mini I2C Motor Driver v1.0 Grove - Mini I2C Motor Driver v1.0 Introduction 3.3V 5.0V I2C This Grove - MIni I2C motor driver includes two DRV8830. The DRV8830 provides an integrated motor driver solution for battery-powered toys,

More information

Filthy Fack! Famous germanium 5-knobbed fuzz clone

Filthy Fack! Famous germanium 5-knobbed fuzz clone Filthy Fack! Famous germanium 5-knobbed fuzz clone Contents of this document are 2014 Pedal Parts Ltd. No reproduction permitted without the express written permission of Pedal Parts Ltd. All rights reserved.

More information

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

BUILD: ARDUINO NANO + NEMA17 BIPOLAR STEPPER 12V 0.4A + EASYDRIVER BOARD OPTION HW203 DRIVER BOARD The EASYDRIVER v44 driver board which can supply up to 750mA maximum current (typically 500mA), thus is able to driver stepper motors that require more current and hence

More information

SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS

SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS 11 SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS 115 CRYSTAL BALL CREATE A CRYSTAL BALL TO TELL YOUR FUTURE Discover: LCD displays, switch/case statements, random() Time:

More information

MINITRONICS v1.0 DATASHEET

MINITRONICS v1.0 DATASHEET MINITRONICS v. DATASHEET Author Bart Meijer Date 2th of April 23 Document version. ReprapWorld.com PRODUCT OVERVIEW Minitronics is the latest development of ReprapWorld.com. It's designed to be an easy

More information

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

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC Adafruit Metro Mini Created by lady ada Last updated on 2018-01-24 08:12:28 PM UTC Guide Contents Guide Contents Overview Pinouts USB & Serial converter Microcontroller & Crystal LEDs Power Pins & Regulators

More information

Variable Power Supply Digital Control Circuit Diagram Using Lm317

Variable Power Supply Digital Control Circuit Diagram Using Lm317 Variable Power Supply Digital Control Circuit Diagram Using Lm317 DIGITAL POWER SUPPLY USING LM317 A Major Project Report Submitted partial fulfillment of the requirement for the award of the Degree of

More information

Digispark DIY: the Smallest USB Arduino

Digispark DIY: the Smallest USB Arduino materiały pobrane ze strony: https://www.instructables.com/id/digispark-diy-the-smallest-usb-arduino/ 2017-06-21 Digispark DIY: the Smallest USB Arduino by smching in arduino Digispark is an ATtiny85 based

More information

Arduino Prof. Dr. Magdy M. Abdelhameed

Arduino Prof. Dr. Magdy M. Abdelhameed Course Code: MDP 454, Course Name:, Second Semester 2014 Arduino What is Arduino? Microcontroller Platform Okay but what s a Microcontroller? Tiny, self-contained computers in an IC Often contain peripherals

More information

Arduino Programming. Arduino UNO & Innoesys Educational Shield

Arduino Programming. Arduino UNO & Innoesys Educational Shield Arduino Programming Arduino UNO & Innoesys Educational Shield www.devobox.com Electronic Components & Prototyping Tools 79 Leandrou, 10443, Athens +30 210 51 55 513, info@devobox.com ARDUINO UNO... 3 INNOESYS

More information