Skip to content

Add files via upload#4

Draft
zedthirteen wants to merge 1 commit intoktand:masterfrom
zedthirteen:zedthirteen-notes-1
Draft

Add files via upload#4
zedthirteen wants to merge 1 commit intoktand:masterfrom
zedthirteen:zedthirteen-notes-1

Conversation

@zedthirteen
Copy link
Copy Markdown

@zedthirteen zedthirteen commented Apr 7, 2020

I had difficulty obtaining information for this board and hope my notes will be useful to someone else.

I too downloaded the authors KiCad project but was unable to see the schematic clearly due to missing libraries that only exist (to my knowledge) on the author's development PC.

I was able to reverse engineer the pins for the exp1 and 2 connectors. These seem to be rotated 180 degrees from what I normally find on similar RAMPS 1.4 LCD adapter boards. One of my images shows how I merged Exp1 and Exp 2 cables into a single 20 pin IDC connector. To do this I put tape across the two ribbon cables either side of where the connector was to be installed.

The image of the TMC2130 driver shows how the SPI bridge (on left) needs to be open and how CFG 4 and CFG 5 (on right) need to be bridged. I had to remove a small zero ohm resistor from my drivers to get the SPI talking. However, the FSYETC TMC2130 drivers that came for my board also needed bridges for CFG4 and CFG5 to be made. These are incredibly small bridges to make by hand. Of my 5 drivers I was only able to configure 1 correctly. I have since ordered 5 more drivers that are already pre-configured

I also had to bridge all of the SPI solder bridges on the back of the ARM'ED board (-MOSI, -SCK, -CS, -MISO) for SPI. At the moment I do not know if the -CFG0 bridges need to be made?

@zedthirteen
Copy link
Copy Markdown
Author

Armed-back SPI bridges

@zedthirteen zedthirteen closed this Apr 7, 2020
@zedthirteen
Copy link
Copy Markdown
Author

zedthirteen commented Apr 7, 2020

Display 2004 LCD wiring EXP1 EXP2
Display 2004 LCD ribbon cable connection

@zedthirteen zedthirteen reopened this Apr 7, 2020
@zedthirteen
Copy link
Copy Markdown
Author

TMC2130 configuration for SPI
FSYETC TMC2130 v1.0 modifications required for SPI mode use

@BorPass
Copy link
Copy Markdown

BorPass commented Dec 13, 2020

Hi David, thanks for your expanations. They helped me connecting lcd and sd. I bought the same board and now I am struggling compiling Marlin 2.0 for it. Are you using Marlin too?

I managed to compile without EEPROM useage - I had to disable it in src/MarlinCore.cpp inside the setup function. Same with USE_WATCHDOG. Trying to debug the watchdog problem, I found out that it uses the watchdog.cpp inside the src/HAL/STM32 directory, instead of the one inside the src/HAL/STM32_F4_F7 directory. I did not find out how to change that yet.
I guess it is a similar problem with the EEPROM problem, because the STM32F4 chips should have build in EEPROM.

Do you have any advise for me? Did you manage to compile and use Marlin 2.0 with EEPROM and USE_WATCHDOG?

Best Regards,
Boris

@zedthirteen
Copy link
Copy Markdown
Author

zedthirteen commented Dec 15, 2020 via email

@BorPass
Copy link
Copy Markdown

BorPass commented Dec 20, 2020

Hi David,

thanks for your reply. It was a motivation for me to keep on trying to get the board running as exspected.

I think I got the EEPROM working now, without soldering anything. Looking through Marlin code, I thought there could be missing a

#define ARDUINO_ARCH_STM32

I included this into Configuration.h right under the board definition, which now looks like that:

#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_ARMED
#define ARDUINO_ARCH_STM32
#endif

Now it compiles with eeprom-support and I am able to read the settings with M503. This should be proof enough, that it works. Next construction-site will be the WATCHDOG, which makes my board reboot, when the 4s, specified in the code, run out. Perhaps the reason is that I run it offline, outside the printer without sensors etc., but I don‘t think so. I will let you know, if I find out.

Regards

Boris

@BorPass
Copy link
Copy Markdown

BorPass commented Dec 22, 2020

Hi David, I was wrong, EEPROM doesn‘t work. I also tried supplying 3.3V to the vcc-i2c pin without success. Perhaps one has to set a jumper to the 3.3/5V i2c-vcc area, which would mean soldering pins first. But I am not microelectronic professional...
I would be pleased, if you keep me up to date if you succeed.
Best Regards,
Boris

@BorPass
Copy link
Copy Markdown

BorPass commented Dec 28, 2020

Hi David, I might be wrong, but on my board there is probably missing a chip in the location marked as U4. Following the electrical lines from the i2c section this might be the position of the eeprom. Do you have a chip at position U4? In some pictures, e.g. the ones from Karl, the designer, I mean to see one, on other like amazon the place is empty like on mine.
Meanwhile I soldered the i2c-vcc bridge to 3V, but it did not change anything. Eeprom on that board is a weird thing. Next time I buy a new board, which will be soon, because this board sucks, I will check the net for experiences of other people and support on forum pages...
Frustrated greetings,
Boris

@zedthirteen
Copy link
Copy Markdown
Author

Hi Boris, U4 is the 24LC32AT EEPROM and I "think" there is a device soldered there on my board. It's hard to tell as I can't get my phone to focus on the board past my cables. I only have detailed photos of the back of my board before it was installed. I figured the ones from websites were good enough for reference of the front.
This is the board I purchased: https://www.amazon.co.uk/gp/product/B081RJ46CN/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
The other day I took a copy of Karl's latest Marlin 2.0.7.2 changes and merged some of his configuration settings with mine. Prior to this I was getting some EEPROM init errors. Now I can store and load settings without errors but they don't seem to be being stored. I have, however, lost my USB comms to PC so there might be errors/warnings being reported that I can't see on LCD.

@ktand
Copy link
Copy Markdown
Owner

ktand commented Dec 29, 2020 via email

@BorPass
Copy link
Copy Markdown

BorPass commented Dec 29, 2020

Hi David and Karl,
thanks for your replies. My U4 is empty. I‘ll try both. I already ordered a 24LC32AT. As soon as I get it, I‘ll solder it to my board. Meanwhile I‘ll try the eeprom emulation.
Attached I‘ll post a photo of my board with the U4 position.
Best Regards,
Boris

IMG_1886

@BorPass
Copy link
Copy Markdown

BorPass commented Jan 6, 2021

Dear Karl an David,

I soldered an EEPROM, now everything seems to work. It reads and stores data.

Now there is one more question: How do I connect my BLTOUCH?
In pins_ARMED.h I found Z_MIN_PROBE (or similar) should be PA4, if Z_MIN is not used, but do I find this pin on the board? BLTOUCH needs one Servo pin for controlling the sensor and the Z_MIN for the endstop-signal, but I am sure you know that.

Any hint is wellcome!

Best Regards and a happy new year,
Boris

@zedthirteen
Copy link
Copy Markdown
Author

glad you got your EEPROM working. I will need to pull my board out of the housing to check if I have chip in U4 or not.

Sorry, I can't help with your probe servo as I use an inductive sensor

@BorPass
Copy link
Copy Markdown

BorPass commented Jan 7, 2021

Hello David and Karl,
I made the bltouch work by using the EXT0_PIN - I wired the 3–pin cable of bltouch to GND, 5V and EXT0_PIN, and the 2-pin cable to the regular z-endstop.
Hopefully this was it for me. As for now I tested everything outside the printer, I will replace my old board the next days and I am looking forward for the first print with my new stm32 board with tmc2208 steppers. As soon as I gain enough motivation, I will change them from standalone to uart mode.
@david, if you have questions concerning the ERPROM, don‘t hesitate to ask me. At least it was a hard way for me to get it working, but the solution was quite simple at the end - who would think of a missing chip...
Best Regards,
Boris

@zedthirteen
Copy link
Copy Markdown
Author

Hi Boris,

Glad you got your EEPROM working and probe servo working.
I got Pronterface console working on a laptop and could see my EEPROM is still reporting errors when I try M501 so I took the board out of the housing to get a better look and my U4 is missing too. Have ordered some now.

I need to look into the TMC2208 drivers. I am using the TMC2130's in SPI mode with the end-stop detection pin wired to X and Y. I am getting some layer shift on the Y axis though. It may print about 1cm Z height okay and then the Y axis jumps about 10mm. I am also seeing my driver currents keep reducing due to thermal protection - lots to sort out

@BorPass
Copy link
Copy Markdown

BorPass commented Jan 8, 2021

Hey David,
I read somewhere, that TMC steppers get quite hot. If you installed your board inside a housing, you might get thermal problems. I saw an example, where someone put heat sinks on top and underneath the steppers to cool them. Good thermal management seems to be necessary.
Another problem might be a part cooling fan, that cools the nozzle. In that case the temperature of the nozzle drops and the hardware is not able to stabilize the temperature in the given time. In that case you get a thermal runaway - I had such problems, when I upgraded Marlin from v1 to v2. Solution was to define a higher value for the time interval that Marlin accepts for reaching the target temperature again.
But your description of the print problems sound more like thermal problems of the steppers, not the thermal runaway, because in that case the printer would just stop.
You could try to give the steppers more air, perhaps with an optimal position of the board cooling fan.
Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants