Kart/Bluetooth

From FSI
(Difference between revisions)
Jump to: navigation, search
(Connection between FPGA and Bluetooth module)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{TOC right}}
 
{{TOC right}}
  
The [[Kart|kart's]] Bluetooth boards hold a SOC which is programmed as an RS232 modem.
+
The [[Kart|kart's]] [[Kart/Motherboard|motherboard]] holds an [https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle nrf52840 USB Dongle]
The also comprise a legacy RS232 port.
+
which interfaces with the FPGA via UART and the Smartphone via [https://en.wikipedia.org/wiki/Bluetooth_Low_Energy BLE].
  
[[File:Kart bluetooth board.jpg |center|200px|Bluetooth board]]
+
[[File:Kart_nrf52840.png|center|500px|Bluetooth module]]
  
 
== Connectors ==
 
== Connectors ==
  
The long side single 18-pin row connector is used to program the [http://www.rayson.com/rayson/en/?pros=product&pros=product&b_cat_id=A01&m_cat_id=A0103&s_cat_id=A010307&prod_id=P0062&level=3 Bluetooth module].
+
The module is plugged at the center of the [[Kart/Motherboard|motherboard]] following the silk given orientation and the keying pin header.
  
The 10-pin header connector corresponds to the RS232 port.
+
The modules head is shaped like a USB to be plugged and used directly in a PC.
A flat cable can be crimped with a female header in one side and a female RS232 connector on the other.
+
  
An unmounted 4-pin single row connector provides a differential stereo audio output.
+
== Connection between the FPGA and the Bluetooth module ==
  
== Connection between FPGA and Bluetooth module ==
+
Both components connect via [https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter UART] following a specific [[Kart/serial_link|protocol]].
  
Both components connect via:
+
The serial port is used for [[Kart/serial_link#Registers|sending the controls
* a serial port link
+
and receiving the status]] information.
* an 8-bit parallel port
+
 
+
The serial port is used for sending the [[Kart/serial_link#SmartPhone_to_Kart|controls]]
+
and receiving the [[Kart/serial_link#Kart_to_SmartPhone|status]] information.
+
 
+
The parallel port is driven by the [http://www.rayson.com/rayson/en/?pros=product&pros=product&b_cat_id=A01&m_cat_id=A0103&s_cat_id=A010307&prod_id=P0062&level=3 Bluetooth module]:
+
* Parallel port bit 0 is brought high when the Bluetooth module has successfully achieved a connection, e.g. with a mobile phone.
+
 
+
Additionally, the FPGA:
+
* pulses the BT <code>reset_n</code> line at power-up
+
* drives the BT <code>VReg_en</code> line high after the reset
+
 
+
== Test pins ==
+
 
+
The DC motor design leaves 4 free pins.
+
Pins 1 to 2 are foreseen for test outputs.
+
Pins 3 and 8 are foreseen for test outputs with a divider by&nbsp;2 for pulses.
+
  
 
[[Category:Kart]]
 
[[Category:Kart]]

Latest revision as of 13:49, 18 August 2022

Contents

The kart's motherboard holds an nrf52840 USB Dongle which interfaces with the FPGA via UART and the Smartphone via BLE.

Bluetooth module

Connectors

The module is plugged at the center of the motherboard following the silk given orientation and the keying pin header.

The modules head is shaped like a USB to be plugged and used directly in a PC.

Connection between the FPGA and the Bluetooth module

Both components connect via UART following a specific protocol.

The serial port is used for sending the controls and receiving the status information.

Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox