Linksprite Arduino Motorshield. Introduction

Similar documents
Arduino Motor Shield (L298) Manual

Pololu DRV8835 Dual Motor Driver Shield for Arduino

RB-See-211. Seeedstudio Grove 6-15V, 2A Dual I2C Motor Driver. Grove - I2C Motor Driver. Introduction

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

Electronic Brick of Current Sensor

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

Arduino Lesson 16. Stepper Motors

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

1 of 5 12/31/ :51 AM

IAdea GPIO Extender Application Note

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

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

DEPARTMENT OF ELECTRONICS ENGINEERING

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

Lecture 7: Programming for the Arduino

UIM2901-5A MACH3 breakout board

WICE-SPI Hardware Operation Manual

Datasheet of the Easy Servo Motor ES-MH Series

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

Modern Robotics, Inc Core Device Discovery Utility. Modern Robotics Inc, 2015

SYSTEM 45. C R H Electronics Design

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

UniPi technical documentation REV 1.1

Three Arduino Challenges to Connect the Logical World with the Physical One. ISTE Philadelphia

Three Axis TB6560 CNC Driver Users Manual

Name Description P/N. Programmer Programmer with calibration function SDD-AAPNP. Parameter Min. Typ. Max. Notes. (Vo+ - Vo-) - Voltage

PN532 NFC RFID Module User Guide

SYSTEM 4C. C R H Electronics Design

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

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

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

INTRODUCTION TO SERIAL ARM

Four/Five Axis TB6560 CNC Driver Users Manual

CAN-Bus Shield Hookup Guide

Arduino Lesson 13. DC Motors. Created by Simon Monk

Discontinued Product For Reference Only

Datasheet of the Easy Servo Motor ES-M Series

GM862 Arduino Shield

X8 Option 2 - Technology

Lab 6 Introduction to Serial and Wireless Communication

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Board also Supports MicroBridge

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Microprocessor Project Laboratory

Arduino DUE + DAC MCP4922 (SPI)

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

Arduino Lesson 1. Blink

Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

DC Motor Driver 24V 20A [RKI-1340]

Lab Experiment 1: The LPC 2148 Education Board

Electrical Engineering Department College of Engineering California State University, Long Beach Long Beach, California, 90840

How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit

Analog Servo Drive 25A8

MD10C Enhanced 10Amp DC Motor Driver

Description. Dimensions. Features. precision works better

Datasheet of the Easy Servo Drive ES-D VDC, 8.2A Peak, Close-loop, No Tuning. Version

Arduino Shield Manual

Motorising the Peco Turntable - a different approach

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

Arduino Shield Manual

MOTION COORDINATOR MC206X Quick Connection Guide

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

The self-starting solar-powered Stirling engine

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

Basic Pulse Width Modulation

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

USER MANUAL V5.0 ST100

E-Blocks Easy Internet Bundle

MANUAL FOR RX700 LR and NR

MDC Series

Servo Info and Centering

ServoOne. Specification. Option 2 - Technology. x 11. x 8 X 8. x 10. x 9. x 7. x 6 TTL Encoder / TTL Encoder simulation

maxon motor maxon motor control EPOS Positioning Controller Cable Starting Set Edition June 2006 part number Positioning Controller

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

Arduino Lesson 14. Servo Motors

Advanced Data Capture and Control Systems

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual Rev.1

Access Control Using Smartcard And Passcode

Microcontroller Programming Beginning with Arduino. Charlie Mooney

CAUTION! THE 7I29 USES VOLTAGE AND POWER LEVELS THAT REPRESENT A HAZARD TO LIFE AND LIMB.

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

UPiS - Uninterruptible Power intelligent Supply

.OPERATING SUPPLY VOLTAGE UP TO 46 V

USB I/O CONTROL BOX 8 relays, 8 digital I/O lines and 8 HV inputs

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

DU-H3ETX. 3-port USB Hub with 1 NWAY Ethernet / Fast Ethernet Port. User s Guide

Programming the Arduino

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

Work with Arduino Hardware

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

GSM Interfacing Board

Ultrasonic Distance Measurement Module

with Electronic Assistant

IR Communication a learn.sparkfun.com tutorial

Digital Single Axis Controller

EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Transcription:

Linksprite Arduino Motorshield Introduction The Motor Shield is a perfect platform for robotics and mechanical applications. It enables the Arduino to drive two brushed DC motors or one 4-wire two-phase stepper motor. Based on the H- bridge driver Chip L298N motor driver integrated circuit, it requires a 6V to 15V power supply to power the motor and also includes an on-board 5V voltage regulator for powering the main Arduino board. Additional plug and play 2.00mm spacing Grove sensors can be connected to the 13 on-board Grove connectors.

Features Standard Arduino compatible Pulse-width modulated speed control mode 4 direction indicator lights with 2.00mm spacing Grove plug and play sensors Extra large heat sink helps handle big loads Supports up to 14 servos CAUTION: The Driver IC and Heat sink may become very hot when working with current more than 1000mA.

Specifications Item Min Typical Max Unit Logic Control Voltage 4.5 5 5.5 V Motor Supply Voltage 6 / 15 V Output Voltage 0 / Output Current( For Each Channel) / / Vinput -1 2000 * V ma Output Duty range 0%~100% / Dimension 68.5x54.5x29.5 mm Net Weight 37 g * Recommend maximum duty <50% at full load Interface Function Pin Name Direction Connection to Arduino Description VCC / VCC VS, GND / / EA Input D9 EB Input D10 IN1 Input D8 Power supply selector Power Supply for Motor, 6V - 15V Enable Input of Bridge A Enable Input of Bridge B

Inputs of the Bridge A IN2 Input D11 IN3 Input D12 IN4 Input D13 M1-, M1+ Output / M2-, M2+ Output / Inputs of the Bridge A Inputs of the Bridge B Inputs of the Bridge B Outputs of the Bridge A Outputs of the Bridge B Arduino Motor A Enable Pin: 9 Arduino Motor B Enable Pin: 10

Usage Jumpers Enable Motor B jumper: Connect above two interfaces with a jumper cap when driving the DC motor A. Enable Motor A jumper: Connect below two interfaces with a jumper cap when driving the DC motor B. Power supply select jumper: Connect with a jumper cap, Arduino can be powered by the drive voltage via a on-board voltage regulator, which regulate the drive voltage to 5v. Hardware Installation Connect DC motor to the motor shield Output Pins M1+& M1-(M2+& M2-), if using a 4-wire stepper motor, make sure the 4 Pins are correctly connected. And connect the drive voltage (The voltage needed is upon the motor used, Refer to the motor datasheet) to the Power supply terninals.

As the jumper J4 inserted, Arduino can be powered by the drive voltage via a on-board voltage regulator, which regulate the drive voltage to 5v.

Software Download the Motor shield Demo code and open the Motor_shield_demo_code sketch. Select the corresponding Arduino board in tools-boards and serial port in tools-serial port. Upload the sketch to your arduino board, then you would found the 2 motors begin to work. If you power the motor shield via the power terminal and the power jumper J4 was inserted, you can remove the USB cable now. Speed control is achieved through conventional PWM which can be obtained from Arduino's PWM output D9(EA) and D10(EB). Using the function analogwrite() to generate the drive PWM: int speedpina=9;//enable motor A int speedpinb=10;//enable motor B int spead =127;//define the spead of motor... analogwrite(speedpina,spead);//analogwrite to Generate PWM to control the motor speed analogwrite(speedpinb,spead); And Set the Digital D8(IN1) and D11(IN2) to control the motor attached to OUT1/2, while digital D12(IN3) and D13(IN4) to control motor attached to OUT3/4. int pini1=8;//define I1 interface int pini2=11;//define I2 interface... digitalwrite(pini2,high);//turn DC Motor A move clockwise digitalwrite(pini1,low);

Follows the logic between EA(B) and INx with motor motion: EA(B) IN1(IN3) IN2(IN4) Motion of MotorA(B) 0 x x Stop 1 0 0 Stop 1 0 1 Clockwise 1 1 0 Anticlockwise 1 1 1 Stop /* LinkSprite Stepper Motor Control - one revolution Adapts the Stepper example for use with the inksprite motor shield. This program drives a unipolar or bipolar stepper motor by using the included Stepper library of the Arduino. The motor is attached to the inksprite motor shield and an Arduino. The digital pins 8,11,12,13 drive the L298N and are used when creating the stepper object Digital pins 9 and 10 must be high to enable the chip. The motor should revolve one revolution in one direction, then one revolution in the other direction. */ #include <Stepper.h> const int stepsperrevolution = 200; // change this to fit the number of steps per revolution // for your motor // initialize the stepper library on pins 8 through 11: Stepper mystepper(stepsperrevolution, 8,11,12,13); void setup() { // set the speed at 60 rpm: mystepper.setspeed(60); // initialize the serial port: Serial.begin(9600); pinmode(9,output); pinmode(10,output);

} digitalwrite(9,high); digitalwrite(10,high); void loop() { // step one revolution in one direction: Serial.println("clockwise"); mystepper.step(stepsperrevolution); delay(500); step one revolution in the other direction: Serial.println("counterclockwise"); mystepper.step(-stepsperrevolution); delay(500); }