Saturday 27 June 2020

Arduino vs Raspberry Pi! Apa perbedaannya?

Hello,here to learn something new well to keep those knowledge gears greased remember to subscribe and hit the notification button to get notified when a pop and fresh video is ready for your consumption. In the history of nerd debates you have classics like Windows vs Mac, Edison vs Tesla, AMD vs. Intel and now Arduino vs Raspberry Pi .


Which one is superior which one should you get let's find out why is it that these two frenemies are always being compared to one another probably because they're about the same size you can control electronic components with them and they're both very popular amongst the tinkering community but they couldn't be more different it's like comparing a calculator to a laptop here's why let's look at the Arduino this is the device you want if all you want to do is control electronic components and nothing else you can add motors light sensors and even wireless and Bluetooth modules to it making it the perfect platform for building robots the heart of the Arduino is this little chip right here this is known as a microcontroller microcontrollers are chips that were created by Texas Instruments the same people that made it big on developing calculators so comparing this to a calculator really isn't that far off these microcontrollers have basically everything they need to store run and execute programs right within the chip itself and they don't require much power to run you'll often see them powered by 9-volt batteries our dueƱos come in all different shapes and sizes so no matter what size project you have there's most likely an Arduino out there for it they also have options for easily attaching pre-made peripherals called shields these sit on top of the Arduino like so and you can use them to easily add Bluetooth cellular Ethernet motor controls LCDs and tons of other components even though microcontrollers are mostly self-contained you still have to connect it to a computer in order to program it but once you've uploaded your code to the microcontroller could then disconnect it from the computer and let it run as a standalone device the code it uses a similar to the c-sharp programming language but there are a few third-party options out there for programming it using Python or blockly but this arduino software that it's running is the primary way to program the microcontroller alright raspberry pi come on down it's your time in the hot seat okay unlike the Arduino and it's do-it-all microcontroller the Raspberry Pi sports a microprocessor which requires assistance from separate chips to be able to store run and execute code so if you're familiar with the motherboard of the computer the microprocessor is the processor the heart of the computer and then you have the RAM your graphics controller Ethernet controller and your hard drive and all these other separate components that are required for the computer to run so if you shrink all that down to a single board you've got yourself a Raspberry Pi so being an entire computer itself you can see why it's difficult to compare it to an Arduino the PI has built-in USB graphics wireless Bluetooth and audio and it runs the Linux operating system so you can literally use it like you use any other computer but because of that it also requires more power than the Arduino to run and the added layers of chips and software not only make it a lot more complex than the Arduino but also make it more complex to operate so why then does it get compared so much to the Arduino it's because of these these are known as general purpose input output pins and like the Arduino they can be used to control other electronic components while they aren't as extensive as the pins enlarge we know they can still be used to do a lot of the same things like controlling lights motors sensors and LCDs to program these GPIO pins instead of connecting it to a separate computer like you would have to do with an Arduino you can program them directly from the PI since it is itself a computer Python is the primary programming language for programming these pins but then you can also use some of the more popular that are out there similar to the Arduino shields the PI's have something called hats that sit on top of the GPIO pins and allow you to easily add pre-made components PI's have three different sizes to choose from as well so that you can get the right one that fits your project size enough with the details already just tell me which one I should buy well since they're completely different tools it depends on what type of project you're doing you wouldn't want to buy an entire computer just to solve a math problem and you wouldn't want to buy a calculator to watch youtube videos if all you want to do is work with sensors and robotics than buying a Raspberry Pi would be overkill an hour do we know would be a better choice for that however if you wanted to add elements of a computer to your robotics or sensory projects like adding a webcam USB storage or making it a webserver then a Raspberry Pi might be better look at it this way if you wanted to build a Bluetooth controlled toy car and use an Arduino if you wanted to build a Bluetooth controlled toy car with a webcam that livestreams to twitch get a Raspberry Pi here's my recommendation if you're a beginner just getting started tinkering I recommend going with Arduino it's designed for beginners and it's simple to use once you're comfortable with that you can move on to the Raspberry Pi and add that level of operating system and software difficulty that's it for this chapter of the fill'd guide that's one more tinkering tool to add to your toolbox want to suggest a guide head on over to demphasize.com slash ideas to submit your idea if you want more tinkering videos you can click here or please be kind enough to like subscribe or comment if you made it this far here's your reward the very first domain name ever registered was w WM bollocks comm and it was registered on March 15 1985

No comments:

Post a Comment