Raspberry Pi is a credit-card sized, single-board computer developed by the Raspberry Pi Foundation, a UK-based charity that works to ensure global access of computing and digital technology. It was initially developed as a low-cost microcomputer to impart digital skills to kids. It comes without any power supply or peripherals as it’s meant to be programmed…
Newark offers affordable Raspberry Pi 5 2GB model
Developers and enthusiasts can now purchase the Raspberry Pi 5 2GB model from Newark for approximately $50 USD. This cost-effective single-board computer (SBC) offers a practical solution for hobbyists and Raspberry Pi enthusiasts worldwide, making it an accessible option for various applications. The Raspberry Pi 5 2GB model, introduced as part of the Raspberry Pi…
How to use the Raspberry Pi camera with OpenCV
OpenCV is a popular cross-platform framework for image processing and real-time computer vision. The software framework is useful for efficiently developing real-time computer vision applications that would be extremely time-consuming to create from scratch. The power of OpenCV’s framework is that it runs seamlessly on embedded platforms like microcomputers. This means developing and running embedded…
How do you list Raspberry Pi’s users?
Raspberry Pi (RPi) is a popular microcomputer used for embedded systems design, hosting high-level applications that run over an operating system. Many of these applications have multiple active users with different permissions and access to system resources. As a result, there may be situations when it’s important to know what users are sharing the device.…
How to build a Raspberry Pi VPN server
Cyber security is a growing concern. As homes and offices are more connected than ever, the risk of cyber attacks, identity theft, and hacking has increased significantly. A network has several smart devices connected to one another and the internet. In the case of a cyber-attack, each connected device is at risk. One effective way…
How to install OpenCV 4.5 & QT5 on Raspberry Pi & NVIDIA Jetson Nano for computer vision
OpenCV is one of the best computer vision tools available out there. It is the most popular machine vision library among developers and makers. Due to being open-source, the library has enjoyed vast community support and evolved as one of the most mature software packages. OpenCV itself stands for “Open-source Computer Vision.” The latest version…
How to use Raspberry Pi camera module with Python
One of the main attractions of the Raspberry Pi platform is its camera module. At present, Raspberry Pi Foundation offers three camera modules: • Camera Module 2 • Camera Module 2 NoIR • Raspberry Pi High-Quality Camera The camera module 2 is a replacement for the original camera module in April 2016. The V2 module…
RPi Python Programming 20: Interfacing the SIM900A GSM-GPRS modem and hacking earphones
In the previous tutorial, we learned how to use Raspberry Pi’s (RPi) serial hardware port for serial data communication over the universal asynchronous receiver/transmitter (UART) protocol. Most of the embedded devices have the UART port for exchanging console data. In fact, most of the sensor modules that are designed for peer communication with controllers/computers have the…
RPi Python Programming 21: The SIM900A AT commands
In the previous tutorial, we covered how to interface a SIM900A GSM-GPRS modem with Raspberry Pi, Arduino, and desktop computers. SIM900A can communicate data with the controlling device over the universal asynchronous receiver/transmitter (UART), I2C, or SPI protocol. The modem is a piece of mobile equipment with an IMEI number that’s capable of all cellular…
RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
In the previous tutorial, we covered the AT commands that are supported by a SIM900 GSM-GPRS modem. We’ve already discussed how to interface a SIM900A GSM-GPRS modem with Raspberry Pi, Arduino, as well as other microcontrollers and desktop computers. Now, it’s time to use this modem to make and receive calls, and send and receive…
RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
In the previous tutorial, we learned how to interface a SIM900 GSM-GPRS modem with Raspberry Pi (RPi) and a desktop computer. We employed serial UART communication to “talk” with the SIM900 modem. By using bidirectional data communication with the modem via a standard UART interface, we were able to make/receive calls and send/receive SMS messages on RPi and…
RPi Python Programming 24: I2C explained
In the previous tutorial, we covered how to interface a NEO-6M GPS module with Raspberry Pi (RPi). The module communicates with RPi over the universal asynchronous receiver/transmitter or UART protocol. The UART is the most common point-to-point data communication protocol. But, it’s not the only serial communication protocol. In embedded electronics, I2C and SPI protocols are…
RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
In the previous tutorial, we discussed the basics of the I2C protocol. In most of the embedded devices, either UART otherwise I2C is used for console messages. In this tutorial, we will discuss serial communication in Raspberry Pi using the I2C protocol. I2C in Raspberry Pi For serial communication over the I2C protocol, the Broadcom…
Using SMTP in the IoT
Controlling IoT devices requires specific apps and settings. But you can also control them using emails since emailing is possible using SMTP (Simple Mail Transfer Protocol), which is on the TCP/IP stack. Therefore, the devices that support TCP/IP stack can use emails as command and control. So, for an application purpose, we will be making…
Raspberry Pi-based digital door peekhole
A peephole, spyhole, or peekhole is a small opening through the door that allows viewing from inside to outside. Such door holes allow seeing outside the door without opening it. Usually, these door holes have a fisheye lens to have a wider look of the outside. In this project, we have developed a digital version…
How to configure Scratch GPIO- (Part 1/12)
Scratch is a programming tool for creating embedded games,stories and animations without using any written codings, rather using visually organized syntax which is in blocks with a drag-and-drop interface. One can use these blocks according to one’s requirement, scratch’s control of hardware is not only limited to the external inputs such as the keyboard and mouse.This article explains how to configure Scratch to extend its power to access GPIO(General Purpose Input and Output) of the Raspberry Pi.
Raspberry Pi to Light a Led using Voice Control- (Part 2/12)
Now voice control is not only limited to high end devices such as smart phones or iPhones. The Raspberry Pi, which is an open source hardware and completely customizable offers you the same. Plus, it’s cheap! You can customize it to play music, open gmail or maybe tell you some jokes.Here is a simple yet interesting example on how to customize your Raspberry Pi to light a led using voice control. In this tutorial we will learn how to install Voice Command, and making the configuration to turn a Led on and off.
How to Connect Raspberry Pi to WiFi- (Part 3/12)
This article is to make the procedure of setting up the WiFi. The Raspberry Pi is connected to Windows PC through Ethernet cable and the GUI is obtained using a VNC server. Although Raspberry Pi Model B comes with 100Mbps wired Ethernet, it is also essential to connect WiFi.The best arrangement is to purchase a cheap USB WiFi connector and utilize one of the USB ports to get to our WiFi home router. Setting up a Raspberry Pi utilizes the Raspbian OS to get to your remote system is simple – This article will guide you through the procedure.
Setup Apache Web Server- (Part 4/12)
This article is to provide step by step instructions for making Raspberry Pi as a web server where we can publish our web pages over local network. Apache is a prevalent web server application you can introduce on the Raspberry Pi to permit it to serve pages. All alone, Apache can serve HTML documents over HTTP, and with extra modules can serve element website pages utilizing scripting tools, for example, PHP. The fundamental services which are required to turn your Raspberry Pi into a web server are, Apache (the web server itself), PHP (scripting language).
Transferring Files from a Windows PC to Raspberry Pi- (Part 5/12)
This article is to make the process of transferring files from a Windows PC to Raspberry Pi easier. The Raspberry Pi is connected to a Windows PC through Ethernet cable and the GUI is obtained using a VNC server. Sharing files between Raspberry Pi and Windows is often very useful for Raspberry Pi users. Whether we need to transfer media files to the Raspberry Pi or want to share some software packages. This article discusses how to enable file sharing for a folder on the Raspberry Pi running the Raspbian OS.Microsoft developed the protocol called Common Internet File System (CIFS) for transfer of files between windows machines. The most popular implementation of CIFS in LINUX system is known as Samba and it allows Raspberry Pi to act as a CIFS file server, which allows a Windows PC to mount a folder on a Raspberry Pi and then allowing to modify(copy, delete, read and write) the files on it.