Modeling with Motion 3.1. Presented by Geoff Bunza

Similar documents
Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

Blue Point Engineering

Two Hour Robot. Lets build a Robot.

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

IT.MLD900 SENSORS AND TRANSDUCERS TRAINER. Signal Conditioning

Jet Central Sequencer Plus

Demon Pumpkin APPROXIMATE TIME (EXCLUDING PREPARATION WORK): 1 HOUR PREREQUISITES: PART LIST:

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

School of Engineering Mechatronics Engineering Department. Experim. ment no. 1

List of Items Available in the Laboratory the Lab

Electronic Components

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

TEAM DIGITAL. SMC4 Servo & Motor Controller

Index. n A. n B. n C. Base biasing transistor driver circuit, BCD-to-Decode IC, 44 46

An Arduino-based DCC Accessory Decoder for Model Railroad Turnouts. Eric Thorstenson 11/1/17

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours)

Blue Point Engineering

Montgomery Village Arduino Meetup Dec 10, 2016

Momentum and Impulse. Objective. Theory. Investigate the relationship between impulse and momentum.

Direct Current Waveforms

Controlling 280 Turnout Servos Using Small Push-Button Fascia Panels

TEAM DIGITAL. Servette TM Single Servo Controller

EXPERIMENT 6: Advanced I/O Programming

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

Bill of Materials: General Purpose Alarm, Pulsed PART NO

For Experimenters and Educators

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

TOP SERVO SIGNAL 5 SERVO SIGNAL 3 SERVO SIGNAL 4 SERVO SIGNAL 6 T B T B T B T B T B SERVO TRIGGER 1 BOTTOM

Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013

I. INTRODUCTION MAIN BLOCKS OF ROBOT

FIRST Robotics Control System

Actuators in Automatic Control System

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II

Multi-protocol decoder with Load Regulation for Locomotives with 21-way connector

ANATOMY OF A BIT TM how you can tell top from bottom. four on the floor!

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

Coding with Arduino to operate the prosthetic arm

Schematics for Breakout Examples

Introduction to Electronics and Breadboarding Circuits

DMC-8 (SKU#ROB )

AERO2705 Space Engineering 1 Week 7 The University of Sydney

3.5 hour Drawing Machines Workshop

Hand-Laying Turn-outs. By Brad Morneau

Example KodeKLIX Circuits

FABO ACADEMY X ELECTRONIC DESIGN


Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman

Experiment #3: Micro-controlled Movement

Introduction to Arduino HW Labs

Rangefinder Servo and LED Controller Board Hyperdyne Labs, 2001

TEAM DIGITAL. SC82 Servo Controller

EMBEDDED SYSTEMS AND KINETIC ART A NATURAL COLLABORATION. Erik Brunvand and Paul Stout. Kinetic art contains moving parts

Rodni What will yours be?

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. S4A - Scratch for Arduino Workbook

Hobby Servo Tutorial. Introduction. Sparkfun:

Mini Hexapodinno. 18-DOF Robot

Introduction: Components used:

Semiconductor 9/21/2015

UNITED MOTORS SERVICE AUTO RADIO BULLETIN

PLC BASED RAILWAY LEVEL CROSSING GATE CONTROL

FC Series Signal Conditioners

meped v2 Assembly Manual

Mechatronics Project Report

Acknowledgments...xvii. Introduction... Chapter 0: Setting Up and Useful Skills Chapter 1: The Reaction-Time Machine... 25

Built-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected.

Programming PIC Microchips

CMSC838. Tangible Interactive Assistant Professor Computer Science. Week 11 Lecture 20 April 9, 2015 Motors

Directions for Wiring and Using The GEARS II (2) Channel Combination Controllers

Final Report MAL-9000

U.S. Water Rockets. User Manual

REV A.1 CMCP810PC SERIES RUNOUT KIT INSTRUCTION MANUAL STI VIBRATION MONITORING INC

InnobotTM User s Manual

Easy Engineering Guide

Introduction to the Arduino Kit

Micromouse Meeting #3 Lecture #2. Power Motors Encoders

The Mind Project s Iris 1 Robotic Arm. Assembly instructions Step 1

Sensor and. Motor Control Lab. Abhishek Bhatia. Individual Lab Report #1

Marine Debris Cleaner Phase 1 Navigation

Robotic Vehicle Design

PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL.

DE1.3 Electronics 1. Tips on Team Projects

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED

the Multifunctional DCC decoder for servo s and accessory s with Arduino for everybody (with a DCC central station)

5v AC R. 12v. 1kohm. F=35KHz oscilloscope. 3 Final Project OFF. ON Toggle Switch. Relay 5v 2N3906 2N uF LM311. IR Detector +5v GND LED PNP NPN

28000 Series Size 11 Double Stack Hybrid Linear Actuators

Persistence of Vision LED Sphere

MECHATRONICS IN A BOX

DESIGN ~ND CONSTRUCTION OF ~ STEP ETCHING INSTRUMENT ~BSTR~CT

Making Your Railroad Real Infrared Detector/Signal Driver For Crossing Signals CFD-IF (V3)

Wing Gate Instructions. Applicable Models: FB1000 / FB3000 FB1200 / FB3200 Version: 1.0 Date: Jun. 2016

MOBILE ROBOT LOCALIZATION with POSITION CONTROL

Session 11 Introduction to Robotics and Programming mbot. >_ {Code4Loop}; Roochir Purani

87000 Series Size 34 Hybrid Linear Actuators

Electronics. RC Filter, DC Supply, and 555

RADIO ANTI TWO-BLOCK SYSTEM

43000 Series: Size 17 Single Stack Stepper Motor Linear Actuator

Transcription:

Modeling with Motion Scale Model Animation 3.1 Presented by Geoff Bunza

My Animation Influences Disneyland Great Moments with Mr. Lincoln Grabs and Holds the Imagination Pendon Museum (Long Wittenham, Abingdon, Oxfordshire, U.K.) preserves the idyllic rural scene and transport of the 1920s and 30s (pendonmuseum.com) The Model is the Story 2

What Makes Something Appear to Be Alive? 3

Animated versus Animation You can create animated features Blinking lights, Body movements, etc. When creating an animation consider the whole: Movement Light Sound Synchronization Story 4

Movement Circular (likely l continuous) Linear (movement along a line, possibly with pauses and reversals) Steered (forced path by track, trough, or other means) Guided (Intelligently steered without obvious constraints) Random (arbitrary, chaotic, non repeating) 5

Drives for Movement HiTec HS-55 LS-0003 Vibrator Motors Right Angle Drive Gearmotors Servo Motors Micro Stepper Motor Planetary Gearmotors Screw Drives Gearmotor Belt or String Drive 6

Motors and Gears 7

Simple Rotation One Direction 2mm Brass Tube w/ 2-56 Threaded End 2.5mm Guide Tube Hole Tapped For 2-56 Thread 8

Simple Rotation One Direction 9

Gear Reduction Drives 10

Gear Drives In Action Bring a Wrecking Crane to Life Model Railroad Hobbyist August 2012 http://tinyurl.com/mjtwdp4 11

Gear Drive Mounting Alternatives 12

Invite a Flock of Animated Cranes to Your Layout Model Railroad Hobbyist, To Be Published Q4 2015 13

Screw Drives 14

Screw Drives 15

Stall Motors 16

Teach Your Engineers to Turn Heads, Model Railroad Hobbyist, February 2013 http://mrhpub.com/2013-02-feb/land/#100

Belts and Bands 18

A Visit to Bob s Barber Shop Animation in HO Scale Railroad Model Craftsman. To Be Published 19

Band Drive 20

Hammer and Anvil 6mm Planetary Drive Motor 0.012 Wire Linkage to Arm 21

Hammer and Anvil 22

Turning DC Motors On Magnetic Reed Switch Switches Transistor Switch Hi In Low Out IR Proximity Sensor Hall Effect Magnetic Sensors Sensors (Environmental Switches) Relays (5V & 12V) (Switch on a Switch) L298N Dual H-Bridge DCC Decoders 23

Servo Motors 3G Servo Blade Servo 9G Servo 3-Wire Control: 1. 4.5-6.0 Volts DC 2. Common/Ground 3. Control Signal (Pulse Train) 50 Hz / 20ms Duration 24

Example: Servo Drivers Arduino Button Control* Arduino DCC Multifunction Decoder Control** (About $5) (About $5) ** http://model-railroad-hobbyist.com/node/20739 TAM Valley Octopus III Team Digital SC8 The Proto:87 Smartswitch *Program Clinic_ServoTestSet_4_switched_slow.ino is in: http://home.comcast.net/~gbglacier/clinics/animationcontrol_clinic_adds.zip

Servo Door Openers 26

Stepper Motors o 18 Step! Stepper Motor Geared Steppers Miniature Stepper w/screw Drive 4,5,6 - Wire Control: 1. 4-12 Volts DC 2. Complex Sequencing 3. Pulsed & Polarity Reversals (Bi-Polar & Unipolar) o 0.18 Step! 27

4,5,6 - Wire Control: Stepper Motor Control 1. 4-12 Volts DC & 2. Complex Sequencing 3. Pulsed & Polarity Reversals (Unipolar & Bi-Polar) Arduino Pro Mini L298N Dual H-Bridge

Gearmotor/Servo/Stepper Issues 29

Timing, Cueing, & Synchronization Consider Animation as a sequence of actions Move this Play these sounds Set this speed Turn this light on off on Wait so long Wait until something happens How does an action start? What are the delay times among actions? How are the actions coordinated? How does an action end? 30

Triggers & Cueing A Trigger is a detectable change Switch closure: metal contacts, push button, switch A sensor change: optical sensor, magnetic sensor The end of a timer: mechanical or electrical or program A Timer is some mechanism that has a known delay A Sequencer provokes one or more actions at different time intervals Cueing is the coordinated start of multiple actions like movement start and sound generation Action ends with: Completion of sequence End of time period Ending trigger No end continuous loop 31

Mechanical Timing & Sequencing 32

Mechanical Timing & Sequencing Brass Drum Battery - + MOTOR Insulating Tape Start Button Contact Wipers Resistors LEDs Start Button Moves Drum Off Stopping Tape Wipers Close the Circuit to the LEDs 33

Scripted DCC Control JMRI JMRI/Jython Scripts ##### Set Speed to Forward, stopped self.throttle.speedsetting = 0. self.throttle.setisforward(true) self.waitmsec(self.delay*400) ############## F8 on, forward" self.throttle.setf8(true); self.throttle.setisforward(true) self.waitmsec(self.delay*50) ############## F6 rear light on self.throttle.setf6(true); self.waitmsec(self.delay*500) ############## Mute (F8) off" self.throttle.setf8(false); self.throttle.setisforward(true) self.waitmsec(self.delay*1000) ######### Whistle self.throttle.setf2(true); self.waitmsec(self.delay*500) self.throttle.setf2(false); 34

Scripted DCC Control 35

Programmed Timing & Sequencing Why Bother? Way More Flexibility Than ANY other Method Low Cost Easy to Modify/Change Multiple triggers Multiple Kinds of Triggers Lights, Motors, Relays, Servos, Sensors Pseudo Random Sequencing Different Sequences Can Run Simultaneously DCC Library Already Written Support For Sound Generators (MP3, WAV & AD4) Additional Tutorials, Books, Libraries, Examples Low Power for Battery Applications & On-Board Loco/Car Animation 36

Programmed Timing & Sequencing Arduino Pro Mini Digispark $3.84 $2.59!! Qty 1 http://tinyurl.com/oamynj5 Arduino Uno $11-$30 $30 Qty1 Atmel 328P on SurplusGizmos.com Atmel Lite Kit $6.75 Kit Only Solderless Breadboard Atmel ATMega328P Mouser.com $2.24 Qty1 http://www.arduino.cc http://sparkfun.com http://www.adafruit.com Alternatives: MC PIC Processor TI LaunchPad 37

The Essentials for Programmed Sequencing http://tinyurl.com/oamynj5 Arduino Pro Mini-$2.59 PLUS http://tinyurl.com/ld6sgy3 USB to Pro Mini Cable-$6.88 (Need One) http://arduino.cc/en/main/software http://www.arduino.cc/ Download Software for FREE An Arduino Cookbook for Modelers: Starting from Scratch with an Arduino Pro Mini (or Moteino) http://mrhpub.com/2014-11-nov/land/#99 38

Now Combine Sensors and Control Wire-Guided id d Mobile Crane 39

What Model Drives Were Left Out? 1. Solenoids 2. Spring Drives 3. Ultrasonic Piezoelectric Motors 4. Nichrome Wire 5. Miniature Gas Engines 6. Miniature Live Steam Engines 7. Miniature Jet Engines 8. Elastic Drives 9. Muscle Wire 10.Pneumatic Piston Drive 11.Hydraulic Piston Drive 40

Useful Links and Sources: Electronics Parts sources: http://www.digikey.com -- Commercial first quality parts http://www.mouser.com -- Commercial first quality parts http://www.allelectronics.com -- Surplus Parts, LEDs, motors http://www.surplusgizmos.com p Surplus parts http://www.goldmine-elec-products.com -- Surplus parts http://stores.ebay.com/ledbaron -- Wired SMD micro LEDs http://www.ngineering.com -- Wire LEDs & tools http://stores.ebay.com/tech-fixx -- 38 Gauge Wire Source: Arduino parts of all sorts: http://sparkfun.com -- Stuff for sale & reference material http://www.adafruit.com -- Stuff for sale & reference material http://ebay.com/ -- Lowest cost Pro Mini boards Arduino reference material: http://www.arduino.cc -- Arduino website: libraries, tutorials & reference http://railstars.com/software/cmdrarduino -- Free DCC Software Library for Arduinos http://tinyurl.com/mvqmrlj -- ModelRailroadingWithArduino2.pdf -- John Plocher Clinic Slides from 2011 NMRA Convention in Sacramento, CA This Presentation: home.comcast.net/~gbglacier/clinics/modeling_w_motion_nmra2015.pdf Clinic Supplemental Materials: home.comcast.net/~gbglacier/clinics/animationcontrol_clinic_adds.zip 41

Here are links to some of my animation articles which are all in free online Modeling Magazines: Using Micro LEDs on Your Layout MRH http://model-railroad-hobbyist.com/magazine/mrh-2012-02-feb d h it / i / h 02 b (Page 74) Crossbucks and Crossing Gates NYCSHS http://www.nycshs.org/pdf/nycm_2q2012.pdf (Page 24) Bring a Wrecking Crane to Life MRH http://tinyurl.com/mjtwdp4 (Cover Article, Page 53) Teach Your Engineers to Turn Heads MRH http://publ.com/5nm2wxy#/100 Scale Flash Photography MRH http://mrhpub.com/2013-07-jul/land/#/51 Scale Model Animation Adding Life to a Layout Railroad Model Craftsman Magazine, May 2014 Battery Powered Models in HO Scale MRH http://mrhpub.com/2014-11-nov/land/#/83 Starting from Scratch with an Arduino Pro Mini (or Moteino) http://mrhpub.com/2014-11-nov/land/#99 11 You can read my Scale Model Animation blog here (Animation & DCC decoders): http://model-railroad-hobbyist.com/blog/geoff-bunza and you can see additional videos on my YouTube channel on animation: http://www.youtube.com/user/drgeoffb I hope you enjoy them too! 42

A Step by Step Cookbook for the Modeler Using the Pro Mini can be found here: Starting from Scratch with an Arduino Pro Mini (or Moteino): http://mrhpub.com/2014-11-nov/land/#99 11 A good start for the Arduino Learning curve would be the tutorials at: http://arduino.cc/en/tutorial/homepage and dthere are allot of ftopics there for search hfor a subject or browse or http://www.instructables.com/files/orig/f3j/mtjn/fvw22mxn/f3jmtjnfvw22mxn.pdf or http://www.richardvannoy.info/arduino.php or http://arduino-info.wikispaces.com/tutorialsinfo com/tutorials Now these offer info at different learning levels so pick one you are comfortable with, or ask a specific question and I will point you in the right direction. If you are using an Arduino Pro Mini (cheapest full function available) try: http://arduino.cc/en/guide/arduinopromini for getting started. For combining DCC decoder control of Building Lighting animation try: Scale Model Animation 18: DCC Control for Random Building Lighting http://model-railroad-hobbyist.com/node/23026 43

Modeling with Motion Scale Model Animation 3.1 2.0 Geoff Bunza gbglacier@comcast.net