PCB Kit For Mmjoy2 Project / Shield Board

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

PCB KIT DESIGN AND MANUAL — CAPITANBLOOD | SPECIAL THANKS TO MEGA_MOZG FOR MMJOY2 PROJECT

PCB KIT FOR MMJOY2 PROJECT / SHIELD BOARD

SHIELD BOARD
Board is designed for deploying Arduino Promicro controller and organizing data
transfer (axis using internal and external ADC, buttons through diod matrix or shift
registers, LEDs, LED digital screens) through different ports.

Board dimensions are 45х39 mm, the board mounts to a device with the help of М3
screws which might be enlarged to М4. Promicro board should be connected to the
shield after it is mounted as it will block one of the mounting holes.

Mounting holes position matches VKB NJoy32 controller, so the shield board can be
attached to Defender Cobra M5 for it’s upgrade or to BRD joysticks.

Board ports:

Pro Micro pcb Top view Bottom view


with ATMEGA32U4
39 mm

45 mm
Pic 1. Overview

Pic 2. Circuit diagram

NOT FOR COMERCIAL USE


PCB KIT DESIGN AND MANUAL — CAPITANBLOOD | SPECIAL THANKS TO MEGA_MOZG FOR MMJOY2 PROJECT

PCB KIT FOR MMJOY2 PROJECT / SHIELD BOARD

— 10 pcs PH2.0 6pin (Р1 — Р10),


— PLS 2x10 duplicates Promicro contacts except “RAW” and “REST” (Jp3),
— 2 pcs PBS 1x12 for Pro Micro mounting (JP1 и Jp2),
— SMD “REST” button (S1),
— SMD resistor for “MISO” [B2], value from 1,5 kOhm to 10 kOhm (R1).
Lower resistor values are used in case of distant sensor mounting, if sensors are
close to the board higher values are used.

AXISES CONNECTION PORTS


There are 8 ports for axises connection on the shield. Current firmwire (20151118)
supports up to 8 axises (actually 10, but 2 are used for mouse emulation). 6 ports are
connected to internal ADC of Atmtga32u4 (ADC4[F4], ADC5[F5], ADC6[F6],
ADC7[F7], ADC8[D4], ADC10[D7]). All ports support external ADC (MCP320Х*),
KMA200 and TLE5010/11 sensors through SPI bus.

Order of contacts in Р1 — Р8:


1. GND (ground) — common for all,
2. VCC (+5 V) — common for all,
3. CS (chip select) — separate for each port
(for analog sensors connected to internal ADC — data input),
4. MISO[B3] (master in slave out) — data transfer from slave to master, common
for all,
5. SCK[B1] (serial clock) — common for all,
6. GEN[B6] — common for all TLE5010/11 sensors.

To connect analog sensor to internal ADC use 1—3 contacts, to connect external
ADC to controller use 1—5 contacts, for TLE sensors 1—6 contacts are used.

TLE5010/11
Pic 3. JST PH2.0 6pin plug
MCP320X* and KMA200
* if external ADC MCP3202, 3204 or 3208 are used MOSI (Master Out Slave In)
internal ADC [B2] must be taken from JP3. If MCP3201 ADC is used contacts 1—5 are enough
as this ADC has no need of MOSI.

1 2 3 4 5 6

NOT FOR COMERCIAL USE


PCB KIT DESIGN AND MANUAL — CAPITANBLOOD | SPECIAL THANKS TO MEGA_MOZG FOR MMJOY2 PROJECT

PCB KIT FOR MMJOY2 PROJECT / SHIELD BOARD

EXAMPLE OF SENSORS CONNECTION


Example of 8 axises connection to the controller is shown on pic 4. Ports to the right
side of the shield (Р5 — Р8) are not used because their CS contacts are used in grip
twist [D4] (Р5) and in three axis pedals [E6], [D7], [C6] (Р6 — Р8), pedals are
connected through (JP3).

TLE5010/11 sensors for X and Y axises

twist potentiometer potentiometer

CS used in grip twist

CS used in pedals

COBRA M5 pcb
(grip twist is connected
to this board)
right brake axis
TLE5010/11
sensor

left brake axis


TLE5010/11
sensor

main board for BRD-F3 pedals


with TLE5010/11 sensor
(Z axis)

Pic 4. Example of sensors connection to the SHIELD

duplicated contacts
of Pro Micro

ports supporting internal ADC


shift registers
connection port ports has no internal ADC
* contact of ADC10[D4] (Р5)
is duplicated on (Р9) port to support
LED and LED display grip twist
connection port
** ports names are on the back side of the board

Pic 5. Ports position

NOT FOR COMERCIAL USE


PCB KIT DESIGN AND MANUAL — CAPITANBLOOD | SPECIAL THANKS TO MEGA_MOZG FOR MMJOY2 PROJECT

PCB KIT FOR MMJOY2 PROJECT / SHIELD BOARD

PORT FOR SHIFT REGISTERS CONNECTION


Shield board has one port (Р9) for shift registers connection (grip stick or other
device). Current version of firmware (20151118) support up to two chains of shift
registers (second chain might be connected through JP3 port). Each chain of
registers has its own ShRg-CS and ShRg-MISO contacts which can be assigned
through the software. For Р9 port ShRg-CS[D0] and ShRg-MISO[D1] must be set, for
another chain [D2] and [D3] appropriately are recommended as this contacts are not
in use by any other port.

Order of contacts in Р9 port:


1. GND (ground),
2. VCC (+5 V),
3. CS[D0] (chip select) — ShRg-CS,
4. MISO[D1] (master in slave out) — ShRg-MISO,
5. SCK[B1] (serial clock),
6. ADC[D4] — data from z axis (twist) if using COBRA M5 grip stick, not used if
other shift register pcb is connected.

TWO CHAIN OPTION

SHRG MISO [D1]


SHRG CS [D0]
LENGTH — 2

SHRG MISO [D2]


SHRG CS [D3]
LENGTH — 6

two shift register boards (48 buttons)

* current version of firmware (20151118) supports the total sum of 12 shift registers in one
or two chains (up to 96 buttons)
** VKB shift register boards are accepted (two register in each board).
Oder of contacts on VKB shift register boards: 1. MISO, 2. VCC, 3. SCK, 4. CS, 5. GND
COBRA M5 grip pcb

Pic 6. Example of shift register boards connection

NOT FOR COMERCIAL USE


PCB KIT DESIGN AND MANUAL — CAPITANBLOOD | SPECIAL THANKS TO MEGA_MOZG FOR MMJOY2 PROJECT

PCB KIT FOR MMJOY2 PROJECT / SHIELD BOARD

LED AND LED DISPLAY CONNECTION PORT


Shield board has one port (Р10) for RGB LED WS2811/12b and LED Digital Displays
based on MAX7219 connection.
Current version of firmware (20151118) support up to 20 LEDs (serial connection)
and 4 MAX7219 (serial connection).

Order of contacts in Р10 port:


1. GND (ground) ,
2. VCC (+5 V),
3. CS[B4] (chip select) — for MAX7219,
4. MISO[B3] (master in slave out),
5. SCK[B1] (serial clock),
6. LED[B5] — LED WS2811/12b control.

NOT FOR COMERCIAL USE


PCB KIT DESIGN AND MANUAL — CAPITANBLOOD | SPECIAL THANKS TO MEGA_MOZG FOR MMJOY2 PROJECT

PCB KIT FOR MMJOY2 PROJECT / SHIELD BOARD

TLE5010/11 SENSOR BARDS


This kit contain 4 types of boards for TLE5010/11 sensors.
Each board has 5 SMD resistors (R1-R5) and one ceramic capacitor of 1206 size.
Resistors R1-R4 has the value of 50 Ohm and are placed on CS, MISO, SCK, GEN
lines and R5 pull-up resistor has the value from 1,5 kOhm to 10 kOhm and placed on
CS line (Lower resistor values are used in case of distant sensor mounting, if sensors
are close to the shield board higher values are used). Ceramic grounding capacitor is
placed near the 6 pin of the sensor (VCC), it’s value is 0,1 uF.

Sensor board types:


1. 39х10 mm — based on VKB MaRS sensors used in COBRA M5. M2,5 screws
are used for mounting, space between holes is 35 mm. Mounting screws might
be enlarged up to M4, it is also possible to reduce the size of the board up to
23х10 mm by removing “SAFE ZONE” marked pieces. Straight and angle
PH2.0 6PIN connectors are possible.
2. 25х20 mm — for mounting on BRD-F3 pedals on left and right brake axises. М4
screws are used for mount. Straight and angle PH2.0 6PIN connectors are
possible.
3. 39х27 mm — BRD-F3 pedals central axis (z) board. М6 screws are used for
mount. For connection to the shield board of controller plug PLS2х4 is used,
straight and angle PH2.0 6PIN connectors are possible for brake axises
connection. If shield board is not used (R6) pull-up resistor on MISO line must
be placed (same value as R5).
4. 13х8 mm — sensor board for potentiometer upgrade. JST 1.25 connector
should be used.
Examples of sensor boards are shown on Pic 4. Oder of contacts on sensor boards
is the same as on the shield board.

Pedals central
axis board
TLE5010/11

TLE5010/11 sensor

Pic 6. Circuit diagram

NOT FOR COMERCIAL USE


PCB KIT DESIGN AND MANUAL — CAPITANBLOOD | SPECIAL THANKS TO MEGA_MOZG FOR MMJOY2 PROJECT

PCB KIT FOR MMJOY2 PROJECT / SHIELD BOARD

BUTTON EXTENSION BOARDS


This kit contain one type of button extension board based on CD4021 shift register.
Current version of firmware (20151118) support 96 buttons (12 shift registers in one
or two chains). Example of button extension boards might be seen of Pic 6.

45х28 mm board based on Thrustmaster warthog board used in stick grip, М3 screws
are used for mount, screws might be enlarged up to М4.
Order of contacts on button extension board:
1. GND (ground) — common for all,
2. VCC (+5 V) — common for all,
3. CS (chip select) — selected for each chain of registers,
4. MISO (master in slave out) — selected for each chain of registers,
5. SCK[B1] (serial clock) — common for all.

Pic 7. Circuit diagram

NOT FOR COMERCIAL USE

You might also like