Welcome! Log In Create A New Profile


Marlin 2.0 Re-Arm Network & Bluetooth

Posted by oldtimmer 
Marlin 2.0 Re-Arm Network & Bluetooth
March 24, 2018 05:50AM
Are there plan's to add network and telnet support in Marlin 2.0
I know Marlin supports Bluetooth on ramps 1.4 with the mega but don't know if the Bluetooth will work on the Re-arm
Re: Marlin 2.0 Re-Arm Network & Bluetooth
March 27, 2018 03:32PM
Hats off to the Marlin team
BlueTooth Does work just uncomment
and set the
#define BAUDRATE (to the baudrate of your Bluetooth Module)
and comment out
//#define SERIAL_PORT_2 -1

Now you may not need to comment out the second port but I did not test it.
My BT Module is
MKS BT ramps1.4 bluetooth wireless module (set to 115200 baud) on AUX1

I will start testing the Network interface next will let you know how I make out
Re: Marlin 2.0 Re-Arm Network & Bluetooth
April 02, 2018 03:13PM
I gave up on the bluetooth It worked just fine until I set the wrong Baud rate (MY BAD)
Network interface could not get it to work do not know enuf about programming marlin to make it work.
So I grabbed a ESP-01 1 meg version(Black) WiFi module and followed the instructions at
3D Printing over WiFi
And so far so good
I connected the Aideepen ESP8266 Serial Wi-Fi Wireless ESP-01 Adapter to J4 Uart.
Connected the ESP8266 Esp-01 Serial Wireless Wifi Transceiver Module to the adapter fired it up and every thing worked.
Smoothieware is ok like the config setup but it was not stable for me.
Love Marlin (Grate Job Team) maybe a little harder to setup but it WORKS.
I now have my 3D Printer connected to my router so I can print from any computer in the house (Awesome) .

Edited 1 time(s). Last edit at 04/03/2018 11:44AM by oldtimmer.
Re: Marlin 2.0 Re-Arm Network & Bluetooth
April 02, 2018 04:47PM
Great stuff! Good to hear it works with ESP-01 and the Uart.
As a RAMPS user myself I'm very interested in RE-Arm.
I wonder if it's possible to hook a Wifi module to J12 though. Says LAN and all.

Proud owner and maker of build from scratch FDM 3D printer [forums.reprap.org]
Re: Marlin 2.0 Re-Arm Network & Bluetooth
April 02, 2018 05:09PM
Someone that knows a lot more about the Re-arm board and Marlin would have to answer that for you.
I am using this setup on my home brew CoreXY 12" x 12" x 12" full enclosure FDM 3D Printer
2 extruders
heated Bed glass print bed
irsencer for Z endstop for auto bed leveling(works really well)
Re: Marlin 2.0 Re-Arm Network & Bluetooth
April 04, 2018 02:43PM
When printing with Repetier Host using the serial port prints just fine.
SD card prints just fine
But when printing over WiFi / Repetier Host printing stutters and stops with errors.
I have increased the BLOCK_BUFFER_SIZE from 16 to 32 and BUFSIZE from 4 to128 helped but still stutters on arcs.
I have increased the receive cache size in Repetier Host
Seems to be a buffer underrun.
Increasing the BUFSIZE made it so I do not have to use (ping pong mode)
Any ideas
Re: Marlin 2.0 Re-Arm Network & Bluetooth
April 05, 2018 03:10AM
Well I tried AP Mode and worked flawlessly
Repetier Host cache size 127
For some reason it just does not like my home Network

(Did not like channel 2 on my Wifi changed it to Channel 4 works for now)

Edited 1 time(s). Last edit at 04/05/2018 03:40AM by oldtimmer.
Re: Marlin 2.0 Re-Arm Network & Bluetooth
April 22, 2018 10:57PM
Back with an update.
WiFi module is working grate.
Get a hickup every once in a grate while but nothing that ruins the print.
Have run 8 hour prints with out problems.
Re: Marlin 2.0 Re-Arm Network & Bluetooth
May 19, 2019 02:48PM
Hello, just one tip, if you are using clone Arduino, with CH340 serial and you want to use Bluetooth (in my case I'm using the HC-05). I couldn't compile the firmware because of the next error:
"BLUETOOTH is only supported with AT90USB"

Just comment in SanityCheck.h the next line:

//#error "BLUETOOTH is only supported with AT90USB."

In that way the error break goes away, and at least for me is working perfectly.
Sorry, only registered users may post in this forum.

Click here to login