12864 Modification
-
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. -
@Newbie said in 12864 Modification:
I downloaded instructions to add a 12864 lcd to duet 2 wifi by Markus Scheck.
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 -
@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. -
@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.
-
@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.
-
@bearer said in 12864 Modification:
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
-
@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.
-
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 (-;
-
@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:)
-
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 Pro
blemject to maintain (-: -
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.
-
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))
-
@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?
-
@dc42 One more question, if you add support for the 12864 will the adapter board still be needed?
-
@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)
-
@bearer Why can't you just answer the question? Are you just lazy or do you think you are better than the new users?
-
Someone got rubbed the wrong way.
-
@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.
-
@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.
-
@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?