Author Options:

arduino or rasberry pi ? Answered

Forgive me,i am new to arduino and rasberry  pi.

I am deeply interested in building CNC's,3D Printers,Quad Copter's.....
So a little research showed that we need arduino which would act like the control unit for this very purpose .
But i have also come across some people who use parallel ports to control the machine (the processing is done on a computer) ""PS:- I might be wrong"".
So if the parallel ports can indeed be used for all these without a arduino in between  ,wouldn't it  be better to get a
"rasberry pi"  and  "USB to parallel port converter "   
The advantages i am seeing are:
less cost
more processing power
probably easily programmable

we can get a lot of modules like (wireless......) which is made especially for an arduino


7 Replies

mscott27Best Answer (author)2014-01-11

I may be wrong, but the arduino has a lot more tutorials available for that sort of usage; or at least let me say I've seen more of them. Using parallel connections straight from your computer is possible, but not desired for things like quadcopters or robots where you'd prefer to have everything you can, on the item itself, rather than trailing cables to it. (I'm over-simplifying to avoid confusion).

A CNC system uses a part file (CAD file) that has to be made for it, and then processed by a computer program (CAM program) into a Code file , which can either be uploaded straight to the machine, or put onto an SD card which is transferred to the machine itself. The Machine then uses the information to run it's drive system. Using the card is often preferred in tutorials simply because it's a "common point" that everyone can work towards, rather than getting into the CAD/CAM aspects of the design. Using a computer directly can be a pain.. the speeds and amount of connections could be a pain too. Using an Arduino to drive the machine can be achieved through using pre-built readily available "shields" (modules) that stack directly onto the Arduino. On the PI, it's not quite the same thing, though similar.

Once you get going with arduino projects, you'll find that other processors in the arduino's "extended family" (or even just parts of the arduino) are adequate for your needs, and are programmed/operated the same way as the arduino.

Programming an arduino is C++ (with slight differences) and good beginner tutorials will tell you exactly what to put in as code, and explain why.

The decision of whether you are personally going to prefer the Pi, or Arduino, is probably best decided by looking at the tutorials that interest you, and see what they're using. A Pi can "do more" overall, but if it's not the stuff you want to do (at least at first), there's not much point in heading that route. I went through tutorials for the arduino, with a similar starting desire list, and found I preferred it.

Select as Best AnswerUndo Best Answer

CurtR (author)2014-01-21

If you are interested in quadcopters HobbyKing.com has a controller for multirotors that is easy to set up, the KK2 board with LED display. It is $30.18 Product ID 9171000073, and you can get all the other parts you need from them as well.

Select as Best AnswerUndo Best Answer

chrissunny94 (author)2014-01-13

thank you people I have decided to buy an arduino .Its more easily programmable

Select as Best AnswerUndo Best Answer

SpaceShipOne (author)2014-01-12

For applications like CNC or 3D printing a slower processor is acceptable. I have used older CNC mills (think Bridgport) that run very low powered processors and still work perfectly well. You could use an arduino to handle the motor controls easily and just feed it commands from a computer. However, for anything that would need fast response times you will need something that can keep up with the data being sent to it. This is especially true in the case of quads, which have a multitude of sensors to stabilize the platform, in addition to responding to outside commands. Arduinos are used for quads, but usually at much higher clock speeds (compared to your typical arduino UNO)

Select as Best AnswerUndo Best Answer

Sorunome (author)2014-01-11

The advantage of the arduino is that, when computing something, you don't need a whole operation system running.

I still got a raspberry pi, because I use the operation system, computer features. So it really depends on what you want to do, if you mostley want to build own circuits and control them i would recommend an arudino.

Select as Best AnswerUndo Best Answer

steveastrouk (author)Sorunome2014-01-11

That all depends on WHAT circuits you are controlling....

Select as Best AnswerUndo Best Answer

Josehf Murchison (author)2014-01-10

you can get Wi Fi and other things for both so it is up to your imagination.

Select as Best AnswerUndo Best Answer