Photonsters / anycubic-photon-docs

This repo aims to collect curate and compile information on anycubic photon hardware software and use
Other
481 stars 76 forks source link

Anycubic Photon S UART Serial Connect Support via RP Pi Zero --> Need Support #59

Open raindancer2204 opened 3 years ago

raindancer2204 commented 3 years ago

Hello,

I would like to read out the UART interface with my RP Zero. The idea is to be sent to the printer via the GCODES serial interface.

Can someone support me here?

The user Chasedog98 has already done this with the normal photon.

Here is a picture of my Photon S board.

IMG_20210507_153158

I did the wiring as in his project. And I brought the same image onto the system. Check this here:

https://github.com/Chasedog98/PhotonPi

How can I test the serial STT via the shell? I see the ttys under / dev / serial.

Is: GND and RX2 and TX2 the right connect?

Or should I take GND RX1 and TX1?

In the first step I just want to see if I can query something via the serial UART port.

Thank you.

X3msnake commented 3 years ago

Try Both the TX1 and the TX2 to see if any of these are alive

Dont forget that RX on the serial must connect to TX on the board and vice versa

raindancer2204 @.***> escreveu no dia segunda, 10/05/2021 à(s) 20:42:

Hello,

I would like to read out the UART interface with my RP Zero. The idea is to be sent to the printer via the GCODES serial interface.

Can someone support me here?

The user Chasedog98 has already done this with the normal photon.

Here is a picture of my Photon S board.

[image: IMG_20210507_153158] https://user-images.githubusercontent.com/49243048/117715309-5f02bf80-b1d8-11eb-9521-c152c91f968b.jpg

I did the wiring as in his project. And I brought the same image onto the system. Check this here:

https://github.com/Chasedog98/PhotonPi

How can I test the serial STT via the shell? I see the ttys under / dev / serial.

Is: GND and RX2 and TX2 the right connect?

Or should I take GND RX1 and TX1?

In the first step I just want to see if I can query something via the serial UART port.

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Photonsters/anycubic-photon-docs/issues/59, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUR56W4MTQGCMAD2SXKEKDTNAZLLANCNFSM44SCXRSQ .

-- Com os melhores cumprimentos, Vinicius Silva

raindancer2204 commented 3 years ago

Hello,

here is an update on my work.

I flashed the image of Chasedog98 on my RP PI Zero.

Next I checked with a loop connection (on the Pi itself) that the connection was physically possible.

The loop works fine.

Reading out to GND RX2 TX2 was not successful.

GND RX1 and TX1 was not successful.

We tried all possible baudrates rates.

The sending and receiving directions were also rotated.

Can someone help me here?

X3msnake commented 3 years ago

probably uart coms are disabled :(

guess last resort would be to try to dump a hex file from a good board and flash it directly to the bad board with a st-link flasher via isp

No dia quinta-feira, 13 de maio de 2021, raindancer2204 < @.***> escreveu:

Hello,

here is an update on my work.

I flashed the image of Chasedog98 on my RP PI Zero.

Next I checked with a loop connection (on the Pi itself) that the connection was physically possible.

The loop works finde.

Reading out to GND RX2 TX2 was not successful.

GND RX1 and TX1 was not successful.

We tried all possible baudrates rates.

The sending and receiving directions were also rotated.

Can someone help me here?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Photonsters/anycubic-photon-docs/issues/59#issuecomment-840591625, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUR56WXDNY2U6MQ6FZHOXDTNPNLPANCNFSM44SCXRSQ .

-- Com os melhores cumprimentos, Vinicius Silva

DSchndr commented 2 years ago

Looking at the firmware it seems like uart2 does not get used at all, uart1 has some code which does not get referenced by anything Maybe AndyBig could help you out, he has modified parts of the firmware and added some features