Replies: 20 comments 5 replies
-
For the non-PCB, these should work: Additionally you may find my assembly pictures helpful although I haven't had time to add documentation to them yet: |
Beta Was this translation helpful? Give feedback.
-
Thanks; I need two clarifications, one : VMOT 12V ln the TMC2225, where
does that go? If this is input, well, I have a 24V power... If output,
well, I do not see where to go...
Second point, the UART wiring: I need to adf a 1k before plugging both
ESP32 pins at the same TMC pin? Which one then?
Thanks a lot!
Le sam. 6 févr. 2021 à 19:01, Anthony Doud <[email protected]> a
écrit :
… For the non-PCB, these should work:
https://github.com/doudar/SmartSpin2k/blob/master/Pictures/SmartSpin2k_Esp32_Connections.jpg
https://github.com/doudar/SmartSpin2k/blob/master/Pictures/SmartSpin2k_TMC_Connections.jpg
Additionally you may find my assembly pictures helpful although I haven't
had time to add documentation to them yet:
https://github.com/doudar/SmartSpin2k/tree/master/Pictures/Assembly
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSFF66F6CMNEEM3LXT2IP3S5V7YBANCNFSM4XGOAEQQ>
.
|
Beta Was this translation helpful? Give feedback.
-
The 1k ohm resistor goes between pin 12 and the uart pin on the tmc. Pin 14 no resistor, connect directly to the uart pin. You are correct, VMOT is input power and can take up to +24v |
Beta Was this translation helpful? Give feedback.
-
So, VMOT : you plug it with the output of your SMartspin2K power supply ? For the UART : whih one one the TMA2225 is the UART pin you wire : if I read the datasheet well, there's 2 UART pin, depending on the mode you use it... probable you wire the upper one ? Thx again, Seb |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks a lot ! |
Beta Was this translation helpful? Give feedback.
-
Hard to say exactly. Does it work if you're plugged in via USB only? Does the LED blink indicating it's on? A new version of SmartSpin2K was just released so it may be doing an OTA update (light flashing rapidly) which could take a couple minutes after powerup. |
Beta Was this translation helpful? Give feedback.
-
It was on with the red light, but not blinking at all... Sure I'l do it
again with USB, and with the PC... thanks, I'll keep you posted :-)
Le dim. 7 févr. 2021 à 22:07, Anthony Doud <[email protected]> a
écrit :
… Hard to say exactly.
Does it work if you're plugged in via USB only?
Does the LED blink indicating it's on? A new version of SmartSpin2K was
just released so it may be doing an OTA update (light flashing rapidly)
which could take a couple minutes after powerup.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSFF62FOYEIATUB2F3CRNDS536H3ANCNFSM4XGOAEQQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Good luck! Yes, the blue light should start blinking while it's waiting for a client (Bluetooth) connection. |
Beta Was this translation helpful? Give feedback.
-
Any Updates @sspieser ? |
Beta Was this translation helpful? Give feedback.
-
Hello, yes : it works, I can get to the ESP32 WEB server ! I noticed thus a weird thing : while using the WEB application from my phone, I often lose any WIFI signal on the phone and lose Internet connection... just as if the ESP32 was scrambling things... But anyway, it works, I paired my pedals ; now I have to keep on wiring but I am not at home for some days; I'll keep you posted and put pictures as soon as I can :-) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The PCB has extra connections on it in case I ever switch to a different stepper driver. I believe ms1, ms2 and SLP can all be omitted/unconnected. |
Beta Was this translation helpful? Give feedback.
-
Thanks.... not sure to understand your last answer ;-) |
Beta Was this translation helpful? Give feedback.
-
I think I'm almost done, just the UART wiring missing ! But then, testing... so far, unable to get in touch with the WEB application... |
Beta Was this translation helpful? Give feedback.
-
Starting to look good @sspieser ! UART is not required for it to work in a basic mode, so you should be able to test it just fine. I'm not certain what the issue may be with the webserver. It basically "just works" for me. The only thing I can think of is maybe a bad antenna on your board? Do you see the SmartSpin2K access point? If not it means it is successfully connected to your router. Try to do manual firmware update https://github.com/doudar/OTAUpdates/blob/main/firmware.bin on the unit and connect it to your local network, it may help me troubleshoot your issue. The easiest is to upload it via USB cable with (the brand new) https://github.com/SmartSpin2K/SmartSpin2kFlasher/releases/tag/v0.0.1 |
Beta Was this translation helpful? Give feedback.
-
I am wiring my setup this evening. After looking at the diagrams many times I am assuming that the 24v coming out of the power supply will power the TMC2225 as well as the LM2596. If that is true, then the TMC2225 will be adjusted to provide 12V to the stepper motor, then the LM2596 will be adjusted to provide 5v to the ESP32 and TMC2225. Is that correct? |
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for this projet I made all links but on the PCB figure you connect PIN D26 and D27 but not in the ESP32 picture. Why? |
Beta Was this translation helpful? Give feedback.
-
Good question! The PCB has a few extra wire traces just for potential future capabilities with different stepper drivers. They are not currently used and have no plans for use. |
Beta Was this translation helpful? Give feedback.
-
I have a few wiring questions as well. It looks like the D26/D27 question is already answered. :) I have a slightly different TMC2225 board, which has separate TX/RX pins marked for UART. Maybe they're just the same pin internally? I don't understand the 1kOhm resistor; it's for voltage protection? Have you tried running TMC2225 at 3.3V? |
Beta Was this translation helpful? Give feedback.
-
Hello,
Do you have a wiring diagram ?
I'm wondering : what is the output of the LM2596, 5v or 12V? I guess 5V... but then, what is the TMC2225 :VMOT +12V ? An output or an input ?
Thanks for your help,
S
Beta Was this translation helpful? Give feedback.
All reactions