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:

  1. Motion control firmware for the STM microcontroller - the firmware.bin file specific to the Fly E3 Pro v3
  2. Communication firmware for the ESP 32 microcontroller - the WiFiModule_esp32.bin file
  3. Webpage firmware to interface to the Fly board - the DuetWebControl-SD.zip folder
  4. A series of text files containing RRF gcodes which configure various aspects of the RRF to support the Core-R-θ functionality - the .g files
  5. 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:

  1. Find and download the files
  2. Assemble items 1 -5 into a directory with a specific structure
  3. Format a micro SD card of 32GB or less to a FAT file format
  4. Load the contents of the directory onto the SD card
  5. Physically setup the Fly board with jumpers
  6. Flash firmware to the Fly board with a serial terminal
  7. 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.
00 My Folder for on C Root Annotated

Navigate from the Wiki to the repository main page (if you middle click you can keep the Wiki tab open) 01 Oldnslow Repository Navigate to Main Page from Wiki Annotated

You should find yourself here and can click the Wiki icon to go back 02 Oldnslow Repository Main Annotated

The easiest way to get the files is to download the whole repository as a ZIP file by left clicking the green Code Button 03 Oldnslow Repository Code Annotated

We can now click Download ZIP and for these instructions we will download the ZIP to our download directory 04 Repository Download Zip to Download Folder File Explorer Annotated

Navigate to the downloaded repository ZIP file and click Extract All 06 Repository Select Zip File to Extract Explorer Annotate

Click Browse to select a destination folder 07 Repository Extract Browse Annotated

and navigate to My Folder for Core-R-Theta-4-Axis-Printer Files, select it and click Select Folder 08 Repository Extract Select Folder Annotated

Click Extract to transfer the repository to My Folder for Core-R-Theta-4-Axis-Printer Files 09 Repository Extract Annotated

Open extracted folder to verify that files were successfully extracted - should look something like this 10 Repository Open Extracted Folder to Confirm Files Annotated

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 01 SD Card Select My Folder Annotated

Then create a new folder in this directory named SD Folder 02 SD Card Create SD Card Folder Annotated

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 03 SD Card Copy reprap firmware config to SD Card Folder  Annotatedpng

Now, in the SD Card Folder, select the reprap firmware config folder, right click and rename it to sys 04 SD Card Rename reprap firmware config to sys

Finally, open the sys folder to verify contents which should look something like this: 05 SD Card Verify Contents of sys Folder to sys Annotated

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.

Team Gloomy Pin Names Annotated

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 01 SD Card to4axis and config annotated

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).

Board Setup Fly E3 Pro v3 CRT v0

Install jumpers, stepper motor driver heat sinks and fan mosfets (orientation does not matter) as shown below: 04 Fly E3 Pro v3 Jumpers Heat Sinks and MosFet Annotated

and finally the antenna 05 Fly E3 Pro v3 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

01 Team Gloomy Connecting a Fly-E3-Pro-v3 via WiFi Annotated

Open the mainboard directory

02 Gloomy Andy RRFBuild Releases Mainboard Annotated

Open the fly directory

03 Gloomy Andy RRFBuild Releases Fly Annotated

Open the firmware_e3pro3_f4.bin file

04 Gloomy Andy RRFBuild Releases E3 Pro v3 Annotated

Click the Download icon

05 Gloomy Andy RRFBuild Releases File E3 Pro v3 Annotated

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.

06 Rename and Download firmware bin to SD Card Root Annotated

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

07 Confirm SD Card firmware bin Annotated

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

08 Create firmware Directory on SD Card Annotated

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

09 Gloomy Andy RRFBuild Releases WiF Annotated

Open the WiFi directory

10 Gloomy Andy RRFBuild Releases WiFi Annotated

Open the WiFiModule_esp32.bin file.

11 Gloomy Andy RRFBuild Releases ESP32 Annotated

Click the Download icon

12 Gloomy Andy RRFBuild Releases File ESP32 Annotated bin

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.

13 Nav and Down WiFiModule_esp32 bin Annotated

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

14 Confirm SD Card firmware folder WiFiModule_esp32 bin Annotated

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

15 Create www Directory on SD Card Annotated

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

16 Team Gloomy Connecting a Fly-E3-Pro-v3 via WiFi Annotated

You should arrive at the Duet 3D DuetWebControl releases page. No we do not want a Pre-Release!

17 Duet3D DuetWebControl Releases All Annotated

Scroll down until you find the Latest release version that matches the firmware_e3pro3_f4.bin version that you just downloaded and Click Latest

18 Duet3D DuetWebControl Releases Latest Annotated

Open the DuetWebControl-SD.zip file, navigate to the Downloads folder and click Save to download.

19 Download DuetWebContro-SD zip to Download Directory Annotated

Navigate to the Downloads folder, select DuetWebControl-SD.zip and click Extract All

20 Navigate to Downloads to Extract Annotated

Click Browse

21 Browse in Extract Annotated

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

22 Browse to SD Card www and Select Annotated

Click Extract

23 Extract DuetWebControl-SD zip to SD Card www Directory Annotated

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

24 Confirm www Directory Annotated

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

01 Filaments Gcodes Macros on Root Ann

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.

02 Format 8GB w CHS Ann

A successful completion message looks like this and having a spare card or two on hand is recommended.

03 Format 8GB w CHS Success Ann

Copy the contents of the SD Card folder to your newly formatted micro SD Card.

04 Files to Copy from SD Card Directory Ann

Navigate to the SD Card and confirm that firmware is present.

05 Confirm Files on Micro SD Card Ann

Step 8 Connect to the Fly board

Step 9 Flash firmware to the Fly board

Step 10 Setup the Wifi