Mini OLED support via paneldue port
-
I'm currently building a mini FDM machine with a targeted (packed away) external volume of 15cm x 15cm x 15cm. This is looking doable and should give a build area of around 7.5cm x 7.5cm x 6cm. I was going to have it solely DWC controlled but I was thinking it's probably best to have a tiny OLED screen to display info such homed state, print time and temperatures.
I was thinking the best approach with be to make an Arduino that interfaces via the PanelDue port as serial communication, and configure the Arduino to send gcode over serial if adding buttons (home, cancel, preheat etc). Of course the buttons could be done using M581 so only displaying info would be fine too. Does this sound feasible for someone with limited Arduino knowledge?
I have been scheming this as an idea but then I thought I'd read about someone doing this already - but can't find any info anywhere!
-
How about https://forum.duet3d.com/topic/12197/printeye-simple-information-panel-for-duet-boards? Project page here: https://hackaday.io/project/167589-printeye
Ian
-
Perfect - that's obviously what sparked the idea in my head - I'll look into that and see how to adapt to my needs, while the screens might seem tiny already I think I'm gonna have to 1/2 the size (so use 128x32 0.91inch OLEDx2) which will further limit the info but should be doable, plus I might display more info via LEDs.
I was planning on using ready made boards where possible so will have to adapt the build side too but reckon with a small breakout board something like the ATMega328P nano would be fine as got a few sat in the box. Gonna order myself a few OLED screens and level shifters and give this a go!
-
@oliverracing said in Mini OLED support via paneldue port:
I was planning on using ready made boards where possible so will have to adapt the build side too but reckon with a small breakout board something like the ATMega328P nano would be fine as got a few sat in the box. Gonna order myself a few OLED screens and level shifters and give this a go!
i'd go with esp8266 in the form of D1 Mini with OLED shield, no need for level shifters; i used just the D1 mini to replicate the panel due buzzer here; https://github.com/beikeland/BeeperDue and some forum posts here https://forum.duet3d.com/post/93891
-
Hard buttons, not a touchscreen?
Then consider something similar to:
Already 3.3V, programmable with Arduino environment, easy to print a case for it, can be powered by 5V (on a separate pin), and so forth.
-
Thanks for the advice - chucked a esp8266 on order too.
That all in one Dev board is tempting but I really will need 2 screens (minimum) and where I want to put them is only just tall enough for the 0.91 OLED so I'll mount them separately.My plan is to use hard buttons not touchscreen. So far the buttons i'm planning on are...
(1)-Wifi Mode (toggle) - swap between WiFi access point mode and connecting to a network.
(2)-Home all.
(3)-Pause/restart (toggle).
(4)-Emergency stop.Some of these could go directly on the duet or on the connected Arduino, not yet sure how I'll do each but shouldn't be too tricky to work out
At the moment I feel everything else should be doable via DWC and I'll have the IP address and the Wifi mode as one of the displayed bit of info so I know how to connect.
I was thinking about an external SD card reader and a "print latest file" button but no idea how I'd implement this at the moment so can always add that later.