Raspberry Pi CNC


5 posts
by EoinM17 » Sat May 04, 2013 9:38 pm
hi all,
this is my first post. I got my raspberry pi last week and am looking into using it to control a cnc mill but unfortunately i do not understand a lot of the terms on the linuxcnc website. i have a few questions and am hoping some more experienced users will be able to help me.
1) is it possible to flash linuxcnc to an sd card the way you flash raspbian
2)would it be possible to connect this
http://www.amazon.co.uk/SainSmart-TB656 ... is+cnc+kit
to a rPi? or other boards that would control a three axis cnc?

any help is much appreciated
Posts: 3
Joined: Sat May 04, 2013 9:25 pm
by elektrknight » Sun May 05, 2013 4:56 am
Hi,

1 - For LinuxCNC discussion see this thread http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=33809

2 - Not directly as this particular TB6560 controller board takes input from PC printer port. You would
need to either build a converter from Raspberry PI P1 GPIO connector to printer cable or use
some kind of USB to Parallel adapter. I am actually planing on testing couple of USB2Printer
adapters once I find a converter to a D-Sub type connector.

BTW I would not recommend using this particular "Blue" TB6560 controller board, I had a lot of
trouble interfacing it with PC. Input optoisolators are not fast enough for any kind of microstepping.
You will probably have a better luck with this "Red" TB6560 controller board
http://www.amazon.co.uk/Stepper-Controller-Contoller-Photoelectric-Coupler/dp/B00833E3NG/ref=pd_sim_sbs_ce_60
Placek Malinowy to jest to!
User avatar
Posts: 136
Joined: Sat Mar 02, 2013 1:25 pm
by EoinM17 » Sun May 05, 2013 10:04 pm
Or would it be possible to connect raspberry pi to a breadboard using an adafruit cobbler and the connecting some of these easydriver boards.
https://www.sparkfun.com/products/10267
and i dont have a clue whether this would work or not but could you plug the motors into this board?
https://www.modmypi.com/raspberry-pi-ex ... -combo-kit
once again any help is very much appreciated and thanks to elektrknight for his reply
Posts: 3
Joined: Sat May 04, 2013 9:25 pm
by elektrknight » Mon May 06, 2013 4:43 am
I am sure you can connect adafruit cobbler with number of driver boards.
But if you want to go direct route for motor control then a simpler way
might be using a P1 connector kit:

"Raspberry Pi - P1 Connector DIY Kit for 26 GPIO Pins Wires"
link http://www.ebay.com/itm/Raspberry-Pi-P1-Connector-DIY-Kit-for-26-GPIO-Pins-Wires-/181110064096

with one of the L298 based modules for either DC or a stepper motor control like this one:

http://www.ebay.com/itm/L298N-DC-Stepper-Motor-Dual-H-Bridge-Drive-Controller-Board-Module-for-Arduino-/350632886848?pt=LH_DefaultDomain_0&hash=item51a3594240

Which is what I am actually doing to drive a bunch of NEMA17 stepper motors.
Placek Malinowy to jest to!
User avatar
Posts: 136
Joined: Sat Mar 02, 2013 1:25 pm
by EoinM17 » Sun May 12, 2013 2:49 pm
thanks for your reply elektrknight but do you know if i can get those items anywhere other than ebay? I live in ireland and have been scammed on ebay before so i just dont trust it that much anymore to be honest. Are there any boards like this that you know of on amazon.co.uk or any other site situated near ireland/united kingdom?
again thanks for all your help very much appreciated
Posts: 3
Joined: Sat May 04, 2013 9:25 pm