|
|
(121 intermediate revisions by 8 users not shown) |
Line 1: |
Line 1: |
− | {{TOC right}}
| + | All of the information is now available on a dedicated website. |
− | The Kart module (214_Pr1) is a Summer School module for students between 2. and 3. semester. It's a home-made car remotely controlled by a smart-phone.
| + | <br> |
| + | Please visit https://ss1.hevs.io/. |
| | | |
− | [[File:Kart.jpg|600px|Demo Kart]]
| + | [[Category:Kart]] |
− | | + | |
− | The work of the students can be summarized in four main tasks:
| + | |
− | * design and assembly of the chassis
| + | |
− | * analysis of the motor driver circuits (DC and stepper)
| + | |
− | * configuring the controlling FPGAs
| + | |
− | * completing and extending the GUI on the smart-phone
| + | |
− | | + | |
− | [[File:SummerSchool_12.jpg|thumb|Summer School '12]]
| + | |
− | [[File:SummerSchool_13.jpg|thumb|Summer School '13]]
| + | |
− | | + | |
− | == System Architecture ==
| + | |
− | | + | |
− | The kart is controlled by a smartphone via Bluetooth.
| + | |
− | | + | |
− | === Distributed boards ===
| + | |
− | | + | |
− | A Bluetooth receiver on the kart communicates via an [[kart/serial link|RS232 serial link]] with the FPGA control board.
| + | |
− | | + | |
− | The control is distributed over several FPGA boards connected together via [[kart/I2C link|I2C]]:
| + | |
− | * An I2C master receives RS232 controls, stores them in a set of registers and dispatches them at a regular interval on the I2C. The master also reads data values from the I2C, stores them into a second set of registers and sends the corresponding information at a regular rate over the RS232.
| + | |
− | * A [[Kart/DC motor controller|DC motor controller]] receives a speed value and builds a PWM and a direction control.
| + | |
− | * A [[Kart/stepper motor controller|stepper motor controller]] receives the desired angle and builds the coil controls signals.
| + | |
− | * A [[Kart/sensor board|sensor board]] manages I/O comprising proximity sensors, hall sensors (for the driving speed) and LEDs.
| + | |
− | | + | |
− | === Bluetooth communication ===
| + | |
− | A Bluetooth communication transfers serial port data.
| + | |
− | A receiver chip creates the RS232 signals for the FPGA.
| + | |
− | The [[kart/serial link#Serial link protocol|protocol]] defines how the [[kart/serial link#Registers|registers]] are accessed.
| + | |
− | | + | |
− | == Components ==
| + | |
− | | + | |
− | === FPGA Boards ===
| + | |
− | The FPGA motherboards are equipped with an AGL125 [http://www.microsemi.com/products/fpga-soc/fpga/igloo-overview IGLOO] in a VQ100 package.
| + | |
− | They connect to daughterboards which drive different parts of the Kart.
| + | |
− | The motherboards are interconnected via an [[kart/I2C link|I2C link]].
| + | |
− | | + | |
− | Existing daughterboards are:
| + | |
− | * the [[Kart/RS232 board| serial interface board]] or the [[Kart/Bluetooth Bluetooth interface board]]
| + | |
− | * a [[Kart/DC motor controller|DC motor controller]]
| + | |
− | * a [[Kart/stepper motor controller|stepper motor controller]]
| + | |
− | * an [[Kart/sensor board|I/O board]]
| + | |
− | | + | |
− | === Sensors ===
| + | |
− | | + | |
− | The sensors connected to the I/O board are:
| + | |
− | * 1 to 4 [[kart/sensors/VCNL4000|VCNL4000 I2C Distance/Ambience Light Sensor]]
| + | |
− | * 1 to 2 [[kart/sensors/SS311PT|SS311PT Hall Sensor]]
| + | |
− | * 1 [[Kart/sensors/HCSR04|ultrasound ranger]]
| + | |
− | * 1 [[Kart/sensor board|end of turn]] contact switch
| + | |
− | | + | |
− | Additionally, the power supply board comprises an ADC which provides the [[kart/battery level|battery level]].
| + | |
− | | + | |
− | == Tasks ==
| + | |
− | | + | |
− | === FPGA Design ===
| + | |
− | You'll get the FPGAs preprogrammed with a functional solution.
| + | |
− | | + | |
− | In addition you'll get HDL-Designer projects prepared to complete.
| + | |
− | | + | |
− | ==== Setup ====
| + | |
− | {{TaskBox|content=
| + | |
− | Download the [[Media:ELN_kart.zip|ELN_kart.zip]] and unpack it to your ''U:\'' drive.}}
| + | |
− | {{WarningBox|content=
| + | |
− | Make sure that there is no space character in the path to ELN_kart.}}
| + | |
− | | + | |
− | === Android App ===
| + | |
− | One goal is to implement an Android application that controls and monitors to the kart.
| + | |
− | | + | |
− | ==== Introduction ====
| + | |
− | | + | |
− | The presentation [[Media:Programming_Introduction.pdf|Programming Introduction]] should give you an overview about the structure of the software/hardware and your tasks.
| + | |
− | | + | |
− | The installable package of the (or rather a) solution can be found here: [[Media:Kart.apk|Kart.apk]]
| + | |
− | | + | |
− | ==== Android ====
| + | |
− | | + | |
− | An introduction to Android can be found here: [[File:Android_Introduction.pdf]]
| + | |
− | | + | |
− | Another sample project to learn how to create vertical seek bars: [[File:VerticalSeekBarExample.zip]]
| + | |
− | | + | |
− | ==== Starting point ====
| + | |
− | | + | |
− | You can download the Kart eclipse project with the basic interface here: [[File:Kart.zip]]
| + | |
− | | + | |
− | You can find the instructions how to import that archive into Eclipse in the "Programming Indtroduction" presentation...
| + | |
− | | + | |
− | == Getting started ==
| + | |
− | In order to start the projects you should do the following:
| + | |
− | * Read carefully the specifications above
| + | |
− | * Consult the [[kart/students|student's guide]] for the first steps
| + | |
− | * When preparing the labs, follow the [[kart/setup|setup guide]]
| + | |
− | | + | |
− | == Additional Information ==
| + | |
− | | + | |
− | * Additional informations [[kart/professor|for collaborators]]
| + | |
− | * [[kart/toDo|To do list]]
| + | |
− | * When preparing the labs, follow the [[kart/setup|setup guide]]
| + | |
− | | + | |
− | [[Category:Bachelor]] [[Category:SummerSchool]] [[Category:Pr1]] [[Category:Kart]]
| + | |