[PDF] Arduino Robotics.pdf Chapter 2: Arduino for Robotics .





Previous PDF Next PDF



Arduino tutorial pdf sinhala

(codes) (circuit) . .. (programming code) . . C. (programming language) . components (Module) . . . . Project 1.1 – Push Button LED.



An Open Source Hardware & Software online raingauge for real

Figure 1: Sri Lanka's Arduino: The Lakduino. Since Arduino systems are open basic information and an online store (in LKR) with postal delivery along ...



Conference Proceedings

Jul 26 2018 Sinhala Character Recognition using Tesseract OCR ... Arduino this will monitor the air quality accurately. The main objectives of this ...





Arduino projects sinhala pdf

Hope you enjoy the course.Basic Introduction to the use of Micro-contollers in Robotics & Electronics Introduction to the Arduino Platform



Arduino sinhala pdf free download

Arduino sinhala pdf free download . . army blue 2 report example. 30 Arduino UNO x 1 Breadboard x 1 USB Cable x 1 LED x1 Resistor 220Ω x1 Push button x1 ...



PROCEEDINGS - International Research Conference on Smart

Sep 24 2020 ... Sinhala language. Despite the fact that there are syntax checking ... Arduino UNO powered by an. ATmega328P microcontroller for getting ...



Online HTTP Information Server and SMS Alerts System for Mobile

As the Mobile Weather Stations were built on Arduino open source platform this system uses an Arduino compatible GSM shield for the SMS and GPRS wireless 



Information and Communication Technology

https://www.plcacademy.com/arduino-tutorial-for-beginners-chapter-1/. https English-Sinhala-Tamil Glossary. No English. Sinhala. Tamil. 1. abstract model.



Information and Communication Technology

3.0 Basic Competencies (MDS) (Arduino Board Raspberry Pi board



Programming with Arduino (PDF)

Oct 16 2018 With this textbook you will learn the basics about computers



Arduino - Programming Notebook.pdf

Beginning with the basic structure of Arduino's C derived programming language this notebook continues on to describe the syntax of the most common elements of 



eOMAL ICT Resource book.pdf

Extreme user friendliness due to the use of wrapper functions (basic programming knowledge with any programming language is sufficient). Arduino.



An Intelligent Postal Mail Sorter: Sinhala Hand Written Address

An Intelligent Postal Mail Sorter: Sinhala Hand Written Address. Recognition Method Using Geometric Arduino microprocessor. The sorting mechanism is ...



Arduino Robotics.pdf

Chapter 2: Arduino for Robotics . Beginning Arduino by Michael McRoberts (2010) ... A basic Arduino board can be found online for around.



Lexical retrieval in bilingual Sinhala-English and monolingual

Nov 22 2017 1.5 The Sinhala language and aphasia research in Sinhala ... from the language processing system while also providing a basic framework ...



L293D Based Arduino Motor Shield

The H-Bridge Chip is not supported for driving load over 0.6A over 1.2A so this it means that this chip is for small motors. Check the datasheet below to learn 



ACS712

Basic Isolation Voltage. VISO(bsc). Pins 1-4 and 5-8; 60 Hz 1 minute



Grade 9 - Reading Book

Director National Book Development Council of Sri Lanka



Online HTTP Information Server and SMS Alerts System for Mobile

As the Mobile Weather Stations were built on Arduino open source platform Declaration of the setup function witch runs at the beginning of the runtime.

www.it-ebooks.info

Arduino Robotics

John-David Warren

Josh Adams

Harald Molle

www.it-ebooks.info Arduino Robotics Copyright © 2011 by John-David Warren, Josh Adams, and Harald Molle

All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,

electronic or mechanical, including photocopying, recording, or by any information storage or retrieval

system, without the prior written permission of the copyright owner and the publisher.

ISBN-13 (pbk): 978-1-4302-3183-7

ISBN-13 (electronic): 978-1-4302-3184-4

Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only

in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of

the trademark.

The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are

not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject

to proprietary rights.

President and Publisher: Paul Manning

Lead Editor: Michelle Lowman and James Markham

Technical Reviewer: Guilherme Martins and Josh Adams Editorial Board: Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Jeff Olson, Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh

Coordinating Editor: Anita Castro

Copy Editor: Ginny Munroe and Mary Ann Fugate

Compositor: Bytheway Publishing Services

Indexer: BIM Indexing & Proofreading Services

Artist: April Milne

Cover Designer: Anna Ishchenko

Distributed to the book trade worldwide by Springer Science+Business Media, LLC., 233 Spring Street,

6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail

orders-ny@springer- sbm.com , or visit www.springeronline.com.

For information on

translations, please e-mail rights@apress.com , or visit www.apress.com. Apress and friends of ED books may be purchased in bulk for acad emic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales-eBook Licensing web page at www.apress.com/info/bulksales. The information in this book is distributed on an "as is" basis, without warranty. Although every

precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have

any liability to any person or entity with respect to any loss or damage caused or alleged to be caused

directly or indirectly by the information contained in this work. The source code for this book is available to readers at www.apress.com. You will need to answer questions pertaining to this book in order to successfully download the code. www.it-ebooks.info To my dad, Poppy, and Papa Bert for showing me that even ordinary men can be extraordinary.

John-David Warren

www.it-ebooks.info iv

Contents at a Glance

About the Authors................................................................................................xix

About the Technical Reviewers ...........................................................................xxi

Chapter 1: Introducing Oracle APEX.......................................................................1

Chapter 1: The Basics.............................................................................................1

Chapter 2: Arduino for Robotics ...........................................................................51

Chapter 3: Let"s Get Moving..................................................................................83

Chapter 4: Linus the Line-Bot .............................................................................119

Chapter 5: Wally the Wall-Bot.............................................................................169

Chapter 6: Making PCBs.....................................................................................203

Chapter 7: The Bug-Bot.......................................................................................257

Chapter 8: Explorer-Bot......................................................................................295

Chapter 9: RoboBoat...........................................................................................331

Chapter 10: Lawn-Bot 400..................................................................................403

Chapter 11: The Seg-Bot.....................................................................................453

Chapter 12: The Battle-Bot .................................................................................513

Chapter 13: Alternate Control.............................................................................563

Index...................................................................................................................581 www.it-ebooks.info

v

Contents

About the Authors................................................................................................xix

About the Technical Reviewers ...........................................................................xxi

Chapter 1: The Basics.............................................................................................1

Electrical Analogy.....................................................................................................................................3

Electrical Basics.......................................................................................................................................4

Circuits .....................................................................................................................................................6

Measuring Electricity................................................................................................................................7

Measuring Voltage....................................................................................................................................8

Measuring Amperage...............................................................................................................................9

Measuring Capacitance............................................................................................................................9

Measuring Resistance............................................................................................................................10

Calculating Resistor Power Using Ohm"s Law........................................................................................11

Oscilloscope ...........................................................................................................................................12

Electrical Connections............................................................................................................................14

Datasheets..............................................................................................................................................16 www.it-ebooks.info

CONTENTS

vi Integrated Circuits..................................................................................................................................17

Through-Hole Components.....................................................................................................................18

Arduino Primer.................................................................................................................20

Arduino Variants.....................................................................................................................................20

Arduino IDE.............................................................................................................................................23

The Sketch..............................................................................................................................................24

Building Circuits...............................................................................................................35

Circuit Design.........................................................................................................................................35

Building a Robot ..............................................................................................................46

Work Area...............................................................................................................................................48

Chapter 2: Arduino for Robotics ...........................................................................51

Interfacing Arduino..........................................................................................................51

Interfacing a Motor-Controller................................................................................................................65

User Control.....................................................................................................................68

Tethered (Wired) Control ........................................................................................................................68

Infrared Control (IR)................................................................................................................................68

Radio Control Systems ...........................................................................................................................69

Sensor Navigation............................................................................................................72

Contact Sensing................................................................................................................

......................72

Distance and Reflection Sensing............................................................................................................73 www.it-ebooks.info

CONTENTS

vii Orientation (Positioning).........................................................................................................................76

Non-Autonomous Sensors......................................................................................................................79

Chapter 3: Let"s Get Moving..................................................................................83

Electric Motors................................................................................................................

.83

Brushed DC Motor (Permanent Magnet Type)........................................................................................84

Brushless Motors....................................................................................................................................84

Stepper Motors.......................................................................................................................................85

Gear Motors............................................................................................................................................86

Servo Motors..........................................................................................................................................86

Linear Actuators.....................................................................................................................................87

Calculating Power...................................................................................................................................87

Finding the Right Motor..........................................................................................................................88

The H-Bridge....................................................................................................................89

Generating a Brake.................................................................................................................................90

H-Bridge ICs ...........................................................................................................................................93

Changing PWM Frequencies...................................................................................................................93

Back EMF................................................................................................................................................96

Current Sensing......................................................................................................................................96

Commercial H-Bridges (Motor-Controllers)............................................................................................98

Nickel Cadmium (NiCad).......................................................................................................................100

Nickel Metal Hydride (NiMH).................................................................................................................101

Lithium Polymer (LiPo)..........................................................................................................................101

Lead-Acid .............................................................................................................................................101

Charging...............................................................................................................................................103 www.it-ebooks.info

CONTENTS

viii

Nuts and Bolts......................................................................................................................................104

Chain and Sprockets ............................................................................................................................105

Chapter 4: Linus the Line-Bot .............................................................................119

Parts List for Linus.........................................................................................................120

How Linus Works...........................................................................................................122

The Track..............................................................................................................................................123

Building the IR Sensor Board.........................................................................................123

Modifying a Servo for Continuous Rotation...................................................................132

Method 1: Direct DC Drive with External Speed Controller...................................................................133

Method 2: Servo Pulse Drive with Internal Motor Driving Circuitry......................................................135

Fitting the Drive wheels.................................................................................................137

Making a Frame.............................................................................................................141

Making Connections......................................................................................................148

Installing Batteries.........................................................................................................150

Install Power Switch.............................................................................................................................150

Loading the Code...........................................................................................................150

Making the Track...........................................................................................................156

LED Lights.............................................................................................................................................158

Painting .......................................................................................................................

.........................160 www.it-ebooks.info

CONTENTS

ix Adding Speed Regulator (Potentiometer).............................................................................................164

Chapter 5: Wally the Wall-Bot.............................................................................169

How Wally Works...........................................................................................................170

Parts List for Wally.........................................................................................................172

The Motor-Controller .....................................................................................................173

The High-Side Switches.......................................................................................................................174

The Low-Side Switches........................................................................................................................174

Building the Circuit...............................................................................................................................176

Building the Frame ........................................................................................................182

Installing the Sensors....................................................................................................187

Installing the Battery and Power Switch........................................................................190

Installing a Power Switch......................................................................................................

...............191

The Code........................................................................................................................192

Code Objectives....................................................................................................................................193

Chapter 6: Making PCBs.....................................................................................203

PCB Basics.....................................................................................................................203

What You Need to Get Started.......................................................................................204

Circuit Design ................................................................................................................206

Searching for Open-Source Designs ....................................................................................................207

Making Your Own Designs....................................................................................................................208

Working with the Schematic Editor......................................................................................................211

Working with the Board Editor..............................................................................................................216

Transferring the Design.................................................................................................226

Let"s Make an Arduino Clone: the Jduino.............................................................................................227

Making the Transfer.............................................................................................................................228 www.it-ebooks.info

CONTENTS

x

Measuring the Solution.........................................................................................................................237

Etching: Method 1.................................................................................................................................238

Etching: Method 2.................................................................................................................................239

Removing the Toner .............................................................................................................................242

Drilling ...........................................................................................................................245

Soldering .......................................................................................................................246

Building the Arduino Clone...................................................................................................................247

Building the BJT H-Bridge....................................................................................................................250

Chapter 7: The Bug-Bot.......................................................................................257

Reading a Switch with Arduino .....................................................................................258

How the Bug-bot Works.................................................................................................259

Antennae Sensors ................................................................................................................................259

Bumper Sensors...................................................................................................................................260

Parts List for the Bug-bot ..............................................................................................260

The Motors.....................................................................................................................261

Modifying the Servo Motors .................................................................................................................261

Controlling the Servo Motors................................................................................................................264

Converting the Pulse Value to Degrees ................................................................................................265

Mounting the Wheels to the Servos......................................................................................................266

Building the Frame ........................................................................................................267

Marking the PlexiGlass.........................................................................................................

................267

Cutting the PlexiGlass...........................................................................................................................269

Mounting the Motors............................................................................................................................271

Mounting the Caster Wheels ................................................................................................................272 www.it-ebooks.info

CONTENTS

xi Mounting the Arduino...........................................................................................................................274

Installing the Battery ............................................................................................................................275

Making the Sensors.......................................................................................................277

The Front Antennae Sensors................................................................................................................277

The Rear Bump Sensors.......................................................................................................................278

Making Wire Connections..............................................................................................281

Loading the Code...........................................................................................................283

Creating a Delay...................................................................................................................................283

The Code...............................................................................................................................................285

Making a Top Hat...........................................................................................................292

Chapter 8: Explorer-Bot......................................................................................295

How the Explorer-Bot Works .........................................................................................296

R/C Control ...........................................................................................................................................296

Powerful Motors...................................................................................................................................297

Current Sensing....................................................................................................................................297

Video-Enabled ......................................................................................................................................297

Parts List for the Explorer-Bot.......................................................................................298

Building the Frame ........................................................................................................300

Adding Battery Bracket.........................................................................................................................301

Cut Top Frame Brackets.......................................................................................................................303

Cut Top Frame Braces..........................................................................................................................303

Cut and Bend Main Frame Piece..........................................................................................................304

Add Crossbar and Mount Caster Wheel................................................................................................306 www.it-ebooks.info

CONTENTS

xii

Building the Motor Controller.........................................................................................308

Current Sensing and Limiting...............................................................................................................309

H-bridge Design....................................................................................................................................309

Setting Up the Arduino...................................................................................................313

Connecting the H-Bridges ....................................................................................................................314

Setting Up Xbee.............................................................................................................315

Testing the Xbees.................................................................................................................................317

Adding a Camera...........................................................................................................318

Pan and Tilt...........................................................................................................................................319

Make First Bracket...............................................................................................................................319

Make Second Bracket...........................................................................................................................321

Loading the Code...........................................................................................................321

Chapter 9: RoboBoat...........................................................................................331

Some Words in Advance................................................................................................332

Parts List for the RoboBoat............................................................................................332

Polystyrene Foam.................................................................................................................................335

Epoxy Resin..........................................................................................................................................336

Fiberglass Fabric..................................................................................................................................336

Glue ......................................................................................................................................................338

Styrofoam Cutter and Razor Knife...............................................................................................

.........338

The RoboBoat Design.....................................................................................................338

Assembling the Boat......................................................................................................340

The Templates......................................................................................................................................340

Gluing the Templates on the EPS/XPS Board .......................................................................................342 www.it-ebooks.info

CONTENTS

xiii Cutting Out the Segments ....................................................................................................................343

Gluing the Segments Together.............................................................................................................346

Inserting the Foam Anchors .................................................................................................................347

The Coating...........................................................................................................................................348

Applying the Finish...............................................................................................................................350

The Fins................................................................................................................................................350

Painting .......................................................................................................................

.........................351

The Deck...............................................................................................................................................351

Completing the Assembly.....................................................................................................................352

The Propulsion Assembly...............................................................................................356

The Baseplate.......................................................................................................................................357

The Pivot......................................................................................................................

.........................358

The Tube...............................................................................................................................................359

The Rudder Horns.................................................................................................................................360

The Motor.............................................................................................................................................360

The Servo..............................................................................................................................................361

The Pushrods........................................................................................................................................361

The Heart of the System: The ArduPilot PCB........................................................................................362

The GPS Module ...................................................................................................................................363

The Electronic Speed Controller (ESC)..................................................................................................364

The Motor.............................................................................................................................................365

The Rudder Servo.................................................................................................................................365

The Battery Pack ..................................................................................................................................365

Assembling the Electronics..................................................................................................................365

Software and Mission Planning.....................................................................................368

GPS Receivers......................................................................................................................................368

The Software........................................................................................................................................369 www.it-ebooks.info

CONTENTS

xiv Installing the Software .........................................................................................................................387

Mission Planning...............................................................................................................

...................392

Putting It All Together....................................................................................................396

Integrating the System.........................................................................................................................397

Ships Ahoy!...........................................................................................................................................399

The Thrust of the Motor/Propeller Is Not Sufficient..............................................................................400

The Motor Does Not Start.....................................................................................................................401

Chapter 10: Lawn-Bot 400..................................................................................403

How the Lawn-bot 400 Works.......................................................................................404

Lawn Mower Deck................................................................................................................................405

High-Capacity Batteries........................................................................................................................406

Steel Frame..........................................................................................................................................406

Pneumatic Tires....................................................................................................................................406

Tools and Parts List.......................................................................................................407

Parts Lists.............................................................................................................................................407

The Wheels....................................................................................................................408

Front Caster Wheels.............................................................................................................................409

Rear Drive Wheels................................................................................................................................409

Installing Sprockets..............................................................................................................................410

The Frame......................................................................................................................412

The Drive-Train..............................................................................................................420 www.it-ebooks.info

CONTENTS

xv Motor Mount Brackets..........................................................................................................................420

Installing the Chain...............................................................................................................................424

The Motor Controller......................................................................................................427

Buying a Motor Controller.....................................................................................................................427

Cooling Fans.........................................................................................................................................429

Motor Controller feedback....................................................................................................................429

The Arduino ...................................................................................................................430

Securing Connections for a Bumpy Ride..............................................................................................431

The Failsafe...................................................................................................................435

R/C Toggle Switch................................................................................................................................436

Power Relays........................................................................................................................................439

Avoiding an R/C Failsafe.......................................................................................................................440

Making Connections......................................................................................................441

The Code........................................................................................................................442

Adding Cosmetics and Accessories...............................................................................447

Painting .......................................................................................................................

.........................447

Dump Bucket........................................................................................................................................449

Lawnmower Kill-Switch .......................................................................................................................451

Chapter 11: The Seg-Bot.....................................................................................453

How the Seg-Bot Works.................................................................................................455

Inertial Measurement Unit....................................................................................................................455

Steering and Gain.................................................................................................................................455

Engage Switch......................................................................................................................................455

Parts List for the Seg-Bot..............................................................................................456

Selecting the Right Sensors ..........................................................................................457 www.it-ebooks.info

CONTENTS

xvi 3.3v Power............................................................................................................................................459

Gyroscope Versus Accelerometer Summary........................................................................................463

Filtering the Angle................................................................................................................................463

Making the IMU Adapter Board......................................................................................464

Selecting the Motors......................................................................................................465

Electric Brake Removal ........................................................................................................................467

Motor Mounting Position ......................................................................................................................471

Selecting the Motor Controller.......................................................................................472

SoftwareSerial Library..........................................................................................................................473

Sabertooth Simplified Serial.................................................................................................................474

The Batteries .................................................................................................................475

Sealed Lead-Acid..................................................................................................................................475

12v Supply.....................................................................................................................

.......................476

The Frame......................................................................................................................477

Frame Design .......................................................................................................................................478

Building the Frame...............................................................................................................................479

Gain ......................................................................................................................................................483

Engage Switch......................................................................................................................................483

Mounting the Inputs to the Frame........................................................................................................484

Installing the Electronics...............................................................................................488

Soldering the Inputs .............................................................................................................................491

Wiring the Connections ........................................................................................................................492 www.it-ebooks.info

CONTENTS

xvii

Reviewing the Code.......................................................................................................493

The sample_accel() Function ...............................................................................................................494

The sample_gyro() Function.................................................................................................................494

Checking the Angle Readings...............................................................................................................496

The calculate_angle() Function............................................................................................................496

quotesdbs_dbs17.pdfusesText_23
[PDF] arduino for beginners pdf

[PDF] arduino for beginners projects

[PDF] arduino for beginners step by step guide to arduino

[PDF] arduino for beginners tutorial

[PDF] arduino for beginners youtube

[PDF] arduino for beginners: step by step guide to arduino arduino hardware software pdf

[PDF] arduino ftdi programmer is not responding

[PDF] arduino ide code

[PDF] arduino led projects

[PDF] arduino made simple pdf

[PDF] arduino measurement projects for beginners pdf

[PDF] arduino mega 2560 programmer is not responding

[PDF] arduino mega projects

[PDF] arduino microcontroller syllabus

[PDF] arduino nano programmer is not responding