|
Post by oakandiron on Sept 12, 2018 11:43:28 GMT
Has anyone tried using a raspberry pi as the "controller" computer? I got UGS to work on my pi and was wonder if you have to/ can install the uno boards drivers on it?
|
|
|
Post by Hommer Woods on Sept 12, 2018 11:50:32 GMT
If you search the forum for the work raspberry there are a few posts about doing this.
|
|
|
Post by oakandiron on Sept 12, 2018 13:19:53 GMT
I am looking for something that talks about installing the drivers for the uno board onto the pi to use and the computer. Something like in the assembly instructions.
|
|
|
Post by Hommer Woods on Sept 12, 2018 13:30:31 GMT
I am looking for something that talks about installing the drivers for the uno board onto the pi to use and the computer. Something like in the assembly instructions. Sorry can't help you there since I don't use pi. You may want to message some of the others that do from those posts to see if one of them can assist you.
|
|
|
Post by ibohan on Sept 12, 2018 23:33:48 GMT
I don't believe the Raspberry Pi has any motor controller circuits built in. You would need to buy or make your own motor controller board, and at that point I think it would be much easier to use the Arduino/Motor board combo and use the Raspberry Pi for UGS.
|
|
friolator
Full Member
Mega V 19"
Posts: 138
Machine: Other
|
Post by friolator on Sept 13, 2018 13:13:26 GMT
Though I don't really use Pi much, Arduino definitely has the upper hand when it comes to controlling external devices. The Arduino really isn't doing any motor control itself (that's all in the stepper driver, whether that driver is a shield attached to the Arduino, or a physically separate external device). I've used heavy duty external stepper drivers with an Arduino before and all you're sending the driver is a simple High/Low signal (and some drivers send feedback so you may be "listening" on some ports as well) so you only need one or two pins on the card for each driver. Arduino, even the Uno, gives you a ton of I/O for this sort of work. Pi has some of that, but because it's kind of a general purpose computer, thats not its focus and there may not be enough physical I/O connections on it - there weren't when I was looking at it 4 years ago, and settled on Arduino for my application.
In the case of a film scanner I built, I had to use an Arduino Mega, because i had to control half a dozen motor drivers, get feedback from 6-8 sensors, plus control a bunch of relays. All total, I nearly maxed out the Mega, which has a ton of pins.
|
|
|
Post by Bruce on Sept 15, 2018 21:01:40 GMT
|
|
|
Post by ibohan on Sept 18, 2018 4:37:50 GMT
Very interesting. It looks like they've made some upgrades as well. Still for $47 I don't think its worth replacing the Arduino/shield combo that Derek includes, but if I was making one from scratch I'd be very tempted to use this instead.
|
|
|
Post by Bruce on Sept 19, 2018 0:37:22 GMT
One advantage is the plug in wiring terminals. But other than that I agree, hard to justify the cost difference.
|
|
|
Post by yasamoka on Oct 5, 2018 12:06:44 GMT
Impossible, grbl relies on AVR architecture features for microsecond-level accurate control that would be impossible to attain on any PC running a real-time OS (RTOS), like what the Pi is running. github.com/gnea/grblWhat you could do is use the Pi as a host running CNC.js, for example, and connect it to the Arduino running grbl. The Pi would act as a G-Code sender since grbl, given it runs on a platform with very limited memory (Arduino), streams G-Code rather than store it and run it.
|
|
|
Post by Bruce on Oct 5, 2018 16:25:30 GMT
If you just want to use a RPi as the control PC for the Arduino/CNC Shield the bCNC software is suppose to work on an RPi as the G code sender software also.
|
|