HEAVY CNC NY USA 馃嚝馃嚪

01 juil. 2020 22:43

Topsie, thank you for all of your work and for sharing your amazing design. I'm well under way with parts ariving daily.

My build will be 1000x1500. This past weekend I finished my workbench/ base. Have been printing around the clock. The parts I have left to print are the X-axis upper interior and exterior, dragchains and drag chain supports.

Here are a few pics.





10 ao没t 2020 14:56

Power Supply

https://www.amazon.com/gp/product/B07VRK86SP/ref=ppx_yo_dt_b_asin_title_o02_s01?ie=UTF8&psc=1

I used 24/2 shielded cable for the endstops

https://www.amazon.com/gp/product/B01LNH8UZ0/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&th=1

I did no go shielded on the steppers I used 18/4 

https://www.amazon.com/gp/product/B017SDE4BC/ref=ppx_yo_dt_b_asin_title_o04_s01?ie=UTF8&psc=1

I would stay away from the optocoupler I used. There are better options, (the voltage is is linked from the input/ switch side to the output side. its better to have each side isolated.)  what voltage are you planning on running on the limit switch side and what controller are you using. Arduino w/ cnc (5v Logic ) shield or a grbl esp32 ( 3v3 Logic ) based board or some thing else. I can give you a better recommendation from those values.

10 ao没t 2020 15:03
10 ao没t 2020 15:24

@PETER DONOVAN

tu utilises quoi comme fin de course ? et comment sont ils cabl茅s ?


10 ao没t 2020 15:39

I'm going to use DM542T for the Nemas 23 and a DRV8825 for the Z axis Nema 17. For the nema 23, I bought these: https://www.tindie.com/products/33366583/external-stepper-motor-driver-ver-11/

10 ao没t 2020 16:03

Looks like a killer set up! FYI Bart is great at answering any questions and also check the GRBL_ESP32 Slack channel for support.

11 ao没t 2020 02:26

I am trying to do a "GRBL_ESP32 schematic for dummies" since my proficiency level in electronics is just ridiculous. Hopefully, this will help others like me.

Here: Diagram Link

However, I am struggling to figure out how to connect the optocoupler you listed and those limit switches: https://www.aliexpress.com/item/32951447527.html?spm=a2g0s.9042311.0.0.de1f4c4degWLQ6:

  1. Is this diagram even correct?
  2. Also, do you think it is correct to connect the GND Drain (from the shielded wire) with the GND of the Limit switch, both connected to a GND somewhere (enclosure?). Or should they remain separated? If so, where should the GND be connected?
  3. Where is the Optocoupler 5V coming from?


11 ao没t 2020 02:50

Ok heres a few things, the drain should be connected to Gnd somewhere in the case ( an actual GROUND is best ), technically I try to ground it at both ends where ever possible. 

The reason for using the Optocoupler is to use a higher voltage so that the noise doesn't affect the signal. So on the Limit switch side of the Optocoupler you need to supply voltage can be 5v 12v 24v what ever you have available, to the limit switch. The higher the voltage the less change the noise will affect the signal. Choosing the right pre built optocoupler with pcb  is important. These have built in resistors, which are different depending on the voltage you are running through your limit switches. If you are feeling adventurous you can get away with the tiny little 817 optocoupler but would need to add resistors to both the higher voltage side and the logic side. Those resistors depend on the voltage on either side. 

optocoupler only https://www.mouser.com/ProductDetail/Sharp-Microelectronics/PC817XNNIP1B?qs=rrS6PyfT74dJvnx7366b6Q%3D%3D

There are about 10,000 ways to get to the same endpoint. you will probably find an equal amount of premade High level to low level optocouplers so be careful. 

I chose this one because I wanted the cleanliness without resistor and wires everywhere. Here's a basic layout, I'm no electrical engineer, but I'll try to help where I can. 

Oh and you mentioned 5V to the limit pins on the Grbl_esp32 board. You need to use 3.3v the ESP_32 uses lower voltage signal than the arduino based boards. 



11 ao没t 2020 04:08

Thank you! The switches I'd like to use have a GND (black), therefore I'd need to connect those for the GND (1-,2-,...) right? Which would mean that I'd need 22/3 Shielded wires instead of 22/2 like yours?

11 ao没t 2020 05:35

What switches will you be using. Unless the are proximity sensors that require a 3rd wire, wire the ground from the switches in the place where the com is in my drawing. All mechanical switches do is connect or disconnect  2 parts of a circuit. 


Repondre

Connexion