MTE380 DC and Stepper Motor Controller with Analog Inputs.

Size: px
Start display at page:

Download "MTE380 DC and Stepper Motor Controller with Analog Inputs."

Transcription

1 MTE380 DC and Stepper Motor Controller with Analog Inputs. Design by: Vecheslav Silagadze, If you find any bugs in the code or design please let me know.

2 Table of Contents TABLE OF CONTENTS... 2 SOFTWARE SETUP:... 3 HARDWARE SETUP:... 4 DEVICE DESCRIPTION:... 6 MOTORS:... 6 SENSORS:... 6 LOADING CODE:... 7 CONTROL DESCRIPTION:... 8 DC MOTORS:... 8 STEPPER MOTORS:... 9 SENSORS: SUMMARY TABLE: TROUBLESHOOTING:... 11

3 Software Setup: You will require three pieces of software in order to develop code and load it into the device. The first is the MPLAB IDE from Microchip Technologies. You will need to go to then download and install MPLAB. The second piece of software you will need is the C30 compiler from Microchip in order to be able to program the device in C (as opposed to assembly language.) The C30 compiler can also be found at the Microchip website mentioned above. When installing the C30 compiler you will be asked if you want the setup to modify you PATH variable to include. It is extremely important that you choose yes, otherwise you will have to do it manually. Finally you will need the WinPic programming software in order to load code into the device. You can download this software at Or simply search for winpicpr.zip on Google. Once you have installed all of the above pieces of software you will need to setup the MTE380 project in MPLAB. Download and unzip the MTE380 code template into some directory. Open MPLAB and from the top menu select project -> open. Then select mte380.mcp in the directory in which you unzipped the code. The most important thing to verify is that the linker script and library files have been loaded correctly. You can do this by looking at the project layout in the right hand window, and making sure that under Library Files you have libp30f2010.a and it does not state file not found beside it. Similarly, make sure you have p30f2010.gld under Linker Scripts. If one of these is missing you will need to add it by right clicking on the project layout section of the file you want to add and selecting Add files. Then go to the directory in which the C30 compiler is installed and find the file with the above name. The libp30f2010.a file is probably in C:\Program Files\Microchip\MPLAB C30\lib, and the p30f2010.gld file is probably in C:\Program Files\Microchip\MPLAB C30\support\gld Once you have completed all of the above you can try and build the project by selecting project -> build all in the MPLAB top menu. If you see BUILD SUCCEEDED in the output window, that means everything is setup correctly and you are ready to code. Note: MPLAB is a fairly primitive IDE. If you are used to working with more sophisticated development studios, like Visual Studio or Eclipse, it will take some getting used to.

4 Hardware Setup: Below is the circuit diagram of the device you are working with. Figure 1: Circuit diagram This is the logical layout of the system. In other words, it is used to describe how the circuit functions in a manner that is easily readable. Notice that each component in the circuit above has a name beside it. For instance, the big block in the center is called MCU. The two blocks to the right are called STEP and DC. These are the microcontroller, the stepper motor driver and the DC motor driver, respectively. The names of these things on the circuit can be cross referenced with the circuit layout (i.e. the PCB design) so that you know which part goes where and how they are interconnected. Below is the circuit layout with some parts omitted for clarity.

5 Figure 2: Device layout Notice that in the center you can see the part labeled MCU and to the right you can see the parts labeled STEP and DC (bottom right.) Also notice that all of the resistors and capacitors are labeled (R1, R2, etc.) along with their values. Again, you can cross reference this with the circuit diagram above so that you know how to solder these parts onto the PCB. When soldering the components (especially the chips) it is important to be as quick as possible with each pin. If you apply heat to the chip pins for too long you risk damaging it. A rule of thumb is that you should not apply heat to the pin for more than 2 seconds. If you think the chip is overheating, wait for it to cool before going on to the next pin. Note: Be sure to put a capacitor across the DC motor terminal! Or else you will experience random resets every time you run the motor at load. Grounding the motor chassis is a good idea too. Note: The order of wires for the stepper motor connector should be: brown, orange, black, yellow, red. Referenced from top to bottom on the PCB stepper motor connectors.

6 Device Description: The device is designed to be able to control two stepper motors, two DC motors and to be able to read analog inputs from sensors. The brain of the device is a dspic30f2010 microcontroller (labeled MCU.) The microcontroller is basically a complete system on a chip. It includes a microprocessor core, as well as RAM, and peripheral modules like a serial (UART) port and an analog to digital converter. The purpose of the microcontroller in this case is to run code in order to control motors and read in sensor information. Motors: The microcontroller is not designed to supply significant amounts of current (20 milliamps at most) so in order to run a DC motor, which requires as much as 500 milliamps of current, there must be a driver. The driver is basically an amplifier. It takes a small signal from the microcontroller (5V at a few microamps) and amplifies it to a large signal (12V at 500 milliamps) that goes into the motor. Similarly the stepper motor requires its own driver. However, because the stepper motor is not quite as simple to run as a DC motor, it requires 4 wires (for the particular model you will be using) and uses a different driver. Looking at the circuit you can see there is a chip called DC, and another called STEP. Of course, these are the DC motor driver and stepper motor driver, respectively. The DC motor driver is the L298 chip. You can look up the datasheet for it online if you are interested in the details of its operation. The stepper motor driver is the ULN2803A. This is basically 8 power transistors packaged on a chip. The connectors for the stepper motors and DC motors are labeled STEPPER1, STEPPER2, DC1, and DC2. The stepper motor connector should be setup such that the wires are in the following order from the top of the PCB: brown, orange, black, yellow, red. If you do it any other way it will not work. Sensors: The microcontroller can connect up to 5 analog sensors. The sensor inputs are labeled A0 through A4 on the board towards the top right. You will notice an area on the top of the board with lots of holes and copper around them. This is the prototype space. You can put in any resistors, capacitors, or whatever else you need in order to convert the sensor output into a voltage the microcontroller can read. So for example if you have a switch you would need to wire it up as shown below: Figure 3: Switch to analog port circuit

7 The wire labeled OUT would go to one of A0 through A4. Note that the top line of holes in the prototype area is tied to 5V, and the bottom line (except A0 A4) is tied to ground. This setup is so that you can easily wire power to your sensors. Loading Code: Loading code on the device is fairly straightforward. Once you select project -> build all in MPLAB, the program will generate a hex file (machine language code) called mte380.hex. In order to load this code you need to open the WinPic software. In the top menu go to device -> select, and pick the dspic30f2010 from the dropdown menu. Now go to file -> load and select the file mte380.hex from the directory in which you unzipped the code. Go to the Device Config tab and ensure that FWDTEN is set to disabled (for some reason WinPic doesn t seem to recognize that setting correctly from the hex file.) Now connect the device with a straight through serial cable to your computer and then turn on the power (i.e. plug in the power adapter.) Now select device -> program from the top menu in WinPic and the code will be programmed onto the chip. Note: After programming be sure to disconnect the serial cable! This is important because while the cable is connected the device could be in programming mode and may not run. In general do not leave the serial cable plugged in for any length of time.

8 Control Description: There are only 6 functions that you need to understand in order to use the device. Everything else is taken care of for you in the background. These functions allow you to set the position and speed of the stepper motor, and they allow you to set the power delivered to the DC motors. DC Motors: The mode of DC motor control used by the device is called pulse width modulation (PWM.) The idea behind this is fairly simple. You send a pulse train to the motor terminals, and control the average amount of power delivered by varying the ratio of the amount of time the power is on to the amount of time the power is off. The figure below illustrates this concept. Figure 4: PWM illustration The question arises: why control a DC motor in this way? Why not just supply a set voltage equal to the average we are looking for? Certainly this would be easier in many ways, and it would avoid a significant amount of power losses associated with constantly switching the power on and off. There are a number of reasons the PWM method is used. One of the main ones is that it allows a simple digital system to control a fundamentally analog system like a DC motor. All one needs is a couple of simple transistor switches, as opposed to a complicated variable voltage regulator. The API has one simple function for setting the power output to each motor. These are set_dc1_power(int power), and set_dc2_power(int power). The input variable is the power, and ranges from -100 to 100 with the sign representing direction. So calling with the function with 30 will result in 30% of maximum power in the positive direction. Similarly, calling the function with -70 will result in 70% of maximum power in the negative direction. Note: If you just want a quick table summary of all functions, look at the end of this section.

9 Stepper Motors: Stepper motor control is a bit more complicated than DC motor control. Basically the stepper motor is a cheap alternative to a servo motor. A servo motor is basically just a DC motor with some electronics attached that allow you to control the position of the motor. A stepper motor tries to emulate this through its construction it has a series of permanent magnets and coils. By energizing certain coils (i.e. magnetizing them) the motor will align the coils with the permanent magnets. By energizing the coils in a specific order, the motor can be made to rotate in a set direction in a series of steps. The specific motor used in this course is 2-2 phase unipolar. It has four wires that need to be driven in the following order in order to make the motor rotate. Time Coil A+ 12V 12V 0V 0V 12V 12V 0V 0V 12V 12V Coil A- 0V 0V 12V 12V 0V 0V 12V 12V 0V 0V Coil B+ 12V 0V 0V 12V 12V 0V 0V 12V 12V 0V Coil B- 0V 12V 12V 0V 0V 12V 12V 0V 0V 12V Figure 5: Stepper motor control sequence To make the motor rotate in the opposite direction, the pattern simply needs to be run backwards. Because the stepper motor has the facility to control its position in this way there are actually two modes in which the stepper motor can be controlled. The first is position mode and the second is speed mode. In position mode, you simply set the desired position of the motor and the motor will rotate to that position. In speed control mode you simply set a rotation speed you desire in rotations per minute (RPM) and the motor will continuously rotate at that speed. There are two functions for the control of the stepper motor, one for each mode of control. For speed control mode the functions are set_stepper1_speed( int rpm ), and set_stepper2_speed( int rpm ). A positive number will result in rotation in one direction, while a negative number will result in rotation in the opposite direction. If you wish to control the position of the motor, the two function are set_stepper1_position(unsigned int position) and set_stepper2_position(unsigned int position). The input to the two functions is the desired position in hundredths of a degree. So if you wish the motor to move to position 127 degrees, you must call the function with Note: Position resolution of the stepper motor you are using is 7.5 degrees. So you cannot control the motor with any greater precision. This means if the motor is at degrees, you CANNOT move it to something like 191 degrees. The nearest positions are 180 degrees and 195 degrees. Note: The controller will automatically choose the fastest way to reach desired position. So if the motor is at degrees and you want it to move to 0 degrees, it will automatically rotate in the positive direction. Whereas if you tell it to move to 345 degrees, it will automatically move in the negative direction.

10 Sensors: Access to the sensors is extremely easy. Simply read values from the global variable array sensor[0] through sensor[5], corresponding to analog inputs 0 through 4 (A0 through A4 on the PCB). The values are updated automatically in real time at around 5KHz. The value ranges from 0 to 1024 and corresponds to a linearly scaled input value of 0V to 5V. So for example if the input voltage is 1.5V, then the sensor reading will be (1.5/5)*1024 = 307. The conversion formula is: Digital Value = (Vin/5V)*1024 Summary Table: Category Function DC set_dc1_power(int power) Motors Stepper Motors set_dc2_power(int power) Description Set percentage power input to DC motor 1. Sign controls direction. Set percentage power input to DC motor 2. Sign controls direction. set_stepper1_position(unsigned int position) Set position setpoint for stepper motor 1. set_stepper2_position(unsigned int position) Set position setpoint for stepper motor 2. set_stepper1_speed(int rpm) set_stepper1_speed(int rpm) Set rotation speed for stepper motor 1. Sign controls direction. Set rotation speed for stepper motor 2. Sign controls direction. Sensors unsigned int sensor[n] Analog input reading. Scaled from 0V to 5V to 0 to Figure 6: Function summary table

11 Troubleshooting: Below are some quick hints for problems you may run into in constructing and running your circuit. In general here is the series of steps you should use in verifying that your circuit works once you have constructed it: 1. The first step is to make sure your circuit passes the smoke test. If you turn it on and there is smoke, it means you failed the test. 2. Next, check the power. The LED should turn on once power is applied. If this is not the case then either you soldered your LED backwards, or the voltage regulator isn t working, or there is a short circuit somewhere (which generally means you will see smoke very soon.) 3. If the power seems to be present, the next step is to try and load the code into the chip. Follow the instructions in the Loading Code section above. 4. If you actually managed to load code into the chip, you re doing pretty good. The next step is to check the oscillator. Turn on the power and use an oscilloscope to probe the oscillator pins on the microcontroller (pins 9 and 10, count from the pin marked with an indent beside it.) You should see a sine-like wave at exactly 6.5MHz. 5. If all of the above check out then your microcontroller is running code and you re all set to start playing with the motors and sensors. Here are some hints if your device fails one of the steps above: 1 If you see smoke, you probably burned one or more components. Before proceeding, replace the component that was smoking and any components that got hot to the touch. Check for any excess solder and fused contacts. Clean up any solder flux with some alcohol (no you can t use beer!!) Other than that just be careful with your soldering. Failed smoke test generally means you were sloppy. Also, check that the dspic chip is not plugged in backwards. If it is, you are pretty much guaranteed to have burned it. Get another one. 2 If there is no power, check that the regulator is soldered in fully. Check the power cables. Generally no power means bad interconnections. 3 If you cannot load code into the chip, it could mean bad soldering as with all of the above. Alternatively it would mean you somehow burned your dspic chip. Try probing the serial port pins while programming and make sure you see a pulse train. If you don t then it usually means there is a bad contact somewhere. Also, some serial ports don t operate on RS-232 levels (+-11V) but only on TTL levels, which means you need to get yourself a decent computer with an RS-232 compliant serial port. 4 This is the most tricky part to fix. It could be bad soldering, some excess solder flux, or damaged capacitors. If the oscillator isn t starting try replacing the capacitors tied to it. Also, make sure you didn t change the configuration settings in the main.c file. The oscillator should be set to PLL x16 mode. As a LAST resort you may contact me, Vecheslav Silagadze for help with your circuit. My is vsilagad@uwaterloo.ca.

An Introduction to MPLAB Integrated Development Environment

An Introduction to MPLAB Integrated Development Environment An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to

More information

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India info@robokits.co.in http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to

More information

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Abstract This application note is a tutorial of how to use an Arduino UNO microcontroller to

More information

INTRODUCTION TO SERIAL ARM

INTRODUCTION TO SERIAL ARM INTRODUCTION TO SERIAL ARM A robot manipulator consists of links connected by joints. The links of the manipulator can be considered to form a kinematic chain. The business end of the kinematic chain of

More information

revolution Contents: Introduction Power 28-pin Project Board with input/output cables

revolution Contents: Introduction Power 28-pin Project Board with input/output cables 28-PIN IN IN PROJECT BOARD Contents: AXE020 28-pin Project Board with input/output cables Introduction The 28-pin project board is designed to allow rapid prototyping with 28-pin PICAXE microcontrollers.

More information

CHAPTER 11: Flip Flops

CHAPTER 11: Flip Flops CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach

More information

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) ( dspic / PIC24 Multiprogrammer datasheet EB064-00 00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix

More information

SYSTEM 4C. C R H Electronics Design

SYSTEM 4C. C R H Electronics Design SYSTEM 4C C R H Electronics Design SYSTEM 4C All in one modular 4 axis CNC drive board By C R Harding Specifications Main PCB & Input PCB Available with up to 4 Axis X, Y, Z, A outputs. Independent 25

More information

SYSTEM 45. C R H Electronics Design

SYSTEM 45. C R H Electronics Design SYSTEM 45 C R H Electronics Design SYSTEM 45 All in one modular 4 axis CNC drive board By C R Harding Specifications Main PCB & Input PCB Available with up to 4 Axis X, Y, Z, & A outputs. Independent 25

More information

Micro-Step Driving for Stepper Motors: A Case Study

Micro-Step Driving for Stepper Motors: A Case Study Micro-Step Driving for Stepper Motors: A Case Study N. Sedaghati-Mokhtari Graduate Student, School of ECE, University of Tehran, Tehran, Iran n.sedaghati @ece.ut.ac.ir Abstract: In this paper, a case study

More information

ECEN 1400, Introduction to Analog and Digital Electronics

ECEN 1400, Introduction to Analog and Digital Electronics ECEN 1400, Introduction to Analog and Digital Electronics Lab 4: Power supply 1 INTRODUCTION This lab will span two lab periods. In this lab, you will create the power supply that transforms the AC wall

More information

PUSH BUTTON START INSTALLATION MANUAL

PUSH BUTTON START INSTALLATION MANUAL PUSH BUTTON START INSTALLATION MANUAL ALTHOUGH THIS PRODUCT HAS BEEN THOROUGHLY TESTED KPIERSON TECHNOLOGIES ASSUMES NO RESPONSIBILITY FOR ANY DAMAGE THAT MAY RESULT BY THE INSTALLATION OF THIS PRODUCT.

More information

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs Welcome to this tutorial on Microchip s MPLAB Starter Kit for dspic Digital Signal Controllers, or DSCs. The starter kit is an all-in-one

More information

PolyBot Board. User's Guide V1.11 9/20/08

PolyBot Board. User's Guide V1.11 9/20/08 PolyBot Board User's Guide V1.11 9/20/08 PolyBot Board v1.1 16 pin LCD connector 4-pin SPI port (can be used as digital I/O) 10 Analog inputs +5V GND GND JP_PWR 3-pin logic power jumper (short top 2 pins

More information

Lab Experiment 1: The LPC 2148 Education Board

Lab Experiment 1: The LPC 2148 Education Board Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,

More information

Arduino Lesson 16. Stepper Motors

Arduino Lesson 16. Stepper Motors Arduino Lesson 16. Stepper Motors Created by Simon Monk Last updated on 2013-11-22 07:45:14 AM EST Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout Arduino Code Stepper Motors Other

More information

Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach3... 6 Starting up the Equipment...

Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach3... 6 Starting up the Equipment... User Manual Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach3... 6 Starting up the Equipment... 12 G-Code Example... 13 2 Getting Started

More information

RS232/DB9 An RS232 to TTL Level Converter

RS232/DB9 An RS232 to TTL Level Converter RS232/DB9 An RS232 to TTL Level Converter The RS232/DB9 is designed to convert TTL level signals into RS232 level signals. This cable allows you to connect a TTL level device, such as the serial port on

More information

Work with Arduino Hardware

Work with Arduino Hardware 1 Work with Arduino Hardware Install Support for Arduino Hardware on page 1-2 Open Block Libraries for Arduino Hardware on page 1-9 Run Model on Arduino Hardware on page 1-12 Tune and Monitor Models Running

More information

Application/Connection Examples

Application/Connection Examples This Quick Start Guide is designed to familiarize the user with the connection and configuration of the DTS-305 DIN rail mounted single / 3 phase power & energy meter with RS-485 or TCP communications.

More information

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller Overview The objective of this lab is to introduce ourselves to the Arduino interrupt capabilities and to use

More information

DSO138 oscilloscope program upgrade method

DSO138 oscilloscope program upgrade method DSO138 oscilloscope program upgrade method Applicable models: 13801K, 13802K Program upgrade Principle The DSO138 is a SCM STM32F103C8 internal oscilloscope that is preinstalled with a flash bootloader,

More information

Arduino Lesson 0. Getting Started

Arduino Lesson 0. Getting Started Arduino Lesson 0. Getting Started Created by Simon Monk Last updated on 204-05-22 2:5:0 PM EDT Guide Contents Guide Contents Overview Parts Part Qty Breadboard Installing Arduino (Windows) Installing Arduino

More information

Using the Motor Controller

Using the Motor Controller The Motor Controller is designed to be a convenient tool for teachers and students who want to use math and science to make thing happen. Mathematical equations are the heart of math, science and technology,

More information

The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.

The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit. The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit. Micro Wizard has been manufacturing Pinewood Derby timers for over 10 years.

More information

DRV8312-C2-KIT How to Run Guide

DRV8312-C2-KIT How to Run Guide DRV8312-C2-KIT How to Run Guide Version 1.1 October 2011 C2000 Systems and Applications Team This Guide explains the steps needed to run the DRV8312-C2-KIT with the software supplied through controlsuite.

More information

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015 Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) The standard tuning values used in ADVANCED Motion Controls drives are conservative and work well in over 90%

More information

Parts of a Computer. Preparation. Objectives. Standards. Materials. 1 1999 Micron Technology Foundation, Inc. All Rights Reserved

Parts of a Computer. Preparation. Objectives. Standards. Materials. 1 1999 Micron Technology Foundation, Inc. All Rights Reserved Parts of a Computer Preparation Grade Level: 4-9 Group Size: 20-30 Time: 75-90 Minutes Presenters: 1-3 Objectives This lesson will enable students to: Identify parts of a computer Categorize parts of a

More information

BUILD YOUR OWN RC SWITCH (Issue 3)

BUILD YOUR OWN RC SWITCH (Issue 3) PART ONE SINGLE ELECTRONIC RC SWITCH Fancy switching the lights using your radio, then here is a circuit you may consider building. It only uses one IC and seven other components for a single switch and

More information

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Pmod peripheral modules are powered by the host via the interface s power and ground pins. Digilent Pmod Interface Specification Revision: November 20, 2011 1300 NE Henley Court, Suite 3 Pullman, WA 99163 (509) 334 6306 Voice (509) 334 6300 Fax Introduction The Digilent Pmod interface is used

More information

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers USB to router s serial port How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers by Neo at RouterTech.Org Introduction Routers based on the AR7RD/AR7WRD

More information

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program

More information

Analog Servo Drive 25A8

Analog Servo Drive 25A8 Description Power Range NOTE: This product has been replaced by the AxCent family of servo drives. Please visit our website at www.a-m-c.com or contact us for replacement model information and retrofit

More information

Executive Summary. Table of Contents

Executive Summary. Table of Contents Executive Summary How to Create a Printed Circuit Board (PCB) Department of Electrical & Computer Engineering Michigan State University Prepared by: John Kelley Revision: 4/06/00 This application note

More information

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard University April 13, 2016 About Arduino: The Board Variety of models of Arduino Board (I am using Arduino Uno) Microcontroller constructd similarly

More information

TEECES DOME LIGHTING SYSTEMS

TEECES DOME LIGHTING SYSTEMS This lighting system was designed by John V (Teeces) to be a simple, customizable, expandable and affordable solution for dome lighting. An Arduino micro-controller is used to tell LED driver chips which

More information

Animated Lighting Software Overview

Animated Lighting Software Overview Animated Lighting Software Revision 1.0 August 29, 2003 Table of Contents SOFTWARE OVERVIEW 1) Dasher Pro and Animation Director overviews 2) Installing the software 3) Help 4) Configuring the software

More information

Capacitive Touch Sensor Project:

Capacitive Touch Sensor Project: NOTE: This project does not include a complete parts list. In particular, the IC described here does not come in a dual-inline-package (DIP), and so a gull-wing package has to be soldered to an adaptor

More information

Access Control Using Smartcard And Passcode

Access Control Using Smartcard And Passcode IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE) e-issn: 2278-1676 Volume 4, Issue 5 (Jan. - Feb. 2013), PP 29-34 Access Control Using Smartcard And Passcode Omorogiuwa Eseosa 1., Uhunmwangho

More information

Example Connection between USB Host and Android

Example Connection between USB Host and Android Example connection between USB Host and Android Example Connection between USB Host and Android This example illustrates the connection between Board ETMEGA2560-ADK and Android through Port USB Host. In

More information

STEPPER MOTOR SPEED AND POSITION CONTROL

STEPPER MOTOR SPEED AND POSITION CONTROL STEPPER MOTOR SPEED AND POSITION CONTROL Group 8: Subash Anigandla Hemanth Rachakonda Bala Subramanyam Yannam Sri Divya Krovvidi Instructor: Dr. Jens - Peter Kaps ECE 511 Microprocessors Fall Semester

More information

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc. SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance

More information

User manual DinaSys DTC/DTS and DTC/DTZ

User manual DinaSys DTC/DTS and DTC/DTZ PiCommIT has developed the DinaSys DTC/DTS and DinaSys DTC/DTZ turntable controller for the Fleischmann / Marklin Turntables in scale H0, H0m, TT, N and Z. One of the most important starting point was

More information

Massachusetts Institute of Technology

Massachusetts Institute of Technology Objectives Massachusetts Institute of Technology Robotics: Science and Systems I Lab 1: System Overview and Introduction to the µorcboard Distributed: February 4, 2015, 3:30pm Checkoffs due: February 9,

More information

The Answer to the 14 Most Frequently Asked Modbus Questions

The Answer to the 14 Most Frequently Asked Modbus Questions Modbus Frequently Asked Questions WP-34-REV0-0609-1/7 The Answer to the 14 Most Frequently Asked Modbus Questions Exactly what is Modbus? Modbus is an open serial communications protocol widely used in

More information

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT ELECTRONICS ENGINEERING DEPARTMENT SVNIT, SURAT-395007, INDIA Prepared by: Anurag Gupta (U05EC401) Dhrumeel Bakshi (U05EC326) Dileep Dhakal

More information

RADIANT PLASMA 4700 Plasma Spark Generator

RADIANT PLASMA 4700 Plasma Spark Generator RADIANT PLASMA 4700 Plasma Spark Generator Installation Guide / User Manual A S P A R K O F F R E S H A I R Aquapulser.com Contents 1 Introduction 2 1.1 About the Product....................................

More information

ABB Drives. User s Manual HTL Encoder Interface FEN-31

ABB Drives. User s Manual HTL Encoder Interface FEN-31 ABB Drives User s Manual HTL Encoder Interface FEN-31 HTL Encoder Interface FEN-31 User s Manual 3AUA0000031044 Rev B EN EFFECTIVE: 2010-04-06 2010 ABB Oy. All Rights Reserved. 5 Safety instructions

More information

How to read this guide

How to read this guide How to read this guide The following shows the symbols used in this Quick start guide with descriptions and examples. Symbol Description Example P oint Reference Caution [ ] This symbol explains information

More information

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip Pulse Width Modulation (PWM) LED Dimmer Circuit Using a 555 Timer Chip Goals of Experiment Demonstrate the operation of a simple PWM circuit that can be used to adjust the intensity of a green LED by varying

More information

Pololu DRV8835 Dual Motor Driver Shield for Arduino

Pololu DRV8835 Dual Motor Driver Shield for Arduino Pololu DRV8835 Dual Motor Driver Shield for Arduino Pololu DRV8835 Dual Motor Driver Shield for Arduino, bottom view with dimensions. Overview This motor driver shield and its corresponding Arduino library

More information

Tutorials Drawing a 555 timer circuit

Tutorials Drawing a 555 timer circuit Step 1 of 10: Introduction This tutorial shows you how to make an electronic circuit using Livewire and PCB Wizard 3. You should follow this tutorial to learn the basic skills you will need to use Livewire

More information

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on

More information

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation UPS PIco Uninterruptible Power Supply with Peripherals and I 2 C control Interface to be used with Raspberry Pi B+, A+, B, and A HAT Compliant Raspberry Pi is a trademark of the Raspberry Pi Foundation

More information

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1 RN-WIFLYCR-UM-.01 RN-ISP-UM In-System Programmer 2012 Roving Networks. All rights reserved. Version 1.1 1/19/2012 USER MANUAL www.rovingnetworks.com 1 OVERVIEW You use Roving Networks In-System-Programmer

More information

DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD

DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD PRELIMINARY DATA SHEET Wednesday, 16 May 2012 Version 0.5 Copyright 2000-2012 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes

More information

LED board datasheet EB004-00-2

LED board datasheet EB004-00-2 LED board datasheet EB004-00-2 Contents 1 About this document... 2 2 General information... 3 3 Board layout... 4 4 Testing this product... 5 5 Circuit description... 6 Appendix 1 Circuit Diagram Copyright

More information

Electronic WorkBench tutorial

Electronic WorkBench tutorial Electronic WorkBench tutorial Introduction Electronic WorkBench (EWB) is a simulation package for electronic circuits. It allows you to design and analyze circuits without using breadboards, real components

More information

Ocean Controls RC Servo Motor Controller

Ocean Controls RC Servo Motor Controller Ocean Controls RC Servo Motor Controller RC Servo Motors: RC Servo motors are used in radio-controlled model cars and planes, robotics, special effects, test equipment and industrial automation. At the

More information

Waspmote. Quickstart Guide

Waspmote. Quickstart Guide Waspmote Quickstart Guide Index Document version: v4.3-11/2014 Libelium Comunicaciones Distribuidas S.L. INDEX 1. Introduction... 3 2. General and safety information... 4 3. Waspmote s Hardware Setup...

More information

Switch board datasheet EB007-00-1

Switch board datasheet EB007-00-1 Switch board datasheet EB007-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix 1 Circuit diagram

More information

User Guide Reflow Toaster Oven Controller

User Guide Reflow Toaster Oven Controller User Guide Reflow Toaster Oven Controller Version 1.5-01/10/12 DROTEK Web shop: www.drotek.fr SOMMAIRE 1. Introduction... 3 2. Preparation of THE REFLOW CONTROLLER... 4 2.1. Power supply... 4 2.2. USB

More information

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors Electronics Exercise 3: Uni-Polar Stepper Motor Controller / Driver Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles

More information

XS-3525/8S-3. Preliminary DataSheet Version 2.02

XS-3525/8S-3. Preliminary DataSheet Version 2.02 XS-3525/8S-3 Preliminary DataSheet Version 2.02 X The XS-3525/8S-3 microstepping stepper motor driver is the perfect choice for CNC retrofitting of desktop and small benchtop milling machines. Connect

More information

Bob Rathbone Computer Consultancy

Bob Rathbone Computer Consultancy Raspberry PI Stepper Motor Constructors Manual Bob Rathbone Computer Consultancy www.bobrathbone.com 20 th of December 2013 Bob Rathbone Raspberry PI Robotic Arm 1 Contents Introduction... 3 Raspberry

More information

MC433 Stepper Motor Controller

MC433 Stepper Motor Controller MC433 Stepper Motor Controller 4 Axis, 10A PWM Hardware Reference Guide PCB Rev 1.1,1.1b MC433 Rev 1-1(b) Hardware Reference Guide Manual Revision 0.95 Warranty Statement SOC Robotics warrants that the

More information

MODEL 2202IQ (1991-MSRP $549.00)

MODEL 2202IQ (1991-MSRP $549.00) F O R T H E L O V E O F M U S I C F O R T H E L O V E O F M U S I C MODEL 2202IQ (1991-MSRP $549.00) OWNER'S MANUAL AND INSTALLATION GUIDE INTRODUCTION Congratulations on your decision to purchase a LINEAR

More information

EET272 Worksheet Week 9

EET272 Worksheet Week 9 EET272 Worksheet Week 9 answer questions 1-5 in preparation for discussion for the quiz on Monday. Finish the rest of the questions for discussion in class on Wednesday. Question 1 Questions AC s are becoming

More information

Setup for PWM Tests of BLDC Motor

Setup for PWM Tests of BLDC Motor Setup for PWM Tests of BLDC Motor Author: Arber Nicaj Date: 11/11/13 Abstract This application note examines BLDC motor control and offers a solution for setting up a BLDC motor for PWM testing using Texas

More information

Design Project: Power inverter

Design Project: Power inverter Design Project: Power inverter This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/,

More information

Model SETR-50 and SETR-51 Trim Tab Control

Model SETR-50 and SETR-51 Trim Tab Control Model SETR-50 and SETR-51 Trim Tab Control Pictured above is the SETR-50 with black switches on a gray background. The SETR-51 is identical except for the color, wherein it has black switches on a black

More information

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16)

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16) PCAN-MicroMod Universal I/O Module with CAN Interface User Manual Document version 2.1.0 (2014-01-16) Products taken into account Product Name Part number Model PCAN-MicroMod IPEH-002080 with firmware

More information

Open Source 100kW Electric Vehicle Controller/Inverter

Open Source 100kW Electric Vehicle Controller/Inverter Open Source 100kW Electric Vehicle Controller/Inverter To be used with an AC Induction Motor Description By Tony Ahmann Abstract The Open Source 100kW Electric Vehicle Controller/Inverter acts as the bridge

More information

Microstep Driver Manual Version 6/13/2006

Microstep Driver Manual Version 6/13/2006 Microstep Driver Manual Version 6/13/2006 Embedded Acquisition Systems 2517 Cobden Street Sterling Heights, MI 48310 http://www.embeddedtronics.com email sales@embeddedtronics.com copyright 2003-2004 EAS

More information

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware A+ Guide to Managing and Maintaining Your PC, 7e Chapter 1 Introducing Hardware Objectives Learn that a computer requires both hardware and software to work Learn about the many different hardware components

More information

HP 8970B Option 020. Service Manual Supplement

HP 8970B Option 020. Service Manual Supplement HP 8970B Option 020 Service Manual Supplement Service Manual Supplement HP 8970B Option 020 HP Part no. 08970-90115 Edition 1 May 1998 UNIX is a registered trademark of AT&T in the USA and other countries.

More information

Analog control unit for mobile robots

Analog control unit for mobile robots Analog control unit for mobile robots Soldering kit for experimentation For Fischertechnik robots and others Most diverse functions Requires no programming Patented sensor technology Summary We are pleased

More information

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff Supply voltage Supervisor TL77xx Series Author: Eilhard Haseloff Literature Number: SLVAE04 March 1997 i IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to

More information

Study Guide for the Electronics Technician Pre-Employment Examination

Study Guide for the Electronics Technician Pre-Employment Examination Bay Area Rapid Transit District Study Guide for the Electronics Technician Pre-Employment Examination INTRODUCTION The Bay Area Rapid Transit (BART) District makes extensive use of electronics technology

More information

Arduino Motor Shield (L298) Manual

Arduino Motor Shield (L298) Manual Arduino Motor Shield (L298) Manual This DFRobot L298 DC motor driver shield uses LG high power H-bridge driver Chip L298P, which is able to drive DC motor, two-phase or four phase stepper motor with a

More information

Transistor Amplifiers

Transistor Amplifiers Physics 3330 Experiment #7 Fall 1999 Transistor Amplifiers Purpose The aim of this experiment is to develop a bipolar transistor amplifier with a voltage gain of minus 25. The amplifier must accept input

More information

ezsystem elab16m Project 1F: Alarm System (Full Project description)

ezsystem elab16m Project 1F: Alarm System (Full Project description) ezsystem elab16m Project 1F: Alarm System (Full Project description) ezsystem The aim of ezsystem is to enable Creativity and Innovation at an early age in a Problem Based Learning (PBL) approach. ezsystem

More information

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Adafruit MCP9808 Precision I2C Temperature Sensor Guide Adafruit MCP9808 Precision I2C Temperature Sensor Guide Created by lady ada Last updated on 2014-04-22 03:01:18 PM EDT Guide Contents Guide Contents Overview Pinouts Power Pins I2C Data Pins Optional Pins

More information

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER 2014 Amplifier - 1 FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER The objectives of this experiment are: To understand the concept of HI-FI audio equipment To generate a frequency response curve for an audio

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm Six-servo Robot Arm 1 1, Introduction 1.1, Function Briefing Servo robot, as the name suggests, is the six servo motor-driven robot arm. Since the arm has a few joints, we can imagine, our human arm, in

More information

Programming the VEX Robot

Programming the VEX Robot Preparing for Programming Setup Before we can begin programming, we have to set up the computer we are using and the robot/controller. We should already have: Windows (XP or later) system with easy-c installed

More information

LG Air Conditioning Multi F(DX) Fault Codes Sheet. Multi Split Units

LG Air Conditioning Multi F(DX) Fault Codes Sheet. Multi Split Units Multi Split Units If there is a fault on any LG Multi unit, an Error mark is indicated on the display window of the indoor unit, wired-remote controller, and LED s of outdoor unit control board. A two

More information

Talon and Talon SR User Manual

Talon and Talon SR User Manual Talon and Talon SR User Manual Brushed DC motor controller Version 1.3 Cross the Road Electronics, LLC www.crosstheroadelectronics.com Cross The Road Electronics, LLC Page 1 4/2/2013 Device Overview Clear,

More information

Using Xbee 802.15.4 in Serial Communication

Using Xbee 802.15.4 in Serial Communication Using Xbee 802.15.4 in Serial Communication Jason Grimes April 2, 2010 Abstract Instances where wireless serial communication is required to connect devices, Xbee RF modules are effective in linking Universal

More information

Controlling a Dot Matrix LED Display with a Microcontroller

Controlling a Dot Matrix LED Display with a Microcontroller Controlling a Dot Matrix LED Display with a Microcontroller By Matt Stabile and programming will be explained in general terms as well to allow for adaptation to any comparable microcontroller or LED matrix.

More information

Serial Communications

Serial Communications April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual

More information

PCB Artist Tutorial:

PCB Artist Tutorial: Derek Brower browerde@msu.edu Capstone Design Team 6 PCB Artist Tutorial: Printed Circuit Board Design Basics N o v e m b e r 1 4, 2 0 1 2 P C B B a s i c s P a g e 1 Abstract PCB Artist is a schematic

More information

IR Communication a learn.sparkfun.com tutorial

IR Communication a learn.sparkfun.com tutorial IR Communication a learn.sparkfun.com tutorial Available online at: http://sfe.io/t33 Contents Getting Started IR Communication Basics Hardware Setup Receiving IR Example Transmitting IR Example Resources

More information

EasyC. Programming Tips

EasyC. Programming Tips EasyC Programming Tips PART 1: EASYC PROGRAMMING ENVIRONMENT The EasyC package is an integrated development environment for creating C Programs and loading them to run on the Vex Control System. Its Opening

More information

Project Plan. Project Plan. May13-06. Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

Project Plan. Project Plan. May13-06. Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai Project Plan May13-06 Logging DC Wattmeter Team Member: Ailing Mei Andrew Kom Chongli Cai Advisor : Collin Christy Client: Garmin International David Hoffman Qiaoya Cui Table of Contents Need Statement...

More information

Troubleshooting and Diagnostics

Troubleshooting and Diagnostics Troubleshooting and Diagnostics The troubleshooting and diagnostics guide provides instructions to assist in tracking down the source of many basic controller installation problems. If there is a problem

More information

Designing VM2 Application Boards

Designing VM2 Application Boards Designing VM2 Application Boards This document lists some things to consider when designing a custom application board for the VM2 embedded controller. It is intended to complement the VM2 Datasheet. A

More information

By: John W. Raffensperger, Jr. Revision: 0.1 Date: March 14, 2008

By: John W. Raffensperger, Jr. Revision: 0.1 Date: March 14, 2008 Introduction Page 1 of 13 So, you got your AX-12+ servos, you got your USB2Dynamixel, you connected things up, fire up the software, and wala! Nothing happens. Welcome to the club! There are at least four

More information