This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
simchair4:guide_master_controller_v2 [2020/11/26 21:20] hc625ma created |
simchair4:guide_master_controller_v2 [2021/03/06 10:35] (current) hc625ma |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== MKIV MASTER CONTROLLER ====== | + | ====== MKIV MASTER CONTROLLER |
===== Summary ===== | ===== Summary ===== | ||
- | The MKIV master controller V2 is a successor of the first version. It features 5 ports for your peripherals, | + | The MKIV master controller V2 is a successor of the first version. It features 5 ports for your peripherals, |
+ | |||
+ | {{http:// | ||
===== Components ===== | ===== Components ===== | ||
* 1 x Arduino Leonardo | * 1 x Arduino Leonardo | ||
- | * 1 x FTDI232 USB-UART board | + | * 1 x MTS-102 switch |
- | * 1 x 6x6x5mm tactile | + | * 1 x PBS-10-B2 |
- | * 4 x TJ8P8C Ethernet sockets (12, | + | * 1 x USB-B socket USBB-1J (DS1099-W) |
+ | * 5 x TJ8P8C Ethernet sockets (12, | ||
* 4 x M3x30mm screw | * 4 x M3x30mm screw | ||
- | * 2 x M3x40mm | + | * 2 x M3x35mm |
* 4 x M3x6mm screw | * 4 x M3x6mm screw | ||
- | * 6 x M3 nuts | + | * 4 x M3 nuts |
- | * A ribbon cable \\ {{http:// | + | * 2 x M3 nuts with cap |
+ | * A ribbon cable \\ | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | [[https:// | + | [[https:// |
===== Assembly guide ===== | ===== Assembly guide ===== | ||
- | 1. Snap off the Micro-USB socket and solder the USB-B one as shown on the picture below: | + | 1. Insert the Leonardo board into its place in the box, fix with 4 3x6mm screws. Snap off the Micro-USB |
{{http:// | {{http:// | ||
+ | {{http:// | ||
+ | {{http:// | ||
+ | |||
+ | |||
+ | WARNING! We will be using cable joints to connect wires of the I2C cable. Make sure only 1 wire from | ||
+ | each joint goes from the tie to the board header or to each of the sockets. Do not attempt to solder | ||
+ | multiple wires to a single pin of the header or a socket! | ||
+ | |||
+ | 2. Insert pin headers into the Leonardo board as needed and solder wires to them as described below: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | WARNING! Let's agree to call the separated socket used for flashing peripherals " | ||
+ | | ||
+ | VCC -> VCC cable joint -> SOCKETS 1-5 PIN1 | ||
+ | GND -> GND cable joint -> MTS-102 -> PBS-10-B2 -> SOCKETS 1-5 PIN2 | ||
+ | SCL -> SCL cable joint -> SOCKETS 1-5 PIN3 | ||
+ | SDA -> SDA cable joint -> SOCKETS 1-5 PIN4 | ||
+ | TX -> SOCKET 1 PIN 5 | ||
+ | RX -> SOCKET 1 PIN 6 | ||
+ | PIN4 -> SOCKET 1 PIN 7 | ||
+ | PIN2 -> MTS-102 | ||
+ | RST -> PBS-10-B2 | ||
+ | | ||
+ | Time to test the controller in both modes. Look at the "How to use the controller" | ||
+ | | ||
+ | {{http:// | ||
+ | {{http:// | ||
+ | {{http:// | ||
+ | |||
+ | | ||
+ | |||
+ | ===== How to use the controller ===== | ||
+ | |||
+ | This controller can work in two modes: | ||
+ | * F (FLY) - the main mode used for operation and flashing of the master controller. | ||
+ | * P (PROGRAM) - the mode, used for flashing peripherals. | ||
+ | |||
+ | To flash the **master controller firmware**: | ||
+ | 1. Check that the mode switch is in the " | ||
+ | 2. Install libraries from z_libraries folder (copy them to Arduino/ | ||
+ | 3. Open the master firmware and select your hardware on the device definitions tab | ||
+ | 4. Select the COM port with " | ||
+ | 5. Select " | ||
+ | 6. Press " | ||
+ | 7. That's it! After " | ||
+ | | ||
+ | |||
+ | To use the controller for **flashing of your peripheral**: | ||
+ | |||
+ | 1. Connect the peripheral to the separated port of the controller | ||
+ | 2. Set the mode switch to " | ||
+ | 3. Press the R (RST) button | ||
+ | 4. Open the firmware file for your peripheral | ||
+ | 5. Select the COM port with " | ||
+ | 6. Select " | ||
+ | 7. Press " | ||
+ | 8. After IDE says " | ||
+ | 9. The controller will reboot and pop up as a joystick in joy.cpl | ||
+ | | ||
+ | WARNING! to upload the master controller firmware, use " | ||
+ | from the board menu! |