Kart
(Difference between revisions)
(→Sensors) |
|||
Line 9: | Line 9: | ||
=== BlueTooth communication === | === 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. | ||
+ | |||
The FPGA receives following controls: | The FPGA receives following controls: | ||
− | * the propulsion DC motor | + | * the propulsion DC motor speed and direction |
− | * the steering stepper motor | + | * the steering stepper motor target angle and step period |
* two LEDs | * two LEDs | ||
The FPGA sends following information back: | The FPGA sends following information back: | ||
Line 22: | Line 26: | ||
* [[kart/sensors/VCNL4000|VCNL4000 i2c Distance/Ambience Light Sensor]] | * [[kart/sensors/VCNL4000|VCNL4000 i2c Distance/Ambience Light Sensor]] | ||
* [[kart/sensors/SS311PT|SS311PT Hall Sensor]] | * [[kart/sensors/SS311PT|SS311PT Hall Sensor]] | ||
+ | |||
+ | === Board connectors === | ||
+ | The FPGA board has following connections: | ||
+ | * a 26 pin Header connector | ||
+ | * a 9 pole DSub connector for RS232 | ||
+ | * the FPGA JTAG programming connector | ||
+ | * the PIC RJ11 programming connector | ||
=== To do === | === To do === |
Revision as of 13:35, 23 August 2012
|
The Kart module is a Summer School module for students at the end of the first year.
System Architecture
The kart is controlled by a smartPhone via BlueTooth.
A BlueTooth receiver on the kart control board communicates via an RS232 serial link with the control board FPGA.
BlueTooth communication
A BlueTooth communication transfers serial port data. A receiver chip creates the RS232 signals for the FPGA. The protocol defines how the registers are accessed.
The FPGA receives following controls:
- the propulsion DC motor speed and direction
- the steering stepper motor target angle and step period
- two LEDs
The FPGA sends following information back:
- the battery level
- the actual steering angle
- the distance sensor data
- the hall sensor status
Sensors
Board connectors
The FPGA board has following connections:
- a 26 pin Header connector
- a 9 pole DSub connector for RS232
- the FPGA JTAG programming connector
- the PIC RJ11 programming connector
To do
Use the register to set the rate at which the FPGA sends status to the remote control.
Set-up a hall sensor wheel rotation counter.