Kart/Motherboard

From FSI
(Difference between revisions)
Jump to: navigation, search
(PMOD)
 
Line 61: Line 61:
  
 
The pins are described on the board itself and correspond to the following:
 
The pins are described on the board itself and correspond to the following:
[[File:Kart_pmod_pining.jpg|center|200px|Kart custom PMOD pining]]
+
[[File:Kart_pmod_pining.jpg|center|500px|Kart custom PMOD pining]]
  
 
Various sensors can be wired as [[Kart/Sensors|seen here]].
 
Various sensors can be wired as [[Kart/Sensors|seen here]].

Latest revision as of 10:26, 30 June 2022

Contents

The Kart motherboard will receive any compatible FPGA daughterboard such as the AGLN250 one used during the Kart project and redistribute I/Os. It also powers the system.

Kart motherboard PCB

Power

The main power entry point of the system is through the motherboard by using the two battery connectors with two 6V / 2400mAh packs put in series. The 12V is then reduced to a 5V rail through a buck converter. The daughterboard is then fed with the 5V to provide a 3.3V rail.

Charging

An extra connector allows for an NiMh charger to be connected.

Dialog-warning.png

Make sure to shut the circuit off while charging to avoid higher voltage on the 12V rail.

The charge rate should be of around 0.05C => 120mA here.

Power-on

A switch must be connected to the corresponding port to power the board. Then, the 12V is transported to the PMODs and the buck converter through a 3A-T fuse.

Dialog-warning.png

Please test the circuit with a DC power supply with current limitation capabilities.

If the fuse breaks, check for any short-circuit before replacing it and power-cycling the circuit.

A green LED shows the board power status.

Power state

An I2C dual-inputs ADC converter (MCP3426A0) is present on the board to read both the battery voltage and the current consumption.

Access the data

The chip is read from the FPGA each second through dedicated I2C lines.

The information can be read from the smartphone at will by accessing the corresponding registers.

Daughterboard

The daughterboard is mounted through an SODIMM-200 (DDR2 RAM) connector.

I/Os

PMOD

The board allows for multiple I/Os to be plugged following the PMOD wiring, lightly modified for the Kart, under the following form:

  • 4 full connectors for direct plug (PMODs 5 to 8)
  • 3 full connector for flat-cables
  • 1 half connector for flat-cable

Dialog-warning.png

PMOD8 pins 6 to 8 cannot be used with the AGLN250. In such case, use the connector on one row (the upper one).

The pins are described on the board itself and correspond to the following:

Kart custom PMOD pining

Various sensors can be wired as seen here.

FPGA reset

A small button allows the user to reset the FPGA from the motherboard.

UART sniffers

Both Tx from the FPGA and the BLE module can be sniffed by wiring a dedicated UART-USB chip to the provided headers.

BLE Socket

The Bluetooth - USB dongle can be inserted in its dedicated socket to control the Kart with a smartphone, or easily removed to be plugged in a PC directly.

One can emulate the BLE module with the help of a custom serial interpreter by simply plugging the daughterboard in a PC through the USB-C. The communication is merged between both the PC and the BLE module.

Dialog-warning.png

Trying to communicate simultaneously from the BLE module and the PC will result in undefined behavior (surely scrambled and wrong data read by the FPGA).

One can listen to what the FPGA communicates to the BLE module by opening a serial terminal on the USB-C COM port, but not the invert.

Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox