arduino nano to BOB

Results 1 to 12 of 12

Thread: arduino nano to BOB

  1. #1
    Member
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default arduino nano to BOB

    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:


  2. #2
    Member
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default arduino nano to BOB

    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.

    Attached Files Attached Files


  3. #3
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: arduino nano to BOB

    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!



  4. #4
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: arduino nano to BOB

    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.



  5. #5
    Member
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default Re: arduino nano to BOB

    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.



  6. #6
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: arduino nano to BOB

    arduino nano to BOB-74hc245-pins-jpg

    Check the ouput pins A4,A5,A6 and A2,A3

    Edit, these pins are on the BOB!

    Attached Images Attached Images


  7. #7
    Member
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default Re: arduino nano to 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



  8. #8
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: arduino nano to BOB

    @ hfjbuis, checked the pins you mentioned. My drawing was wrong, changed it. It is all working.
    Good to hear that the design of the BOB is ok!

    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




  9. #9
    Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    1899
    Downloads
    2
    Uploads
    0

    Default Re: arduino nano to BOB

    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


  10. #10
    Member
    Join Date
    May 2009
    Location
    UK
    Posts
    37
    Downloads
    0
    Uploads
    0

    Default Re: arduino nano to BOB

    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!



  11. #11
    Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    1899
    Downloads
    2
    Uploads
    0

    Default Re: arduino nano to BOB

    Quote Originally Posted by JohnHaine View Post
    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!
    "It works" is not the definition of "it is right". Also, just because it is working today it doesn't mean it will work tomorrow.

    https://www.youtube.com/c/AdaptingCamera/videos
    https://adapting-camera.blogspot.com


  12. #12
    Member
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    15
    Downloads
    0
    Uploads
    0

    Default Re: arduino nano to BOB

    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



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

arduino nano to BOB

arduino nano to BOB