Hybrid View
-
20-04-2020 #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..)
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
-
20-04-2020 #2
Are the motors energised? - can you rotate them by hand with power off, and with power on - start at the basics.
-
20-04-2020 #3
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.
-
20-04-2020 #4
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.
-
20-04-2020 #5
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..)
-
20-04-2020 #6
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.
-
21-04-2020 #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.
-
21-04-2020 #8
-
21-04-2020 #9An 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
-
5 axis breakout board and UC400eth query
By Palletlad in forum General ElectronicsReplies: 2Last Post: 23-06-2019, 02:58 PM -
Csmio-IPM wiring A nema 17 TB6600 driver Z axis THC
By Copypaste in forum CS-Lab (CSMIO)Replies: 0Last Post: 14-02-2019, 08:41 PM -
FOR SALE: 4 Axis CNC power distribution board - CNCPDB
By TadasM in forum Items For SaleReplies: 0Last Post: 02-12-2017, 07:02 PM -
WANTED: Basic 3 Axis CNC breakout board.
By Philly in forum Items WantedReplies: 1Last Post: 29-09-2012, 10:39 PM -
easy cnc 3 axis control board
By edgas10 in forum Motor Drivers & ControllersReplies: 1Last Post: 08-01-2011, 06:14 PM
Bookmarks