Board definitions are available for the Atmega328p, STM32, and OrangeRX modules. The board definitions make it easier to compile and install the multiprotocol module firmware.
Note: The Orange RX module is now included in the Multi 4-in-1 AVR Boards package, it no longer has a dedicated package. If you have the dedicated OrangeRX package installed you should remove it and install the most recent AVR package (v1.0.2 or newer).
The board definitions are installed using the Arduino IDE Boards Manager.
-
Open the Arduino IDE
-
Go to File -> Preferences, or press Ctrl+Comma
-
Locate the Aditional Boards Manager URLs field and paste in this URL:
https://raw.githubusercontent.com/pascallanger/DIY-Multiprotocol-TX-Module-Boards/master/package_multi_4in1_board_index.json
Note: Multiple URLs are comma-separated.
-
Click OK to save the change
-
Click Tools -> Board -> Boards Manager
-
Type multi into the search box to see the Multi 4-in-1 boards
-
Click on the board you require and click the Install button. Repeat for both boards, if required. If you are installing the STM32 board for the first time, and you have not installed any STM32 or SAMD boards before (such as Arduino Due or Zero) the dependency toolchain will also be downloaded and installed.
-
Click Close to close the Boards Manager
-
Click Tools -> Board
-
Scroll down the list to the Multi 4-in-1 board headings verify that the boards you installed are available:
- Multi 4-in-1 (STM32F103CB) for the STM32 module
- Multi 4-in-1 (Atmega328p, 3.3V, 16MHz) for the Atmega module
- Multi 4-in-1 (OrangeRX) for the OrangeRX module
- If you haven't already done so, clone or download and unpack the Multiprocol source
- Open the folder where you unzipped or cloned the Multiprotocol project
- Browse to \BootLoaders\Boards\Windows
- Run install-drivers.bat
- Follow the prompts to install the two drivers
- Download and install the legacy Windows XP drivers from here
NOTE: If you have installed the drivers and your module is not detected as a Maple device it most likely does not have a USB bootloader installed. Ready-made modules from Banggood do not come with a USB bootloader installed. You will need to follow the procedure to upload using a USB-to-serial adapter one time before you can upload firmware using the USB port.
The driver for the Jumper JP4IN1 module, the Silicon Labs CP210x driver, can be downloaded from here: https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
Other drivers may be needed if you are using an external USB-to-serial adapter. Consult the documentation for your adapter.
Windows 10 includes drivers for many common serial devices, including many USB-to-serial adapters, so check Device Manager to see if your device is recognised.
Uploading via USB requires the libusb library to be installed. The easiest way to install the library is using the Homebrew package manager for macOS by executing the two lines given below in a Terminal.
Install Homebrew:
`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
Once Homebrew is installed, use it to install libusb:
`brew install libusb`
Permissions must be configured to allow access to serial devices.
-
If you haven't already done so, clone or download and unpack the Multiprocol source
-
Open a Terminal and change to the directory where you have cloned or unzipped the Multiprotocol source
-
Run the following commands:
sudo cp -v BootLoaders/Boards/Linux/45-maple.rules /etc/udev/rules.d/45-maple.rules sudo chown root:root /etc/udev/rules.d/45-maple.rules sudo chmod 644 /etc/udev/rules.d/45-maple.rules sudo udevadm control --reload-rules sudo usermod -a -G plugdev $USER sudo usermod -a -G dialout $USER
Refer to the hardware-specific pages for information on compiling the firmware and uploading it to the multiprotocol module: