You are not logged in.

#76 2017-11-20 10:17:52

riguardino
Member
Registered: 2017-11-20
Posts: 3

Re: Touch screen for NanoDLP

Thanks you all for information,

I have a 5" display and it's now working, but with a lot of bugs, such us:
wrong image size on preview
when a printing start from browser it don't display the current printing process
etc...

have some one fixed the bugs?
I'm not expert but maybe I can fix by myself, can someone show me where I can do this?

thanks a lot

Offline

#77 2017-11-21 13:42:12

rob
Member
Registered: 2017-09-28
Posts: 47

Re: Touch screen for NanoDLP

rob wrote:

I'm stuck with the same problem on a RPi2B and a Nextion Basic 3.5". I'm running v2. I think I tried all solution I saw online, but I can't find the issue.

I initially thought it was a permission/serial port issue, but after some checking I just realized  it's should not.

I did find the problem. I just did not realized you need to change the url in config.json when using non-standard web interface port.  roll

{
  "url":"http://localhost",
  ....

to

{
  "url":"http://localhost:PORT",
  ...

where PORT equals to your port number.
I am writing back in case someone else could find the same problem.
It might be nice to add this info in the README for other users, just in case. Or otherwise any kind of debug info when program cannot connect to the interface. I had been messing around a lot with the serial settings, thinking it was a pi serial configuration problem. Killing node process and running it from console with

DEBUG=* node /home/pi/nextion/bin/index.js

I could notice that program hang after successfully sending the first commands (sleep=0,bkcmd=3,etc) but there was no debug info like "cannot connect to url". It might be helpful to debug configuration.
PS: Thanks again for the great work! smile

Offline

#78 2017-11-26 01:29:27

mickymax75
Member
Registered: 2017-10-31
Posts: 29

Re: Touch screen for NanoDLP

Hi Julien
I reinstall the V2 but  It stays on "connecting Printer..." now
any idea?
thanks

Offline

#79 2017-11-26 17:20:56

mickymax75
Member
Registered: 2017-10-31
Posts: 29

Re: Touch screen for NanoDLP

Hi Julien....
another strange things is that after installation of new v.2 nanodlp doesn't work..... sad
I have to reinstall image on sdcard

Offline

#80 2017-11-26 19:48:46

mickymax75
Member
Registered: 2017-10-31
Posts: 29

Re: Touch screen for NanoDLP

Please, could somebody put a sequentialy list of the step to install nextion sw and work it with nanodlp?
After upgrade installation...I can't use it.....after all I got Always "connecting to printer..." and nothing else.....
sad

Offline

#81 2017-11-26 23:13:56

mickymax75
Member
Registered: 2017-10-31
Posts: 29

Re: Touch screen for NanoDLP

Hi All
So at the end I got it!
Julienne I think there is another bug to resolve:
if I put a password on nano....lcd doesn't work.
If do you click on "plate" button...you got all "undefined" plate....and other functions are KO.
I think with a software password....nextion can't access to nano data.....
smile

Offline

#82 2017-11-28 21:24:06

mickymax75
Member
Registered: 2017-10-31
Posts: 29

Re: Touch screen for NanoDLP

Hi
In the printing mode....still there no preview image on the display....any solution???
?

Offline

#83 2017-12-01 12:20:44

mickymax75
Member
Registered: 2017-10-31
Posts: 29

Re: Touch screen for NanoDLP

Hi
Any update?

Offline

#84 2017-12-02 17:09:29

Thiengod
Member
Registered: 2016-11-20
Posts: 9

Re: Touch screen for NanoDLP

Hi juliendelnatte,

I added the Dual-state button id23 in Z axis screen to Enable or Disable motor but i don't known how to code or set up any other objects to make it work.

Thank in advance,

Offline

#85 2017-12-10 20:52:59

toni
Member
Registered: 2017-06-17
Posts: 14

Re: Touch screen for NanoDLP

juliendelnatte wrote:

Yes, every nextion screen is compatible!


where i can find  .tft file for 7''  inch screen?

Offline

#86 2018-01-08 07:07:29

uups
Member
Registered: 2018-01-08
Posts: 4

Re: Touch screen for NanoDLP

I would like to upload files.
How do I run the commands in node.js to upload to the nanodlp.db db?

I want to know the code to be uploaded when the submit button on the add-usb page is clicked.

Or are there sites or links to reference?

Offline

#87 2018-01-08 07:42:39

juliendelnatte
Member
Registered: 2017-06-07
Posts: 80

Re: Touch screen for NanoDLP

The code to upload a zip or something else look like this : (where buffer is the file content)

let result = await request({
        uri: `${this.serverURL}/plate/add`,
        formData: {
          'ZipFile': {
            value: buffer,
            options: {
              filename: 'exportFromMockaSlicer.zip'
            }
          },
          'Path': "exportFromMockaSlicer.zip",
          'ProfileID': 1
        },
        method: "POST",
      });

Offline

#88 2018-01-09 12:07:43

uups
Member
Registered: 2018-01-08
Posts: 4

Re: Touch screen for NanoDLP

juliendelnatte wrote:

The code to upload a zip or something else look like this : (where buffer is the file content)

let result = await request({
        uri: `${this.serverURL}/plate/add`,
        formData: {
          'ZipFile': {
            value: buffer,
            options: {
              filename: 'exportFromMockaSlicer.zip'
            }
          },
          'Path': "exportFromMockaSlicer.zip",
          'ProfileID': 1
        },
        method: "POST",
      });

The await command is known to work with the node js 7.x version.
Thanks for the answer.
My Raspberry Phonode js version is 6.4.
If you check the version with node -v after updating the latest version, 6.4
If you check with nodejs -v, you will see 8.9 (8.x version installed).
I still can not upload files ^^;

Offline

#89 2018-01-09 12:10:03

juliendelnatte
Member
Registered: 2017-06-07
Posts: 80

Re: Touch screen for NanoDLP

File in bin folder are transformed from src by gulp, and gulp will transform "await" instruction in promise,...

Offline

#90 2018-01-10 13:46:42

uups
Member
Registered: 2018-01-08
Posts: 4

Re: Touch screen for NanoDLP

juliendelnatte wrote:

File in bin folder are transformed from src by gulp, and gulp will transform "await" instruction in promise,...



return (0, _requestPromiseNative2.default)({
                  uri: '${this.serverURL}/plate/add-usb'
                  formData : {
                    ZipFile : {
                      value: '/media/usb0/test123.stl',
                      options :{
                        filename : 'test123.stl'
                      }
                    },
                    Path : "test123",
                    ProfileID : 2
                  },
                  enctype: 'multipart/form-data',
                  method : "POST",
                  timeout: 10000
                });



The result is like this: Please help me

Promise {
  _c: [],
  _a: undefined,
  _s: 0,
  _d: false,
  _v: undefined,
  _h: 0,
  _n: false }

Last edited by uups (2018-01-10 13:48:43)

Offline

Board footer

Powered by FluxBB