You are not logged in.

#1 2016-12-27 21:33:44

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Help Customized Buttons

NanoDLP use the GPIO.
I defined "Customized Buttons" for disable stepper. (I know there is, I used to test)
Not working.
Why wrong?
My seting:
Driver Enable Pin=Physical 33, BCM 13
Customized Buttons - Gcode = [[GPIOHigh 33]]

setari_pini.PNG?attachauth=ANoY7cpzUlI9Ceufns8SP7MHtMsySxnXT90iLME2DSgknfjZdThGLucpgGFX7oV--oETx6hDnUr1jXETr-678xBMZWKkNQurBWNKrOCoeUtRIRO1RjZ701GVoFXN8PB7pZ30Ex_xfpxfWojezJZHFO9OlQxZX1BQ9g8XNeCyrTjfZOxP3iHVjGx5fxgj3jgaO42s0lcSU-MaHdl6YyP2xdiEJIjcY92n6g%3D%3D&attredirects=0

customized%20buttons.PNG?attachauth=ANoY7cppddsTWnB9haJJDIytAdFGSPrggyiIg0K4PT5iB7Zr5f7xvGXgAQbQeZhlAkq7a2oHkzkU2sGTuW5IgQLFJxXjeDmc72hNo5APdqoZNL1kFaLQLfxQ7-gLhf_IYdHXlOPmCe3iffFTJaS94U2DAZr5vchIptjbdWYtFdOMgz3mju-fGADMrSh4cozQDddbqdH7f-O83lcbP1nMECUfphMirUZNi7yt4je2fvEJPTtP_Kd6kZE%3D&attredirects=0

Offline

#2 2016-12-27 21:39:16

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Help Customized Buttons

Make sure GPIO 33 is not used anywhere else. Share a debug file. (setup/tools tab/debug button)

Offline

#3 2016-12-27 22:04:27

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Re: Help Customized Buttons

GPIO 33 is used for Driver Enable.

nanodlp.debug.776152849.zip
https://sites.google.com/site/drnprinte … ects=0&d=1

Offline

#4 2016-12-28 05:40:07

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Help Customized Buttons

Try the beta version, let me know if it is working as expected.

Offline

#5 2016-12-28 09:16:49

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Re: Help Customized Buttons

Thanks for promptly.
I installed the 1323 build.
They are remote and do not see the effect. Nothing appears in the log.(I'm at work.)
I can see remotely the status of a pin?
How do I show variability in html or console? ([[LayerNumber]], [[LargestArea]], [[SmallestArea]] .....)
It is possible to create a button to display variable?

3D works in firefox 49.02.
3D does not work in chrome (version 55.0.2883.87).

Offline

#6 2016-12-28 10:09:34

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Help Customized Buttons

Put the GPIOHigh keyword inside your gcode boxes not syscall boxes. Your buttons file looks fine (test1). But log file indicate syscall instead of gcode.
You should see any status changes on activity section of the dashboard. Something similar to "GPIO    Set Pin 33 to High"

Currently it is not possible to access those data outside of the program. But I can make it available.
3D on chrome looks fine here. Maybe 3D acceleration is off.

Offline

#7 2016-12-28 11:11:11

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Re: Help Customized Buttons

Steppers work properly on GPIO
When I start "printer" I error:

pi@raspberrypi:~/printer $ sudo ./printer&
[1] 776
pi@raspberrypi:~/printer $ 2016/12/28 10:17:39.048776 {"Layer":"16709","module":"Hardware","level":"Notice","msg":"Initializing build # 1323 - generic"}
2016/12/28 10:17:39.049970 {"Layer":"16709","module":"Shutter","level":"Error","msg":"Pipe Access Problem open /dev/pigpio: no such file or directory"}


Variabelelor display are useful for debugging, testing, calibration and calculation for dynamic and check endstop.

Offline

#8 2016-12-28 11:48:51

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Re: Help Customized Buttons

You can add the JSON variable of "status" (or create status2) these:[[LayerThickness]],[[LayerPosition]],[[CurrentPosition]],[[StopPosition]],[[LayerNumber]],[[TotalNumberOfLayers]],[TotalSolidArea]],[[LayerNumber]],[[LargestArea]],[SmallestArea]],[[AreaCount]].....

Offline

#9 2016-12-28 19:48:03

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Help Customized Buttons

pigpio is used for shutter PWM. It is probably an installation issue. I have not seen it before.

If you need such comprehensive range of information do following.
Access http://ip/status it gives you current plate and layer also position information.
You can use http://ip/static/plates/plate_id/info.json which contains per layer area information and etc.

Offline

#10 2016-12-29 09:31:05

ionel.ciobanuc
Member
Registered: 2016-10-24
Posts: 21
Website

Re: Help Customized Buttons

Thank you.

Offline

Board footer

Powered by FluxBB