Master Thesis Presentation Future Electric Vehicle on Lego By Karan Savant. Guide: Dr. Kai Huang

Similar documents
Training Schedule. Robotic System Design using Arduino Platform

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station

Hardware Platforms and Sensors

ANDROID APPS DEVELOPMENT FOR MOBILE GAME

RN-171 Data Sheet. WiFly GSX b/g Wireless LAN Module Features

Introduction to Mobile Sensing Technology

Attack on the drones. Vectors of attack on small unmanned aerial vehicles Oleg Petrovsky / VB2015 Prague

School of Surveying & Spatial Information Systems, UNSW, Sydney, Australia

AUTOPILOT CONTROL SYSTEM - IV

Critical Design Review: M.A.D. Dog. Nicholas Maddy Timothy Dayley Kevin Liou

Endurance R/C Wi-Fi Servo Controller 2 Instructions

III. MATERIAL AND COMPONENTS USED

BlinkRC User Manual. 21 December Hardware Version 1.1. Manual Version 2.0. Copyright 2010, Blink Gear LLC. All rights reserved.

SNIOT702 Specification. Version number:v 1.0.1

CMPS09 - Tilt Compensated Compass Module

Colour Recognizing Robot Arm Equipped with a CMOS Camera and an FPGA

Application Note. Communication between arduino and IMU Software capturing the data

Smart-M3-Based Robot Interaction in Cyber-Physical Systems

DESIGN CONSTRAINTS ANALYSIS

RN-171 Data Sheet. WiFly GSX b/g Wireless LAN Module. Features

Project Name Here CSEE 4840 Project Design Document. Thomas Chau Ben Sack Peter Tsonev

The Datasheet and Interfacing EE3376

CMPS11 - Tilt Compensated Compass Module

OS3D-FG MINIATURE ATTITUDE & HEADING REFERENCE SYSTEM MINIATURE 3D ORIENTATION SENSOR OS3D-P. Datasheet Rev OS3D-FG Datasheet rev. 2.

Technical Specification

GESTUR. Sensing & Feedback Glove for interfacing with Virtual Reality

Momo Software Context Aware User Interface Application USER MANUAL. Burak Kerim AKKUŞ Ender BULUT Hüseyin Can DOĞAN

An IoT Based Real-Time Environmental Monitoring System Using Arduino and Cloud Service

WifiBotics. An Arduino Based Robotics Workshop

Attitude and Heading Reference Systems

Journal of Engineering Science and Technology Review 9 (5) (2016) Research Article. L. Pyrgas, A. Kalantzopoulos* and E. Zigouris.

RC-WIFI CONTROLLER USER MANUAL

USING ARDUINO AND WIFI WITH RSSI TO CONTROL LED: AN IOT BASED APPROACH

Interfacing Sensors & Modules to Microcontrollers

Unit level 5 Credit value 15. Introduction. Learning Outcomes

CamFi TM. CamFi User Guide. CamFi Remote Camera Controller. CamFi Limited Copyright 2015 CamFi. All Rights Reserved.

Project Final Report: Directional Remote Control

Voice Command Based Robotic Vehicle Control

PalmGauss SC PGSC-5G. Instruction Manual

Gesture Identification Using Sensors Future of Interaction with Smart Phones Mr. Pratik Parmar 1 1 Department of Computer engineering, CTIDS

Data Collection: Sensors

DNT2400. Low Cost 2.4 GHz FHSS Transceiver Module with I/O

BluetoothMesh ModuleDatasheet

802.11g Wireless Sensor Network Modules

GPS System Design and Control Modeling. Chua Shyan Jin, Ronald. Assoc. Prof Gerard Leng. Aeronautical Engineering Group, NUS

ARTIFICIAL ROBOT NAVIGATION BASED ON GESTURE AND SPEECH RECOGNITION

EL6483: Sensors and Actuators

Controlling LED Smartphone using Arduino

Technical Specification

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz Operating Frequency Tolerance khz

IOT104 2-Day Programming Internet of Things (IoT) using Arduino

HAND GESTURE CONTROLLED ROBOT USING ARDUINO

EARTHQUAKE EARLY WARNING SYSTEM FOR ANDROID

Nautical Autonomous System with Task Integration (Code name)

Speed Control of DC Motor Using Bluetooth Devices

ZKit-51-RD2, 8051 Development Kit

Study of M.A.R.S. (Multifunctional Aero-drone for Remote Surveillance)

A Wireless Mesh IoT sensor system FEATURES DESCRIPTION. Vicotee Njord series Nodes

MOBILE COMPUTING 1/29/18. Cellular Positioning: Cell ID. Cellular Positioning - Cell ID with TA. CSE 40814/60814 Spring 2018

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

Measurement Equipment Development of Stability Evaluation for Joint Slope using Unmaned Aerial Vehicle

A New Approach to Control a Robot using Android Phone and Colour Detection Technique

Validation of comprehensive energy management system based on cloud-sourced information

SELF STABILIZING PLATFORM

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz Operating Frequency Tolerance khz

RN-21. Class 1 Bluetooth Module. Applications. Features. Description. Block Diagram. DS-RN21-V2 3/25/2010

Multi-Sensor Integration and Fusion using PSoC

Smart Sensors for Domotics and Health Care, Alessandra Flammini, Brescia University 1

EOS 80D (W) Wireless Function Instruction Manual ENGLISH INSTRUCTION MANUAL

BLE 4.0 Module ZBModule User Manual 1 / 15

Motor Control using NXP s LPC2900

DISCONTINUED. Modulation Type Number of RF Channels 15

Wireless Controlled Residential Air Vent: A Smartphone Interface for Air Direction

Implementation of three axis magnetic control mode for PISAT

EEL 4665/5666 Intelligent Machines Design Laboratory. Messenger. Final Report. Date: 4/22/14 Name: Revant shah

Modulo User Guide. Part Number: AFERO-BL24-01 Rev: 1.0

Development of a ZigBEE based wireless data transmission system for radon concentration measurement devices

INTELLIGENT HOME AUTOMATION SYSTEM (IHAS) WITH SECURITY PROTECTION NEO CHAN LOONG UNIVERSITI MALAYSIA PAHANG

CS371m - Mobile Computing. Sensing and Sensors

Project Name: Tail-Gator

Design of a Remote-Cockpit for small Aerospace Vehicles

ECE 477 Digital Systems Senior Design Project Rev 8/09. Homework 5: Theory of Operation and Hardware Design Narrative

Onboard Android Sensor Access

Hardware in the Loop Simulation for Unmanned Aerial Vehicles

Course Project. Project team forming deadline has passed Project teams will be announced soon Next step: project proposal presentation

A 3D Ubiquitous Multi-Platform Localization and Tracking System for Smartphones. Seyyed Mahmood Jafari Sadeghi

AC Servo Amplifier SANMOTION R Series ADVANCED MODEL with Built-in EtherCAT Interface

Citrus Circuits Fall Workshop Series. Roborio and Sensors. Paul Ngo and Ellie Hass

TMS320F241 DSP Boards for Power-electronics Applications

INDY R2000 Module Series Specification

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014

Saeon is the company that focuses on groundbreaking creative innovation

Modern Robotics Inc. Sensor Documentation

Putting It All Together: Computer Architecture and the Digital Camera

MASTER THESIS. TITLE: Arduino based acquisition system for control applications

Inertial Sensors. Ellipse 2 Series MINIATURE HIGH PERFORMANCE. Navigation, Motion & Heave Sensing IMU AHRS MRU INS VG

ZJUDancer Team Description Paper Humanoid Kid-Size League of Robocup 2015

Inertial Sensors. Ellipse 2 Series MINIATURE HIGH PERFORMANCE. Navigation, Motion & Heave Sensing IMU AHRS MRU INS VG

RN-41-SM. Class 1 Bluetooth Socket Module. Features. Applications. Description. Block Diagram. rn-41sm-ds 9/9/2009

IMU: Get started with Arduino and the MPU 6050 Sensor!

Transcription:

Master Thesis Presentation Future Electric Vehicle on Lego By Karan Savant Guide: Dr. Kai Huang

Overview Objective Lego Car Wifi Interface to Lego Car Lego Car FPGA System Android Application Conclusion

Objective of Thesis Interfacing the Lego car with an Wi-Fi Module and controlling it remotely via Smart-Phone/Tab Configure the Wi-Fi Module as an Access point Re-engineer the Lego Technic 9398 into 4-wheel independent steering/driving Develop an Android Application to Implement control based on the Android device inbuilt sensors Implement a closed loop control for Car speed measurement using BEMF

Overview Objective Lego Car Wifi Interface to Lego Car Lego Car FPGA System Android Application Conclusion

Currently Being Used It has one DC and one Servo Lego Motors Lego Car New Configuration It has Four DC and Four Servo Lego Motors Driving Modes

Overview Objective Lego Car Wi-Fi Interface to Lego Car Lego Car FPGA System Android Application Conclusion

Why WiFi? Better range than most other wireless protocols More secure Easily available today Many hardware options available Wifi has higher bitrate so it is more suitable for transferring the camera video signal Some Smartphone OS like Apple ios requires special chip to be put in the application circuit for it to be Bluetooth enabled

Wifi Module : RN134 Features: Hardware interface: UART and SPI slave Full onboard TCP/IP stack (no external drivers required) Supports Adhoc and infrastructure networking modes Real-time clock for time-stamping, auto-sleep, and auto-wakeup modes Runs directly from batteries or regulated power supply Configuration over serial or wireless interface using simple ASCII commands Over the air firmware upgrade Secure Wi-Fi authentication schemes (WEP / WPA / WPA2)

Wi-Fi Module -FPGA Interface over UART

Overview Objective Lego Car Wi-Fi Interface to Lego Car Lego Car FPGA System Android Application Conclusion

FPGA Board Used The key features of the board : Featured device Altera Cyclone IV EP4CE22F17C6N FPGA Altera serial configuration EPCS16(16Mbits) Memory devices 32MB SDRAM 2Kb I2C EEPROM General user input/output 8 green LEDs 2 debounced pushbuttons 4-position DIP switch A/D Converter NS ADC128S022, 8-Channel, 12-bit A/D Converter

FPGA Hardware Configuration Nios II Core Processor CPU ADC Controller controls the NS ADC128S022, 8-Channel, 12-bit ADC EPCS Flash Controller PIO LEDs Motor Control IP Controls the Motor Speed according to the PWM Duty Cycle SDRAM Controller Controls the 32Mb SDRAM UART Module sets the UART to run at Baud rate: 115200 bps 8 Data bits, No Parity, 1 Stop bit.

FPGA Software- NIOS II Wi-Fi Interface Protocol

Wi-Fi Interface Protocol In order to make the communication secure the following message structure is used Message Structure *Message ID Vehicle id MAC ID COMMAND Data * * Start of message * end of message Delimiter Vehicle ID AGxxxxxx: Vehicle ID is made using the ip assigned to the Wifi module eg: ip 192.168.5.5 has Vehicle ID AG005005 So ip 192.168.xxx.xxx has Vehicle ID AGxxxxxx

Message Exchange Startup and Authentication *Mxxx AGxxxxxx MAC ID PASSWORD Data * *Mxxx AGxxxxxx MAC ID ACK Data * Smartphone Speed Control *Mxxx AGxxxxxx MAC ID START Data * *Mxxx AGxxxxxx MAC ID ACK Data * *Mxxx AGxxxxxx MAC ID ROL Data * *Mxxx AGxxxxxx MAC ID ACK Data * Above messages continue cyclically until Quit message is send *Mxxx AGxxxxxx MAC ID QUIT Data * *Mxxx AGxxxxxx MAC ID ACK Data * FPGA Board If Acknowledgement is not received the Message is resend

Overview Objective Lego Car Wi-Fi Interface to Lego Car Lego Car FPGA System Android Application Conclusion

Sensors In Android The Android platform supports three broad categories of sensors: Motion sensors These sensors measure acceleration forces and rotational forces along three axes. This category includes accelerometers, gravity sensors, gyroscopes, and rotational vector sensors. Environmental sensors These sensors measure various environmental parameters, such as ambient air temperature and pressure, illumination, and humidity. This category includes barometers, photometers, and thermometers. Position sensors These sensors measure the physical position of a device. This category includes orientation sensors and magnetometers.

Definition of the coordinate system used by the Sensor Event API. Android Orientation Sensor The orientation sensor is software-based and derives its data from the accelerometer and the geomagnetic field sensor. The orientation sensor lets you monitor the position of a device relative to the earth's frame of reference (specifically, magnetic north) The orientation sensor provides azimuth (yaw), pitch, and roll values

Speed Increase Left Turn Right Turn Speed Decrease

Android Ecar Remote Application Displays the Current Speed At Start button Press Record the Device Coordinates as the Reference Coordinates At Set Speed button Press Record the Pitch Value Keep Calculating the Difference: Pitch = Reference Pitch Current Pitch PWM Duty= Constant * Pitch PWM is used to control the Ecar Speed At Turn button Press Record the Roll Value Keep Calculating the Difference: Turn = Reference Roll Current Roll

Andriod Programming Links Here is the link i found which gives a step by step tutorial for setting up the android tools. If you do not have Eclipse IDE or JRE(Java Runtime Environment) installed please follow this tutorial first. http://www.vogella.com/articles/eclipse/article.html Then you have to install the ADT. The follwing link describes how to install and configure the ADT(Android Development tools). Please only follow the steps mentioned under "Updating an existing Eclipse installation" http://www.vogella.com/articles/androidinstallation/article.html There are also tutorials for android development and common problems you can find on this link. http://www.vogella.com/android.html