User Tools

Site Tools


simchair4:guide_master_controller_v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
simchair4:guide_master_controller_v2 [2020/11/27 21:38]
hc625ma
simchair4:guide_master_controller_v2 [2021/03/06 10:35] (current)
hc625ma
Line 22: Line 22:
  
 ===== Assembly guide ===== ===== Assembly guide =====
-1. Insert the Leonardo board into its place in the box, fix with 4 3x6mm screws. Snap off the Micro-USB socket, remove the power input socket and solder the USB-B one as shown in the picture below:+1. Insert the Leonardo board into its place in the box, fix with 4 3x6mm screws. Snap off the Micro-USB socket, remove the power input socket and solder the USB-B one as shown in the picture below (you can use the Pro Micro board alternatively, but do not do it yet if you don't understand what you will need to change - no docs yet): 
 + 
 +{{http://hc625ma.org/wp-content/uploads/2020/11/leonardo_usb.png?300}} 
 +{{http://hc625ma.org/wp-content/uploads/2020/11/IMG_20201127_020410.jpg?300}} 
 +{{http://hc625ma.org/wp-content/uploads/2021/02/simchair_master_pro_micro.png?300}}
  
-{{http://hc625ma.org/wp-content/uploads/2020/11/leonardo_usb.png?400}} 
-{{http://hc625ma.org/wp-content/uploads/2020/11/IMG_20201127_020410.jpg?400}} 
  
   WARNING! We will be using cable joints to connect wires of the I2C cable. Make sure only 1 wire from    WARNING! We will be using cable joints to connect wires of the I2C cable. Make sure only 1 wire from 
Line 48: Line 50:
   RST -> PBS-10-B2   RST -> PBS-10-B2
      
-Time to test the controller in both modes. Look at the "How to use the controller" section below and make sure each port works as an I2C port and also check the flashing function of socket 1. Secure everything with hot glue, put the lid on. That's it!+Time to test the controller in both modes. Look at the "How to use the controller" section below and make sure each port works as an I2C port and also check the flashing function of socket 1. Secure everything with hot glue, put the lid on, insert 4 M3x30mm screws. That's it!
      
 {{http://hc625ma.org/wp-content/uploads/2020/11/IMG_20201127_030020.jpg?300}} {{http://hc625ma.org/wp-content/uploads/2020/11/IMG_20201127_030020.jpg?300}}
Line 61: Line 63:
   * F (FLY) - the main mode used for operation and flashing of the master controller.   * F (FLY) - the main mode used for operation and flashing of the master controller.
   * P (PROGRAM) - the mode, used for flashing peripherals.   * P (PROGRAM) - the mode, used for flashing peripherals.
 +
 +To flash the **master controller firmware**:
 +  1. Check that the mode switch is in the "F" position and connect the master to your PC
 +  2. Install libraries from z_libraries folder (copy them to Arduino/libraries folder of your IDE)
 +  3. Open the master firmware and select your hardware on the device definitions tab
 +  4. Select the COM port with "Arduino Leonardo" next to it in IDE
 +  5. Select "Arduino Leonardo" board from the board menu
 +  6. Press "Upload" button
 +  7. That's it! After "Upload finished" message proceed to configuration of your peripherals. 
 +  
  
 To use the controller for **flashing of your peripheral**: To use the controller for **flashing of your peripheral**:
simchair4/guide_master_controller_v2.1606509529.txt.gz · Last modified: 2020/11/27 21:38 by hc625ma