In: Computer Science
Microcomputers and controllers, including the Raspberry Pi and Arduino, are becoming a big part of the Internet of Things (IoT). The Raspberry Pi is a computer about the size of a deck of cards that can be used in some amazing projects. It is Linux based and is a good platform for Python. For example, the Cyber Wildcats used it to incorporate a temperature sensor into Room PEO-032 of the Peoples Building, New Castle campus, to monitor the room temperature. That's where all the servers are kept for the competition platform and there had been some problems with the A/C unit. The unit senses the temperature via a Python program and reports it to a web site that can be periodically checked off site.
Do some research on the Raspberry Pi, Arduino and the IoT and propose a security or IT oriented idea for a project. See if you can think of something other than a security camera project, for which there is an overabundance. Be sure to include references for the sources you used in your research.
Raspberry Pi
The Raspberry Pi is, effectively, a mini-computer on one board. It comes with a dedicated processor, memory, graphics driver, and inputs and outputs like HDMI. Raspberry Pi boards run a specially designed version of the Linux operating system as well.
Owing to this, Linux software is very easy to install, and with a little effort, you can use it as a media streamer or video game emulator. The Pi does lack internal storage but you can use SD cards for this purpose. This gives you a lot of flexibility to try out different operating systems or updates, especially for debugging purposes.
With the Pi, you can run multiple programs at once and even use the Linux API. Raspberry Pi lets you interact with your programs using a keyboard and mouse, and see what's going on using a monitor.
Raspberry Pi can be set up for access via SSH or transferring files by FTP due to its independent network connectivity. You can even use it as a network bridge.
Arduino
Unlike the Raspberry Pi, Arduino boards are actually micro-controllers rather than 'full' computers. Arduino lacks a full operating system but can run a written code that is interpreted by its firmware.
Because of this, you do lose access to basic tools that an OS would provide but you gain the flexibility of executing code directly with no OS overhead.
Arduino has no API and cannot provide user interactivity as there is no operating system. It basically runs code on 'bare metal'.
Arduino is really better suited as an interface for sensors and other devices. In this capacity its brilliant for hardware projects where you want something to respond to sensor readings or other inputs.
At first glance, it might not seem too impressive but it's actually a very sophisticated system that allows for excellent management of devices. For instance, it is superb for interfacing with other devices and actuators where a full OS would be overkill for relatively simple tasks.
Here's a 'rough and ready' comparison between Raspberry Pi and Arduino.
Arduino | Raspberry Pi | |
Pros |
|
|
Cons |
|
|
So, at the end of the day if your project needs you to interact with a lot of hardware devices Arduino is probably better. If, on the other hand, you need to run a lot of complex software you're probably better off with the Raspberry Pi.
So which one is best for you?
Choosing between Raspberry Pi and Arduino depends entirely on what you need for your project.
Arduino is best suited for tasks that need sensor data to read and reacted to in real-time. Also, Arduino has a low power requirement and has very low maintenance requirements. It is ideal for projects that need to be constantly running with little or no interaction.
Raspberry Pi, on the other hand, should be considered when the task might need a personal computer to work. The Pi simplifies projects when a lot of operations are required to manage. This could be connecting to the internet to read and write data. It could also include jugging media of any kind or connecting to an external display.
Reference :- https://www.digiteum.com/comparing-arduino-raspberry-pi-iot