Kart

(Difference between revisions)
Jump to: navigation, search
(Starting point)
Line 9: Line 9:
 
[[File:SummerSchool_04.jpg|thumb|Summer School '04]]
 
[[File:SummerSchool_04.jpg|thumb|Summer School '04]]
  
[[File:Kart I2C.jpg|600px|Demo Kart]]
+
[[File:Kart I2C.jpg|500px|Demo Kart]]
  
 
The work of the students can be summarized in four main tasks:
 
The work of the students can be summarized in four main tasks:

Revision as of 12:40, 2 September 2015

Contents

The Kart module (214_Pr1) is a Summer School module for students between the 2nd and the 3rd semester. It is a home-made model car remotely controlled by a smartphone.

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:

Tasks

The programming introduction gives an overview about the structure of the software/hardware and the students' tasks. They comprise:

  • FPGA design for driving the hardware and reading the sensors
  • Android application development for the remote control

The students receive FPGA boards preprogrammed with a functional solution and androïd phones with a demo application. This allows to start the development either with the FPGA design or the Android application development.

FPGA Design

A FPGA design environment is available, based on:


View-pim-tasks.png

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

Dialog-warning.png

Make sure that there is no space character in the path to ELN_kart.

With this, the following designs have to be completed:

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 project with the minimal interface here: Kart.zip

You can find the instructions how to open the project in Android Studio in the "Programming Introduction" presentation...

The online documentation of all Java classes that are at your disposition is [here]

If you need timers, please do not use Java standard Timer and TimerTask, we provide a dedicated Timer class for your project here

Components

Power supply

The power supply board provides the 5 V and the 3.3 V to the other boards. This is generated from two 6 V battery packs.

The power supply board also comprises an ADC which provides the battery level.

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.

The FPGA motherboards can be tested with the help of a dedicated test board which runs a signal from one I/O pin to the next.

FPGA daughterboards

Existing daughterboards are:

Sensors

The sensors connected to the I/O board are:

Additional Information

Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox