here two more files with power supply steppers spindle and drivers
5b 5 kk lay out test.jpg
5c kk lay out 2.jpg
I have attached two zipped KiCad files.
I have made a pcb with DB25 connector for BOB and a print for stopping starting spindle. Software used GRBL1.1 and UGCS
this is how the nano is connected
1 kk2 arduino nano to DB25.jpg
2a nano to DB25 .jpg
the print with nano
2a kk nano to DB25.jpg
2c kk nano to DB25.jpg
connections BOB
3a kk BOB.jpg
schematic BOB (maybe some errors ??)
3b kk BOB schema.jpg
pcb start stop with relay
the start stop is in GRBL done with the pmw ( 0-10V) signal.
GRBL uses pin D11 for start/stop and rpm control.
the voltage have to be above 1 V to start the spindle. Just use S and M3 /M5
4a kk spindle start stop.jpg
this is how the drivers are connected
5a kk BOB to driver.jpg
Here I have to stop because I am on my limit for 8 files.
Similar Threads:
here two more files with power supply steppers spindle and drivers
5b 5 kk lay out test.jpg
5c kk lay out 2.jpg
I have attached two zipped KiCad files.
I checked briefly your schematics and they seems to be OK.
You have connected some output pins of the 74HC245 together. Because of the ports won't switch at exactly at the same time, they will create short and spikes.
Unused inputs can be connected to gnd, unused outputs should be left unconnected.
Is everything working as designed (WAD) or do you have some issues?
nice project!
You have created a second thread for these 2 extra images. It is better to post them on the previous thread or zip the images then you can post them together.
thank you for your remarks.
As far as I know I do not have output pins connected together.
I arranged the pins for the steppers in such a way that one side of the nano is on the topside and the other side on the bottom of the PCB and than choose the DB25 pins.
See the first picture. So the arrangement is different from the "normal" arrangement. In this setup you cannot use the JST connectors on the BOB.
Everything is working fine.
Check the ouput pins A4,A5,A6 and A2,A3
Edit, these pins are on the BOB!
@ hfjbuis, checked the pins you mentioned. My drawing was wrong, changed it. It is all working.
5V powersupply BOB is done by the USB voltage.
2d nano to DB25 2.jpg
the bend pins are cut for soldering to the top PCB
2 arduino nano pins.jpeg
this is the schematic for start/stop and rpm Just use the S and M3/M4 gcode. The rpm signal has to be above approximate 2 V to toggle the transistor.
5a nano to DB25 2.jpg
modified BOB
BOB rev 2.jpg
Good to hear that the design of the BOB is ok!@ hfjbuis, checked the pins you mentioned. My drawing was wrong, changed it. It is all working.
I like the way you solved the lack of a spindle on/off pin on the arduino uno&nano.
I make my double sided PCB's using the toner tranfer method. I also prefer the use of DB25 and JST-XH connectors. The angled JST-XH can by soldered on both sides. One row of the angled DB25 connector can also be soldered on both sides.
The (old) board for my rotary table running grbl_ESP32 on a ESP32
You will try the HC245 if you connect outputs in parallel. Only open collector and open drain outputs can be connected the way you did and the HC245 is not open an drain chip. Besides, what is the purpose of connecting outputs together?
https://www.youtube.com/c/AdaptingCamera/videos
https://adapting-camera.blogspot.com
Typical propagation delay of the HC125 is 9 ns, the difference in delay between channels of the same chip will be pretty small, significantly less than this. The reason for connecting outputs (and corresponding inputs) together is to increase drive current ability. Frankly provided that they are all driven in the same direction there is highly unlikely to be enough skew between outputs for excessive currents to be a problem, Besides as this works for the OP then clearly the chip has not been fried!
about the BOB, this is a standard Chinese BOB. I did not make any changes. I just collected some drawings from the internet and made a drawing in KiCad.
@hfjbuis: I made the print on the diy desktop CNC , I built. this is easier for me, width of the traces are a little bit bigger. Thank you for liking my solution for the start/stop - rpm problem in GRBL
@ A_Camera: the pins were drawn that way (connected together) by another clever person on internet. :-) I am a retired mechanical engineer....but now I have checked it and corrected the drawing.
have a nice day