Introducing Arduino - a simple Raspberry Pi alternative
Posted on 13 May 2013 at 10:30
The Raspberry Pi isn’t the only cheap machine for experimenting with electronics. Gareth Halfacree talks you through the little Arduino
The Arduino, originally launched as a project to make it simpler to teach electronics in schools, has an illustrious history: from its humble beginnings as a fork of the Wiring software library, the affordable microcontroller has been shipped worldwide in the hundreds of thousands and inspired a variety of projects and spin-offs along the way.
At its heart, the Arduino hardware is simple: a microcontroller from Atmel is connected to a USB interface and its various features are brought out to easily accessible pins that provide input and output capabilities. Using these pins, an Arduino can interface with a range of external components, from simple switches to temperature sensors, LEDs, LCDs, GPS receivers, SD cards and even TV sets.
The power of the Arduino platform is dwarfed, however, by the aims of the project itself. Every Arduino design, from the compact Arduino Nano to the latest Arduino Leonardo, is released under an open-source licence, along with all the software and firmware required to make it work. As a result, the market is filled with Arduino compatibles. While some, inevitably, are Chinese knockoffs, many, like the ArduPilot autopilot system for unmanned vehicles, bring their own twist to the concept.
With an Arduino, it’s possible to get started in embedded electronics design quickly and easily, with or without prior experience in electronics or programming. There are, however, a few things to learn about the world of microcontrollers first.
Microcomputers vs microcontrollers
A microcontroller, such as an Arduino, shouldn’t be confused with a microcomputer, such as the Raspberry Pi. Although both include the same basic components – a processor, memory and some way of receiving input and providing output – they have vastly different capabilities. A Raspberry Pi runs at 700MHz and has 512MB of RAM; an Arduino, by contrast, runs at 16MHz and has only 2.5KB of RAM. The Raspberry Pi runs Linux, BSD or RISC OS; the Arduino has no operating system except that which you program for it.
A microcontroller such as an Arduino, however, is vastly more suited to embedded projects: it includes analogue-to-digital convertor (ADC) capabilities as standard, outputs pulse-width modulation (PWM) signals, and runs real-time code – a requirement for many sensing and control applications – while its low power draw enables hours of use from a single 9V battery. Prior to the Raspberry Pi, price was also a key point: a typical microcomputer could cost upwards of £100, while an Arduino Leonardo costs around £19. With the remarkable Raspberry Pi available for £30, that disparity has been reduced, but an Arduino remains the cheaper option for the budding electronics engineer.
There’s no need to choose between the two, however: an Arduino can be connected to the USB port of a microcomputer such as the Raspberry Pi, providing the best of both worlds in a surprisingly affordable package.
Picking an Arduino
The very flexibility of the Arduino project can be challenging when it comes to getting started. With so many different models on the market, both official and third-party, it can be difficult to decide which best suits a project.
The obvious starting point is the Arduino Uno, the best supported of the official Arduinos. This model forms the basis of most starter kits, and offers a great way to get involved in Arduino development. However, it’s well worth investigating the Arduino Leonardo as an alternative. It’s slightly cheaper than the Uno, but nonetheless includes more advanced functionality, including the ability to act as a USB keyboard or mouse – something we’ll make use of later.
Picaxe is similar to Arduino and well worth a look
By misellers on 14 May 2013
Best of both worlds?
It is great to see physical computing making a comeback - not everything can be virtual!
Something else worth looking at is the amazing Cypress PSOC which has programmable analog and digital circuitry as well as an ARM processor. There is an Arduino compatable board called 'Freesoc' for these.
We live in interesting times!
By JohnAHind on 14 May 2013
For more details about purchasing this feature and/or images for editorial usage, please contact Jasmine Samra on firstname.lastname@example.org
- What is Google Inbox?
- How to get the Windows 10 Technical Preview, plus release date, features and latest news
- Nexus 6 release date, specs and price: when will the Nexus 6 go on sale in the UK?
- Lenovo and Ashton Kutcher launch Yoga Tablet 2 Pro, Yoga Tablet 2 and Yoga 3 Pro
- Lenovo Yoga event live stream: watch Ashton Kutcher's tablet launch live
- HTC shows off Desire Eye selfie phone and periscope-like camera
- Xim: the slideshow app to get excited about
- Adobe has more apps for iOS, but none for Android
- How to download and install Windows 10 Technical Preview
- iPhone 6 Plus "less likely to bend than HTC One"
- Google Glass: mugger bait, pub problem and other lessons learned from two dangerous weeks
- Twitter, please don't fiddle with my feed
- How Satya Nadella can get some pay-raise karma
- Windows 10: a step back to go forward
- Michael Dell: Cloud infrastructure is the roads, bridges and highways of the 21st century
- How to check your identity hasn’t been sold to the hackers
- Tim Cook: this is how much TV has changed since the 70s
- Westminster wins the .London battle
- 20 years of PC Pro: from deep pan pizza to virtualisation
- Five reasons why the Apple Watch leaves me cold