nanoDLP - Raspberry Pi DLP Host Software

Here is the place to discuss software and related tools for Slice generation, machine control, & etc...
shahin
Posts: 45
Joined: Fri Nov 21, 2014 4:55 pm

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby shahin » Sat Nov 07, 2015 6:23 pm

adambx wrote:
shahin wrote:
adambx wrote:i'm having trouble loading a zip file, it gets uploaded but the layer files are not recognized somehow. When i scp into the pi and look at the directories the "public/plates/" directory contains a folder with the plate ID, which is empty. The PNG files inside my zip are sequentially named.

.SLC input works

any ideas?


Make sure they are in root of zip file. Could you share zip file structure and a few file names?


first i've used the PNG output of CW, where i've noticed that it produces 32bit PNGs, then I've converted them to 24bit and it still doesn't work.
what's the structure in the plates/ folder supposed to look like?
Is it possible for me to manually create plates?

here's a screenshot of my ZIP, tried 7zip and WinRar for windows, no extra options.
Untitled20151107231159.png


It looks fine, could you share the same zip file with first 10 layers, so I could try it in debug mode.

adambx
Posts: 119
Joined: Wed Apr 09, 2014 6:33 am

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby adambx » Sat Nov 07, 2015 6:28 pm

here it is:
test.zip
(249.94 KiB) Downloaded 140 times

shahin
Posts: 45
Joined: Fri Nov 21, 2014 4:55 pm

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby shahin » Sat Nov 07, 2015 7:06 pm

adambx wrote:here it is:
test.zip


I have fixed the issue. Please, download it again.
http://www.nanodlp.com/nanodlp.tar.gz

adambx
Posts: 119
Joined: Wed Apr 09, 2014 6:33 am

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby adambx » Sat Nov 07, 2015 7:20 pm

works!
thanks :)

shahin
Posts: 45
Joined: Fri Nov 21, 2014 4:55 pm

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby shahin » Thu Nov 19, 2015 2:36 am

The development progressed well and now it is cover the most of the previously asked features on this thread and elsewhere.

jkao wrote:Nice! Do you have a way of setting lift speed and height between layers similar to the layer-by-layer specs in ProjectLayer?


Using gcode math (basic) or syscall (advanced) you can generate layer-by-layer specs.

sodium wrote:wow! its seems very configurable and complete.

then, if you have not yet implemented the grayscale mask, how to use the entire build plate, specially with the acer 6510 ?


nanoDLP supports grayscale mask for SLC files.

shahin
Posts: 45
Joined: Fri Nov 21, 2014 4:55 pm

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby shahin » Mon Dec 07, 2015 12:00 pm

Anyone who are interested can checkout online interface demo of nanodlp
http://www.nanodlp.com:8080

hdfkr
Posts: 1
Joined: Tue Dec 08, 2015 10:04 pm

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby hdfkr » Tue Dec 08, 2015 10:14 pm

Does the latest release allow you to connect to a 3D printer board through USB or is that not yet implemented? I've been trying to connect an arduino nano which is running grbl but I've been having a lot of trouble.
Just moving the z-axis around, when I check the logs it says:

Level Layer Time Module Action Details
UNKNOWN /tmp/go/go/src/runtime/asm_arm.s:1036 (0x7f8ac)
UNKNOWN /tmp/go/go/src/net/http/server.go:1361 (0x195a50)
UNKNOWN /tmp/go/go/src/net/http/server.go:1862 (0x197e3c)
UNKNOWN /home/pi/go/src/github.com/plimble/ace/ace.go:89 (0x9b7b4)
UNKNOWN /home/pi/go/src/github.com/julienschmidt/httprouter/router.go:299 (0x1fc604)
UNKNOWN /home/pi/go/src/github.com/plimble/ace/router.go:132 (0xa0298)
UNKNOWN /home/pi/go/src/github.com/plimble/ace/context.go:130 (0x9c408)
UNKNOWN /home/pi/printer/app/web.go:120 (0x1bb74)
UNKNOWN /home/pi/printer/app/gcode.go:18 (0x10b2c)
UNKNOWN /home/pi/printer/app/gcode.go:58 (0x110fc)
UNKNOWN /home/pi/printer/app/gcode.go:90 (0x11868)
UNKNOWN /tmp/go/go/src/runtime/panic.go:12 (0x4dd5c)
UNKNOWN /tmp/go/go/src/runtime/panic.go:423 (0x4f87c)
UNKNOWN /tmp/go/go/src/runtime/asm_arm.s:424 (0x7d490)
UNKNOWN /home/pi/go/src/github.com/julienschmidt/httprouter/router.go:273 (0x1fc3bc)

and when I hit calibrate zero position it spits out:
Info - 2015/12/09 02:11:58.324372 GPIO Moving to Top

which seems to indicate to me that it's using the GPIO rather than the USB/SERIAL connection.

This is the first time I've done anything on the raspi so it's probably some mistake on my part, but any help would be appreciated!

shahin
Posts: 45
Joined: Fri Nov 21, 2014 4:55 pm

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby shahin » Wed Dec 09, 2015 1:47 am

People already using nanodlp with grbl. It supports 3d printer board through both i2c and USB.

Could you attach file located at /home/pi/printer/db/machine.json here? Maybe I could guess the problem by checking that out.
It usually something to do with port path and speed settings. If you have both grbl board and usb-2-serial projector cable connected, disconnect usb-2-serial adepter and restart.

First part of log indicate program was terminated, you can check out timing most probably usb power connected / disconnected and etc.
So its nothing to do with grbl connection issue.

Both grbl and marlin doing all positioning tasks. so currently its not possible to move z-axis to top position without sending gcode. You can send gcodes by going to terminal tab at the program.

hdfkr wrote:Does the latest release allow you to connect to a 3D printer board through USB or is that not yet implemented? I've been trying to connect an arduino nano which is running grbl but I've been having a lot of trouble.
Just moving the z-axis around, when I check the logs it says:

Level Layer Time Module Action Details
UNKNOWN /tmp/go/go/src/runtime/asm_arm.s:1036 (0x7f8ac)
UNKNOWN /tmp/go/go/src/net/http/server.go:1361 (0x195a50)
UNKNOWN /tmp/go/go/src/net/http/server.go:1862 (0x197e3c)
UNKNOWN /home/pi/go/src/github.com/plimble/ace/ace.go:89 (0x9b7b4)
UNKNOWN /home/pi/go/src/github.com/julienschmidt/httprouter/router.go:299 (0x1fc604)
UNKNOWN /home/pi/go/src/github.com/plimble/ace/router.go:132 (0xa0298)
UNKNOWN /home/pi/go/src/github.com/plimble/ace/context.go:130 (0x9c408)
UNKNOWN /home/pi/printer/app/web.go:120 (0x1bb74)
UNKNOWN /home/pi/printer/app/gcode.go:18 (0x10b2c)
UNKNOWN /home/pi/printer/app/gcode.go:58 (0x110fc)
UNKNOWN /home/pi/printer/app/gcode.go:90 (0x11868)
UNKNOWN /tmp/go/go/src/runtime/panic.go:12 (0x4dd5c)
UNKNOWN /tmp/go/go/src/runtime/panic.go:423 (0x4f87c)
UNKNOWN /tmp/go/go/src/runtime/asm_arm.s:424 (0x7d490)
UNKNOWN /home/pi/go/src/github.com/julienschmidt/httprouter/router.go:273 (0x1fc3bc)

and when I hit calibrate zero position it spits out:
Info - 2015/12/09 02:11:58.324372 GPIO Moving to Top

which seems to indicate to me that it's using the GPIO rather than the USB/SERIAL connection.

This is the first time I've done anything on the raspi so it's probably some mistake on my part, but any help would be appreciated!

jkao
Posts: 45
Joined: Sun Jan 04, 2015 5:42 am

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby jkao » Sun Jan 10, 2016 3:14 am

Hi Shahin,

I finally got around to installing nanoDLP build 947 and getting it hooked up with my printer, which is a Kudo3D Titan 1 printer that is a bottom-up Marlin based firmware with no shutter, tilt motor, or other moving parts besides a Z axis.

Projector control and display is working fine, no issues there.

However, I'm having some problems understanding how the Z-axis controls work.

When I connect to the printer and click on the 1mm down button, the system seems to send a G1 Z1, and if I click the 1mm up button, it also sends G1 Z1. This doesn't seem to match any behavior I would expect in either G90 (absolute) or G91 (relative) mode. If I'm in G90, a G1 Z1 will move the Z-axis to 1mm above zero, meaning the up and down buttons do the same thing and I can only bring my Z axis to exactly 0.1mm, 0.5mm, 1mm, 10mm, or 50mm above the build plate. If I'm in G91, since all the numbers are positive, the stage goes up whether I click on the up or down buttons and there is no way to lower the stage.

Additionally, the Platform Information numbers never change, and nothing happens when I click on either the Calibrate Zero Position or Measure Z-Axis Length buttons.

Is there something I'm misunderstanding about the way that these buttons are supposed to work, or something I'm missing in the 3D printer board setup?

Thanks!

shahin
Posts: 45
Joined: Fri Nov 21, 2014 4:55 pm

Re: nanoDLP - Raspberry Pi DLP Host Software

Postby shahin » Sun Jan 10, 2016 5:23 am

jkao wrote:Hi Shahin,

I finally got around to installing nanoDLP build 947 and getting it hooked up with my printer, which is a Kudo3D Titan 1 printer that is a bottom-up Marlin based firmware with no shutter, tilt motor, or other moving parts besides a Z axis.

Projector control and display is working fine, no issues there.

However, I'm having some problems understanding how the Z-axis controls work.

When I connect to the printer and click on the 1mm down button, the system seems to send a G1 Z1, and if I click the 1mm up button, it also sends G1 Z1. This doesn't seem to match any behavior I would expect in either G90 (absolute) or G91 (relative) mode. If I'm in G90, a G1 Z1 will move the Z-axis to 1mm above zero, meaning the up and down buttons do the same thing and I can only bring my Z axis to exactly 0.1mm, 0.5mm, 1mm, 10mm, or 50mm above the build plate. If I'm in G91, since all the numbers are positive, the stage goes up whether I click on the up or down buttons and there is no way to lower the stage.

Additionally, the Platform Information numbers never change, and nothing happens when I click on either the Calibrate Zero Position or Measure Z-Axis Length buttons.

Is there something I'm misunderstanding about the way that these buttons are supposed to work, or something I'm missing in the 3D printer board setup?

Thanks!


Hi,

You are right. Whole program was designed on assumption of controlling everything through RPi itself. But we have added 3d printer board support later on. So some buttons on z-axis calibration page does not work for anything except direct gpio control. It should work in relative mode. I have fixed negative bug also G28 was added few days ago to beta version. You can try it by running line below.
(wget http://www.nanodlp.com/nanodlp.beta.tar.gz -O - | tar -C /home/pi -xz);cd /home/pi/printer;sudo ./setup.sh

Let me know if the problem persists.