06-03-2021, 09:32 AM
Could anyone please give a short run down on the differences between these? I have a feeling the Arduino has taken over from the Pi but that might be wrong.
thanks Gary
thanks Gary
Arduino and Raspberry Pi
|
06-03-2021, 09:32 AM
Could anyone please give a short run down on the differences between these? I have a feeling the Arduino has taken over from the Pi but that might be wrong.
thanks Gary
06-03-2021, 10:02 AM
Nope. Chalk vs. cheese
The Arduino is a small c++ based normally 8-bit, single core, ATmega-based 20MHz microprocessor based system that is great for simple process control and similar tasks. There is no operating system (development is done on another computer and the code downloaded to the Arduino) and only very simple peripherals. It was designed to introduce non-engineering students to microprocessor concepts at an Italian university and has since become a hobbyist favourite. The development environment is crude by modern standards but adaquate for simple tasks. The Pi series are completely different beasts, generally running a version of full Debian Linux. They are 32 or 64 bit, with the 3 & 4 models being quad core ARM-based and running at about 1.4GHz with a full complement of peripherals, e.g. HDMI (dual in the case of the Pi 4), uSD cards,Ethernet, Bluetooth & WiFi. Pis can be natively programmed in pretty much any language, e.g. micropython, c, c++, bash etc with a massive choice if development environments, e.g Eclipse etc. and as it's running a full operating system you can add proper stuff like version control (Git) and anything you want. A pi 4 is sufficiently capable to be a desktop PC replacement. An Arduino might run just a keyboard. So, in one corner a small, bare-bones microcontroller; in the other, a full-blown capable computer. Chalk. Cheese.
sıʌǝɹq ɐʇıʌ `ɐƃuol sɹɐ
ʞɔıu
06-03-2021, 06:12 PM
(This post was last modified: 06-03-2021, 06:16 PM by ppppenguin.)
In very simple terms.
Arduino is a simple and low cost range of microcontrollers. Widely used for all sorts of simple tasks. Software is developed on a PC etc and transferred to the Arduino. R-Pi is a fully fledged computer. People have used them to do the job of a desktop PC though that's not their main purpose. They are cheap enough to use in all sorts of applications where it wasn't feasible to use that amount of computer power before. Cheap enough that it doesn't matter if you're using a fraction of their capability. Software can be developed either on the R-Pi or a PC etc. There are also many other single board microcomputers and microcontrollers available. Arduino and R-Pi are the best known and most widely used. Both also have lots of accessories available, so if you want to do anything from temperature monitoring to internet radio players there's likely to be ready built hardware to support it. Plenty of jobs could be done with either. For example in the BECG we're contemplating a temperature and voltage monitoring system for our Vivat truck. I'm sure it could be done with Arduino or R-Pi. I suspect the Pi would be better at log keeping and communicating results back to a PC etc.
www.borinsky.co.uk Jeffrey Borinsky www.becg.tv
06-03-2021, 06:20 PM
The Pi4b is undoubtedly a proficient device, I've no experience with the Arduino so cannot comment. The 4b is avaliable with either 2,4 or 8gb of ram, can now boot from USB3 and with a SSD is exceptionally fast. I recently sold two Pi4b and intend to purchase the 400 desktop version very soon.
Cheers.
Trevor MM0KJJ. Member of, RSGB, GQRP, WACRAL, K&LARC.
07-03-2021, 09:13 AM
Very good replies and much appreciated.
I do intend to have a go at using them eventually. when time and other projects run out. Gary
07-03-2021, 12:31 PM
The microcontrollers used on the Arduino boards can be found controlling some washing machines and dishwashers.
As far as I remember Beko use them in some of there washing machines. In the washing machine the microcontroller takes the place of the mechanical timer which used to be in them. But also does some other tasks such as motor speed control, Measuring the amount and type of cloths in the drum as well as providing a user interface. Frank
07-03-2021, 01:08 PM
Microcontroller chips have been around for many years. For example the Intel 8051 and its derivatives used to be very popular. I've designed boards from scatch using them. More recently the PIC series have been incredibly popular. What Arduino have done is put microcontroller chips on to easy-to-use boards. A whole ecosystem of accessories and software has grown up around them. I was surprised to read about the range of processors they have used, including x86:
https://en.wikipedia.org/wiki/Arduino The important point about Arduino, Pi and others is that they put significant computing power into the hands of anyone who wants to have a go. At low cost. Without the hassle of designing and building up PCBs. With large ecosystems of hardware accessories and libraries of software.
www.borinsky.co.uk Jeffrey Borinsky www.becg.tv
I have never used a RaspberryPi, although they look very useful. It's more a case of time and limiting my diversion of such. To some extent I use a laptop for which I would use a Pi. The Arduino, on the other hand, I have quite a few. As mentioned, the two are very different. I find the Arduino very practical as they are cheap, come in several forms, from tiny boards to the (still small) development size, and are easy to program with lots of online backup. As dozens of different additional modules for interfacing are readily available and cheap a small project can be put together easily. It is very easy to test software on your development board and then transfer a program to a smaller embedded module. The programming software is pretty foolproof and there is a lot of online help available.
Many of my applications are just playing / testing but the most useful application has been a small signal generator for testing at fixed frequencies over Medium Wave. I used an Arduino for fixed frequency generation and followed this by a switched channel filter for waveform purity. This is a rod pentode so a hybrid circuit, but works very well with good enough frequency accuracy (most Arduinos use a resonator rather than crystal for oscillator but I have not examined absolute precision). I was playing a bit using a pentode but it's my sense of humour to play such games lol. Very simple to implement all the same. I do also have a multi channel voltmeter using an Arduino with it's A/D and additional high impedance op amp inputs (I designed for 10 MOhm) - 10 channel so I used an Arduino Mega with it's higher number of A/D channels. The boards have slight variation but board is easily selectable in the programming software and, although differences can be slightly confusing (mainly slight pin differences) they are easily determined. In this case the display is via my laptop, which the interfacing is very easy to test with the programming software. Good PC display was a bit harder but I suspect applications are out there rather than writing my own as I did. Arduinos have multi channel A/D input (as well as similar digital) so are very useful but obviously linked to the 16MHz clock so limited to high audio for reasonable precision and low RF lesser so. My suggestion would be to buy one as they can be obtained for a few pounds including the USB cable. The programming software is freely available online, and you could download and check it out even without the hardware. At the very least a new toy to fiddle with and very useful at times. The RaspberryPi is obviously more expensive so more of a venture but, although I cannot compare them honestly as I have never used a Pi, I suggest you start with the Arduino to get a feel for their points with little outlay. It's well worth having a look around. There are projects for most everything. Tracy |
Users browsing this thread: |
1 Guest(s) |