OctoPi Tutorial for Zim

Well, I’ve figured out why OctoPrint doesn’t like to show extruder 0 and 1 temperature correctly. Marlin firmware 1.0.0.2 supports a different response format to M105 commands than the Zim Marlin 1.0.0.15 firmware provides. The OctoPrint devs mentioned it expects a temperature format like this (note additional T0 and T1 level/target)…
Send: M105
Recv: ok T:26.2 /180.0 B:0.0 /0.0 T0:26.2 /180.0 T1:62.7 /180.0 @:128 B@:0

Or like this during M109 commands (this is actually not in the newer Marlin either, but it does appear to work for OctoPrint)…
Recv: T:129.1 E:1 W:? T0:66.4 /0.0 T1:129.1 /220.0

I’ve created my own fork of the Zim Marlin firmware and made these changes. You can find this here: OctoPrint compatible Zim Marlin Firmware 1.0.0.16. I’ve tested this briefly and it appears to work ok. You will need to follow the instructions I’ve provided above to reflash your Zim board as I’m not sure how to do it without the Arduino IDE or an ISP programmer. I did this myself using the Arduino IDE and did not encounter any issues, but I have not thoroughly tested, so I would not make any promises. If you are not comfortable doing this, please do not.

Btw, I also tried just building and flashing the 1.0.0.15 version as per the instructions above, and it seems to run fine on my Zim, so there appears to be a viable path backwards as well.

For those interested in using the Zim WiFi dongle:
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=92555
And for the driver:
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=62371&hilit=rtl8188eus

I have not tested it yet, but there are some people that successfully used that to get rasperry pi and Comfast WiFi usb dongle working. Once my printing queue is empty I will resume testing it.

Tried the modified firmware and its working perfectly. Thanks

Now just need to know how to calibrate the platform… :smile:

For disabling the WiFi USB energy management settings, here is a nice article about it:

And for those who want to be sure, they can try an additional configuration:

  1. Turn off wireless power management from /etc/network/interfaces.
    sudo /etc/network/interfaces
  2. Add the following line of code (may be inserted anywhere in file):
    wireless-power off
  3. Exit and save the file
  4. Restart networking
    /etc/init.d/networking restart
  5. Confirm Power Mangement is off:
    iwconfig

You should see something like this:
Power Management:off

1 Like

Scripts for Bed Level Calibration would be a nice addition.
So far I am using the raft with two loops and layers to correctly micro-level on the fly via eyesight.
Interestingly it works very well and my print results regarding the first layer are fantastic.

By following jpod’s video I was able to use these values to setup scripts for bed level calibration

Stage leveling
G1 X75 Y75 Z0 ; for A point
G1 X30 Y145 Z0 ; for B point
G1 X122 Y145 Z0 ; for C point

Thanks 3DPrintEvangelist for posting the info about Wifi dongle power management. This was driving me nuts with a previous raspberry pi project. I would find the webpage non-responsive until I connected ssh to the pi (i.e. connected a terminal). I’m pretty certain it is the same issue, and I’ve seen it on my OctoPi as well. Certainly worth disabling that feature.

Another item to be aware of is apparently the wifi dongles can sink enough current to brown out a cheap USB power supply. Some people recommend plugging the pi into a powered hub. I’ve always done ok with a 1amp or greater supply.

Thanks Winston for the bed alignment coordinates and commands. I’m going to set mine up with these right now :smile:

1 Like

Hey guys! got it to upload!

Ran into some trouble, but once i restarted the computer the edited marlin uploaded!
I will try printing with it tomorrow!

Yesterday I installed the initial Octoprint again (just to be sure for my new WLAN USB dongle) and configured the power management options I posted before.
I left the PI running this night and it was responsive this morning.
So I hope it works for you as well.

Does “Print Time Left” work for anyone? It keeps at “calculating”.
That is quite an important information for me, even if only estimated.
With Simplify3D its very accurate.

1 Like

with small gcodes it works yesterday i had a big gcode file it didnt show me the estimate…

ya… I usually jog down the estimate from slic3r/ repetier-host. because estimated time in Octoprint seems to only show in hours for large prints…

Strange thing happened today! one of my two printer have temperature drop conveniently after windows 10 update running with octoprint (xD prob have nothing to do with the update)

and
check out this cube…

one of the 4 sides looks like it got molded… strange stuff, could this be that I have to tightening some hardware stuff?

Will this work on any raspberry pi or do I need the raspberry pi 2? I have a raspberry B (the original one) that is sitting on a shelf and am debating on trying to get my zim running using octopi.

any raspberry pi model will work apart from A+ will need a hub… thanks mtbf0 …

I am running the octopi image on a rpi B+ and a rpi 2. so yes, it should work for you.

if you were to use an a or an a+, you would need a usb hub in order to connect wifi and printer, let alone the camera.

Question for you all. I still have several zee pro cartridges, can I still use them with this setup? Just ordered a pi to do this. Thank you all for putting this info together!

Using Octoprint or a direct USB to computer solution has nothing to do with your choice or method of filament.
Only the original Zeepro Software is using the RFID in the cartridges for temperature settings and used meters of filament.
So without Zeepro Software you are free to use whatever you like.

After I switched to the alternative filament drive I broke off the beak of the cartridge I had left and used them.
But you could as well just open the cartridge and use the spool directly.

I should have been more clear, what I guess I’m asking is does the bottom filament drive/extruder still function. I have not changed things around to feed filament into the top. I completely realize that the RFID wouldn’t matter etc. Just wanted to know if it would still pull the filament up from the bottom.

Thanks again!