You are not logged in.
Pages: 1
Marvelous.
Now the printing process goes smooth. (nanoDLP build 1725)
I'll prepare informations how to connect and use SPI TFTs with your software and will put them somewhere here. It should be useful for other makers, I think.
Thank you for your time and effort. Good job!
Shahin, now the framebuffer works properly
See:
But still there's an issue when printing process starts and when using /dev/fb1 or /dev/fb0. Printing is stops after displaying first slice. It's only a fast blink, then screen goes black. I've no idea why... I must add, the picture that blinks seems to be correct.
See:
Notice 1 2017-11-13 10:57:44.695184 Printing Job Completed
Debug 1 2017-11-13 10:57:44.694706 Pulsing Movement Finished Pulse 3016 / 3016 ; Height -349 / 2667 ; Time 3.882037085
Debug 1 2017-11-13 10:57:40.812093 Pulsing Moving Down 3016 pulses 11.31 mm
Debug 1 2017-11-13 10:57:40.811823 Pulsing Moving to Stop Position
Debug 1 2017-11-13 10:57:40.811458 Pulsing Movement Finished Pulse 1333 / 1333 ; Height 984 / -349 ; Time 1.709723218
Debug 1 2017-11-13 10:57:39.101332 Pulsing Moving Up 1333 pulses 4.99875 mm
Debug 1 2017-11-13 10:57:39.099076 Shutter Shutter Close
Warning 1 2017-11-13 10:57:39.098863 Printing Stop Command Received
Debug 1 2017-11-13 10:57:39.098429 Shutter Shutter Close
Debug 1 2017-11-13 10:57:39.095425 Image Clear screen
Error 1 2017-11-13 10:57:39.095025 Printing Failed to send image to GPU - Err Code 0
Error 1 2017-11-13 10:57:38.393501 Image Failure to display image, retrying.
Warning 1 2017-11-13 10:57:37.45022 Image Display layer public/plates/1/1.png
Debug 1 2017-11-13 10:57:34.448965 Shutter Shutter Open
Debug 1 2017-11-13 10:57:34.448355 Pulsing Movement Finished Pulse 1683 / 1683 ; Height 2667 / 984 ; Time 2.46488648
Debug 1 2017-11-13 10:57:31.982785 Pulsing Moving Up 1683 pulses 6.31125 mm
Debug 1 2017-11-13 10:57:31.982007 Pulsing Moving to Layer
Debug 1 2017-11-13 10:57:31.981124 Shutter Shutter Close
Debug 1 2017-11-13 10:57:31.978099 Image Clear screen
Debug 1 2017-11-13 10:56:33.118158 WiFi Status Monitoring
Error 1 2017-11-13 10:56:33.116558 WIFI No WIFI dongle has been found.
Error 1 2017-11-13 10:56:32.804954 Framebuffer Unsupported framebuffer length. Custom channel implementation will be used. 16 {0 5 0} 5 6 5
Notice 1 2017-11-13 10:56:32.775402 Terminal Terminal Reader Activated
Debug 1 2017-11-13 10:56:32.774651 Shutter Shutter Close
Debug 1 2017-11-13 10:56:32.77431 Hardware Stepper motor enabled
Notice 1 2017-11-13 10:56:32.741309 Hardware Initializing build # 1723 - generic
When not using framebuffer, process goes without jam
(nanoDLP build 1723)
Log of using /dev/fb0 - display connected to HDMI:
Notice 1 2017-11-12 20:20:53.135395 Printing Job Completed
Debug 1 2017-11-12 20:20:53.134758 Pulsing Movement Finished Pulse 3016 / 3016 ; Height -349 / 2667 ; Time 4.47120126
Debug 1 2017-11-12 20:20:48.663124 Pulsing Moving Down 3016 pulses 11.31 mm
Debug 1 2017-11-12 20:20:48.662623 Pulsing Moving to Stop Position
Debug 1 2017-11-12 20:20:48.662335 Pulsing Movement Finished Pulse 1333 / 1333 ; Height 984 / -349 ; Time 1.759576851
Debug 1 2017-11-12 20:20:46.902043 Pulsing Moving Up 1333 pulses 4.99875 mm
Debug 1 2017-11-12 20:20:46.899717 Shutter Shutter Close
Warning 1 2017-11-12 20:20:46.899473 Printing Stop Command Received
Debug 1 2017-11-12 20:20:46.899027 Shutter Shutter Close
Debug 1 2017-11-12 20:20:46.896018 Image Clear screen
Error 1 2017-11-12 20:20:46.895621 Printing Failed to send image to GPU - Err Code 0
Error 1 2017-11-12 20:20:46.85955 Image Failure to display image, retrying.
Warning 1 2017-11-12 20:20:46.480259 Image Display layer public/plates/1/1.png
Debug 1 2017-11-12 20:20:43.478967 Shutter Shutter Open
Debug 1 2017-11-12 20:20:43.478393 Pulsing Movement Finished Pulse 1683 / 1683 ; Height 2667 / 984 ; Time 3.717764316
Debug 1 2017-11-12 20:20:39.759584 Pulsing Moving Up 1683 pulses 6.31125 mm
Debug 1 2017-11-12 20:20:39.758368 Pulsing Moving to Layer
Debug 1 2017-11-12 20:20:39.75669 Shutter Shutter Close
Debug 1 2017-11-12 20:20:39.753214 Image Clear screen
Debug 1 2017-11-12 20:20:04.756845 WiFi Status Monitoring
Error 1 2017-11-12 20:20:04.754953 WIFI No WIFI dongle has been found.
Error 1 2017-11-12 20:20:04.471948 Framebuffer Unsupported framebuffer length. 32bit channel will be used. 16 {0 5 0}
Notice 1 2017-11-12 20:20:04.429889 Terminal Terminal Reader Activated
Debug 1 2017-11-12 20:20:04.42924 Shutter Shutter Close
Debug 1 2017-11-12 20:20:04.428598 Hardware Stepper motor enabled
Notice 1 2017-11-12 20:20:04.3874 Hardware Initializing build # 1721 - generic
Log of using /dev/fb1 - display connected to SPI TFT (gpio):
Notice 1 2017-11-12 20:18:00.014675 Printing Job Completed
Debug 1 2017-11-12 20:17:59.940644 Pulsing Movement Finished Pulse 3016 / 3016 ; Height -349 / 2667 ; Time 4.386258281
Debug 1 2017-11-12 20:17:55.553864 Pulsing Moving Down 3016 pulses 11.31 mm
Debug 1 2017-11-12 20:17:55.553424 Pulsing Moving to Stop Position
Debug 1 2017-11-12 20:17:55.55322 Pulsing Movement Finished Pulse 1333 / 1333 ; Height 984 / -349 ; Time 1.964041394
Debug 1 2017-11-12 20:17:53.589262 Shutter Shutter Close
Debug 1 2017-11-12 20:17:53.588775 Pulsing Moving Up 1333 pulses 4.99875 mm
Debug 1 2017-11-12 20:17:53.586193 Shutter Shutter Close
Warning 1 2017-11-12 20:17:53.585969 Printing Stop Command Received
Debug 1 2017-11-12 20:17:53.583092 Image Clear screen
Error 1 2017-11-12 20:17:53.582881 Printing Failed to send image to GPU - Err Code 0
Error 1 2017-11-12 20:17:53.547865 Image Failure to display image, retrying.
Warning 1 2017-11-12 20:17:53.503446 Image Display layer public/plates/1/1.png
Debug 1 2017-11-12 20:17:50.500557 Shutter Shutter Open
Debug 1 2017-11-12 20:17:50.499727 Pulsing Movement Finished Pulse 1683 / 1683 ; Height 2667 / 984 ; Time 2.47854021
Debug 1 2017-11-12 20:17:48.020537 Pulsing Moving Up 1683 pulses 6.31125 mm
Debug 1 2017-11-12 20:17:47.999641 Pulsing Moving to Layer
Debug 1 2017-11-12 20:17:47.998547 Shutter Shutter Close
Debug 1 2017-11-12 20:17:47.990831 Image Clear screen
Debug 1 2017-11-12 20:16:29.853666 WiFi Status Monitoring
Error 1 2017-11-12 20:16:29.851874 WIFI No WIFI dongle has been found.
Error 1 2017-11-12 20:16:29.585768 Framebuffer Unsupported framebuffer length. 32bit channel will be used. 16 {0 5 0}
Notice 1 2017-11-12 20:16:29.544261 Terminal Terminal Reader Activated
Debug 1 2017-11-12 20:16:29.543517 Shutter Shutter Close
Debug 1 2017-11-12 20:16:29.543008 Hardware Stepper motor enabled
Notice 1 2017-11-12 20:16:29.503038 Hardware Initializing build # 1721 - generic
When I changed /boot/config.txt "framebuffer_depth=32" (previous setting was "framebuffer_depth=16") and set to /dev/fb0 (HDMI):
Notice 1 2017-11-12 20:24:25.290316 Printing Job Completed
Debug 1 2017-11-12 20:24:25.289815 Pulsing Movement Finished Pulse 3016 / 3016 ; Height -349 / 2667 ; Time 4.41959888
Debug 1 2017-11-12 20:24:20.869616 Pulsing Moving Down 3016 pulses 11.31 mm
Debug 1 2017-11-12 20:24:20.869386 Pulsing Moving to Stop Position
Debug 1 2017-11-12 20:24:20.869205 Pulsing Movement Finished Pulse 1333 / 1333 ; Height 984 / -349 ; Time 2.533192553
Warning 1 2017-11-12 20:24:19.378202 Update Connectivity problem Get https://www.nanodlp.com/build.generic.txt: net/http: TLS handshake timeout
Debug 1 2017-11-12 20:24:18.33546 Pulsing Moving Up 1333 pulses 4.99875 mm
Debug 1 2017-11-12 20:24:18.332825 Shutter Shutter Close
Warning 1 2017-11-12 20:24:18.332205 Printing Stop Command Received
Debug 1 2017-11-12 20:24:18.312077 Shutter Shutter Close
Debug 1 2017-11-12 20:24:18.305853 Image Clear screen
Error 1 2017-11-12 20:24:18.305419 Printing Failed to send image to GPU - Err Code 0
Error 1 2017-11-12 20:24:18.205997 Image Failure to display image, retrying.
Warning 1 2017-11-12 20:24:17.814517 Image Display layer public/plates/1/1.png
Debug 1 2017-11-12 20:24:14.789916 Shutter Shutter Open
Debug 1 2017-11-12 20:24:14.78907 Pulsing Movement Finished Pulse 1683 / 1683 ; Height 2667 / 984 ; Time 2.736375111
Debug 1 2017-11-12 20:24:12.051686 Pulsing Moving Up 1683 pulses 6.31125 mm
Debug 1 2017-11-12 20:24:12.051001 Pulsing Moving to Layer
Debug 1 2017-11-12 20:24:12.049997 Shutter Shutter Close
Debug 1 2017-11-12 20:24:12.044625 Image Clear screen
Debug 1 2017-11-12 20:23:35.049227 WiFi Status Monitoring
Error 1 2017-11-12 20:23:35.047971 WIFI No WIFI dongle has been found.
Notice 1 2017-11-12 20:23:34.706702 Terminal Terminal Reader Activated
Debug 1 2017-11-12 20:23:34.705922 Shutter Shutter Close
Debug 1 2017-11-12 20:23:34.705613 Hardware Stepper motor enabled
Notice 1 2017-11-12 20:23:34.704956 Framebuffer 32bit channel will be used
Notice 1 2017-11-12 20:23:34.661986 Hardware Initializing build # 1721 - generic
I checked also fbi function with higher framebuffer depth. No changes, works with 32bit as well as with 16bit depth.
(nanoDLP build 1721)
This is strange:
Debug 4 2017-11-12 12:54:08.633354 Shutter Shutter Open
Error 4 2017-11-12 12:54:08.632671 Image Failure to display image, retrying.
Warning 4 2017-11-12 12:54:08.632206 Image Display layer public/plates/1/5.png
Debug 4 2017-11-12 12:54:06.810226 Shutter Shutter Close
Debug 4 2017-11-12 12:54:06.794112 Image Clear screen
Debug 4 2017-11-12 12:53:54.256149 Shutter Shutter Open
Error 4 2017-11-12 12:53:54.255446 Image Failure to display image, retrying.
Warning 4 2017-11-12 12:53:54.254985 Image Display layer public/plates/1/4.png
Debug 4 2017-11-12 12:53:52.008867 Shutter Shutter Close
Debug 4 2017-11-12 12:53:52.003845 Image Clear screen
Calibration shows artefacts on connected SPI screen, printing process hangs up, a try to display layers gives no picture on screen.
Shahin, I just tested other picture formats: 320x240 16bit, 8bit, 4bit, 1bit, saved as .jpg, .gif, .png
They all working without problems with fbi. In each case displayed picture is correct. The issue must be somwhere else...
fbi -d /dev/fb1 picture.jpg
and
fbi picture.jpg (with "con2fbmap 1 1" in /etc/rc.local )
works as well.
Without hesitation:
Displaying photo 320x240 24bit on /dev/fb1
I'm thinking, maybe fbi function could be implemented in nanoDLP to solve problem?
That would increase a number of TFTs that can be used in easy way to build SLAs. Inexpensive ones.
This is what the log says:
"Unsupported framebuffer length. 32bit channel will be used"
"Failure to display image, retrying"
And when I try to print calibration plate:
"Failure to display image, retrying."
Nope. Stops trying to run "run.sh"
Error points at this file:
Ok, I'm sorry, my bad. I've changed something in /etc/rc.local.
Now it's working properly, i.e. nanoDLP system
Screen still has artefacts.
Where I can find the report you mentioned?
I realized, I still have Build 1718, cannot get newer one. I tried wget & upgrade from nanoDLP... It's late night at my place, I'm surely doing something wrong.
Beta has an issue and doesn't start after install. Log says something about pigpio ("Can't initialise pigpio library")
Here it is:
pi@raspberrypi:~ $ fbset -i -fb /dev/fb1
mode "320x240"
geometry 320 240 320 240 16
timings 0 0 0 0 0 0 0
nonstd 1
rgba 5/11,6/5,5/0,0/0
endmode
Frame buffer device information:
Name : fb_ili9341
Address : 0
Size : 153600
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 640
Accelerator : No
Here the capture during display of calibration pattern:
https://ufile.io/avkmz
Fbset shows right settings (compared to Adafruit screen's data)
I tried other sizes and other manufacturer's screens connected to SPI (e.g. Adafruit) and the result is still the same
The issue is:
1. no picture on screen when mode:4 is set (no framebuffer set, empty field)
2. artefacts on screen when framebuffer (/dev/fb1) is on
With the same settings, drivers and connections there are no problems when running "X"
Maybe there are some hidden settings that can be switched in nano DLP? I feel down...
Without setting FRAMEBUFFER I always get the same result, no matter of RPi Display Number, I got signal only on HDMI output.
When I set /dev/fb0 I'm getting artefacts on HDMI display:
To set my SPI screen I used recipe from this site:
http://marcosgildavid.blogspot.com/2014 … ng-on.html
Without framebuffer set to fb1 or fb2 I can see pictures shown only on connected HDMI screen, even if I change RPi Display Number to "1".
No activity on SPI TFT.
Here is photo that shows the same screen with the same settings working with X's :
Well.. it works outside nanoDLP, you can see it on linked photos from my Dropbox.
I tried to change drivers, settings for FRAMEBUFFER... but still the same. This is screen with ILI9341 driver and since this time I never had problems with this. It seems to me, that nanoDLP doing something with /dev/fb1
I got bunch of screens, so the screen itself isn't a problem.
Hi,
I'm new here, I just start building my first SLA printer using nanoDLP software and my engineering skills :)
I wish to be younger an spend more time on Linux computers to understand the structure of this system, but those years has pass away long time ago.
Ok, to the point.
I'm trying to use cheap TFT 2,4'' screen connected to GPIOs & SPI pins, but I'm receiving bad image during using it in nanoDPL system.
The same screen works well when I quit to text mode.
You can see this here:
The choice for this inexpensive screen is only one - I'm designing device for my daughter shool to be multiplied on technology clasess :)
I have no idea what I'm doing wrong.
Any help?
Pages: 1