Fly E3 Pro v3 Setup - oldnslow/Core-R-Theta-4-Axis-Printer-oldnslow-FreeCAD-Variations GitHub Wiki
Setup process for Fly E3 Pro V3.0 RepRapFirmare (RRF) 3.5.0 and Onwards
Note: To open the websites shown below in a new tab in your browser use the middle mouse button instead of the left.
These instructions will hopefully lead you to success even if you have never accessed something from GitHub before!
Additional help on the Fly E3 Pro v3 and RepRap Firmware (RRF) is available from Team Gloomy and Duet 3D Forum has a wealth of RFF information.
There are also videos which, although dated and do not exactly match the current process, have useful insights.
Mellow 3D
Team Gloomy - includes Duet Web Control (DWC) overwiew
Teaching Tech - discusses challenges and approaches to sensorless homing
Review the Getting Started page, There are essentially five "firmware" elements required:
- Motion control firmware for the STM microcontroller - the firmware.bin file specific to the Fly E3 Pro v3
- Communication firmware for the ESP 32 microcontroller - the WiFiModule_esp32.bin file
- Webpage firmware to interface to the Fly board - the DuetWebControl-SD.zip folder
- A series of text files containing RRF gcodes which configure various aspects of the RRF to support the Core-R-θ functionality - the .g files
- A text file that configures the Team Gloomy port of RRF for the Fly E3 Pro v3 board
Items 4 and 5 are collectively referred to as the reprap firmware config and are sourced from the Core-R-θ repository rather then generated from the Team Gloomy configuration tool.
It is important to become familiar with the .g files in order to understand, troubleshoot, tune and customize your printer. The Duet3D Gcode Directory is an invaluable resource!
To turn the Fly board into a Core-R-θ printer controller we need to complete a few tasks:
- Find and download the files
- Assemble items 1 -5 into a directory with a specific structure
- Format a micro SD card of 32GB or less to a FAT file format
- Load the contents of the directory onto the SD card
- Physically setup the Fly board with jumpers
- Flash firmware to the Fly board with a serial terminal
- Configure the WiFi connection
Note: Items 1 and 2 can be bypassed by downloading the contents of SD Card Fly E3 Pro v3 Core-R-Theta v0 folder from the repository. However it is a useful exercise to work through these yourself to aid in understanding what makes your printer tick.
Gather the following components:
Mainboard
USB C Cable
Power Source
micro SD card - see bill of materials for requirements
As well as the hardware, SD card format software (SD Memory Card Memory Formatter recommended) and terminal software (Putty recommended) will be required.
There is also a handy Serial Port Notifier tool which will let you know if the Fly board is recognized by your PC and which serial port it is on without having to navigate to the Device Manager.
Step 1 - Get files from the Core-R-Theta-4-Axis-Printer GitHub repository
As we need some information from the reprap system config files in order to know how to setup jumpers on the Fly board we will start with those.
Create a directory to collect everything - for these instructions we are going to use My Folder for Core-R-Theta-4-Axis-Printer Files plonked right on the C drive root.
Navigate from the Wiki to the repository main page (if you middle click you can keep the Wiki tab open)
You should find yourself here and can click the Wiki icon to go back
The easiest way to get the files is to download the whole repository as a ZIP file by left clicking the green Code Button
We can now click Download ZIP and for these instructions we will download the ZIP to our download directory
Navigate to the downloaded repository ZIP file and click Extract All
Click Browse to select a destination folder
and navigate to My Folder for Core-R-Theta-4-Axis-Printer Files, select it and click Select Folder
Click Extract to transfer the repository to My Folder for Core-R-Theta-4-Axis-Printer Files
Open extracted folder to verify that files were successfully extracted - should look something like this
Step 2 - Begin assembling the files required for the Fly board SD Card - starting with the reprap firmware config files
First navigate back to My Folder for Core-R-Theta-4-Axis-Printer Files directory
Then create a new folder in this directory named SD Folder
Select the reprap firmware config folder from the My Folder for Core-R-Theta-4-Axis-Printer Files and copy it into the SD Folder
Now, in the SD Card Folder, select the reprap firmware config folder, right click and rename it to sys
Finally, open the sys folder to verify contents which should look something like this:
Step 3 Install Jumpers, Heat Sinks, Fan Mosfets and Antenna on Fly E3 Pro v3 Antenna Board
See the Team Gloomy Fly-E3-Pro-v3 General Information page for information pertaining to this step. In particular note the need for jumpers on the Z2 labelled drive for single motor applications and the use of jumpers on the Diag pins of axis which will have sensorless homing.
We first need to understand how the axis Driver Numbers generically used by RRF are physically related to the X, Y, Z, E0 and E1 stepper motor driver connections and labelling on the Fly E3 v3 board (a design choice of Team Gloomy). Which we can see by navigating to the Team Gloomy Pin Names Wiki page.
Now we need to see how the RRF has been configured for the Core-R-θ printer (a design choice of jyjblrd) in order to see how the Driver Numbers are related to the C, Z, X and B axes used by the Core-R-Theta and its extruder as well as how the endstops and fans are setup. The configuration is defined by the .g text files in the sys folder in the SD Card directory we just made and can also be found in the reprap firmware config folder in the github repository.
In the SD Card sys folder, locate the to4axes.g and config.g files
Open to4axis.g in any text editor and find M584 to see the drive mapping.
M584 C0 Z4 X1 B2 E3 S0 ; set drive mapping 4 axis.
Also in to4axis.g look for M574 to see how the endstops are configured.
; Endstops
M574 X2 S3 ; configure sensorless endstop for high end on X
M574 B1 S3 ; configure sensorless endstop for low end on B
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
This tells us which drives require jumpers on the Diag pins for sensorless homing.
In config.g we find the M950 and M106 gcodes which define the fan configuration:
; Fans
M950 F0 C"fan1" ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H0 T50 ; set fan 0 value. Thermostatic control is turned on
M950 F1 C"!PA_7" Q50 ; create fan 1 on pin PA_0
So Fan0 is the hotend fan and Fan1 is the part cooling fan.
Noting that, as the B-axis is driven from a single motor, the Z2 labelled pins on the board need jumpers, the board setup can be summarized as shown below:
(a pdf version is available from the repository).
Install jumpers, stepper motor driver heat sinks and fan mosfets (orientation does not matter) as shown below:
and finally the antenna
Step 4 Obtain the Team Gloomy RRF firmware for the Fly board
There are many roamable roads on the way to Rome, the road presented below attempts to follow the Team Gloomy Wiki. Note that, as we build up the SD Card, the RRF motion control firmware will wind up in a file called firmware.bin on the SD card root and the ESP32 Wifi firmware will be a file called WiFiModule_esp32.bin in a directory called firmware on the SD Card root. Finally the DuetWebControl firmware files go into a directory called www on the SD Card root.
Navigate to the Connecting a Fly-E3-Pro-v3 via WiFi in RRF 3.5.0 Onwards page on the Team Gloomy Wiki.
Under Downloading the board firmware, click the latest stable firmware files link
Open the mainboard directory
Open the fly directory
Open the firmware_e3pro3_f4.bin file
Click the Download icon
Navigate to C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card and rename firmware_e3pro3_f4.bin to firmware.bin and click Save to download.
Navigate to the SD Card folder directory root (C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card) and confirm firmware.bin is present on the directory root
Step 5 Obtain the Team Gloomy WiFi firmware for the Fly board
Navigate to the SD Card root directory C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card and create a directory called firmware
Navigate to the Connecting a Fly-E3-Pro-v3 via WiFi in RRF 3.5.0 Onwards page on the Team Gloomy Wiki.
Under WiFi firmware preparation, click the latest stable firmware files link
Open the WiFi directory
Open the WiFiModule_esp32.bin file.
Click the Download icon
Navigate to the firmware folder in SD Card directory (C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card\firmware) and click Save to download.
Navigate to the firmware folder in SD Card directory (C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card\firmware) and confirm WiFiModule_esp32.bin is present in the firmware folder
Step 6 Obtain the Duet Web Control firmware for the Fly board
Navigate to the SD Card root directory C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card and create a directory called www
Navigate to the Connecting a Fly-E3-Pro-v3 via WiFi in RRF 3.5.0 Onwards page on the Team Gloomy Wiki.
Under DWC (DuetWebControl), click the The correct version of DWC should be downloaded from link
You should arrive at the Duet 3D DuetWebControl releases page. No we do not want a Pre-Release!
Scroll down until you find the Latest release version that matches the firmware_e3pro3_f4.bin version that you just downloaded and Click Latest
Open the DuetWebControl-SD.zip file, navigate to the Downloads folder and click Save to download.
Navigate to the Downloads folder, select DuetWebControl-SD.zip and click Extract All
Click Browse
Navigate to the www folder in the SD Card folder (C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card\www) and click Select Folder
Click Extract
Navigate to the www folder in SD Card directory (C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card\www) and the contents should be as follows
Step 7 Complete the SD Card
Create these folders in the root of the SD Card folder (C:\My Folder for Core-R-Theta-4-Axis-Printer Files\SD Card); filaments; gcodes and; macros
Mount a suitable micro SD Card on your computer.
Run your SD Card formatting application. Do not use the default Windows application, SD Card Formatter from the SD Association is strongly recommended and is available to download here. Formatting specifications are available from Team Gloomy here - essentially ≤32 GB and FAT file format.
For these instructions, an 8 GB card is formatted. Be sure to select the Ovewrite Format and note that the CHS format size adjustment option is only available for SD cards of 8 GB and under. Enter a suitable Volume label for your printer in this example CRT for Core-R-θ, FE3V3 Fly E3 Pro v3 and -2 for the second copy.
A successful completion message looks like this and having a spare card or two on hand is recommended.
Copy the contents of the SD Card folder to your newly formatted micro SD Card.
Navigate to the SD Card and confirm that firmware is present.