. .
  1. #1
    Hi all,

    I have an old mini mill that I'm trying to resurrect after several years of it just sitting in the corner of the workshop. Back when it was working, it was running off an old PC with LinuxCNC and a parallel port connection to a 4-axis TB6560 board. pretty much all that stuff is broken now, so I'm rebuilding the control side from scratch. I'm using a Raspberry Pi 4B and a 4 axis TB6600 board (pictured here) that has sat on a shelf for a couple of years (I planned this rebuild back then, but got sidetracked..)

    Click image for larger version. 

Name:	s-l640.jpg 
Views:	135 
Size:	62.5 KB 
ID:	27881

    According to the documentation i should be able to connect to it on the GPIO pins and control it from there, rather than using the DB25 port. This is good, because the Pi doesn't have a printer port! However, I can't get it to do anything. I'm using a bunch of AND gates to take the 3.3v output from the Pi pins and up it to 5v to go into the controller board. I've checked with a multimeter that I'm getting 5v at the GPIO pin, but it still doesn't seem to do anything.

    Does anyone have any experience with these boards? I'm attaching the instruction PDF here as well in case that explains anything. Enthusiastic amateur here, so it's entirely possible I've missed something obvious. I remember from the old setup that when the controller was 'enabled' the steppers would buzz and now when I have 5v at pin 14 (ENABLE_ALL) nothing is happening.

    Thanks,
    Kev.

    4 axis TB6600.pdf

  2. #2
    Are the motors energised? - can you rotate them by hand with power off, and with power on - start at the basics.

  3. #3
    I assume you are still using LinuxCNC. I don't know how configuring this software works on the Pi but check that the pin mapping for the GPIO pins on the Pi matches the controller.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  4. #4
    Thanks @Kitwn, good point but I have checked using some LEDs and I can confirm that the pins are wired correctly (according to the controller board documentation..)

  5. #5
    Pity. That would have been an easy one to fix!
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  6. #6
    Quote Originally Posted by Doddy View Post
    Are the motors energised? - can you rotate them by hand with power off, and with power on - start at the basics.
    So, the answer is yes I could, so thanks for taking me right back there!
    After a bunch more messing around, including checking with an old printer cable and hooking up some prototyping wires, I discovered:
    a) It works through the LPT port
    b) It then worked with the GPIO port
    c) When I unplugged the printer cable it stopped working.

    I can still turn the motors when they're energised, but they are more 'clunky' than when not energised and a bit harder to turn.

    After even more messing around, I discovered that if you ground the appropriate LPT port pins to the same ground as the Pi, then the GPIO pins work!

    I have a bunch more to fix, but it's mostly software related so I'm off over to the LinuxCNC forum. I just wanted to post this here in case anyone else has the same board, and thank everyone for their help!

    Cheers,
    Kev.

  7. #7
    Who'd have though it! All this complex digital electronics and the current STILL insists you have a complete circuit before it will do anything usefull for you
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  8. #8
    Quote Originally Posted by Kitwn View Post
    Who'd have though it! All this complex digital electronics and the current STILL insists you have a complete circuit before it will do anything usefull for you
    I did wonder why there wasn't a GND on the GPIO interface but I just assumed they knew something I didn't... ;)

  9. #9
    Quote Originally Posted by kjames23 View Post
    I did wonder why there wasn't a GND on the GPIO interface but I just assumed they knew something I didn't... ;)
    You should always trust your own intelligence whilst acknowledging your own fallibility.

    Kit

    WOW! I think I'll bake that into a fortune cookie.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 5 axis breakout board and UC400eth query
    By Palletlad in forum General Electronics
    Replies: 2
    Last Post: 23-06-2019, 02:58 PM
  2. Csmio-IPM wiring A nema 17 TB6600 driver Z axis THC
    By Copypaste in forum CS-Lab (CSMIO)
    Replies: 0
    Last Post: 14-02-2019, 08:41 PM
  3. FOR SALE: 4 Axis CNC power distribution board - CNCPDB
    By TadasM in forum Items For Sale
    Replies: 0
    Last Post: 02-12-2017, 07:02 PM
  4. WANTED: Basic 3 Axis CNC breakout board.
    By Philly in forum Items Wanted
    Replies: 1
    Last Post: 29-09-2012, 10:39 PM
  5. easy cnc 3 axis control board
    By edgas10 in forum Motor Drivers & Controllers
    Replies: 1
    Last Post: 08-01-2011, 06:14 PM

Bookmarks

Posting Permissions

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