Question

In: Computer Science

Microcomputers and controllers, including the Raspberry Pi and Arduino, are becoming a big part of the...

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.

Solutions

Expert Solution

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
  • Arduino is easier to get started with
  • Best used for real-time applications of hardware, software and IDE is open source
  • You don't need a lot of programming knowledge for basic applications
  • Very easy to extend and has a lot of contributed shields and libraries.
  • Raspberry Pi easily connects to the internet
  • The Pi has the entire Linux software stack available
  • The Raspberry Pi can be programmed using a variety of languages
Cons
  • Not as powerful as the Raspberry Pi
  • Can only be programmed using Arduino or C/C++
  • Connection to the internet is more tricky than the Pi but it is possible. You can pass data using YQL or JSON
  • Hardware access is not real time. If CPU is bogged down hardware interfacing can be delayed
  • Lacks enough power to drive inductive loads
  • Pi lacks an inbuilt analog to digital converter
  • Hardware is not open source

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


Related Solutions

Write a Python code that when the temperature of the CPU in the raspberry pi exceeds...
Write a Python code that when the temperature of the CPU in the raspberry pi exceeds 40 degrees Celsius you receive an email.
The literature review of raspberry pi, also after that write Component that is technically used and...
The literature review of raspberry pi, also after that write Component that is technically used and Drawback of the subject what u choose brief of the subject: A component that is technically used: Drawback:
Design and implement a Fire Alarm IOT System, using the framework of the Raspberry PI device,...
Design and implement a Fire Alarm IOT System, using the framework of the Raspberry PI device, temperature, C02 and CO sensors. •Define the process specification of the system. The system should collect and analyze the sensor data and email alerts when a fire is detected •Define the domain model for this IOT device •Define the Service specifications
Explain what a P, PI and PID controller are and present important features for these controllers....
Explain what a P, PI and PID controller are and present important features for these controllers. Proportional Integral Derivative
Write a C program to blink two LEDs connected to Raspberry pi. One must blink at...
Write a C program to blink two LEDs connected to Raspberry pi. One must blink at a rate of 1 Hz and the other at a rate of 2 HZ.
Explain the computer components in detail for Raspberry Pi 4B (8GB) (i.e. CPU, Memory, and I/O)....
Explain the computer components in detail for Raspberry Pi 4B (8GB) (i.e. CPU, Memory, and I/O). The explanation should include the following information: i. CPU: CPU speed, types of CPU that are supported (if any), Number of CPU, Thread, CPU Cores, Cache, virtual memory, and any other related information). ii. Memory: Maximum physical memory that can be used, Memory speed and capacity. iii. I/O devices: List example I/O devices that are supported.
Writing a statically allocated linked list in ARM assembly (raspberry pi). Step 1: You will statically...
Writing a statically allocated linked list in ARM assembly (raspberry pi). Step 1: You will statically allocate some space for your link list elements. You need to make 5 elements, each elements should have two components, the next pointer first then the value stored. First initialize next pointer to NULL. The value stored at the address will be a string pointer. Step 2: You will then write a function that links the statically allocated linked list elements together. Step 3:...
Waterways Continuing Problem 06 a (Part 3) The section of Waterways that produces controllers for the...
Waterways Continuing Problem 06 a (Part 3) The section of Waterways that produces controllers for the company provided the following information. Sales in units for month of February 4,100 Variable manufacturing cost per unit $11.00 Sales price per unit $46.00 Fixed manufacturing overhead cost (per month for controllers) $83,000 Variable selling and administrative expenses per unit $2.80 Fixed selling and administrative expenses (per month for controllers) $11,990 Using this information for the controllers, determine the contribution margin ratio, the degree...
Waterways Continuing Problem 06 a (Part 3) The section of Waterways that produces controllers for the...
Waterways Continuing Problem 06 a (Part 3) The section of Waterways that produces controllers for the company provided the following information. Sales in units for month of February 4,200 Variable manufacturing cost per unit $10.00 Sales price per unit $43.00 Fixed manufacturing overhead cost (per month for controllers) $83,000 Variable selling and administrative expenses per unit $2.90 Fixed selling and administrative expenses (per month for controllers) $13,250 Using this information for the controllers, determine the contribution margin ratio, the degree...
Waterways Continuing Problem 06 a (Part 3) The section of Waterways that produces controllers for the...
Waterways Continuing Problem 06 a (Part 3) The section of Waterways that produces controllers for the company provided the following information. Sales in units for month of February 3,800 Variable manufacturing cost per unit $9.00 Sales price per unit $41.00 Fixed manufacturing overhead cost (per month for controllers) $83,000 Variable selling and administrative expenses per unit $3.30 Fixed selling and administrative expenses (per month for controllers) $12,200 Using this information for the controllers, determine the contribution margin ratio, the degree...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT