area515 / Photonic3D

Control software for resin 3D printers
http://photonic3d.com
GNU General Public License v3.0
131 stars 115 forks source link

How to make a stand alone dlp machine with tft screen, and if we can exclude the arduino and use only the raspberry pi #336

Closed belalshehab closed 6 years ago

belalshehab commented 6 years ago

First, I'm looking for a way to use the RPI TFT screen so I can use the printer without the need for an additional device and network.

How can I split the screen to show the GUI with the TFT screen and can send the slices throw the HDMI cable?

Second is there any way to be able to not use the Arduino and control the servos from the pi it self?

I think I can interpret the g code but it will require me to be able to pass it to the script that I will write, and not pass it throw the serial cable. So how can I redirect the gcode ?

WesGilster commented 6 years ago

I'm not sure why my email didn't show up here... Even though XWindows doesn't support the second screen on a Raspberry Pi, we actually do. Here is how: https://wiki.photonic3d.com/doku.php?id=dual_raspberry_pi_screens

Here is the process for creating a new skin for use on your touch screen: https://wiki.photonic3d.com/doku.php?id=supporting_new_skins

Yes you can control the servos yourself. In fact it already ships with the libraries to do this. Obviously you'll need to write the code yourself since we have no idea what controls and servos you happen to be using. Here is where we were talking about it: https://forum.photonic3d.com/t/wiring-diagram-suitable-for-photonic-3d/228/2

I think I can interpret the g code but it will require me to be able to pass it to script I will write, and not pass it throw the serial cable You could do this, but it's not necessary. Technically you can write your own language which is convenient for you since you will be in control of the parsing. I'll help in any way I can to get you through the code.

WesGilster commented 6 years ago

We'll be getting the JavaDocs and Restful API docs generating onbuild fairly soon.

WesGilster commented 6 years ago

...and here is how another user figured out how to use the dual screen in kiosk mode: https://forum.photonic3d.com/t/printflow3d-download/225/42

WesGilster commented 6 years ago

So I've put the final nail in the coffin of this bug by recently allowing the ability to control the stepper motors directly as you requested. If you want to install the printer it's Called "Direct stepper control". If you want to create your own printer from scratch, you'll need to use the "Generic Javascript" print driver as shown in the image below. Here is a little demo program for how you can control the steppers from java: https://github.com/Pi4J/pi4j/blob/master/pi4j-example/src/main/java/StepperMotorGpioExample.java

Just type your program in the area below where you would normally type the gcodes: image

WesGilster commented 6 years ago

Since this is now complete in development, I'm closing.