Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. JadonM
    • Profile
    • Following 0
    • Followers 1
    • Topics 18
    • Posts 105
    • Best 22
    • Controversial 0
    • Groups 0

    JadonM

    @JadonM

    26
    Reputation
    17
    Profile views
    105
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    JadonM Unfollow Follow

    Best posts made by JadonM

    • How to add a graphical display to your printer!

      Edit:
      Hey guys!

      While the DWC (Web Interface) is great for offering full control of the printer remotely, all networks have glitches every once in a while, and needing to get out a phone or computer to load filament is sometimes inconvenient.

      One of the big features of the Duet Maestro is support for a Reprap Discount 12864 display. To use it, plug the two cables into the Maestro and add M918 P1 E-4 F2000000 to your config file. Then all you have to do is upload a set of menu files to tell the Duet what to put where.

      Therein lies the problem. There are very few pre-written menu sets available, and most of them are antiquated or follow poor coding practices, making them hard to customize.

      I attempted to take the best points of various menu systems and combine them into a polished do-it-all menu. I run a print farm and when the network quits I still need to be able to control the printers. This menu system includes support for using the Sd holder on the display as well as on the Maestro (no other menu system supports the card on the display) so you can print without any access to the DWC! (Note: there was a bug in the Duet firmware, so this feature only works with RRF 3.01-RC3 and later versions) It also includes better control of an ATX power supply, BLTouch, and bed leveling.

      I decided to share my files with the community, so they're all available for free on my Github page. Feel free to use them however you wish, and let me know if you have any ideas for improvement.

      Download either a pre-zipped folder from the Github releases page or zip the files in the repository. Then, to upload the files to your Duet, go to the "Display" tab on the web interface, and click the blue upload button.

      Many more details are in the readme of the Github repository, here, and I made a rather rambly video showing a tour of the display here. After watching it you'll understand why I'm a programmer and not a Youtuber! πŸ˜„

      Enjoy the files, and feel free to post any questions, comments, or suggestions you have. Thanks!
      -Jadon

      Menu While Printing

      Original Post:

      Hey guys!
      I just wanted to chime in and let you know that I posted my display files on Github so the community can use them!

      https://github.com/jadonmmiller/UltimateDuetMenuSystem

      I combined the best features of the available menu systems and added a few new features, one of which is support for using the SD card holder on the display. I also revised the code to include comments and a consistent coding style to make customizing it easier.

      There are many more details in the Github readme, including a list of feature requests for the firmware relating to the display. Feel free to use these files however you wish, and let me know what you think or how they can be improved!

      posted in General Discussion
      JadonMundefined
      JadonM
    • RE: 12864 Display Unresponsive on Preheat Page 3.3b2

      @dc42 Thanks a lot for your time! I really do appreciate it, and will update the repository soon with the fix for that bug in the display file.

      posted in Beta Firmware
      JadonMundefined
      JadonM
    • BLTouch V3.0 Information, Setup, and O'Scope Pictures

      Hello!

      I'm in the process of building my first custom printer and chose the Duet Maestro as my motherboard. So far, I love it! I also decided to implement bed-leveling and went with the BLTouch. Upon receiving my sensor from Amazon, I noticed it was the new V3, which had no information or manual at the time. I requested a manual from AntClabs, which they posted here for us. Due to unclear terms and my poor electronics knowledge though, I mostly installed it by trial and error, so I'm writing this post to tell how I installed my V3 and also include some pictures from my O'Scope of it's signal timing.


      First, the basic procedure for wiring the V3 is similar to older versions. You can learn how in the wiki here. After following these instructions, it worked perfectly the first try. (without smoke!) I simply ignored cutting the trace for 3V because mine didn't have one. 😏

      I've noticed a lot of confusion on this new version, and was still curious about the "Logic-free Mode," so I decided to investigate!

      As a full disclaimer, this is my first experience with a BLTouch, and is based on my experience only. I am not liable for burnt boards! πŸ˜ƒ


      Using G30 to probe the bed, I got the following results at the output pin on the BLTouch when it triggered. This is still in the default mode. ("Logic Voltage Free ZMin" according to the manual)

      0_1554913520771_Homing Logic Free.jpg
      As you can see, the signal peaks at just over 1V, which should be safe for the Duet.

      Next, I sent a "M280 P64 S140" to put the sensor into "5V Logic ZMin" mode. Here are the results when probing again.

      0_1554913702933_Homing 5V Logic.jpg
      This gives a nice pulse near 4.5V, which is designed for compatibility with 5V electronics. The signal to put it in 5V mode has to be sent every time the sensor is power cycled. (It doesn't seem to "remember" it)

      I also did some testing in "Touch Switch" Mode (M280 P64 S60) and this brought similar results. Here's "Logic Free" mode (default)

      0_1554913982793_Touch-Test Logic Free.jpg

      And "5V Logic Zmin" below (activated with the "M280 P64 S140 command)

      0_1554914023444_Touch-Test 5V Logic.jpg

      All of these tests were done with the BLTouch powered with the 5V, GND, and the MOD pins from the Z-probe pins on the Maestro.


      Hopefully this helps someone! My experience has been fairly smooth, and I now love my BLTouch! Feel free to ask any questions you might have, and I can supply pictures of the V3.0 if somebody needs them.

      Thanks for all the valuable information and time thats given here, and I hope this can help give some of it back!

      --

      @dc42 It would be great if you could verify my statements about the Maestro in this post. Thanks!

      posted in Duet Hardware and wiring
      JadonMundefined
      JadonM
    • RE: BLTouch V3.0 Information, Setup, and O'Scope Pictures

      @jaurand said in BLTouch V3.0 Information, Setup, and O'Scope Pictures:

      @JadonM Thank you for the o'scope images

      I followed this setup https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/ for duet wifi and am unsure about the pins to use for bltouch error reset and 5V logic mode for the duet wifi

      I keep getting a flashing red duty cycle and when i run mesh bed it runs for a bit then the probe stays in the up position.

      I'm sorry, but I don't think I know enough about the Duet and BLTouch to answer your question. I would recommend making a new thread with all the details and one of the much more knowledgeable regulars can help you.

      Sorry that I can't help you!

      posted in Duet Hardware and wiring
      JadonMundefined
      JadonM
    • RE: Filament Change working! But it extrudes a glob on restart?

      @Demi No problem! We all make such mistakes every once in a while! πŸ˜ƒ

      I have it set so it simply retracts the proper amount after filament loading.

      posted in Filament Monitor
      JadonMundefined
      JadonM
    • RE: This should please some Duet 3 users

      @fcwilt said in This should please some Duet 3 users:

      Do you mean in the hardware, firmware or both?

      I meant with the software - what David's screenshot is highlighting.

      Your opinion is encouraging. I have a few printers running Maestros and I need to convert another one to either a Mini 5+ or Maestro.

      posted in Beta Firmware
      JadonMundefined
      JadonM
    • RE: Mesh Compensation Undercompensating

      Thanks for your help!

      After further observation, it seems my issues were due to two different mechanical problems. (Thanks @grizewald) Firstly, my converted Cubex Duo has a screw limiting the raising of the bed, but only on one side. This previously was never an issue but with my redesigned carriage the hotend is shorter, which caused the bed to nudge the screw before getting to Z0.00. Because it was only on one side, it would skew the bed. The thing that made this difficult to notice was the fact that it probed the bed at approximately Z5.00, so then the bed wasn't skewed and the heightmap looked right, but when it went to print it would raise the bed to Z0.00, skewing it.

      My second issue was the fact that my E3D v6 fan is missing a blade due to an unfortunate incident that we won't describe here. πŸ˜• This vibrated my BLTouch, causing inconsistent readings which is why I temporarily reverted to manual bed leveling.

      I've now leveled my bed to a higher specification and everything seems to be working fine.
      Mach5 Bed.png

      Now I have to figure out the next problem...Curves are turning out with vertical banding at high-ish speeds. Ohh well, tuning is part of the fun of the hobby! πŸ˜ƒ Thanks a lot guys!

      posted in Tuning and tweaking
      JadonMundefined
      JadonM
    • RE: Filament-Knot-Stop (KnotenStopp)

      @jens55 said in Filament-Knot-Stop (KnotenStopp):

      While it is an interesting idea, I have NEVER had a knot in my filament. I can see filament getting tangled and not feeding but this device, as far as I can see, will not help in that case. It would make more sense to combine a filament out sensor with a tension sensor. The filament out sensor would not allow a knot to pass and the tension sensor, located after the filament out sensor would be triggered by the tension in the filament. Any feed issues including tangled filament, filament roll not rolling freely or whatever - they would all be sensed this way and you still retain the filament out functionality.
      Design of such a sensor would be fairly straight forward and with some clever thinking could even be incorporated into the 'filament out' sensor.

      I believe what he's talking about would be better suited by the English word tangle. A tangle in 3D printing normally means filament that's looped over itself on the spool, or something similar. The word knot refers to something tied very tightly. (like a tied shoe string) This is a problem with Google Translate, not the poster.

      @jens55, this device senses tension in the bowden tube. When the printer can't pull in filament no matter if it's because of a knot, a tangle on the spool, or something else, the printer will pull the filament, attempting to "shorten" the filament path, triggering this device. It would likely even stop the printing faster than a movement-based filament sensor. (Pulse-generating, Magnet, or Laser)

      @GΓΌnter-Jibben Thanks for sharing this, it's an awesome idea, and the renderings are very nice! I may even print one for my own use and wire it in series with a switch-based filament out sensor. Then it could sense a tangle or the filament running out!

      posted in Filament Monitor
      JadonMundefined
      JadonM
    • 12864 Display Unresponsive on Preheat Page 3.3b2

      Good afternoon!

      I routinely use my set of display files (Github) for the 12864 display on my Duet Maestro, but recently the preheat page stopped working. When you open it the text is sometimes jumbled and it always freezes up the display. The easiest way to fix it is to simply reset the board. I did not edit the display code when the issue happened.

      I have two different machines with the issue (both Maestros, one with 3.2-RC2 and another with 3.2.2). Another user just reported on Github that he's having the issue as well.

      Below I've attached the code and also an M122 dump after it freezes. All other pages appear to work well.

      Thanks for your help!
      Jadon

      ; Duet 12864 Menu Files
      ;
      ; This is a set of menu files for running a 12864 display with a duet3D control board.
      ;
      ; Written by Jadon Miller - 2/27/2019
      ; Partially adapted from the work of tinkerlifeprojects on Github.
      ;
      ; File "preheat"
      ;
      ; The goal of this menu is to make it easy to preheat the printer. It
      ; has a group of buttons to set the temperature and the current temperatures
      ; at the bottom with a shortcut to print/resume.
      ;
      ; Note: To modify the preset temperatures, there are two places to change for
      ; each temperature. The "T" parameter determines what is shown on the button
      ; and the number after the "S" is the temperature sent to the firmware. For example,
      ; if I wanted to change the second bed heater button to 45C, I would change this line:
      ; 
      ; button C46 W19 T"40" A"M140 S40"
      ;
      ; To this line:
      ;
      ; button C46 W19 T"45" A"M140 S45"
      ;
      ; The hotend buttons work the same way.
      ;
      ; Note: you may need to change the gcode commands for each button if you don't use the
      ; default heater configuration.
      
      
      
      ; --------------- Header ---------------
      text R0 C0 W63 F0 H1 T"Preheat"
      image L"imgs/vline.img"
      button W64 F0 T"Back" A"return"
      image R11 C0 L"imgs/hline.img"
      
      
      ; --------------- Preheat Bed ---------------
      image R14 C6 L"imgs/bed.img"
      button C23 W22 T"Off" A"M140 S0"
      button C46 W19 T"40" A"M140 S40"
      button C66 W19 T"50" A"M140 S50"
      button C86 W19 T"60" A"M140 S60"
      button C106 W19 T"70" V3 A"M140 S70"
      
      
      ; --------------- Preheat Hotend ---------------
      image R27 C6 L"imgs/temp.img"
      button C23 W22 T"Off" A"G10 P0 S0"
      button C46 W19 T"130" A"G10 P0 S130"
      button C66 W19 T"200" A"G10 P0 S200"
      button C86 W19 T"210" A"G10 P0 S210"
      button C106 W19 T"230" A"G10 P0 S230"
      
      
      ; --------------- Print Button---------------
      ; The "print" button is shown when not printing and "resume" when paused.
      button R40 C0 W128 V5 T"Print" A"menu selectSD"
      button R40 C0 W128 V6 T"Resume" A"M24|menu main"
      
      
      ; --------------- Temperatures ---------------
      image R53 C0 L"imgs/hline.img"
      
      ; Bed Temperature
      image R54 C5 L"imgs/bed.img"
      value H2 N180
      text T"/"
      value N80
      
      ; Hotend Temperature
      image L"imgs/temp.img"
      value H2 N100
      text T"/"
      value N0
      
      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 Maestro version 3.2-RC2 running on Duet Maestro 1.0
      Board ID: 08DJM-956DU-LLMS4-7JKD2-3S07J-1VPQJ
      Used output buffers: 1 of 24 (11 max)
      === RTOS ===
      Static ram: 22292
      Dynamic ram: 73632 of which 24 recycled
      Never used RAM 18884, free system stack 216 words
      Tasks: NETWORK(ready,206) HEAT(blocked,340) TMC(blocked,117) MAIN(running,467) IDLE(ready,20)
      Owned mutexes:
      === Platform ===
      Last reset 00:06:22 ago, cause: power up
      Last software reset at 2021-03-11 07:40, reason: User, GCodes spinning, available RAM 18376, slot 2
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 0,0,0
      MCU temperature: min 13.3, current 22.7, max 23.3
      Supply voltage: min 0.0, current 24.2, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
      Driver 0: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 63622, writes 8, timeouts 0, DMA errors 0
      Driver 1: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 63622, writes 8, timeouts 0, DMA errors 0
      Driver 2: position 0, standstill, read errors 0, write errors 0, ifcnt 9, reads 63621, writes 9, timeouts 0, DMA errors 0
      Driver 3: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 63622, writes 8, timeouts 0, DMA errors 0
      Driver 4: position 0, standstill, read errors 0, write errors 0, ifcnt 6, reads 63624, writes 6, timeouts 0, DMA errors 0
      Driver 5: position 0, assumed not present
      Driver 6: position 0, assumed not present
      Date/time: 2021-03-12 13:49:00
      Slowest loop: 81.19ms; fastest: 0.17ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
      === Storage ===
      Free file entries: 9
      SD card 0 detected, interface speed: 15.0MBytes/sec
      SD card longest read time 3.6ms, write time 0.6ms, max retries 0
      === Move ===
      DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters = 0 -1, chamberHeaters = -1 -1
      Heater 1 is on, I-accum = 0.0
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is idle in state(s) 0
      Aux is idle in state(s) 0
      Trigger is idle in state(s) 0
      Queue is idle in state(s) 0
      LCD is idle in state(s) 0
      Daemon is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty.
      === Network ===
      Slowest loop: 129.51ms; fastest: 0.02ms
      Responder states: HTTP(0) HTTP(1) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
      HTTP sessions: 1 of 8
      Interface state active, link 100Mbps full duplex
      === Filament sensors ===
      Extruder 0 sensor: ok
      ``
      posted in Beta Firmware
      JadonMundefined
      JadonM
    • RE: Irregular Blobbing Artifacts

      @Phaedrux
      Today I tried a higher layer height, but that didn't do anything, and about that time Matterhackers finally got back with me and thought it could be a partial nozzle clog. I wouldn't have guessed that one because extrusion seemed consistent, but I changed my nozzle and that vastly improved the print quality.

      Thanks very much for your time and help!
      Jadon

      posted in Tuning and tweaking
      JadonMundefined
      JadonM

    Latest posts made by JadonM

    • RE: Serials Communication with Arduino Uno?

      @adam-v3d

      This is another Neopixel project: https://github.com/mule1972/NeoPixelBLVmgn

      I wrote the readme for the project a while ago, and I think it outlines the hardware part of the serial communication with the Duet well.

      You do need to enable the serial port on the Duet. See the "Changes to your Duet Configuration" section of the readme. (Edit: I see you've already figured that out! It is a great read though.)

      posted in General Discussion
      JadonMundefined
      JadonM
    • RE: 12864 Display Unresponsive on Preheat Page 3.3b2

      @dc42 said in 12864 Display Unresponsive on Preheat Page 3.3b2:

      I have fixed the RRF code in the soon-to-be-released 3.3beta3

      Wow! Your excellent support continues to amaze me! πŸ˜„

      posted in Beta Firmware
      JadonMundefined
      JadonM
    • RE: 12864 Display Unresponsive on Preheat Page 3.3b2

      @dc42 Thanks a lot for your time! I really do appreciate it, and will update the repository soon with the fix for that bug in the display file.

      posted in Beta Firmware
      JadonMundefined
      JadonM
    • RE: 12864 Display Unresponsive on Preheat Page 3.3b2

      @leckietech Unfortunately, I haven't figured anything out yet.

      If you have the time to troubleshoot it, I'd greatly appreciate it! I'm simply too busy to work with it right now.

      @dc42 Have you and your team had a chance to look into this? It's no rush, but my curiosity is getting the best of me! Thanks!

      posted in Beta Firmware
      JadonMundefined
      JadonM
    • RE: Duet 3 Mini 5+ : Initial announcement

      @caviara said in Duet 3 Mini 5+ : Initial announcement:

      In order not to make bad commercial for the reseller i will reply on private to you.

      As an average guy running a small business, I really appreciate that attitude. Keep it up!

      posted in General Discussion
      JadonMundefined
      JadonM
    • RE: Can I run a Duet2 Wifi without the module?

      @Phaedrux said in Can I run a Duet2 Wifi without the module?:

      inquire about a refurbished unit

      Are these available to the general public to buy without an exchange?

      posted in Duet Hardware and wiring
      JadonMundefined
      JadonM
    • RE: 12864 Display Unresponsive on Preheat Page 3.3b2

      @Phaedrux said in 12864 Display Unresponsive on Preheat Page:

      Would you be able to test with 3.3beta2?

      Absolutely! I can confirm that it behaves in exactly the same way. Here's another M122 dump:

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 Maestro version 3.3beta2 running on Duet Maestro 1.0
      Board ID: 08DAM-9F9GA-J24TD-6J9DL-3SW6K-T71YV
      Used output buffers: 1 of 24 (16 max)
      === RTOS ===
      Static ram: 21348
      Dynamic ram: 74636 of which 0 recycled
      Never used RAM 19512, free system stack 210 words
      Tasks: NETWORK(ready,253) HEAT(delaying,335) TMC(notifyWait,116) MAIN(running,469) IDLE(ready,21)
      Owned mutexes:
      === Platform ===
      Last reset 00:06:26 ago, cause: power up
      Last software reset at 2021-03-06 11:14, reason: User, GCodes spinning, available RAM 18776, slot 0
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 1,1,1
      MCU temperature: min 15.9, current 17.2, max 23.9
      Supply voltage: min 0.0, current 24.7, max 24.8, under voltage events: 0, over voltage events: 0, power good: yes
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Driver 0: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 64281, writes 8, timeouts 0, DMA errors 0
      Driver 1: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 64281, writes 8, timeouts 0, DMA errors 0
      Driver 2: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 64281, writes 8, timeouts 0, DMA errors 0
      Driver 3: position 0, standstill, read errors 0, write errors 0, ifcnt 9, reads 64280, writes 9, timeouts 0, DMA errors 0
      Driver 4: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 64281, writes 8, timeouts 0, DMA errors 0
      Driver 5: position 0, assumed not present
      Driver 6: position 0, assumed not present
      Date/time: 2021-03-12 15:14:42
      Slowest loop: 79.93ms; fastest: 0.17ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
      === Storage ===
      Free file entries: 9
      SD card 0 detected, interface speed: 15.0MBytes/sec
      SD card longest read time 3.6ms, write time 1.4ms, max retries 0
      === Move ===
      DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters = 1 -1, chamberHeaters = 2 -1
      Heater 0 is on, I-accum = 0.0
      Heater 1 is on, I-accum = 0.0
      Heater 2 is on, I-accum = 0.0
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is idle in state(s) 0
      Aux is idle in state(s) 0
      Trigger is idle in state(s) 0
      Queue is idle in state(s) 0
      LCD is idle in state(s) 0
      Daemon is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty.
      === Filament sensors ===
      Extruder 0 sensor: ok
      === Network ===
      Slowest loop: 30.73ms; fastest: 0.02ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
      HTTP sessions: 2 of 8
      Interface state active, link 100Mbps full duplex
      
      posted in Beta Firmware
      JadonMundefined
      JadonM
    • RE: No serial connection

      Great!

      If the Arduino's RX light blinks, then it should be getting a signal. That likely means it's not running the code. How do you know the Arduino isn't receiving data? Because the NeoPixels don't light?

      Definitely check the serial monitor. πŸ‘

      posted in General Discussion
      JadonMundefined
      JadonM
    • 12864 Display Unresponsive on Preheat Page 3.3b2

      Good afternoon!

      I routinely use my set of display files (Github) for the 12864 display on my Duet Maestro, but recently the preheat page stopped working. When you open it the text is sometimes jumbled and it always freezes up the display. The easiest way to fix it is to simply reset the board. I did not edit the display code when the issue happened.

      I have two different machines with the issue (both Maestros, one with 3.2-RC2 and another with 3.2.2). Another user just reported on Github that he's having the issue as well.

      Below I've attached the code and also an M122 dump after it freezes. All other pages appear to work well.

      Thanks for your help!
      Jadon

      ; Duet 12864 Menu Files
      ;
      ; This is a set of menu files for running a 12864 display with a duet3D control board.
      ;
      ; Written by Jadon Miller - 2/27/2019
      ; Partially adapted from the work of tinkerlifeprojects on Github.
      ;
      ; File "preheat"
      ;
      ; The goal of this menu is to make it easy to preheat the printer. It
      ; has a group of buttons to set the temperature and the current temperatures
      ; at the bottom with a shortcut to print/resume.
      ;
      ; Note: To modify the preset temperatures, there are two places to change for
      ; each temperature. The "T" parameter determines what is shown on the button
      ; and the number after the "S" is the temperature sent to the firmware. For example,
      ; if I wanted to change the second bed heater button to 45C, I would change this line:
      ; 
      ; button C46 W19 T"40" A"M140 S40"
      ;
      ; To this line:
      ;
      ; button C46 W19 T"45" A"M140 S45"
      ;
      ; The hotend buttons work the same way.
      ;
      ; Note: you may need to change the gcode commands for each button if you don't use the
      ; default heater configuration.
      
      
      
      ; --------------- Header ---------------
      text R0 C0 W63 F0 H1 T"Preheat"
      image L"imgs/vline.img"
      button W64 F0 T"Back" A"return"
      image R11 C0 L"imgs/hline.img"
      
      
      ; --------------- Preheat Bed ---------------
      image R14 C6 L"imgs/bed.img"
      button C23 W22 T"Off" A"M140 S0"
      button C46 W19 T"40" A"M140 S40"
      button C66 W19 T"50" A"M140 S50"
      button C86 W19 T"60" A"M140 S60"
      button C106 W19 T"70" V3 A"M140 S70"
      
      
      ; --------------- Preheat Hotend ---------------
      image R27 C6 L"imgs/temp.img"
      button C23 W22 T"Off" A"G10 P0 S0"
      button C46 W19 T"130" A"G10 P0 S130"
      button C66 W19 T"200" A"G10 P0 S200"
      button C86 W19 T"210" A"G10 P0 S210"
      button C106 W19 T"230" A"G10 P0 S230"
      
      
      ; --------------- Print Button---------------
      ; The "print" button is shown when not printing and "resume" when paused.
      button R40 C0 W128 V5 T"Print" A"menu selectSD"
      button R40 C0 W128 V6 T"Resume" A"M24|menu main"
      
      
      ; --------------- Temperatures ---------------
      image R53 C0 L"imgs/hline.img"
      
      ; Bed Temperature
      image R54 C5 L"imgs/bed.img"
      value H2 N180
      text T"/"
      value N80
      
      ; Hotend Temperature
      image L"imgs/temp.img"
      value H2 N100
      text T"/"
      value N0
      
      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 Maestro version 3.2-RC2 running on Duet Maestro 1.0
      Board ID: 08DJM-956DU-LLMS4-7JKD2-3S07J-1VPQJ
      Used output buffers: 1 of 24 (11 max)
      === RTOS ===
      Static ram: 22292
      Dynamic ram: 73632 of which 24 recycled
      Never used RAM 18884, free system stack 216 words
      Tasks: NETWORK(ready,206) HEAT(blocked,340) TMC(blocked,117) MAIN(running,467) IDLE(ready,20)
      Owned mutexes:
      === Platform ===
      Last reset 00:06:22 ago, cause: power up
      Last software reset at 2021-03-11 07:40, reason: User, GCodes spinning, available RAM 18376, slot 2
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 0,0,0
      MCU temperature: min 13.3, current 22.7, max 23.3
      Supply voltage: min 0.0, current 24.2, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
      Driver 0: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 63622, writes 8, timeouts 0, DMA errors 0
      Driver 1: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 63622, writes 8, timeouts 0, DMA errors 0
      Driver 2: position 0, standstill, read errors 0, write errors 0, ifcnt 9, reads 63621, writes 9, timeouts 0, DMA errors 0
      Driver 3: position 0, standstill, read errors 0, write errors 0, ifcnt 8, reads 63622, writes 8, timeouts 0, DMA errors 0
      Driver 4: position 0, standstill, read errors 0, write errors 0, ifcnt 6, reads 63624, writes 6, timeouts 0, DMA errors 0
      Driver 5: position 0, assumed not present
      Driver 6: position 0, assumed not present
      Date/time: 2021-03-12 13:49:00
      Slowest loop: 81.19ms; fastest: 0.17ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
      === Storage ===
      Free file entries: 9
      SD card 0 detected, interface speed: 15.0MBytes/sec
      SD card longest read time 3.6ms, write time 0.6ms, max retries 0
      === Move ===
      DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters = 0 -1, chamberHeaters = -1 -1
      Heater 1 is on, I-accum = 0.0
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is idle in state(s) 0
      Aux is idle in state(s) 0
      Trigger is idle in state(s) 0
      Queue is idle in state(s) 0
      LCD is idle in state(s) 0
      Daemon is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty.
      === Network ===
      Slowest loop: 129.51ms; fastest: 0.02ms
      Responder states: HTTP(0) HTTP(1) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
      HTTP sessions: 1 of 8
      Interface state active, link 100Mbps full duplex
      === Filament sensors ===
      Extruder 0 sensor: ok
      ``
      posted in Beta Firmware
      JadonMundefined
      JadonM
    • RE: No serial connection

      @gaweyo The system is designed to simply listen to the PanelDue communications. Details on the Github.

      I'm really not sure what the issue could be, unless his Arduino isn't picking up the 3.3V signal.

      @danny_v1 If you keep the Arduino connected to the Computer, open a Serial Port window, and set it to 57,600baud, does it display a string of text starting with "M" every few seconds? This would confirm that the Arduino is actually running the sketch.

      Also, do you have an oscilloscope or someway to check if the arduino is getting a 3.3V serial signal?

      Just to confirm, you need to have both the PanelDue and the Arduino hooked up at the same time for this sketch to work.

      posted in General Discussion
      JadonMundefined
      JadonM