Kart

(Difference between revisions)
Jump to: navigation, search
(Connection)
(FPGA Boards)
Line 36: Line 36:
  
 
=== FPGA Boards ===
 
=== 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.
+
The [[Kart/FPGA board|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.
+
They hold daughterboards which drive different parts of the Kart.
 
The motherboards are interconnected via an [[kart/I2C link|I2C link]].
 
The motherboards are interconnected via an [[kart/I2C link|I2C link]].
  
 
Existing daughterboards are:
 
Existing daughterboards are:
* the [[Kart/RS232 board| serial interface board]] or the [[Kart/Bluetooth|Bluetooth interface board]]
+
* the [[Kart/RS232 board|serial interface board]] or the [[Kart/Bluetooth|Bluetooth interface board]]
 
* a [[Kart/DC motor controller|DC motor controller]]
 
* a [[Kart/DC motor controller|DC motor controller]]
 
* a [[Kart/stepper motor controller|stepper motor controller]]
 
* a [[Kart/stepper motor controller|stepper motor controller]]

Revision as of 12:52, 2 June 2015

Contents

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.

Summer School '13
Summer School '12
Summer School '09
Summer School '05
Summer School '04

Demo 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)
  • configuration of the controlling FPGAs
  • completion and extension of the control GUI on the smartphone

System Architecture

The kart is controlled by a smartphone via Bluetooth.

Distributed boards

A Bluetooth receiver on the kart communicates via an RS232 serial link with the FPGA control board. This board stores the control values in a set of registers and dispatches them at a regular interval on an I2C link. The master also reads data values from the slave boards, stores them into a second set of registers and sends the corresponding information at a regular pace over the RS232 with a very simple protocol.

The control is distributed over several FPGA boards connected together via I2C. These base boards each hold a slave function board:

  • A Bluetooth RS232 modem sits on the I2C master FPGA
  • A DC motor controller receives a speed value and builds a PWM and a direction control.
  • A stepper motor controller receives the desired angle and builds the coil controls signals.
  • A sensor board manages I/O comprising proximity sensors, hall sensors (for the driving speed) and LEDs.

Components

FPGA Boards

The FPGA motherboards are equipped with an AGL125 IGLOO in a VQ100 package. They hold daughterboards which drive different parts of the Kart. The motherboards are interconnected via an I2C link.

Existing daughterboards are:

Sensors

The sensors connected to the I/O board are:

Additionally, the power supply board comprises an ADC which provides the battery level.

Tasks

The presentation Programming Introduction gives you an overview about the structure of the software/hardware and your tasks.

FPGA Design

You'll get the FPGAs preprogrammed with a functional solution.

In addition you'll get a HDL-Designer projects, which you have to complete or adapt.

Setup

View-pim-tasks.png

Download the ELN_kart.zip and unpack it to your U:\ drive.

Dialog-warning.png

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 the kart.

Introduction

The installable package of the (or rather a) solution can be found here: Kart.apk

Android

An introduction to Android can be found here: Android Introduction

Another sample project to learn how to create vertical seek bars: Vertical SeekBar Example

Starting point

You can download the Kart eclipse project with the basic interface here: Kart.zip

You can find the instructions how to import that archive into Eclipse in the "Programming Indtroduction" presentation...

Additional Information

Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox