Tuet / XY2_100

XY2_100 library for Teensy 3.2 / LC (Arduino)
MIT License
25 stars 15 forks source link

Teensy 4.0, ESP32 #2

Open matangpanchal opened 9 months ago

matangpanchal commented 9 months ago

Dear Sir, I want to use this library, so will this be compatible to with Teensy 4.0 ? Is it possible to use ESP32 instead of Teensy. These questions might be penny questions for you but I am not so much familiar with Electronics, I just have to integrate XY2-100 protocol with my other Application. Please Respond. Regards, Matang Panchal

KennyRAS commented 1 month ago

I am also interested into the compatibility with Teensy 4.0.

if it's compatible, amazing! if it is not, Could you give us suggestions for modifications so it could work on Teensy 4.0? Thanks for reading!

Tuet commented 1 month ago

Hi, as I don't have any XY2-100 hardware anymore, I can not do anything here. Please check https://forum.pjrc.com/index.php?threads/implementing-xy2-100-serial-protocol-on-teensy-4-1.62819/ for what other people achived here. XY2-100 implementation uses very strong hardware accelleration that is very MCU dependent, therefore not easy to port to other MCUs. Maybe RP2040 could be a choice as this has some powerfull GPIO accelerators as well. In general, my findings was that the XY2-100 protocol is often not as timecritical implemented - so it might operate much slower than in the datasheets as well. Then you can just do a bit-bang implementation. Sorry, I will not do anything here, as this does not make sense for me without any HW. Thank you.

KennyRAS commented 3 weeks ago

Hey,

amazing information that you have given me, thanks for the effort! I have still one question about the frequency that it works on.

Could i still control the laser position with a bit-bang implementation, frequency < 2MHz, and an Arduino Uno? Because, I don't need the high frequency as this is a proof of concept project.

Greetings, Kenny

Op za 1 jun 2024 om 17:15 schreef Tut @.***>:

Hi, as I don't have any XY2-100 hardware anymore, I can not do anything here. Please check https://forum.pjrc.com/index.php?threads/implementing-xy2-100-serial-protocol-on-teensy-4-1.62819/ for what other people achived here. XY2-100 implementation uses very strong hardware accelleration that is very MCU dependent, therefore not easy to port to other MCUs. Maybe RP2040 could be a choice as this has some powerfull GPIO accelerators as well. In general, my findings was that the XY2-100 protocol is often not as timecritical implemented - so it might operate much slower than in the datasheets as well. Then you can just do a bit-bang implementation. Sorry, I will not do anything here, as this does not make sense for me without any HW. Thank you.

— Reply to this email directly, view it on GitHub https://github.com/Tuet/XY2_100/issues/2#issuecomment-2143483166, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAIEBE55ZJ76NE5MYWH3ZDZFHQSXAVCNFSM6AAAAAA42TXPDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGQ4DGMJWGY . You are receiving this because you commented.Message ID: @.***>