Pete´s Playground

My personal log of various projects

Shutdown a Rasperry PI via the Duet Web Interface (execonmcode)

I am running my 3D printer via DSF on a Raspberry PI. Its like Octoprint for RRF/Duet Boards. After a print is finished you can call the M81 command to poweroff the printer (Assuming you have installed the ATX Power Off). But this do not work on the PI. So found this Plugin:

This will parse the DSF for a specific M Command you can choose! The standard one is M7722.

It then runs whatever you want on the PI. For installing the plugin and installing it as a service i made some small YT Videos!

Converting a NodeMCU (ESP-12F)/Duet 2 WiFi to a ESP 07(S) without a Hotair Solder Station

If you are using and NodeMCU or Duet 2 WiFi in a metal box the signal strenght of the WiFi would be quite bad.

So a external antenna is needed. Two options are possible

The trickiest part is the desoldering of the Modul.

  • Using and HotAir Station is the "normal" way to do it. Heat the solder points of the ESP up and it comes easily loose
  • But not everybody got and hotair station. But there is a way to do it without!:

For the desoldering without hotair you will need:

  1. Soldering iron
  2. Copper wire
  3. Solder
  4. Solder wick
  5. ESP07(S) modul

My inspiration for this comes from this video:

Step 1 is bending the copper wire like this

Step 2 applying a lot of solder to the wire so it become a giant "solder snake". Then heat everthing out and push the ESP away

Step 3 ESP is now desolderd. Now clean the solderpoints with some solder wick and retin them

Step 4 Place the ESP07(S) on the old solder points. And solder the modul onto the board

Step 5 After soldering the board so not forget to reflash the firmware of the ESP!

Step 6 Finish! You can now use an external antenna with the NodeMCU

Quick Start for the SKR RRF Adapter Boards

  1. Connect the the Adapter to the SKR. Look out for EXP2 and EXP1. EXP2-->EXP2 and EXP1-->EXP1.
  2. Remove the micro SD Card from your SKR
  3. Insert it in your PC.
  4. Now you can follow the GUIDE (From the "Pepare SD Card" because the ESP is preflashed by me) or download my example configs. Be aware that they are only for a "quick start":
    1. Download the zip file to you PC. SKR1.3 or SKR1.4
    2. Extract it to the Root Folder of your micro SF. Should look like this
    3. Insert the card in your SKR and power it on!
    4. Now you have to connect the SKR to the Wifi. You need a terminal emulator like Repetier Host, octoprint etc
    5. Connect the SKR via USB Cable to your PC.
    6. Open the terminal

      7.Now send this command.

  • M552 S0
  • M587 S"Your Network Name" P"Your password".
  • M552 S1

8. Now you can disconnect the USB and copy the IP of your printer in your browser. You can now configure the printer like a duet board.

Here is a quick video for reference:

Flashing the webserver on my RRF SKR Adapterboard

All my boards come preflashed with the latest web server. Normally you do not have to flash the firmware again. Updates are very rare. But if you need to flash it, here is a guide. You will need:

NodeMCU PyFlasher or (NodeMCU PyFlaser got a nice GUI ;) )

Micro USB Cable

DuetWifiServer.bin (not the -duet version)

1. Disconnect EXP1 and EXP2 of the SKR RFF Adapterboard.

2. Now plug the Micro USB Cable into the ESP8266

4. Now open NodeMCU PyFlasher or the terminal for using

5. Choose the Serial Port, the DuetWifiServer.bin, the Baudrate,Flashmode (DIO for my ESP Modul) and do NOT erase the Flash. If you are using use this guide:

6. Now press "Flash NodeMCU". It will say

7. Now press and hold the FLASH Button on the ESP. The flashing process will now start:

8. After the flashing is complete, you can disconnect the micro USB cable. Now you can plug EXP1 and EXP2 in and start the printer!

As always here is a little video:

Connecting a PanelDue to a SKR with RRF

Due to the fact that the EXP1 and EXP2 Ports are used by the Wi-Fi Adapter it is not possible to connect a standard LCD to the SKR.

A Display is not needed to use the RepRapFirmware. You can start, configure etc everything via the web interface.

The display is an add-on and not mandatory! But if you want to have one, you have two options.

1.Using a TFT35 from Bigtreetech with a modified firmware
2.Using a PanelDue

I will show you how you can connect a PanelDue to the SKR Board. These are available quite cheap from aliexpress! Only drawback is, that you cannot print from SD card slot of the display!

  1. Updating the firmware of the PanelDue. This ist pretty easy. Click here
  2. Using the 4 Pin cable to connect to the SKR.

On the SKR you have 4 pins labeled TFT. On the underside of the board the pins are labeled with RST R0 T0 G 5V. We need ever pin except the RST.

On the PanelDue the 4 Pin Connector is labeled TXD RXD GND +5V

Now you have to be careful You have to connect the wires like this. (left Paneldue right SKR). I had to change the pins of the SKR side. For this you can press the little metal tab down and pull the wire out.





Now we have to add a line in config.g

M575 P1 S1 B57600

Save and reset the Board.

Now the display should work. If not got to Setup and change the baudrate to 57600 baud.

RFF LPC PCBs are for sale on

I am selling some boards! These have the fixed traces!

All SMD parts are solderd on by the factory! So no sketchy soldering by me ;)

The price seems quite high for such a simple board. But I can explain this.

Due to the COVID19 crisis I have to buy most of the parts directly in Germany. I also solder the most parts myself and test EVERY board with my SKR! I also preflash the 8266 chip! In the end I do not make any money with this. My goal is to help the community out.