Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    12864 Modification

    Scheduled Pinned Locked Moved
    General Discussion
    8
    23
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User?
      A Former User
      last edited by

      I downloaded instructions to add a 12864 lcd to duet 2 wifi by Markus Scheck.
      He states that the number of end stopsand number of direct drivers needs to be reduced, and need to enable some pins. The trouble I am running into is that I don't see the pins_duetng.h file and don't know where the firmware file is to modify for the 12864.

      A Former User? 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @A Former User
        last edited by A Former User

        @Newbie said in 12864 Modification:

        I downloaded instructions to add a 12864 lcd to duet 2 wifi by Markus Scheck.

        ( https://mscheck.de/node/3)

        I don't see the pins_duetng.h file

        its part of another repository, called CoreNG now i believe. please see https://github.com/dc42/RepRapFirmware/blob/dev/BuildInstructions.md

        https://github.com/dc42/RepRapFirmware/blob/90c6b876d29e8de72da5b044327d2bd8ac073279/src/DuetNG/Pins_DuetNG.h#L31

        A Former User? 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          @bearer So as my nickname implies, I am totally new to all of this RepRap stuff.
          If you don't mind, could you please point me to the place to download the proper firmware for the duet 2 wifi? The firmware I previously downloaded doesn't have the files to edit. Also, will I have to recompile after editing? Hope you don't mind all the questions.

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @A Former User
            last edited by

            @bearer said in 12864 Modification:

            please see https://github.com/dc42/RepRapFirmware/blob/dev/BuildInstructions.md

            something tells me you'll be better off getting a supported display.

            1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

              @bearer Well I built an adapter for my MKS Gen v1.4 and modified the code for it with no problems. I like the wifi and I would like to have a backup way to control the printer.

              1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators
                last edited by

                @bearer said in 12864 Modification:

                https://mscheck.de/node/3

                That’s pretty cool, I didn’t know that could be done. Unfortunately the author doesn’t say which firmware version he did this on, so replicating it may be difficult. Maybe ask him directly (his email address is on the blog page). The thread he links as a source is older still: https://forum.duet3d.com/topic/6449/making-the-lcd-12864-work-on-the-duetwifi-please-advise/7

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @droftarts
                  last edited by

                  @droftarts said in 12864 Modification:

                  I didn’t know that could be done.

                  I think dc42 recently said it could be done, but the firmware support wasn't there to discourage issues with level translation, from what I can tell only defines in that .h file needs changing so the blog should still be valid as the same defines are still in use it seems.

                  1 Reply Last reply Reply Quote 0
                  • oliofundefined
                    oliof
                    last edited by

                    IMO it would be more worthwhile to put the 12864 on an Arduino or RPi and have that talk the paneldue or the rest API to a duet board. That way you'd support duet3 boards immediately as well (-;

                    But then I am not putting work towards this currently so it's all idle talk on my side. You scratch your itch your way (-;

                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User @oliof
                      last edited by

                      @oliof said in 12864 Modification:

                      IMO it would be more worthwhile to put the 12864 on an Arduino or RPi and have that talk the paneldue or the rest API to a duet board.

                      while i understand the idea; it would require loads more code and as 2nd gen Duet get RPi support it becomes a bit of a moot point. if low cost is the primary concern then the maestro which already has support is the obvious choice anyway (its also rumoured to be revamped to a wifi version down the line)

                      but i absolutely agree about the itch:)

                      1 Reply Last reply Reply Quote 0
                      • oliofundefined
                        oliof
                        last edited by

                        but it would turn into code that is disentangled from the duet firmware, just like DSF and DWC. So it could be Someone Else's Problemject to maintain (-:

                        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          I wasn't aware that anyone had madre a 12864 adapter for the Duet WiFi/Ethernet. Now that I know that there are at least 2 out there, I will look at making 12864 support standard in the firmware.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          A Former User? 2 Replies Last reply Reply Quote 1
                          • A Former User?
                            A Former User
                            last edited by A Former User

                            While the schematic looks complete, there is no board layout so according to the blog its breadboard or veroboard all the way. (But its not all that much trouble to make a board with jlcpcb from the easyeda schematic)

                            ((edit: actually schematics has the duet pins mirrored; H2 pin 10 is 5v on the schematic, but it should be pin 1 on CONN_SD. Its sort of hinted to in the description of the keyed shrouds, but as the ones on the Duet are already in place, the correct orientation that might be a tad confusing))

                            1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @dc42
                              last edited by

                              @dc42 That would be great! So the schematic is from a working model that Scheck made and it is working. You have to follow the schematic closely and recheck and double check your work. I found the .h file to add the pin assignments. question I have is, after the changes are made does the code need to be compiled?

                              A Former User? dc42undefined 2 Replies Last reply Reply Quote 0
                              • A Former User?
                                A Former User @dc42
                                last edited by

                                @dc42 One more question, if you add support for the 12864 will the adapter board still be needed?

                                1 Reply Last reply Reply Quote 0
                                • A Former User?
                                  A Former User @A Former User
                                  last edited by A Former User

                                  @Newbie said in 12864 Modification:

                                  question I have is, after the changes are made does the code need to be compiled?

                                  for the 3rd time:

                                  @bearer said in 12864 Modification:

                                  please see https://github.com/dc42/RepRapFirmware/blob/dev/BuildInstructions.md

                                  @Newbie said in 12864 Modification:

                                  @dc42 One more question, if you add support for the 12864 will the adapter board still be needed?

                                  yes (although it might not be the same adapter, but a adapter is needed)

                                  1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User
                                    last edited by

                                    @bearer Why can't you just answer the question? Are you just lazy or do you think you are better than the new users?

                                    Danalundefined 1 Reply Last reply Reply Quote -2
                                    • Phaedruxundefined
                                      Phaedrux Moderator
                                      last edited by

                                      Someone got rubbed the wrong way.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      A Former User? 1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators @A Former User
                                        last edited by

                                        @A-Former-User said in 12864 Modification:

                                        @dc42 That would be great! So the schematic is from a working model that Scheck made and it is working. You have to follow the schematic closely and recheck and double check your work. I found the .h file to add the pin assignments. question I have is, after the changes are made does the code need to be compiled?

                                        Yes, until I include 12864 support in the firmware as standard.

                                        Duet WiFi hardware designer and firmware engineer
                                        Please do not ask me for Duet support via PM or email, use the forum
                                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                                        1 Reply Last reply Reply Quote 0
                                        • A Former User?
                                          A Former User @Phaedrux
                                          last edited by

                                          @Phaedrux said in 12864 Modification:

                                          Someone got rubbed the wrong way.

                                          I might subscribe to the whole give a man a fish vs teach a man to fish thing, sort of. But I hardly think its justified calling me lazy when the guy didn't even bother clicking the links to realize he had all the information required if not spoon fed.

                                          I did make the mistake of incorrectly assuming the guy was as described failing to locate a single file, and as such the most likely solution was the file being in one of the other repositories - which I quickly corrected and provided links to both the file and the build instructions before he proceeds to ask for what was just provided. Meh.

                                          1 Reply Last reply Reply Quote 2
                                          • Danalundefined
                                            Danal @A Former User
                                            last edited by Danal

                                            @A-Former-User said in 12864 Modification:

                                            @bearer Why can't you just answer the question? Are you just lazy or do you think you are better than the new users?

                                            Wow, he DIRECTLY answered it three times, via a link to a more complete answer than anyone could possibly type. Kudos to him for hanging in there. I personally would have just started ignoring the thread the after the second time.

                                            There are many days I wish this forum software had a "bozo filter". As forums go, it has amazingly little drama; at the same time, it doesn't take much for a volunteer enthusiast who spends tons of time helping others, for that person to have that enthusiasm eroded, eventually moving on to something else.

                                            Such a filter would let anyone who wishes filter out me. A-Former-User and I could simply disappear from each other's universe. How cool would that be?

                                            Delta / Kossel printer fanatic

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA