Smart Parking System Design

Total Page:16

File Type:pdf, Size:1020Kb

Smart Parking System Design University of Science and Technology Faculty of Engineering Department of Computer and Electronic Systems Engineering A Research Submitted in Partial Fulfillment for the Requirements of the B.Sc.(Honors) Degree in Computer and Electronic Systems Engineering SMART PARKING SYSTEM DESIGN Prepared by: Abdeen Yousif Albasher Abdelnabi Supervised by: Dr. Mohammed Elnour Abdallah March-2016 اﻻية ِب ِب ِب ِب ِب ْس ي ا ِهَّللا ااِهَّلللْس َم ِب ااِهَّللل ي ااِهَّلللْس َم ُن )1( َم ِهَّلليَم اْسا ُنْسل َمآ )2( َم َم َم اْساِبْس َم َمآ )3( َم ِهَّللَم ُن اْسا َم َمَي َمآ )4( ﴾ صد االع ي سورة اال اﻵي ت)4-1( I DEDICATION To the fountain of patience and optimism and hope To each of the following in the presence of God and His Messenger. my mother dear To the big heart greatest cheerleader and he always pushed me to be the best I could be. And he always stood his ground. my dear father To those who have demonstrated to me what is the most beautiful of my brother’s life To the people who paved our way of science and knowledge All our Teachers Distinguished To the taste of the most beautiful moments with My friends I especially appreciated and thanked: Doctor ............. II ACKNOWLEDGMENT Thanks first and last to ALLAH who enable me to conduct this study by grace of him and donated my strength. For all those who have stood by me, and helped me in this thesis, we send our thanks and deepest gratitude. Special and deepest regards are due to my supervisor Dr.Mohammed Al-Nour for his assistance and supervision, to all friends who support me, Sincere thanks to everyone who stood beside me and helped me with enthusiasm and great faith, thank you all. III Abstract With the increase in car production and world's population, are requests more and more areas and parking facilities. In this project, a new parking cars are called smart car parking system (SPS) proposes to help drivers find vacant places in the parking lot in the shortest time. The new system uses ultrasonic (ultrasound) sensors to detect any occupancy parking lot. This system is designed to determine the correct path in which space is available to parking the car. RFID used to add a layer of security for this system, and communicating between the system and drivers happened through LCD screen that display the system status. IV المستخلص هغ الضيادة في إًتاج السياساث في الؼالن ، و صيادة تؼذاد السكاى الؼالوي , هٌالك صيادة في الطلب ﻻهاكي و هٌشاءاث ﻻيقاف السياساث. تقذهٌا في هزا الوششوع بؼول ًظام ركي لشكي الوشكباث لوساػذة السائقيي ﻻيجاد اهاكي شاغشة لشكي الوشكباث باسهل الطشق الووكٌه , يقىم هزا الٌظام الجذيذ باستخذام تقٌيت الحساساث فى ق الصىتيت لوؼشفت اﻻهاكي الشاغشة . هزا الٌظام صون لتحذيذ الوساس الصحيح الزي يتىفش به هكاى شاغش لشكي الوشكبت , كوا يقىم باستخذام جهاص التؼشف بالوىجاث الشاديىيت ﻻضافت طبقت هي الحوايت لهزا الٌظام و يتن التىاصل هغ السائقيي ػبش شاشت ػشض تقىم بؼشض حالت الوىقف. V CONTENTS Page Subject number I اﻵية Dedication II Acknowledgment III Abstract IV V المستخلص contents VI List of figures VIII Lists of Tables XII List of Abbreviations XIII CHAPTER ONE: INTRODUCTION 1.1 Background 1 1.2 Problem Statement 1 1.3 Objectives 2 1.4 Methodology 2 1.5 Layout 3 I CHAPTER TWO: CONTROL SYSTEM AND CONTROLLER 2.1 Introduction 4 2.2 Control system 4 2.3 Basic Components of a Control System 5 2.4 Classification of control systems 5 2.4.1 Open loop control system 5 2.4.2 Closed loop control system 6 2.4.3 Feedback 7 2.5 Controller 7 2.5.1 Basic Controller Types 8 2.5.2 Proportional Derivative (PD) Controller 8 2.5.3 Proportional Integral (PI) Controller 9 2.5.4 Proportional Integral Derivative (PID) 9 Controller CHAPTER THREE: Microcontroller application and types 3.1 Introduction 11 3.2 Microcontroller main components 11 3.2.1 Central processing unit 12 3.2.2 ROM 12 3.2.3 RAM 12 II 3.2.4 Input and Output Ports 12 3.2.5 Timer 13 3.2.6 Interrupt Circuitry 13 3.2.7 Buses 13 3.3 Types of microcontrollers 14 3.4 Programming of microcontroller 15 3.5 Applications of microcontroller 15 3.6 Microcontroller features 16 3.7 Arduino Microcontroller 16 3.7.1 Power 17 3.7.2 Memory 17 3.7.3 Pin Description 17 CHAPTER FOUR: Smart Parking System Simulation 4.1 Introduction 19 4.2 System Simulation 19 CHAPTER FIVE: Smart Parking System Design and Operation 5.1 Introduction 24 5.2 Input unit 25 5.2.1 RFID Reader 25 III 5.2.2 RFID Tags 28 5.2.3 Ultrasonic 31 5.3 Output Unit 31 5.3.1 Liquid crystal display 16x2 31 5.3.2 Servo Motor 32 5.4 Circuit Implementation 33 5.5 Operation 34 5.6 Software Description 36 5.7 Flow chart 37 CHAPTER SIX: CONCLUSION AND RECOMMENDATIONS 6.1 Conclusion 40 6.2 Recommendation 40 References 41 Appendices Appendix A Code A1 Appendix B Arduino Datasheet B1 Appendix C RFID Datasheet C1 Appendix D Ultrasonic Datasheet D1 IV List of Figures Page Figures Name of Figures Number Figure(2.1) basic relationship of component 5 Figure(2.2) Open loop Control 6 Figure(2.3) closed loop control 6 Figure(3.1) Microcontroller main components 11 Figure(3.2) Arduino Microcontroller 17 Figure(4.1) Basic system simulation 19 Figure(4.2) case p1 orp2 or p3 20 Figure(4.3) case p1 or p2 20 Figure(4.4) case p1 or p3 21 Figure(4.5) case p2 or p3 21 Figure(4.6) case p1 22 Figure(4.7) case p2 22 Figure(4.8) case p3 23 V Figure(4.9) full parking 23 Hardware Implementation of Smart Parking Figure(5.1) 24 System Figure(5.2) RFID 25 Figure(5.3) ID Format 28 Figure(5.4) RFID Tag 29 Figure(5.5) Ultrasonic 31 Figure(5.6) LCD 16x2 pin description 32 Figure(5.7) servo 33 Figure(5.8) Circuit implementation 34 Figure(5.9) Smart Parking System Final Project 35 Figure(5.10) Arduino development environment 36 Figure(5.11) Flow Chart 39 VI Lists of Tables Page Table Name of Table Number Table(5.1) Distance of different tag reader 26 Table(5.2) RFID pin description 27 VII List of Abbreviations AC Alternating Current ALU Arithmetic Logic Unit AREF Analog Reference ASCII American Standard Code for Information Interchange CPU Central Processing Unit D/A Digital to Analog converter DC Direct Current EEPROM Electrically Erasable Programmable Read- Only Memory GND Ground I/O Input/Output IC Integration Circuit ID Identification LCD Liquid Crystal Display LED Light Emitting Diode MISO Master In Slave Out MOSI Master Out Slave In PC Personal Computer PD Proportional Derivative PI Proportional Integral PID Proportional Integral Derivative PWM Pulse Width Modulation R/W Read/Write RAM Random Access Memory VIII RFID Radio Frequency Identification ROM Read Only Memory RS Register Select Rx Receiver SCK Serial Clock SOUT Signal Out SPI Serial Peripheral Interface SS Slave Select TTL Transistor-Transistor logic TWI Two Wire Interface Tx Transamination USB Universal serial bus VCC Voltage DC Input VCR Videocassette recorder IX Appendix A Program code #include <LiquidCrystal.h> #include <EEPROM.h> #include <Servo.h> #include "Ultrasonic.h" Servo servoLock; Servo myservo; LiquidCrystal lcd(18, 19, 5, 4, 3, 2); #define RFID_Enabled_Pin 16 #define servoPin 17 #define LockedPos 100 #define UnlockedPos 10 byte buffer[100]; byte RFID_Master[10] = {'3', '8', '0', '0', '7', '1', '2', '4', 'D', '5'}; byte RFID_car1[10], RFID_car2[10], RFID_car3[10],RFID_car4[10]; byte i; byte i2; boolean DoorLocked; byte checkPosition; boolean RFID_Master_Correct; boolean RFID_car1_Correct, RFID_car2_Correct, RFID_car3_Correct, RFID_car4_Correct; boolean RFID_SaveNextRead; long duration, inches, cm,cm1,cm2,cm3 ,duration1,duration2,duration3; //====================U1 const int pingPin = 14; const int echoPin = 15; //====================U2 const int pingPin1 = 10; const int echoPin1 = 9; A1 //====================U3 const int pingPin2 = 8; const int echoPin2 = 11; //====================U4 Ultrasonic ultrasonic(7); #define limit_min 10 void setup() { myservo.attach(12); pinMode(13, OUTPUT); pinMode(RFID_Enabled_Pin, OUTPUT); RFID_Enable(false); EEPROM_Read_card(); PreLock(); RFID_Enable(true); Serial.begin(2400); i = 1; lcd.begin(16, 2); clear0(); lcd.print(" WELCOME TO"); clear1(); lcd.print(" SMART PARKING"); delay(100); } void loop() { if (Serial.available()) { if (buffer[0] != 0x0A) { buffer[0] = Serial.read(); } else { buffer[i] = Serial.read(); if (buffer[i] == 0x0D) { A2 Serial.print("RFID Tag scanned: "); RFID_Enable(false); RFID_Master_Correct = true; RFID_car1_Correct = true; RFID_car2_Correct = true; RFID_car3_Correct = true; RFID_car4_Correct = true; for (checkPosition = 0; checkPosition < 10; checkPosition++) { #if defined(ARDUINO) && ARDUINO >=100 Serial.write(buffer[checkPosition+1]); #else Serial.print(buffer[checkPosition+1], BYTE); #endif if (buffer[checkPosition+1] == RFID_car1[checkPosition] && RFID_car1_Correct == true) { RFID_car1_Correct = true; //car1 RFID tag is detected } else { RFID_car1_Correct = false; //car1 RFID tag is not detected } if (buffer[checkPosition+1] == RFID_car2[checkPosition] && RFID_car2_Correct == true) { RFID_car2_Correct = true; //car2 RFID tag is detected } else { RFID_car2_Correct = false; //car2 RFID tag is not detected } if (buffer[checkPosition+1] == RFID_car3[checkPosition] && RFID_car3_Correct == true) { RFID_car3_Correct = true; //car3 RFID tag is detected } else { RFID_car3_Correct = false; //car3 RFID tag is detected } if (buffer[checkPosition+1] == RFID_car4[checkPosition] && RFID_car4_Correct == true) { A3 RFID_car4_Correct = true; //car4 RFID tag is detected } else { RFID_car4_Correct = false; //car4 RFID tag is not detected } if (buffer[checkPosition+1] == RFID_Master[checkPosition] && RFID_Master_Correct == true) { RFID_Master_Correct = true; //Master RFID tag is detected } else { RFID_Master_Correct = false;
Recommended publications
  • Reconfigurable Embedded Control Systems: Problems and Solutions
    RECONFIGURABLE EMBEDDED CONTROL SYSTEMS: PROBLEMS AND SOLUTIONS By Dr.rer.nat.Habil. Mohamed Khalgui ⃝c Copyright by Dr.rer.nat.Habil. Mohamed Khalgui, 2012 v Martin Luther University, Germany Research Manuscript for Habilitation Diploma in Computer Science 1. Reviewer: Prof.Dr. Hans-Michael Hanisch, Martin Luther University, Germany, 2. Reviewer: Prof.Dr. Georg Frey, Saarland University, Germany, 3. Reviewer: Prof.Dr. Wolf Zimmermann, Martin Luther University, Germany, Day of the defense: Monday January 23rd 2012, Table of Contents Table of Contents vi English Abstract x German Abstract xi English Keywords xii German Keywords xiii Acknowledgements xiv Dedicate xv 1 General Introduction 1 2 Embedded Architectures: Overview on Hardware and Operating Systems 3 2.1 Embedded Hardware Components . 3 2.1.1 Microcontrollers . 3 2.1.2 Digital Signal Processors (DSP): . 4 2.1.3 System on Chip (SoC): . 5 2.1.4 Programmable Logic Controllers (PLC): . 6 2.2 Real-Time Embedded Operating Systems (RTOS) . 8 2.2.1 QNX . 9 2.2.2 RTLinux . 9 2.2.3 VxWorks . 9 2.2.4 Windows CE . 10 2.3 Known Embedded Software Solutions . 11 2.3.1 Simple Control Loop . 12 2.3.2 Interrupt Controlled System . 12 2.3.3 Cooperative Multitasking . 12 2.3.4 Preemptive Multitasking or Multi-Threading . 12 2.3.5 Microkernels . 13 2.3.6 Monolithic Kernels . 13 2.3.7 Additional Software Components: . 13 2.4 Conclusion . 14 3 Embedded Systems: Overview on Software Components 15 3.1 Basic Concepts of Components . 15 3.2 Architecture Description Languages . 17 3.2.1 Acme Language .
    [Show full text]
  • Short Range Object Detection and Avoidance
    Short Range Object Detection and Avoidance N.F. Jansen CST 2010.068 Traineeship report Coach(es): dr. E. García Canseco, TU/e dr. ing. S. Lichiardopol, TU/e ing. R. Niesten, Wingz BV Supervisor: prof.dr.ir. M. Steinbuch Eindhoven University of Technology Department of Mechanical Engineering Control Systems Technology Eindhoven, November, 2010 Abstract The scope of this internship is to investigate, model, simulate and experiment with a sensor for close range object detection for the purpose of the Tele-Service Robot (TSR) robot. The TSR robot will be implemented in care institutions for the care of elderly and/or disabled. The sensor system should have a supporting role in navigation and mapping of the environment of the robot. Several sensors are investigated, whereas the sonar system is the optimal solution for this application. It’s cost, wide field-of-view, sufficient minimal and maximal distance and networking capabilities of the Devantech SRF-08 sonar sensor is decisive to ultimately choose this sensor system. The positioning, orientation and tilting of the sonar devices is calculated and simulations are made to obtain knowledge about the behavior and characteristics of the sensors working in a ring. Issues surrounding the sensors are mainly erroneous ranging results due to specular reflection, cross-talk and incorrect mounting. Cross- talk can be suppressed by operating in groups, but induces the decrease of refresh rate of the entire robot’s surroundings. Experiments are carried out to investigate the accuracy and sensitivity to ranging errors and cross-talk. Eventually, due to the existing cross-talk, experiments should be carried out to decrease the range and timing to increase the refresh rate because the sensors cannot be fired more than only two at a time.
    [Show full text]
  • Architecture of 8051 & Their Pin Details
    SESHASAYEE INSTITUTE OF TECHNOLOGY ARIYAMANGALAM , TRICHY – 620 010 ARCHITECTURE OF 8051 & THEIR PIN DETAILS UNIT I WELCOME ARCHITECTURE OF 8051 & THEIR PIN DETAILS U1.1 : Introduction to microprocessor & microcontroller : Architecture of 8085 -Functions of each block. Comparison of Microprocessor & Microcontroller - Features of microcontroller -Advantages of microcontroller -Applications Of microcontroller -Manufactures of microcontroller. U1.2 : Architecture of 8051 : Block diagram of Microcontroller – Functions of each block. Pin details of 8051 -Oscillator and Clock -Clock Cycle -State - Machine Cycle -Instruction cycle –Reset - Power on Reset - Special function registers :Program Counter -PSW register -Stack - I/O Ports . U1.3 : Memory Organisation & I/O port configuration: ROM RAM - Memory Organization of 8051,Interfacing external memory to 8051 Microcontroller vs. Microprocessors 1. CPU for Computers 1. A smaller computer 2. No RAM, ROM, I/O on CPU chip 2. On-chip RAM, ROM, I/O itself ports... 3. Example:Intel’s x86, Motorola’s 3. Example:Motorola’s 6811, 680x0 Intel’s 8051, Zilog’s Z8 and PIC Microcontroller vs. Microprocessors Microprocessor Microcontroller 1. CPU is stand-alone, RAM, ROM, I/O, timer are separate 1. CPU, RAM, ROM, I/O and timer are all on a single 2. designer can decide on the chip amount of ROM, RAM and I/O ports. 2. fix amount of on-chip ROM, RAM, I/O ports 3. expansive 3. for applications in which 4. versatility cost, power and space are 5. general-purpose critical 4. single-purpose uP vs. uC – cont. Applications – uCs are suitable to control of I/O devices in designs requiring a minimum component – uPs are suitable to processing information in computer systems.
    [Show full text]
  • SERVO MAGAZINE TEAM DARE’S ROBOT BAND • RADIO for ROBOTS • BUILDING MAXWELL June 2012 Full Page Full Page.Qxd 5/7/2012 6:41 PM Page 2
    0 0 06 . 7 4 $ A D A N A C 0 5 . 5 $ 71486 02422 . $5.50US $7.00CAN S . 0 U CoverNews_Layout 1 5/9/2012 3:21 PM Page 1 Vol. 10 No. 6 SERVO MAGAZINE TEAM DARE’S ROBOT BAND • RADIO FOR ROBOTS • BUILDING MAXWELL June 2012 Full Page_Full Page.qxd 5/7/2012 6:41 PM Page 2 HS-430BH HS-5585MH HS-5685MH HS-7245MH DELUXE BALL BEARING HV CORELESS METAL GEAR HIGH TORQUE HIGH TORQUE CORELESS MINI 6.0 Volts 7.4 Volts 6.0 Volts 7.4 Volts 6.0 Volts 7.4 Volts 6.0 Volts 7.4 Volts Torque: 57 oz-in 69 oz-in Torque: 194 oz-in 236 oz-in Torque: 157 oz-in 179 oz-in Torque: 72 oz-in 89 oz-in Speed: 0.16 sec/60° 0.14 sec/60° Speed: 0.17 sec/60° 0.14 sec/60° Speed: 0.20 sec/60° 0.17 sec/60° Speed: 0.13 sec/60° 0.11 sec/60° HS-7950THHS-7950TH HS-7955TG HS-M7990TH HS-5646WP ULTRA TORQUE CORELESS HIGH TORQUE CORELESS MEGA TORQUE HV MAGNETIC ENCODER WATERPROOF HIGH TORQUE 6.0 Volts 7.4 Volts 4.8 Volts 6.0 Volts 6.0 Volts 7.4 Volts 6.0 Volts 7.4 Volts Torque: 403 oz-in 486 oz-in Torque: 250 oz-in 333 oz-in Torque: 500 oz-in 611 oz-in Torque: 157 oz-in 179 oz-in Speed: 0.17 sec/60° 0.14 sec/60° Speed: 0.19 sec/60° 0.15 sec/60° Speed: 0.21 sec/60° 0.17 sec/60° Speed: 0.20 sec/60° 0.18 sec/60° DIY Projects: Programmable Controllers: Wild Thumper-Based Robot Wixel and Wixel Shield #1702: Premium Jumper #1336: Wixel programmable Wire Assortment M-M 6" microcontroller module with #1372: Pololu Simple Motor integrated USB and a 2.4 Controller 18v7 GHz radio.
    [Show full text]
  • Programming and Customizing the Multicore Propeller
    PROGRAMMING AND CUSTOMIZING THE MULTICORE PROPELLERTM MICROCONTROLLER This page intentionally left blank PROGRAMMING AND CUSTOMIZING THE MULTICORE PROPELLERTM MICROCONTROLLER THE OFFICIAL GUIDE PARALLAX INC. Shane Avery Chip Gracey Vern Graner Martin Hebel Joshua Hintze André LaMothe Andy Lindsay Jeff Martin Hanno Sander New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. ISBN: 978-0-07-166451-6 MHID: 0-07-166451-3 The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-166450-9, MHID: 0-07-166450-5. All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. To contact a representative please e-mail us at [email protected]. Information contained in this work has been obtained by The McGraw-Hill Companies, Inc.
    [Show full text]
  • Medidor Online De Temperatura Y Humedad De Bajo Consumo
    Medidor online de temperatura y humedad de bajo consumo Estudiante: Jesús Santiago Fernández Prieto “Ingeniería Técnica de Informática de Sistemas” Consultor: Jordi Bécares Ferrés 11 de Junio de 2013 When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd. (D. Ritchie) A mi familia, novia y amigos. 2 Resumen Para este proyecto se ha diseñado un dispositivo con capacidad de conexión a Internet a través de un punto de acceso WIFI para el envío de datos y alertar en caso de posibles temperaturas y humedades críticas, definidas con un valor mínimo y un máximo. El diseño de este dispositivo se ha hecho teniendo en cuenta el reducir el consumo de energía para maximizar autonomía. El dispositivo está basado en una mota LPC1769 que posee un procesador Cortex-M3 de ARM el cual ejecuta nuestro programa desarrollado. Este programa hace uso del sistema operativo FreeRTOS (Free Real Time Operating System) que facilitará y nos asegurará estabilidad. La mota llevará conectada un chip WiFly que se usará para poder conectarnos por WiFi al punto de acceso. Cuenta además con un sensor SHT15 que permite, a la mota, tomar las mediciones de temperatura y humedad relativa. Estos serán posteriormente enviados al servidor. En caso de que en alguno de esos valores esté fuera del rango de seguridad se avisará al usuario a través de dos leds conectados también a la mota. Se le puede configurar una dirección de correo electrónico donde se enviarán alertas para enviar un correo al usuario advirtiéndole de un posible problema.
    [Show full text]
  • Propeller Manual, Propeller Datasheet, Propeller Forum, and Propeller Object Exchange, As Well As Examples of Using These Resources
    Propeller Education Kit Labs Fundamentals Version 1.2 (web release 2) By Andy Lindsay WARRANTY Parallax Inc. warrants its products against defects in materials and workmanship for a period of 90 days from receipt of product. If you discover a defect, Parallax Inc. will, at its option, repair or replace the merchandise, or refund the purchase price. Before returning the product to Parallax, call for a Return Merchandise Authorization (RMA) number. Write the RMA number on the outside of the box used to return the merchandise to Parallax. Please enclose the following along with the returned merchandise: your name, telephone number, shipping address, and a description of the problem. Parallax will return your product or its replacement using the same shipping method used to ship the product to Parallax. 14-DAY MONEY BACK GUARANTEE If, within 14 days of having received your product, you find that it does not suit your needs, you may return it for a full refund. Parallax Inc. will refund the purchase price of the product, excluding shipping/handling costs. This guarantee is void if the product has been altered or damaged. See the Warranty section above for instructions on returning a product to Parallax. COPYRIGHTS AND TRADEMARKS This documentation is copyright © 2006-2010 by Parallax Inc. By downloading or obtaining a printed copy of this documentation or software you agree that it is to be used exclusively with Parallax products. Any other uses are not permitted and may represent a violation of Parallax copyrights, legally punishable according to Federal copyright or intellectual property laws. Any duplication of this documentation for commercial uses is expressly prohibited by Parallax Inc.
    [Show full text]
  • Using the Parallax Propeller for Mechatronics Education
    Paper ID #7393 Using the Parallax Propeller for Mechatronics Education Dr. Hugh Jack, Grand Valley State University Hugh Jack is a Professor of Product Design and Manufacturing Engineering at Grand Valley State Uni- versity in Grand Rapids, Michigan. His interests include manufacturing education, design, project man- agement, automation, and control systems. c American Society for Engineering Education, 2013 Using the Parallax Propeller for Mechatronics Education Abstract Microcontrollers have become a mainstay of mechatronics laboratories. For example, the Arduino boards, and shields, are low cost flexible hardware that can provide substantial capabilities. At Grand Valley State University all engineering students learn to program microcontrollers using Atmel ATMega processors, the same processors used on the Arduino boards. In the mechatronics course, EGR 345 - Dynamic System Modeling and Control, the students use Parallax Propeller based hardware. The alternate, Parallax Propeller, hardware platform broadens the students’ knowledge and gives them access to a multiprocessing environment. The paper objectively outlines the hardware/software platform and how it can be used in a mechatronics course for Manufacturing Engineering students. The supported topics include data collection, feedback control, various sensors, networking, and human interfaces. Educational activities include laboratory work and small projects. Introduction A computation platform is the backbone of any introductory course focused on mechatronics and/or modern controls. The number of available platforms easily reaches into the thousands. However for the purposes of education there are a few wise alternatives. The typical selection criteria for these systems are: • Cost for hardware and software; • Programming knowledge and student prerequisites; • Capabilities; • Electronic interfacing complexity and options; • Built in capabilities and functions; and • Adoption by industry.
    [Show full text]
  • Extracting and Mapping Industry 4.0 Technologies Using Wikipedia
    Computers in Industry 100 (2018) 244–257 Contents lists available at ScienceDirect Computers in Industry journal homepage: www.elsevier.com/locate/compind Extracting and mapping industry 4.0 technologies using wikipedia T ⁎ Filippo Chiarelloa, , Leonello Trivellib, Andrea Bonaccorsia, Gualtiero Fantonic a Department of Energy, Systems, Territory and Construction Engineering, University of Pisa, Largo Lucio Lazzarino, 2, 56126 Pisa, Italy b Department of Economics and Management, University of Pisa, Via Cosimo Ridolfi, 10, 56124 Pisa, Italy c Department of Mechanical, Nuclear and Production Engineering, University of Pisa, Largo Lucio Lazzarino, 2, 56126 Pisa, Italy ARTICLE INFO ABSTRACT Keywords: The explosion of the interest in the industry 4.0 generated a hype on both academia and business: the former is Industry 4.0 attracted for the opportunities given by the emergence of such a new field, the latter is pulled by incentives and Digital industry national investment plans. The Industry 4.0 technological field is not new but it is highly heterogeneous (actually Industrial IoT it is the aggregation point of more than 30 different fields of the technology). For this reason, many stakeholders Big data feel uncomfortable since they do not master the whole set of technologies, they manifested a lack of knowledge Digital currency and problems of communication with other domains. Programming languages Computing Actually such problem is twofold, on one side a common vocabulary that helps domain experts to have a Embedded systems mutual understanding is missing Riel et al. [1], on the other side, an overall standardization effort would be IoT beneficial to integrate existing terminologies in a reference architecture for the Industry 4.0 paradigm Smit et al.
    [Show full text]
  • Lecture #3 PIC Microcontrollers
    Integrated Technical Education Cluster Banna - At AlAmeeria ‎ © Ahmad © Ahmad El E-626-A Real-Time Embedded Systems (RTES) Lecture #3 PIC Microcontrollers Instructor: 2015 SPRING Dr. Ahmad El-Banna Banna Agenda - What’s a Microcontroller? © Ahmad El Types of Microcontrollers Features and Internal structure of PIC 16F877A RTES, Lec#3 , Spring Lec#3 , 2015 RTES, Instruction Execution 2 Banna What is a microcontroller? - • A microcontroller (sometimes abbreviated µC, uC or MCU) is a small computer on a single integrated circuit © Ahmad El containing a processor core, memory, and programmable input/output peripherals. • It can only perform simple/specific tasks. • A microcontroller is often described as a ‘computer-on-a- chip’. RTES, Lec#3 , Spring Lec#3 , 2015 RTES, 3 Microcomputer system and Microcontroller Banna based system - © Ahmad © Ahmad El RTES, Lec#3 , Spring Lec#3 , 2015 RTES, 4 Banna Microcontrollers.. - • Microcontrollers are purchased ‘blank’ and then programmed with a specific control program. © Ahmad El • Once programmed the microcontroller is build into a product to make the product more intelligent and easier to use. • A designer will use a Microcontroller to: • Gather input from various sensors • Process this input into a set of actions • Use the output mechanisms on the microcontroller to do something useful. RTES, Lec#3 , Spring Lec#3 , 2015 RTES, 5 Banna Types of Microcontrollers - • Parallax Propeller • Freescale 68HC11 (8-bit) • Intel 8051 © Ahmad El • Silicon Laboratories Pipelined 8051 Microcontrollers • ARM processors (from many vendors) using ARM7 or Cortex-M3 cores are generally microcontrollers • STMicroelectronics STM8 (8-bit), ST10 (16-bit) and STM32 (32-bit) • Atmel AVR (8-bit), AVR32 (32-bit), and AT91SAM (32-bit) • Freescale ColdFire (32-bit) and S08 (8-bit) • Hitachi H8, Hitachi SuperH (32-bit) • Hyperstone E1/E2 (32-bit, First full integration of RISC and DSP on one processor core [1996]) • Infineon Microcontroller: 8, 16, 32 Bit microcontrollers for Spring Lec#3 , 2015 RTES, automotive and industrial applications.
    [Show full text]
  • 45% of Members Believe Mo Lybdenite O R Grapheme Will Replace Silico N As the Co Nducto R O F Choice
    ja, … goedkope) en onbeperkte (nou ja… bijna) hardware bijna) ja… (nou onbeperkte en goedkope) … ja, (nou gratis over gaat toekomst De komt. op aan er het als 32-bits MCU’s of en 8-bit microcontrollers, elektronica discrete Vergeet toekomst. de heeft Platform-denken 89% of members work on MCU- based projects in their spare time. Il vero sacro calice della progettazione con FPGA è passare da un qual- che modello ad alto liv- ello direttamente al co- dice FPGA. Solo in questo modo è possibile proget- tare un sistema utilizzan- THE CIR do del codice C, simulare l’intero sistema sul pro- prio computer e scaricare con estrema facilità il co- C dice nella FPGA. Ebbene, UI questa tecnologia esiste T ed è disponibile in varie CELLAR 25 . 60% of members solder almost daily. Si vous avez des signaux HF dans la partie analogique d’un par les lignes ce signal HF rayonnera forcément circuit, sûr : une ligne d’alimentationd’alimentation. Un seul remède séparée pour chaque section analogique ou numérique de avec un découplage systématique de chacun, circuit, votre eux. d’alimentation et entre aussi bien par rapport à la source forme già da diversi anni A MICROCONTROLLER IS A SPECIALIZED, INTE- GRATED CHIP THAT PERFORMS SIMILAR FUNC- TIONS TO A PC. ITS OPERATION, HOWEVER, IS TAILORED FOR A SINGLE DEDICATED TASK COMPARED TO A PC TYPICALLY USED FOR MANY T H GENERAL-PURPOSE TASKS. MICROCONTROLLER A PERFORMANCE IS LIMITED TO THE ON CHIP NNIVERSARY PHYSICAL RESOURCES. THE PC, IN CONTRAST, IS COMPOSED OF MANY HIGH-PERFORMANCE INTEGRATED CIRCUITS AND IS BETTER SUITED FOR GENERAL-PURPOSE TASKS.
    [Show full text]
  • Propeller Quick Reference Guide
    Propeller Chip Quick Reference Spin Language Command Returns Description Value ABORT 〈Value〉 9 Exit from PUB/PRI method using abort status with optional return value. BYTE Symbol 〈[Count]〉 Declare byte-sized symbol in VAR block. 〈Symbol〉 BYTE Data 〈[Count]〉 Declare byte-aligned and/or byte-sized data in DAT block. BYTE [BaseAddress] 〈[Offset]〉 9 Read/write byte of main memory. Symbol.BYTE 〈[Offset]〉 9 Read/write byte-sized component of word/long-sized variable. BYTEFILL (StartAddress, Value, Count) Fill bytes of main memory with a value. BYTEMOVE (DestAddress, SrcAddress, Count) Copy bytes from one region to another in main memory. CASE CaseExpression MatchExpression : Statement(s) Compare expression against matching expression(s), execute code block if match found. 〈 MatchExpression : MatchExpression can contain a single expression or multiple comma-delimited expressions. Statement (s)〉 Expressions can be a single value (ex: 10) or a range of values (ex: 10..15). 〈 OTHER : Statement(s)〉 CHIPVER 9 Version number of the Propeller chip. CLKFREQ 9 Current System Clock frequency, in Hz. CLKMODE 9 Current clock mode setting. CLKSET (Mode, Frequency) Set both clock mode and System Clock frequency at run time. CNT 9 Current 32-bit System Counter value. COGID 9 Current cog’s ID number; 0-7. COGINIT (CogID, SpinMethod 〈(ParameterList)〉, StackPointer) Start or restart cog by ID to run Spin code. COGINIT (CogID, AsmAddress, Parameter) Start or restart cog by ID to run Propeller Assembly code. COGNEW (SpinMethod 〈(ParameterList)〉, StackPointer) 9 Start new cog for Spin code and get cog ID; 0-7 = succeeded, -1 = failed. COGNEW (AsmAddress, Parameter) 9 Start new cog for Propeller Assembly code and get cog ID; 0-7 = succeeded, -1 = failed.
    [Show full text]