Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Initial OpenNept4une Setup through Screen #45

Open
barrenechea opened this issue Jan 28, 2024 · 9 comments
Open

Idea: Initial OpenNept4une Setup through Screen #45

barrenechea opened this issue Jan 28, 2024 · 9 comments
Labels
Display Anything regarding the Touch Screen enhancement New feature or request OpenNept4une.sh

Comments

@barrenechea
Copy link
Collaborator

barrenechea commented Jan 28, 2024

I don't know if we have enough control to achieve such a workflow, but it would be nice to leverage the screen to do the initial setup.

Idea:
The display service could detect no specific printer settings. If so, it could display a Setup page:

  • It should request for the printer model (N4, N4Pro, N4Plus, N4Max)
  • It should request for the printer variation (0.8, 1.2)
  • It should request for the motherboard revision (v1.0, v1.1, v2.0)

Once the info is gathered, the display service could leave the screen in some loading state, trigger some bash script setting the printer with the specific .dtb, printer configs, and trigger a reboot so the patches are applied.

This should be helpful mainly when flashing a fresh OpenNept4une image into the user's eMMC.

@barrenechea
Copy link
Collaborator Author

@phillipthelen I would appreciate your input on this!

@halfmanbear
Copy link
Collaborator

Yes this is a good idea, although will probably only be added once all the main features are finished with the display.

It would make the first boot more user friendly

@halfmanbear
Copy link
Collaborator

Could probably use the firmware reset option in the (touchscreen) settings page to re-run this setup also.

@phillipthelen
Copy link
Member

@barrenechea I have been able to figure out enough of how to communicate with the display that we could implement something like this.
We would need to load an unused page (there are still plenty left that we don't use and also plenty that are not actually implemented), clear the screen with the background grey and then draw text with backgrounds as "buttons" for the options. The display has a mode sendxy 1 where it sends touch events via serial. This way we can check if one of the fake buttons was tapped and react to that. It's a bit messy, but would work. Along with this we could implement Wi-Fi config as well. Elegoo luckily already has screens for this that we can leverage.
As @halfmanbear said, there are probably a few things that are higher priority. Personally I would also want to have a second Emmc for testing this, since I don't necessarily want to go reset my printer a bunch while testing. 😅

I think before this can/should be implemented we'd want the following things available:

  • configuring wifi from the display
  • script to perform a "factory" reset
  • add command line options to OpenNept4une.sh so that we can invoke it from the display controller

@halfmanbear halfmanbear added enhancement New feature or request Display Anything regarding the Touch Screen OpenNept4une.sh labels Jan 31, 2024
@phillipthelen
Copy link
Member

Update: OpenNept4une.sh now works with command line options :)

@chuckkay
Copy link

chuckkay commented Feb 1, 2024

everything is working for me, but question should I be installing KlipperScreen, will it work on elegoo monochrome screen and or will it mess up anything.

@plygrnd
Copy link

plygrnd commented Feb 1, 2024 via email

@phillipthelen
Copy link
Member

@chuckkay KlipperScreen will not work on the elegoo screen. They use two different methods of connecting a display. You can however install the OpenNept4une display service (you can enable that from the OpenNept4une.sh script) to get the elegoo display to work.

@chuckkay
Copy link

chuckkay commented Feb 1, 2024

@chuckkay KlipperScreen will not work on the elegoo screen. They use two different methods of connecting a display. You can however install the OpenNept4une display service (you can enable that from the OpenNept4une.sh script) to get the elegoo display to work.

Yes i have the beta display service up and running, I was just wondering why klipper screen is available as an installable option in your script, is that for people using a sonic pad or similar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Display Anything regarding the Touch Screen enhancement New feature or request OpenNept4une.sh
Projects
None yet
Development

No branches or pull requests

5 participants