EN1002 - Engenharia Unificada I FERRAMENTAS E EXEMPLOS DE PROJETO COM O LEGO MINDSTORMS Centro de Engenharia, Modelagem e Ciências Sociais Aplicadas.

Slides:



Advertisements
Similar presentations
Bluetooth.
Advertisements

Digital Systems Design VHDL in Bluetooth Baseband Module by Marc A. Mackey.
1 Introduction to Bluetooth v1.1 (Part I) Overview Radio Specification Baseband Specification LMP L2CAP.
CDA 6505 Network Architecture and Client/Server Computing
Sattam Al-Sahli – Emad Al-Hemyari –
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 11th Lecture Christian Schindelhauer.
Mohamed Mokdad Ecole d’Ingénieurs de Bienne
Bluetooth Still Waiting for the Tsunami!. Bluetooth History Ericsson initiative Special Industry Group: (Promoters) Ericsson, IBM, Intel, Nokia, and Toshiba.
CPET 260 Bluetooth. What is Bluetooth? Not IEEE (Wi-Fi) or HomeRF Originally designed to replace wires Short-range, lower-power wireless technology.
1 Overview of Bluetooth technology Bluetooth protocol stack The Ericsson Bluetooth module Alternate solutions Wireless LANs Conclusions References Networking.
Bluetooth: Technology for Short-Range Wireless Apps Author:Pravin Bhagwat Presented by Chin-Yi Tsai IEEE INTERNET COMPUTING MAY.JUNE 2001.
1 Mini Course Programming Context-aware Mobile Phones Thomas Bodin IT University of Copenhagen.
A Comparison of Bluetooth and competing technologies
® The Bluetooth Architecture APIs, L2CAP, Link Management, Baseband, and the Radio.
A Comparison of Bluetooth and competing technologies
Bluetooth Introduction The Bluetooth Technology
Presented by Selim Dursun
Bluetooth based home automation system N.Sriskanthan, F.Tan, K. Karande Microprocessors and Microsystems 26(2002) Presenter: Bui Phuong Nhung.
BLUETOOTH. Introduction Bluetooth technology discussed here aims at so-called ad- hoc piconets, which are local area networks with a very limited coverage.
Distributed systems – Part 2  Bluetooth – 2 nd set of slides Anila Mjeda.
Bluetooth Architecture and Applications Chris Greco, Wesley Kunzler, Koy Rehme, Zhuo Ruan.
Modeling & Simulation of Bluetooth MAC protocol COE543 Term Project Spring 2003 Submitted by: H.M.Asif (ID# )
Respected Sir & dear friends. Presented by Mohd. Sufiyan MCA –Vth Sem Sec-A2 GIMT (Gr. Noida)
ECE 424 Embedded Systems Design Networking Connectivity Chapter 12 Ning Weng.
Bluetooth: Introduction
INTRODUCTION Bluetooth technology is code name for Personal Area Network (PAN) technology that makes it extremely easy to connect a mobile, computing device.
WIRELESS LANs BLUETOOTH.
3. Bluetooth usage models 4. L2CAP process 5. Example 6. Terminology
By Santosh Sam Koshy. Agenda Need for Bluetooth Brief History of Bluetooth Introduction to Bluetooth Bluetooth System Specifications Commercial Bluetooth.
Bluetooth Kirthika Parmeswaran Telcordia Technologies OOPSLA’2000.
Sunday, October 15, 2000 JINI Pattern Language Workshop ACM OOPSLA 2000 Minneapolis, MN, USA Patterns in Bluetooth Aniruddha Gokhale
DIUF, Seminar in Telecommunications, M. Hayoz The Bluetooth TM wireless technology A brief overview.
Bluetooth Techniques ECE 591. Overview  Universal short-range wireless capability  Uses 2.4-GHz band  Available globally for unlicensed users  Devices.
10/15/ Short-Range Radio Frequency Networking B. Ramamuthy.
Introduction to bluetooth. outline Why bluetooth History Bluetooth stack and technology Reference.
King Fahd University of Petroleum & Minerals Electrical Engineering Department EE400 PROJECT Personal Area Networks Instructed by Dr.AlGhadbanPresenters.
Doc.: IEEE /033r2 Submission July 1999 Simon Baatz, University of BonnSlide 1 Integration of Bluetooth into LAN Environments Simon Baatz, Matthias.
Wireless Networks Instructor: Fatima Naseem Computer Engineering Department, University of Engineering and Technology, Taxila.
Architecture of an infrastructure network Distribution System Portal 802.x LAN Access Point LAN BSS LAN BSS 1 Access Point STA.
William Stallings Data and Computer Communications
Bluetooth Techniques Chapter 15. Overview of Bluetooth Initially developed by Swedish mobile phone maker in 1994 to let laptop computers make calls over.
발표자 : 현근수 Bluetooth. Overview wireless protocol short-range communications technology single digital wireless protocol connecting multiple devices mobile.
Team Topic Presentation Team 6 BLUETOOTH What is Bluetooth? Cable Replacement Automatic Connectivity Hidden Computing Few Examples: 1.Automatic Door.
Lectured By: Vivek Dimri Asst Professor CSE Deptt. SET.
Bluetooth In 1994, the L. M. Ericsson company became interested in connecting its mobile phones to other devices without cables. A SIG (Special Interest.
JPMA PROJECT PRESENTATION (ITU) 1 INTRODUCTION BLUETOOTH CHAT DESIGN JAVA ON MOBILE DEVICE Presenters Benjamin Boateng Abass Omer Venkateshwar Rao Namilakonda.
Bluetooth.
Computer Data Communications. Types of Wireless Networks 2.
Sonal Jain, IT-BHU Bluetooth Mobile Ad Hoc Networks Sonal Jain B.Tech (IV), Electrical Engg. Dept.,ITBHU IEEE SPAVes Sept 14, 15 Institute.
Development of a Bluetooth based web camera module.
Bluetooth Technology -Prepared By Jasmin Patel -Guided By Jagruti Goswami.
Bluetooth Technology -Prepared By Jasmin Patel -Guided By Jagruti Goswami.
BTSTACK RTLAB YuJin Park. Bluetooth Protocol Stack Protocol Stack Applications TCS Binary RFCOMM Service Discovery Protocol (SDP) Logical Link Control.
Created by :- prashant more prashant more. INTRODUCTION Bluetooth is wireless high speed data transfer technology over a short range ( meters).
Bluetooth Technology Name- Bittu Kumar Roll No.- A05 Section- E2801
SSN College of Engineering
BLUETOOTH THE STANDARD & ISSUES.
Channel Control Interim substates for adding new slaves
A Wireless LAN technologies IEEE
Wireless NETWORKS NET 434 Topic No 7 Bluetooth-IEEE802.15
Wireless NETWORKS NET 434 Topic No 7 Bluetooth-IEEE802.15
11/11/2018 Bluetooth: The Universal Radio Interface for Ad hoc, Short-Range Connectivity CIS 642 Maria Adamou.
“I don’t have to be careful, I’ve got a gun.”
Wireless NETWORKS NET 434 Topic No 7 Bluetooth-IEEE802.15
BLUETOOTH Personal Area Networking [ PAN ] over Bluetooth
Short-Range Radio Frequency Networking
Short-Range Radio Frequency Networking
Bluetooth- L2CAP & Baseband Layer
Presentation transcript:

EN Engenharia Unificada I FERRAMENTAS E EXEMPLOS DE PROJETO COM O LEGO MINDSTORMS Centro de Engenharia, Modelagem e Ciências Sociais Aplicadas

Bluetooth control using Lego Mindstorms for Educational Engineering The Agenda: Wireless technology overview Bluetooth protocol LabVIEW Lego Mindstorms NXT Project implementation Project planning 1

Wireless Technology

Frequency- hopping

Wi-fi Hops about every 0.1 sec Bluetooth is hopping every 625 microseconds and as fast as 3200 hops a second when initially connecting. Hopping Benefits are: bandwidth can be utilized more efficiently Security level (difficult to intercept) In order to avoid collisions with other Bluetooth transmitters in the same area, Bluetooth uses pseudo-random generation algorithm to identify the frequency hopping pattern between two devices. The hopping pattern is based on the Bluetooth Device Address information, a unique identifier that is assigned to every Bluetooth transmitter. Frequency- hopping

The Physical layer of the OSI model is a physical infrastructure of the network. the Data Link Layer receives information on its software side from higher layers, places this information inside of "frames", and finally gives this frame to the Physical Layer, for transmission. The data link layer of the 802 protocols is split into: Medium Access Control sub-layer which determines who gets to transmit next LLC (Logical Link Control) sub-layer, hiding the differences between the different 802 variants and make them indistinguishable for the network layer. OSI reference model and Wireless

Bluetooth Physical Layer (RF) Utilizes the license free 2.4GHz ISM radio band Pseudo-random frequency- hopping scheme with 1600 frequency hops per second (FHSS) 79 carriers (f=2402+k MHz, k=0,…,78) Performing Gaussian Frequency Shift Keying modulation Power classes : – I : max output power : 100mW (20dBm) => 100m – II : max output power : 2.5mW (4dBm) => 20m – III : max output power : 1mW(0dBm) => 10m Bluetooth Protocol

Baseband Layer Enables RF to form a piconet (physical channel shared among several devices) Up to 7 slaves can be connected to 1 master Provides 2 different kind of physical links, with their corresponding packets – Synchronous Connection-Oriented (SCO) – Asynchronous Connection-Oriented (ACL) Responsible for assembling the Bluetooth packet header information, and for applying error checking and data whitening Baseband: The Baseband and Link Control Layer enables the RF link Bluetooth units in a piconet. This layer uses inquiry and paging procedures to synchronize the transmission between different Bluetooth devices. Bluetooth Protocol

Link Manager Protocol (LMP) Responsible for link set-up between devices, including security functions : – Authentication – Encryption Controls and negotiates baseband packet size Controls power modes and connection states Link Manager Protocol (LMP): The link manager protocol is responsible for setting up link channels between Bluetooth devices after performing security methods like authentication and encryption by generating, exchanging and verifying linking and encryption keys and negotiating baseband packet size. Bluetooth Protocol

In standard Bluetooth hardware, the lower three layers are implemented in firmware or in hardware, and are generally not accessible to Bluetooth developers. Instead, Bluetooth developers interact with the host controller layer (HCI) which resides at a boundary between the host operating system (such as Windows or Linux) and the Bluetooth hardware. Above the HCI layer is the Logical link Control and Adaptation Protocol (L2CAP) is an abstraction layer above the HCI and LMP layers, handling application functionality for upper-layer protocols. Logical Link Control and Adaptation Protocol (L2CAP) Its role is to adapt upper protocols over the Baseband : – Multiplexing capability – Segmentation and reassembly operations Permits to transmit and receive upper layer data packets up to 64kB in length Also permits per-channel flow control and retransmission Bluetooth Protocol

SDP - Service Discovery Protocol: Using SDP, device information, services allowed and characteristics of the services are queried between Bluetooth enabled devices. RFCOMM - Cable Replacement Protocol: RFCOMM is a serial line emulation protocol. TCS Binary, AT Commands are used to establish speech and data calls between devices and control mobile phones and modems respectively (Telephony Control Protocol). Adopted Protocols: Bluetooth also supports PPP, TCP/UDP/IP, OBEX and WAP protocols to maximize interoperability. Bluetooth Protocol

In order to accommodate the relatively low cost of a Bluetooth radio, the Bluetooth protocol stack is designed in a layered approach. The layered approach allows different portions of the protocol stack to be designed independently and tightly integrated into hardware, which is important for lightweight devices such as headsets that have limited memory availability. In this project, three lower layers can be attributed to Bluetooth USB dongle, while above it are host controller and adaptation protocols, which realized with Lego Fantom driver. Upper protocols are provided by operating system. Bluetooth Protocol

Visual Programming: Utilizes human visual system Should be more “natural” Avoid syntax People were already using graphical notations Flowcharts and Data flow, State-Transition Diagrams, Wiring Diagrams Use these directly LabVIEW

This VI continuously generates two signals: a pure sine wave of variable frequency and amplitude and a white noise signal of a variable amplitude The noise is then added to the sine wave The sine wave with and without the noise are then shown in a time domain graph. Additionally an FFT is calculated for both signals and the results are then shown in the frequency domain graph. Note that the square shaped functions are subroutines in the form of sub-VI’s LabVIEW example

LabVIEW advantages Compiled language Intuitive interface Easy to learn Widely used in industry for R&D and production automation Build executables Run VI’s as web site In-built math functions and examples Community of users and shareware resources LabVIEW

The LEGO Mindstorms® is a robotic building system consisting of: The NXT Intelligent Brick: the brain of the system Sensors and servo motors LEGO TECHNIC Elements Programming software Lego Mindstorms NXT

iRobot Create, Roomba 2 bump sensors Odometer IR wall sensor on right side Virtual wall infrared sensor Remote control infrared sensor Vacuum and motor control Serial interface RoombaDevTools Bluetooth Interface ($100)… Lego Mindstorms NXT

Scribbler Sensors IR “ranger”; 2 receivers and emitter Stall sensor 3 light 2 “line” (IR pairs) 2 DC motors Programmed in PBasic Serial communication (up to baud) SD202 Bluetooth adapter ($100) Serial emulation Class 1 Lego Mindstorms NXT

Mindstorms in Engineering Educational Community MIT Media Lab s/ Lego Mindstorms NXT

The system: PC with USB Bluetooth adapter, running control LabVIEW software and an NXT sensor- equipped robotic vehicle Project Implementation

LabVIEW control code Project Implementation

LabVIEW Front Panel Project Implementation

LabVIEW independent mode sequence, monitoring the events of two sensors until new pairing passkey from master arrives to Bluetooth mailbox. A Touch sensor event Ultrasonic sensor event Project Implementation

Why project management? By having good project management, we can Achieve the project goal on time and within the budget Keep the focus on the goal and work well Have a good practice for future work situations Present the project materials by acceptable engineering standards Project Planning The process of project development is full of uncertainties The more uncertainties you have, the less possible that the project can be successful Uncertainties can be reduced by having a good feasibility study before the project Background research Understand the resource required and acquired Risk analysis Project Planning

Project Initiation document The purpose is to identify and document the exact requirements for the project Much interaction must take place between the customer (e.g. advisor) and the developer (student) Should be well documented since very often it serves as an agreement of the functions that will be provided by the system developed The document is sometimes called user specifications or functional specifications. May form the basis for project commissioning Project Planning

System design and specification Split into two sub-phases: architectural and detailed design Architectural design Define the overall organization of the system in terms of high-level components and their interaction Detailed design Lower level modules in each component and their interfaces The document is sometimes called technical specifications Project Planning

Split project into tasks and estimate time and resources required to complete each task Minimize task dependencies to avoid delays caused by one task waiting for another to complete, considering the fact that concurrent organization of the tasks is limited since all the work is done by one student Implementation – Work breakdown – MS Project Project Planning