Node.js and Raspberry Pi

xpertlab website development company junagadh
AWS Code Commit
27th July 2020
Xpertlab_goprograminglanguage
Go programming language
30th July 2020

Web design company in junagadh

Raspberry Pi is a small, multi-use computer.

Web design company in junagadh

With Node.js you can do amazing things with your Raspberry Pi.


Web design company in junagadh

What is the Raspberry Pi?

The Raspberry Pi is a small, affordable, and amazingly capable, credit card size computer.

It is developed by the Raspberry Pi Foundation, and it might be the most versatile tech ever created.

Creator Eben Upton’s goal was to create a low-cost device that would improve programming skills and hardware understanding.

Due to the small size and price of the device, it has become the center of a wide range of projects by tinkerers, makers, and electronics enthusiasts.


Raspberry Pi and Node.js

The Raspberry Pi has a row of GPIO (General Purpose input/output) pins, and these can be used to interact in amazing ways with the real world. This tutorial will focus on how to use these with Node.js.


What Do I Need?

For this tutorial you need a Raspberry Pi. In our examples we use a Raspberry Pi 3, but this tutorial should work for most versions.

Hardware needed:

  • Raspberry Pi computer
  • MicroSD memory card (We recommend a class 10 with 16 GB or higher)
  • MicroSD to SD memory card adapter (usually included with the MicroSD card)
  • Micro USB power supply to power the Raspberry Pi (2.5A or greater recommended)
  • WiFi/Ethernet Cable connection for the Raspberry Pi (Not needed for Raspberry Pi 3 as it has built in WiFi)
  • A working computer with internet and SD memory card reader (used to get the OS (Operating System) for the Raspberry Pi onto the memory card). In our tutorial we use a Windows computer for this, but you can use a Mac or Linux computer if you prefer
  • HDMI monitor, USB keyboard (we need these only temporarily for the first boot of the Raspberry Pi)

Features of Raspberry PI Model A

  • The Model A raspberry pi features mainly includes
  • 256 MB SDRAM memory
  • Single 2.0 USB connector
  • Dual Core Video Core IV Multimedia coprocessor
  • HDMI (rev 1.3 & 1.4) Composite RCA (PAL and NTSC) Video Out
  • 3.5 MM Jack, HDMI, Audio Out
  • SD, MMC, SDIO Card slot on board storage
  • Linux Operating system
  • Broadcom BCM2835 SoC full HD multimedia processor
  • 8.6cm*5.4cm*1.5cm dimensions

Features of Raspberry PI Model B

  • 512 MB SDRAM memory
  • Broadcom BCM2835 SoC full high definition  multimedia processor
  • Dual Core Video Core IV Multimedia coprocessor
  • Single 2.0 USB connector
  • HDMI (rev 1.3 and 1.4) Composite RCA (PAL & NTSC) Video Out
  • 3.5 MM Jack, HDMI Audio Out
  • MMC, SD, SDIO Card slot on board storage
  • Linux Operating system
  • Dimensions are 8.6cm*5.4cm*1.7cm
  • On board 10/100 Ethernet RJ45 jack