You are not logged in.

#126 2018-05-18 15:55:52

Andre267
Member
Registered: 2017-04-21
Posts: 9

Re: Touch screen for NanoDLP

@ToS @juliendelnatte: this is my output on the errorOutput.log:

missing API key for pushbullet
{ Error: Cannot find module 'ip'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Home._callee$ (/home/pi/nextion/bin/plugins/nextion/pages/home.js:54:22)
    at tryCatch (/home/pi/nextion/node_modules/regenerator-runtime/runtime.js:6$
    at GeneratorFunctionPrototype.invoke [as _invoke] (/home/pi/nextion/node_mo$
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/ho$
    at step (/home/pi/nextion/bin/plugins/nextion/pages/home.js:16:191)
    at /home/pi/nextion/bin/plugins/nextion/pages/home.js:16:361 code: 'MODULE_$

Last edited by Andre267 (2018-05-18 15:56:48)

Offline

#127 2018-05-18 16:04:14

ToS
Member
Registered: 2017-09-18
Posts: 24

Re: Touch screen for NanoDLP

@Andre267 @juliendelnatte:  there you have it "Error: Cannot find module 'ip'..."

@Andre267: you can fix this with executing those instructions of my previous post

@juliendelnatte: I doubt the issue in this case is caused by messed up control-ID's, maybe you could rather take a look into the potential issue with the modules and add ip, drivelist and child_process for v 0.3

Offline

#128 2018-05-18 16:21:45

Andre267
Member
Registered: 2017-04-21
Posts: 9

Re: Touch screen for NanoDLP

ToS wrote:

@Andre267 @juliendelnatte:  there you have it "Error: Cannot find module 'ip'..."

@Andre267: you can fix this with executing those instructions of my previous post

Did worked smile
Thx everything else works now aswell.

Cann't wait to get everything working and get more Updates. wink
Nice Work Guys

Offline

#129 2018-05-22 20:39:19

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: Touch screen for NanoDLP

Hi, I'm following     

Install guide for guys who using pi3 modeb, but stop at "Connecting printer..."
Thx for Tibus's help...

But when I get to point 4, honestly, I have no idea what to do. Can you help me please?

Offline

#130 2018-05-23 00:10:33

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: Touch screen for NanoDLP

Solucionado.

Offline

#131 2018-05-23 03:49:38

pansang
Member
Registered: 2018-05-19
Posts: 1

Re: Touch screen for NanoDLP

Install through
But the screen time to select the plate. Do not see the USB and The machine will hold.


Thank You

***This message is translated from Google.

Offline

#132 2018-05-23 10:39:15

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: Touch screen for NanoDLP

Hi, I have installed an NX4832T035_011 but it does not link me correctly.
When the printer is not printing, from the main screen, it does not let me do anything. When I put it to print from the computer, it lets me stop printing, but it does not do anything else either. I attach two videos.




https://drive.google.com/file/d/1SnkgpP … sp=sharing

https://drive.google.com/file/d/1i_wE1- … sp=sharing

Offline

#133 2018-05-28 16:00:06

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: Touch screen for NanoDLP

Hello, I realized that when I turn on the screen, I see TCP / IP, instead of putting the address.

Could this be the cause of my problems?

Last edited by L.Merino (2018-05-28 16:00:33)

Offline

#134 2018-05-28 16:49:12

ToS
Member
Registered: 2017-09-18
Posts: 24

Re: Touch screen for NanoDLP

L.Merino wrote:

Hello, I realized that when I turn on the screen, I see TCP / IP, instead of putting the address.

Could this be the cause of my problems?

honestly? ...->
https://www.nanodlp.com/forum/viewtopic … 6752#p6752

Offline

#135 2018-05-28 17:23:17

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: Touch screen for NanoDLP

I'm sorry, I do not speak English and I have a hard time following conversations.
Thank you for the answer.

When I put
sudo cd / home / pi / nextion

Tells me

sudo: cd: command not found

Offline

#136 2018-05-28 17:32:29

ToS
Member
Registered: 2017-09-18
Posts: 24

Re: Touch screen for NanoDLP

L.Merino wrote:

...
When I put
sudo cd / home / pi / nextion
Tells me

sudo: cd: command not found

ah, my fault: no "sudo" for "cd"... just
cd /home/pi/nextion 
(no additional spaces!!)

Offline

#137 2018-05-28 17:41:48

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: Touch screen for NanoDLP

Thank you very much!!!

Offline

#138 2018-05-28 17:53:37

ToS
Member
Registered: 2017-09-18
Posts: 24

Re: Touch screen for NanoDLP

L.Merino wrote:

Thank you very much!!!

eeehhh.... did it solve your problem?

Offline

#139 2018-05-28 17:55:45

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: Touch screen for NanoDLP

Yes

Offline

#140 2018-06-01 08:04:52

ToS
Member
Registered: 2017-09-18
Posts: 24

Re: Touch screen for NanoDLP

somik wrote:

To install the latest version:
1. Download the latest version with the command $git clone https://github.com/Tibus/TouchScreen-For-NanoDLP.git
2. replace files from the /home/pi/nextion folder with TouchScreen-For-NanoDLP files
3. Install the IP module. To do this, go to the /home/p/nextion folder and run the command $sudo npm install ip
4. To view the current slice when printing: In the file /bin/plugins/nextion/pages/printingHome.js
remove the word "nextion" from the following block:



        case 11:
                _context2.next = 13;
                return this.nextion.getValue("t12.x");

              case 13:
                this.imageX = _context2.sent;
                _context2.next = 16;
                return this.nextion.getValue("t12.y");

              case 16:
                this.imageY = _context2.sent;
                _context2.next = 19;
                return this.nextion.getValue("t12.w");

Seems that you tried to fix the issue in the bin-folder, It should instead be fixed in the src-folder:

sudo nano /home/pi/nextion/src/plugins/nextion/pages/printingHome.js

then look at the following code section:

this.imageX = await this.nextion.getValue("t12.x");
this.imageY = await this.nextion.getValue("t12.y");
this.imageWidth = await this.nextion.getValue("t12.w");

and change it to

this.imageX = await this.getValue("m0.x");
this.imageY = await this.getValue("m0.y");
this.imageWidth = await this.getValue("m0.w");

Please be aware that not only the 'nextion.' was deleted, but also 't12' had to be changed to 'm0' (this is the object-name of the placeholder on the 'printing' and 'printingPause' screens).

Then the the changed src folder need to be compiled to the bin folders by...

cd /home/pi/nextion
sudo gulp

Most likely gulp is not installed on your raspberry pi by default. You need to install it first to compile the source code changes.

Regards
ToS

PS: as soon as I find time, I intend to upload changes to my fork on GitHub and initiate a pull-request to Tibus/ Julien. But it's uncertain how fast the code change will result in a V 0.4 (which would make sense anyway, as there is still the issue with missing packages in V 0.3)

Last edited by ToS (2018-06-01 08:08:18)

Offline

#141 2018-08-08 13:58:37

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

Re: Touch screen for NanoDLP

aaa111.png


hi ~!
Thank you all in advance.

I like the attached picture, the basic function of nano dlp,
  I want to create the ability to move layers one by one on the plate. What should I do?

and I would like to show the progress of the file uploading on the screen using the percentage or progress bar. I do not know when it will be completed, so I am frustrated .... haha

Last edited by uups (2018-08-08 15:41:58)

Offline

#142 2018-08-09 05:12:00

Bill Dung
Member
Registered: 2018-08-09
Posts: 2

Re: Touch screen for NanoDLP

Hi there, is did all the following but still get TCP/IP instead the address displayed

cd /home/pi/nextion
sudo npm i ip
sudo npm i drivelist
sudo npm i child_process
sudo shutdown -r now

The Shutdown and the Reboot buttons also do not work, but the Plate and Settings Buttons are fine.

Offline

#143 2018-08-09 07:57:12

Bill Dung
Member
Registered: 2018-08-09
Posts: 2

Re: Touch screen for NanoDLP

I reinstalled everything again and now it's working.

Offline

#144 2018-08-28 01:46:18

xfmax
Member
Registered: 2018-07-12
Posts: 9

Re: Touch screen for NanoDLP

Nextion does not display the current print image.

Offline

#145 2018-08-29 21:14:40

Youle_FR
Member
From: France
Registered: 2018-08-29
Posts: 1

Re: Touch screen for NanoDLP

Good morning,
I just finished installing my "nextion" screen, but I have a problem...

It connects well, but it's very long.
The menu displays well, the buttons change states when you touch them, but I can't navigate through the menus. Additional indication, the IP address field is empty...

I read a lot about the BT/SERIAl, but I'm lost!!!!
Has anyone ever had the problem?

Offline

#146 2018-10-25 16:16:48

AKlion
Member
From: Russia Togliatty
Registered: 2018-09-30
Posts: 2

Re: Touch screen for NanoDLP

Tell me please, if I buy a monitor like this, can I connect it without any problems so that everything works?
ebay.com/itm/3-5inch-USART-HMI-TFT-LCD-Touch-Display-Module-TJC4832T03-Resistive-Touch-Screen/392126389872?

Offline

#147 2018-10-27 12:01:15

mutsched
Member
Registered: 2018-10-27
Posts: 6

Re: Touch screen for NanoDLP

I AM DESPAIRED !!! I spend many hours to get it work but i dont !!!

I want am clear manual for beginners to install the Nextion on an RPI3B+!!!!

It is very difficult for somebody with no programming skills to get the display work on rpi3B+
So i want to maken an PDF / Manual for beginners to help ...
But first i need to get it work by myself.

My display stops on CONNECTING TO PRINTER...
What i did :

Download the new Nano DLP RPI Image from
Nanodlp Homepage

If you use Windows download ETCHER and install it.

Unzip nanodlp and start ETCHER


Select Image you want to flash on your SD Card
Select nanodlp and flash it

Download Putty from putty homepage

Connect your RPI 3B+ with an ethernet cable to your router
After flashing sd put SD Card into the RPI 3B+ and start RPI

Go to your router interface ( in my case 10.0.0.138 ) and login
Watch in your Router Interface and look for RPI 3B+ ip-adress

Open Putty on PC and type in ip-adress from your RPI 3B+  and click open
Then you come to the putty interface box and you can login to your RPI 3B+

Login as: pi
pi@10.0.0.5´s password: raspberry

Now youre on the RPI 3B+
Type sudo raspi-config and make some settings in the “Raspberry PI Software configuration tool”
The Changes debends on your system or on the country you live

Got to 4. Localisation Options and change
    Change Locale to    “de_DE.UTF-8” (ONLY IN MY CASE)
    Change Timezone to    “EUROPE” and then “BERLIN”
    Change Keyboard layout

If all settings changed     got to finisch and click enter

Now you see the black putty interface again. Now update the RPI3 B+ and type
    sudo apt-get update
    sudo apt-get upgrade
    sudo reboot

Congrats so your RPI3 B+ is in ground configuration !!!

Now Type the Ip-Adress from your RPI 3B+ into your webbrowser

Now you can log in to your NanoDLP interface on RPI 3B+


Here you can chose different types of preconfigured Printers. In my case I use the “mUVe3D” Version. Click on it and RPI 3B+ restarts

After Restart look if there is an “New Version Available” in the right upper corner.
If yes click on it and “Upgrade to the latest stable version”

Now the RPI 3B+ update and reboot again

GET NEXTION TOUCH DISPLAY WORK ?!?!?! ( Here I need Help !!!  )

Go to github
And download the tft file for your display. (in my case the Nextion 3,2)

Put the tft file into an emty MICRO SD Card
Put the card into the cardslot on your Nextion
Power on the nextion and it will update automaticly
If ready the display shows 100% success

Now get back on Putty and log in to your RPI 3B+ and check your serial0/serial1 connection

Type followed lines
cd /dev
ls- l

Now you have to scroll up and see followed picture
Serail1 -> ttyAMA0

Type
Sudo raspi-config
Go to  5 Interface Options

First question:         Would you like a login shell to be accessible over serial  NO
Second Question:     Would you like the serial port hardware to be enabled  YES

The prompt will read :        The serial login shell is disable
                The serial interface is enabled
Select ok and allow the RPI3B+ to reboot

Type
sudo nano /boot/config.txt
add fllowed line to the config.txt
    dtoverlay=pi3-disable-bt
exit and save changes

sudo reboot

After reboot you log in over putty again and type
cd /dev
ls -l

Now it should show follow lines under serial

Serial0 -> ttyAMA0
Serial1 -> ttyS0

Download Nextion Screen Software for Simple installation

..../V0.3/pi2_3.tar.gz --no-check-certificate -O - | sudo tar -C /home/pi/nextion - xz);cd /home/pi/nextion; sudo ./setup.sh

NOW MY config.txt SHOWS

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
disable_camera_led=1
hdmi_pixel_encoding=2
start_x=1
gpu_mem=128
enable_uart=1
dtoverlay=pi3-disable-bt


MYcmdline.txt SHOWS

dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=b94f2c65-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

BUT MY DISPLAY ALWAS SHOWS CONNECTING TO PRINTER….

What is wrong  ?? What changes I must make to get it work ???

Update:
Nextion Output.log

{ nextio: { port: '/dev/ttyAMA0', sleep: 30 },^M
n: { port: '/dev/ttyAMA0', sleep: 30 },^M
pushbullet: { apiKey: null } } { apiKey: null }
connect to port /dev/ttyAMA0
list [ { comName: '/dev/ttyACM0',^M
manufacturer: 'RRD__www.ru',^M
serialNumber: 'RRD__www.ru_RUMBA_-ATmega_2560_co_55437333437351705231',^M
pnpId: 'usb-RRD__www.ru_RUMBA-_ATmega_2560_co_55437333437351705231-if00',^M
vendorId: '0x03eb',^M
productId: '0x204b' },^M
{ comName: '/dev/ttyAMA0',^M
manufacturer: undefined,^M
serialNumber: undefined,^M
pnpId: undefined,^M
vendorId: undefined,^M
productId: undefined },^M
{ comName: '/dev/ttyS0',^M
manufacturer: undefined,^M
serialNumber: undefined,^M
pnpId: undefined,^M
vendorId: undefined,^M
productId: undefined } ]

Nextion errorOutput.log
missing API key for pushbullet

But same.. connecting to printer....

Last edited by mutsched (2018-10-27 13:01:40)

Offline

#148 2018-11-20 09:19:42

pcmanialuck
Member
Registered: 2018-11-20
Posts: 5

Re: Touch screen for NanoDLP

mutsched wrote:

I AM DESPAIRED !!! I spend many hours to get it work but i dont !!!

I want am clear manual for beginners to install the Nextion on an RPI3B+!!!!

It is very difficult for somebody with no programming skills to get the display work on rpi3B+
So i want to maken an PDF / Manual for beginners to help ...
But first i need to get it work by myself.

My display stops on CONNECTING TO PRINTER...
What i did :

Download the new Nano DLP RPI Image from
Nanodlp Homepage

....

,

I have the same problem. My nextion screen was working well before upgrade my led matrix. I unplugged wires of nextion and plugged. Now stops at "Connecting to Printer".
I got this from /nextion/output.log

code wrote:

connect to port /dev/ttyAMA0
list [ { comName: '/dev/ttyACM0',
    manufacturer: 'Arduino__www.arduino.cc_',
    serialNumber: 'Arduino__www.arduino.cc__0043_557353239353517150B0',
    pnpId: 'usb-Arduino__www.arduino.cc__0043_557353239353517150B0-if00',
    vendorId: '0x2341',
    productId: '0x0043' },
  { comName: '/dev/ttyAMA0',
    manufacturer: undefined,
    serialNumber: undefined,
    pnpId: undefined,
    vendorId: undefined,
    productId: undefined },
  { comName: '/dev/ttyS0',
    manufacturer: undefined,
    serialNumber: undefined,
    pnpId: undefined,
    vendorId: undefined,
    productId: undefined } ]
error opening port  /dev/ttyAMA0 retry in 2 seconds

Last edited by pcmanialuck (2018-11-20 09:20:13)

Offline

#149 2018-11-23 19:40:52

lumacäke
Member
Registered: 2018-11-23
Posts: 6

Re: Touch screen for NanoDLP

rob wrote:
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

Hi there, i´m using a Pi2B just like rob. I can´t make it past the "connecting to printer" screen. I was able to connect to my pi an the screen threw WinSCP and i changed the config.json file. That dind´t work so far. I tried to get die .log from the nextion but this file doesn´t show up in Win SCP. Has anyone an idea what i´ve got to do to get that said file?
Would be great if someone got a hint for me.

Offline

#150 2018-11-30 17:05:06

lumacäke
Member
Registered: 2018-11-23
Posts: 6

Re: Touch screen for NanoDLP

I Think i´ve found the problem with my screen. It´s probaply the node js server. When i install it by following the instructions on githup, i get the following messages:


2018-11-29 14:54:09 (260 KB/s) - ‘node-v6.4.0-linux-armv6l.tar.gz’ saved [12746855/12746855]

unlink: cannot unlink '/usr/bin/node': No such file or directory
unlink: cannot unlink '/usr/sbin/node': No such file or directory
unlink: cannot unlink '/sbin/node': No such file or directory
unlink: cannot unlink '/usr/local/bin/node': No such file or directory
unlink: cannot unlink '/usr/bin/npm': No such file or directory
unlink: cannot unlink '/usr/sbin/npm': No such file or directory
unlink: cannot unlink '/sbin/npm': No such file or directory
unlink: cannot unlink '/usr/local/bin/npm': No such file or directory
pi@raspberrypi:~/nextion $

Does anyone have an idea how i can solve these problems?

Offline

Board footer

Powered by FluxBB