Microcontroller Interfacing Projects Interfacing Projects.

Slides:



Advertisements
Similar presentations
Greg Beau SerajAnanya. Outline  Project overview  Project-specific success criteria  Block diagram  Component selection rationale  Packaging design.
Advertisements

Engineer Training XL1200 Electronics. Engineer Training XL1200 Electronics Confidential 2 XL1200 Electronics The XL Jet Electronic System consists of.
TIGERBOT MECHANICAL DESIGN Kyle Backer (EE), Jeremy Jensen (ME), Matthew DeCapua (EE), Eric Walkama (ME), Mike Thomas (EE), Jonathan Cormier (CE), John.
Working for the future - today
DARSI 2 CDR Adrienne Baile Preston Schipper Matt Hulse Project Overview Components: Design Status Administrative Data Acquisition & Real-time System Integration.
3D Graphical Display Ararat Adamian Brian McDonald Tyler Blair Adrian Williams.
Introduction Computer Hardware Jess 2006 EXPANSION CARDS BUS ARCHITECTURE AND CONNECTORS.
Senior Computer Engineering Project
Motor Control Lab Using Altera Nano FPGA
Modularity for a Robotic Locomotion System Kenneth Chin and Prang Chim January 26, 2001 Advisor: Dr. Jim Ostrowski.
Team BAKE Bryan Schoen Ashish Bablani Kelby Penney Evan Schurr
Deon Blaauw Modular Robot Design University of Stellenbosch Department of Electric and Electronic Engineering.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
COMPUTER SYSTEM.
THE COMPONENTS OF THE SYSTEM UNIT Peyton Farley & Katelyn Dunham.
Peripheral Interpreter consisting of Analyzers 'N Operators
The printed circuit board (PCB) design
COMPONENTS OF THE SYSTEM UNIT
Sponsor/Customer: Dr. Ferat Sahin Multi Agent Bio-Robotics Lab Faculty Guide: Prof. George Slack Team Members: Matthew LeStrange – Electrical Engineering.
Parts and usage. Motherboard is the most important component in any personal computer. It contains almost every important elements of the computer. Sometimes.
Electromechanical Systems “Robotic Sorting System” Brent GuyJonathan Penney.
Engineer Training Electronic System Overview. Engineer Training XL1500 Electronics Confidential 2 XLjet Electronics The XL1500 Electronic System consists.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Dealer Certification Section 3: Finalizing the Network Connecting to Other Data Sources Network Setup Troubleshooting Troubleshooting Copyright © 2011.
Athletic Field Marking Device Anthony Cortese, Ryan Crump, Matthew Lawler, Patrick Shaughnessy (Team Leader), John Sudia.
Chapter 6 System Engineering - Computer-based system - System engineering process - “Business process” engineering - Product engineering (Source: Pressman,
3-D Scanning Robot Steve Alexander Jeff Bonham John Johansson Adam Mewha Faculty Advisor: Dr. C. Macnab.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
The Voice Operated and Wirelessly Controlled Elevator Jeremy Hester Advisor: Dr. Mohammad Saadeh Class: ET 494 (Senior Design II), Fall 2013 Class Professor:
Prepared By: Rania hasan Enas hamadneh Cnc machine.
4 Linking the Components. © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.1 This chapter focuses on how the hardware layer components are.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
JMC – Joint Motion Controller Complete guide to building and testing each JMC.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Chapter 2 The CPU and the Main Board  2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU  2.2Performance and Instruction Sets.
P09204: Second Generation Design Team Members: Jason Jack Nandini Vemuri Jeff Howe John Corleto Emily Phillips Ryan Schmitt.
 AUTOMATION  PLC  SCADA  INSTRUMENTATION  DRIVES & MOTORS.
HARDWARE INTERFACE FOR A 3-DOF SURGICAL ROBOT ARM Ahmet Atasoy 1, Mehmed Ozkan 2, Duygun Erol Barkana 3 1 Institute of Biomedical Engineering, Bogazici.
Tiger Scramble Tiger Scramble Robot Design Hannah Hoppenstedt Josh Nelson.
Team 6 DOODLE DRIVE Alexander Curtis Peachanok Lertkajornkitti | Jun Pan | Edward Kidarsa |
ME456: Mechatronics Prof. Clark J. Radcliffe Mechanical Engineering
Daredevil Robot Direction Module (DRDM) Senior Design II Midterm Presentation.
Computer Hardware – System Unit
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 22 All About SCSI.
4 Linking the Components Linking The Components A computer is a system with data and instructions flowing between its components in response to processor.
بسم الله الرحمن الرحيم MEMORY AND I/O.
LUNAR SECON Team 2 Senior Design 2 Mid-Semester Presentation February 28th, 2008.
The printed circuit board (PCB) design §PCB design is part of the design process of a product in electronics industry. §PCB is a piece of insulating plastic.
Brandon Halleran.  The power supply for your personal computer gives your machine all the different voltages it needs to operate properly. It is able.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
MODULAR SELF -RECONFIGURABLE MULTI-FUNCTIONAL ROBOTIC SYSTEM.
THE COMPUTER MOTHERBOARD AND ITS COMPONENTS Compiled By: Jishnu Pradeep.
IR OBSTACLE DETECTION TO
SNS COLLEGE OF ENGINEERING
Development of T3Maps adapter boards
Obstacle avoiding robot { pixel }
Microcontroller Enhancement Design Project
Computer Hardware – System Unit
Components of Computer
CNC PCB Machine Prepared by : *Jafar Yasin Supervised by:
‘SONAR’ using Arduino & ultrasonic distance sensor
Graduation project ii: 3-axis cnc milling machine
By: Zeeshan Ansari, BEng (Hons) Electronic Engineering
Robotic Arm Project Presentation
MSD P15280 RIT HOT WHEELZ TEST BENCH
NC,CNC machines and Control Programming.
NC and CNC machines and Control Programming
Cnc machine Presented By:.
Chapter 13: I/O Systems.
AN INEXPENSIVE ROBOTIC KIT FOR CHILDREN EDUCATION
Presentation transcript:

Microcontroller Interfacing Projects Interfacing Projects

Microcontroller Interfacing

Student Project: PERIPHERALS AND MOTHERBOARD FOR THE BASIC STAMP

PURPOSE The purpose of this project is to design a set of motherboard core and peripheral modules for high- throughput applications to be implemented in grades 7 – 12 and in senior electrical engineering laboratories.

Teaching OBJECTIVE 1. ELECTRICAL COMPONENT BEHAVIOR 2. ELECTRICAL ENGINEERING DESIGN STRATEGIES 3. TECHNICAL SKILLS GOALS TO DEVELOP AN EFFICIENT ENVIRONMENT THAT WILL PRODUCE: –UNDERSTANDING OF ELECTRICAL CIRCUIT BEHAVIOR –WORKING PROTOTYPES FOR A LARGE VARIETY OF PROJECTS

Requirements Modularity Manufacturing Physical Packaging Reliability

Design Strategy Use Stamp as Foundation Controller for multiple peripheral modules Use communication between Stamps to increase complexity of a project Create condensed packaged Motherboard/Module demo’s

Foundation Controller Output Current for I/O pins for Stamp I/II DOS based application to interface BSI Programming Languages Memory Size I/O pins Port interface between PC/Basic Stamp

Stamp Communication Serin program command Hardware implemented for communication process

Packaging Transport Circuit Design to PC Board Package multiple demo’s into one overall storage unit

7-Segment Module

LED Module

Dipswitch Module

MotherBoard/Module Demo’s FOUNDATION: BASIC STAMP II MICROCONTROLLER PERIPHERALS: DISPLAYS TRANSDUCERS STEPPERMOTORS SERVOMOTORS THERMISTORS LED’S

Stamp/Module Costs Source: Hosfelt Electronics, Inc or Catalog 99R customer #397M12 page stock# item ea quan tot DIP switch w/rocker actuator $ $ Solderless breadboard $ $ Minature speaker $ $ mm Red LED $ $24.00 Tot $170.30

Continued Cost Analysis HOSFELT ELECTRONICS, INC Catalog 99B Cust #397M12 (MSU-ECE) Page Part no quan item ea tot pkt #65 carbide drills $3.25 $ pkt #53 carbide drills $3.25 $ mercury tilt switch $.75 $ Hex inverter $.39 $ "X6" PC board $5.99 $ pin DIP socket $.08 $8.00 Total: $103.42

Continued Cost Analysis page stock# item ea quan 62 AO2047-ND 9-pin D-sub connector, female $ AO245-ND 25-pin D-sub connector, male $ ZHB6718CT-ND H-bridge $ KC003T-ND Minature thermistor $ Tot $253.05

Continued Cost Analysis page cat# item size $ea quan $tot /cclad-s.htm S1-36G 1/16" FR4 glass epoxy with 1 oz copper foil 3x6 $ pkg /chemphot.htm KD-1G type-S Develop soln 1Gal $ PRSK-1G type-S Stripper 1Gal $ /chemetch.htm#Ferric Chloride E-1G Ferric Chloride 1Gal $ FSB-500 Scotchbrite pad 12x24 $ /chemplat.htm ITP-1QT Immersion Tin plate 1qt $ tot $336.75

Continued Cost Analysis BS1-IC BASIC stamp ea quan 15 tot = $459, S&H not included.

Test Specification Size Dimensions Component Reliability Code Functionality Overall System Test Test Certification Manufacturing of Printed Circuit Boards Component Choice Code Functionality System Test

Conclusions Success was achieved for project implementation for grades 7 – 12 Shortcoming: Did not construct projects of appropriate complexity for senior design electrical engineering laboratories Future Progress Continued design and manufacturing of motherboard/peripheral module demo’s to be implemented in senior level electrical engineering laboratories

Modularity for a Robotic Locomotion System

Modularity of Robotic Systems 1. Electrical modules 2. Mechanical modules 3. Software modules 4. Electrical/mechanical/software modules: a) of one type b) of few types

Case Study Approach Early Stages System & Design Analysis Future Perspective An exploration into the overall goal of our project where modularity is defined providing an overview into the mechanical structures and communication architecture. A detailed examination of the mechanical, electrical, and communication components of the electro-mechanical system. A hindsight perspective of problems encountered while elaborating on improvements for the process while providing an outlook upon the project’s future.

The Early Stages Overall Goal Modularity? Architecture Overview What is the point of this project? What is modularity?. An overview of the system architecture from a high level in order to understand the integration with lower level components.

Overall Goal Investigation of modularity Design of a component to act as a universal interface between the base unit and components –Improved wheel modular unit and base Implementation of an efficient bus system with expansion capabilities with hardware

What is Modularity? Modular/ Modularity (adjective)Modular/ Modularity (adjective) –“Designed with standardized units or dimensions, as for easy assembly and repair or flexible arrangement and use.” Application to Robotics –Easily attachable and detachable modules –Each module contains the necessary mechanical and electrical components (I.e. motors, microprocessors, etc.)

Architecture Overview Master Processor Slave Processor Slave Processor Slave Processor Slave Processor FT Chip Servo Motor 1 Servo Motor 2 Consists of single master processor where all program instructions originate. Independent slave processor allow for device independent calibrations. Instructions passed from master->slave- >FT639 (drives servo motors directly) Exploded View

System and Design Analysis Mechanical Design Electrical System Communication Controls An exploration of the mechanical design of: body, universal insert module, and servo motor housing. An exploration of PCB design, master module, and the slave module. An explanation of the communication of the overall integration system.

Design Criteria DimensionExplanation Size Small and compact to keep weight to a minimal Weight Lightweight allows for decreased torque requirements on motors while allowing for increased mobility Functionality Ability to be functional pliable and adaptable Possibility to incorporate sensors Mobility in terms of a wheel and with legs

Body Design Design 2Design 1 Components made entirely of plexiglass each side is one single piece Problems heavy a lot of manufacturing Components made entirely of plexiglass sides are individual pieces Problems slightly lighter many parts

Body Design Components 2 sheets of 6x10x0.25” plexiglass – Manufactured using CNC machine 12 Aluminum threaded Round Standoffs: ¼” OD, 1-1/2” length Advantages Light weight less manufacturing (standoffs are off the shelf products a total of 8 slots for modules Final Design

Universal Insert Module Initial Design: Two part component

Universal Insert Module Final Conception One piece component made of plastic or aluminum. Easily manufactured with the use of the machine from Mechanical Engineering Dept at PSU.

Servo Motor Housing Problem Resulting moments on servo horns Deformation of servo horns Original Design

Servo Motor Housing Lower Servo Unit (Driving)Upper Servo Unit (Steering) Solution Redirect moment onto a shaft made of stronger material shafts connected to servo motors with use of gears and chains 6-32 set screws connects to insert module Steering Shaft Steering Shaft connection Driving Shaft Ball Bearing slot 6-32 set screws set steering shaft to lower unit

Assembled Module Insert Module made of ABS manufactured using FDM machine Upper servo unit made of ABS 1.25x3x1’’ manufactured using CNC machine Lower servo unit made of ABS 1.25x3x1’’ manufactured using CNC machine Shafts Drill Rods Shafts from toy car Servo Motors Wheel taken from toy car Spacers 4 pieces ¼” OD, 1/8” lenght

Final Assembly Complete assembly of robot with four wheel modules inserted into the body

Master Module Basic Stamp II Micro- controller Dedicated Bus System for SEND Dedicated Bus System for RECEIVE 2 individual bus systems for sending and receiving data to avoid data collisions Primary Program sequence contained within InputsOutputs Power Source: provides power to the micro- controller and also to the slave modules for their respective micro- controllers. Data Line Out: Utilizes a serial line sending data and individual instructions to each slave module component (i.e. such as speed, position) containing a micro-controller Data Line In: consists of a single serial line coming from each individual slave module carrying valuable data instructions from each slave (i.e. may include speed, position, error, and feedback information)

Slave Module Schematic Each slave module unit is independent unit containing: FT639 servo controller chip, 1 Basic Stamp II microcontroller 2 dedicated 5V lines (servo motors & chips) 180 degree and 360 degree servo motor on board Courtesy of Kapil and Darnel Each slave module unit is independent unit containing: FT639 servo controller chip, 1 Basic Stamp II microcontroller 2 dedicated 5V lines (servo motors & chips) Pin 0 Pin 14 Pin 15 Microcontroller Pin Assignments Dedicated SEND line to master Dedicated RECEIVE line to master Dedicated COM to FT639 chip

PCB Circuit Board Generated circuit board to be inserted into each module unit to allow for processing on the slave as opposed to master Generated custom-designed PCB schematic sending NC and drill files for production 2 layers: Top layer (red) and Bottom layer (blue) Servo Power RCV Line System Ground SND Line Future Expansion System Power 3 dedicated channels for power and ground 2 dedicated I/O channels for communication with the master 2 dedicated channels for future expansion (hardware id sequence)

Communication Controls Master Module Unit Slave Module Unit (Addressed at $FF) ($FD) …….. ($FF) …….. Addressing ($FC, $FD, $FE, $FF) Allows for routing of information from master to appropriate slave unit Sends data serially at 2400 baud Allows handshaking while slave constantly pings for incoming data AddressPositionServoAddress Completion Checks to see which modules are plugged in routing data and adjusting program accordingly Flow Sequence Master -> Slave > FT chip -> Slave -> Master

Problems Encountered Problem: Inability to align parts consistently on the CNC machine. Result: Not using the bearings for the wheel shaft Manufacturing Problem: Inability to produce high quality and tolerant parts through fusion deposition modeling (FDM).. Result: Loss tolerances upon inserting screws with high accuracy. Problem: Gear Specifications and slippage Result: Utilized two set screws and drilled into shafts but reduced torque Mechanically Problem: Turning Mechanism for the wheel module unit Result: Moment still exists but is greatly reduced with spacer

Problems Encountered Problem: Data loss and Collisions Result: Consolidated send and receive lines on individual bus systems and utilized improved power supply Electrically Problem: Data transmission Speeds Result: Utilized a 2400 baud transfer rates due to limitations imposed by the FT639 chip even though optimal transfer rate between Basic Stamps was found to be 9600 baud. Problem: Faulty Connectors/ connections Result: Reconnecting slave unit several times until communication link established. Investigate better quality connectors. Problem: Sending data from master to slaves several times before communication sequence established Result: Integrated system works at times. Problem currently under further investigation.

The Next Generation Model Solutions to Gear Slippage use of metal gears to prevent stripping from screws the use of larger gears to provide a better contact for the set screws modifications to servo motor housing to incorporate a larger diameter size shaft Speed control with the use of encoders Hardware ID tags determine location of module that is plugged in relative to the body Use of a multiplexer to control data flow Allows for more uniform integration with the software tagging Implementation of a Feedback System Implementing proximity and various other sensors to create a “smart system” creating a feedback loop

Problems 1. Think how to design a system of Lego-like mechanical and electrical modules from which many different “animals” could be build. First analyze carefully Lynxmotion, Lego and Robix systems. This system may be the extension of the 2002 Robot Soccer Kit. 2. Next analyze Erector, Capsela and Knex. 3. How to design a system of “blocks” from which any type of human-like beasts (with different proportions but with the same kinematics) can be build. Each block must be self- contained, including software. The system should be self- configurable in software after connecting blocks mechanically.

Sources Curtis Bahn, RPI J.E. Wampler Michael Rodemer, University of Michigan, School of Art and Design Physics and Media Group, MIT Josh R. Fairley Dr. Raymond S. Winton Mike Haney, University of Illinois Steve Benkovic, Cal State University, Northridgehttp://homepage.mac.com/SBenkovic Kenneth Chin and Prang Chim Dr. Jim OstrowskiBob Miller, Wally Szczesniak, Terry Kientz, Brett Balogh, Siddharth Deliwala, John Bowen, Darnel Degand, Kapil Kedia, Adrian Fox, Christopher Li