Author Topic: Artillery X1 v4 TFT seems to not be communicating  (Read 1299 times)

pohlusmc

  • Newbie
  • *
  • Posts: 5
    • View Profile
Artillery X1 v4 TFT seems to not be communicating
« on: March 09, 2020, 06:57:14 PM »
I recently installed (Waggster X-1 v1.5) and the BLtouch works fine, and I can send commands from my Octopi and it will move.  But I can't seem to use the TFT, the menus work but nothing happens when I press the buttons.  Also, the temps are all zero.  My cable for the TFT to board connection is different than others I'm seeing as its only a 4 wire ribbon and I have no other connections to plug in wrong.

I did everything without the Octopi first and only started using it to see what the USB was seeing when I press buttons.

Could it be something as simple as changing Configuration.h from:

#define SERIAL_PORT 0
//#define SERIAL_PORT_2 -1

to:

#define SERIAL_PORT -1
#define SERIAL_PORT_2 0

or:

#define SERIAL_PORT 0 -1
#define SERIAL_PORT_2 0
« Last Edit: March 11, 2020, 03:28:52 PM by pohlusmc »

pohlusmc

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #1 on: March 11, 2020, 07:50:53 PM »
As I keep messing with this, I feel like Marlin 2.x refuses to let the TFT and USB share a serial connection and just talk. I also believe the MKS Gen L may not allow me to run 2 serial ports without constructing a custom cable after I find the available pins. 

But I still can't figure out why the TFT refuses to connect when there is no other device connected on startup...

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 168
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #2 on: March 12, 2020, 01:58:54 AM »
Hi, I would be tempted to go back to the start and first flash the hex file and redo the touchscreen just to confirm you have a fully working printer using the Waggster mod and the touchscreen. 

I would then just try to compile the included source and flash and test that. Once confirmed working then you have something solid to expand and play with.

However, it's my understanding that they both share the same com port so will never really play together nicely. 

pohlusmc

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #3 on: March 12, 2020, 05:21:55 AM »
Yeah, I'm ok with just using one at a time, but I want the TFT for the easier startup.  I'll flash the boards back to artillery firmware, disconnect the BLTouch and see where that leaves me.  I guess I could have done some basic troubleshooting steps before I jumped into the IDE.  I will also throw a logic analyzer on the aux digital pins to see if they work.

pohlusmc

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #4 on: March 12, 2020, 06:19:27 PM »
I flashed the firmware back to artillery vanilla.  No dice.  So I ordered a new TFT controller.  But I also checked on the pins for async serial data from the TFT and from the MKS Gen L board ( I hit buttons on the TFT and the board constantly spams temps while sampling) but was unable to pull anything usable from 250000 baud.  I may just need a new logic analyzer as its a few years old.  On the plus side, I reflashed to the 1.5 firmware and set my Z-offset via USB and was able to use a visualization tool to see the bed warpage and it was cool to see.  I'm gonna run a few prints and see what happens while I wait on the package.

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 168
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #5 on: March 13, 2020, 03:09:39 AM »
Morning,

I have a v4 here so I will remove the base and take a photo for you, just so you can double-check all the wiring. I know on the v3 the touchscreen had two similar sockets and it was easy to get them mixed up.

You can also adjust the baud rate on the touchscreen.  If you look at the files you flash from the microsd card you will see a setting.txt file or something like that. You set it in that file before flashing, then power cycle.

Let me know how you get on.

pohlusmc

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #6 on: March 14, 2020, 08:54:15 AM »
Welp, I ordered the wrong TFT controller.  And that's probably due to me getting really excited that I found one with all China shut down.  I have gotten everything but the TFT working by using OctoPrint and a few add-ons with it.  I basically set the Z-offset by creating some buttons that would move in 0.024mm increments and then just inputting the rest manually.  I'm going to order the right TFT from China and it will get here when it gets here.  I love the bed mesh visualizer and I now am getting some pretty impressive results printing anywhere on the bed instead of having to avoid certain coordinates because of warpage. 

I am really happy with this mod.

 

zaf

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #7 on: May 31, 2020, 09:42:10 PM »
I've got the opposite problem, I can work the printer from the TFT, but USB is not working. Octoprint doesn't detect any serial devices showing up when I plug it in. Any ideas what could be going wrong?

ida

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #8 on: August 12, 2020, 07:49:58 PM »
Did this ever get resolved? I'm running into the exact same 0/0 temp issue. I can get temperature readings and move the x,y,z axis with pronterface, just not the touch screen. I have tried going back to the original firmware, still shows 0/0. I have replaced the tft board and tft cable, still 0/0. I am running out of ideas here besides replacing the main board. Any help would be greatly appreciated. Thank you!!

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 168
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #9 on: August 13, 2020, 01:29:14 AM »
Have you plugged the ribbon cable connecting them both back into the correct port on the back of the touchscreen?   If it's showing 0/0 and you don't have any control then you don't have communication between the screen and the mainboard.  The screen has similar connectors on the back, my guess is it's in the wrong one. 

Sorry, I no longer have my X1 to take a photo for you.

ida

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #10 on: August 13, 2020, 08:47:41 AM »
Thank you so much for your response and for taking the time to help me! When I look at pictures online, my wiring looks correct but after trying to fix this for days - I'm really hoping I made a silly wiring mistake. I have attached pictures of my tft board wiring and the main board. Note that the wiring has been switched back to the original as I have tried downloading different firmware to see if that will fix the issue but have had no luck.

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 168
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #11 on: August 15, 2020, 03:18:36 AM »
That looks okay, not sure why then. Have you changed the baud rate at all on either?

ida

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #12 on: August 15, 2020, 08:32:19 AM »
I've tried changing the baudrate and it didn't work. I only tried changing it on the tft fimware, not the mainboard firmware. I'm new to working with the firmware portion of 3d printers so I plan on watching some firmware videos and doing some digging into the code for today.

Some believe that once I flashed  the firmware, my main board got corrupted? Not sure if I believe that's possible - you would think that once I flashed back to the original firmware that it would then work. I have a new board on order anyways.

Let me know if you have any tips on what I should be looking for in the firmware. I have heard I should search for something along the lines of "define serial port" and try changing that.

Thanks again for the help!

CdRsKuLL

  • Administrator
  • Full Member
  • *****
  • Posts: 168
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #13 on: August 15, 2020, 09:42:04 AM »
the serial port should be fine, dont need to mess with any of that.  The com speed baud rate needs to be the same on both but you should be able to flash with the default one to make sure it's all working.  When you flashed your board were you able to communicate with it via a PC.. ie send a G28 command and it homed? 

ida

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Artillery X1 v4 TFT seems to not be communicating
« Reply #14 on: August 15, 2020, 10:06:46 AM »
Yup! I was able to communicate with a pc just fine using pronter face. I could move the axis, heat up the bed and extruder, the pc was also able to show me actual temperature readings and not 0/0. When I installed a version of marlin, I was getting the message “no printer attached” on the touch screen. That message won’t show on the artillery stock firmware. Just 0/0 for both extruder and bed.