Quantcast
Viewing all articles
Browse latest Browse all 11063

$5 Microcontrollers: Arduino, Raspberry Pi Zero, Or NodeMCU?


Image may be NSFW.
Clik here to view.
 Microcontrollers: Arduino, Raspberry Pi Zero, Or NodeMCU?

It used to be the case that if you wanted to get a computer, you’d have to remortgage your house to pay for it. Now, you can get one for an Abraham Lincoln . Go figure.

Yes, microcontrollers are computers, and there are three that come in under the $5 price point: The Arduino, the Raspberry Pi Zero, and the NodeMCU. So, what are their strengths? What are their weaknesses? More importantly, which one should you use for your project?

The Arduino Uno: Age Before Beauty

The Arduino Uno is the oldest device on our run-down. It dates back to2005 when it was created as as a teaching tool for students at the Interaction Design Institute Ivrea, in Northern Italy. Since then, it has been improved, modified, and cloned countless times, and spawned a revolution in electronics and creative programming.


Image may be NSFW.
Clik here to view.
 Microcontrollers: Arduino, Raspberry Pi Zero, Or NodeMCU?

If you were to buy an official Arduino from their online store , or from a retailer like Farnell , Adafruit , or Maplin , you can easily expect to pay around $25. The genuine product hasn’t deflated in price as one might have hoped. However, the Arduino is an open-source product and there are manufacturers in China who have created perfect clones which sell for as little as $5 on eBay and AliExpress .

These $5 knock-offs work and act just like the real thing. They use the exact same chips, and are built to the same specifications as the genuine article. The only reason you should ever pay full price is to support the Arduino project.

Probably the biggest advantage of the Arduino is its simplicity. There’s no configuration required beyond physically building the thing you’re making. You don’t have to build and configure a full linux system, as you would with a Raspberry Pi. You just write the code on whatever computer you normally use, compile it, and flash it to the chip.

Another huge advantage of the Arduino is that they are surprisingly fault-tolerant. It’s extremely difficult but by no means impossible to irreparably damage one.

The biggest downside of the Arduino is thatthey’re fundamentally austere. If you want to add functionality like ethernet connectivity or bluetooth, you’ll have to pay extra for a compatible shield . These aren’t cheap, with official shields costing between $20 and $40 on average. But as with the Arduinos themselves, you can save money by buying Chinese knock-offs online.


Image may be NSFW.
Clik here to view.
 Microcontrollers: Arduino, Raspberry Pi Zero, Or NodeMCU?

Another thing to be wary of is that theArduino Uno also uses a slow ATMEGA CPU, and has limited memory and storage. This means that if you’re gathering data like sensorreadings, you’ll have to figure out how to process it at a connected computer.

Probably the best use-case for the Arduino Uno is as a tool for learning electronics , and building simple Internet of Things (IoT) products. While it isn’t the most powerful microcontroller on the market, it’s certainly the most well-understood and well-documented, and there’s an awful lot of tutorials and guides available for it.

You should also consider the other Arduino models , each of which is suited to a slightly different purpose.

The Raspberry Pi Zero: The Free Gift Computer

The Raspberry Pi Zero is essentially the original Raspberry Pi Model A+ , but shrunk to the size of a businesscard. You can buy it from all the usual suspects Farnell, Pimoroni, and AdaFruit for $5, or 4 in the UK.

In fact, when it first came out, the Raspberry Pi Zero was given away as a free cover gift in the 40th issue of the MagPi . How insane is that ? A computer that can run a full version of Linux was just given away like a cheap tube of lipgloss in a teen magazine.


Image may be NSFW.
Clik here to view.
 Microcontrollers: Arduino, Raspberry Pi Zero, Or NodeMCU?

The Zero has all the advantages of the original Raspberry Pi A+. It can run Raspbian the Raspberry Pi compatible variant of Debian comfortably. It allows the user to program it in a variety of programming languages, including (but not limited to) python, Ruby, and javascript (with node.js).

While its single-core 1Ghz CPU and measly 512MB of RAM isn’t enough to browse the Internet smoothly, it can do pretty much everything else you’d use a microcontroller for.

Sadly, theRaspberry Pi falls down in two major areas: Networking and USB connectivity. It has only two micro USB ports, and there’s no Ethernet, Bluetooth, or Wi-Fi to speak of. To add or extend this functionality, you’ll have to buy an adaptor.This will cost less than you think. A MicroUSB to RJ45 network adaptor can be had for just $2.16 on AliExpress , including free shipping.

The Raspberry Pi Zero offers the most processing power out of all the microcontrollers listed. As a result, it’s best used for more CPU intense projects where an Arduino would struggle to cope, such as data processing and visualization.

The NodeMCU: The Arduino Killer

The NodeMCU is an impressive little microcontroller, and offers a lot for its diminutivepricetag.


Image may be NSFW.
Clik here to view.
 Microcontrollers: Arduino, Raspberry Pi Zero, Or NodeMCU?

Unlike the Arduino, which is powered by an 8bit ATMEGA clocked at 16MHz, this is powered by the ESP8266 chipset, which uses a 32bit Tensilica Xtensa LX106 core, clocked at 80MHz. It also includes Wi-Fi, a built-in TCP/IP stack,4 megabytes of onboard storage, 20kB of RAM, and 10 pins of GPIO(General Purpose Input Output).Thesecan be connected tocomponents like motors, sensors, and servos.

Much like the Arduino, there’s very little setup involved. You just write your code, and send it to the device over an USB connection.

Programs for the NodeMCU are written in

Viewing all articles
Browse latest Browse all 11063

Trending Articles