Hello friends, I hope you all are doing well. Today, I am going to share the 5th tutorial of Section-III in our Raspberry Pi Programming Course. In our previous tutorial, we have seen the interfacing of a PIR Sensor with Raspberry Pi 4 . In today's tutorial, we will interface an Ultrasonic sensor with Raspberry Pi and will use Python to perform its calculations. So, let's get started: Components: Here's the list of components, we are going to use in today's project: Raspberry Pi 4 Ultrasonic sensor Male-to-female jumper wires Breadboard 1k ohm resistor 2k ohm resistor What are Ultrasonic Sensors? An Ultrasonic Sensor consists of a transmitter and a receiver, the transmitter emits the ultrasonic wave, which after hitting some object bounces back and receives by the ultrasonic receiver. If t ...
Hello friends, I hope you all are doing well. Welcome to the 11th tutorial of our Raspberry Pi programming course. In the previous chapter, we have seen how to regulate the speed of a Stepper motor with Raspberry Pi 4 . Today, we'll work on the servo motor and will control it with RPi4. So, let's get started: Components Required: We will need the following components to control Servo Motor with Raspberry Pi 4: Raspberry Pi 4. Servo Motor. Male-to-female jumper wires. What is a servo motor? A Servo Motor is a simple DC motor with a position feedback Control System and a gearbox. A Servo Motor's primary advantage is its ability to maintain its shaft's angular position at any desired angle i.e. if we want to keep our shaft at 67 degrees, we can easily achieve that with a servo motor. In most ...
Hello friends, I hope you all are having fun. Welcome to the 10th tutorial of our Raspberry Pi programming course. In the last chapter, PWM was utilized to regulate the DC motor's speed and direction with a motor driver L293D. In this chapter, we'll advance our skills with PWM and use it to control a stepper motor using the same motor driver L293D. Here's the video demonstration of this project: Let's get started: Components Required Here's the list of components, which we will use to control the speed and direction of Raspberry Pi 4: Raspberry Pi 4. Stepper Motor. Motor Driver IC(L293D). Jumper wires. 9V Battery. Breadboard. The Raspberry Pi with desktop is required for this project. An SSH connection can be made, or the RPi can be shown on an LCD screen with a keyboard, and mouse. (We di ...
Hello friends, I hope you all are doing well. Welcome to the 9th tutorial of our Raspberry Pi programming course. In the last chapter, we generated a PWM signal from our Raspberry Pi to control the brightness of an LED. We also studied different functions used in Python to perform PWM. In this chapter, we'll get a bit advanced with PWM and use it to control the speed and direction of a DC motor with the help of a motor driver IC. To control the speed & direction of the DC Motor, we will: Design a Circuit Diagram. Write Python code. Components Required We will use the following components to control the DC motor speed: Raspberry Pi 4. DC Motor. Motor driver IC(L293D). Breadboard. Jumper wires. Controlling DC Motor speed with Raspberry Pi 4 In order to control the DC motor with any microcont ...
Hello friends, I hope you all are doing great. It's the 8th tutorial in our Raspberry Pi programming course. In the previous lectures, we interfaced LCD 16x2 and Keypad 4x4 with Raspberry Pi 4 . In this chapter, we are not going to interface any external module with Pi, instead, we'll create a PWM signal in the raspberry pi using Python. Let's get started: Components Required We are going to use the below components in today's PWM project: Raspberry Pi 4. LED. A resistor of 330 ohms. Breadboard. Jumper wires. Before going forward, let's first understand what is PWM: What is PWM? In PWM(Pulse Width Modulation) , we simply turn on and off our power supply at regular intervals and thus reduce the average power of the signal. We have shared a detailed tutorial on Introduction to PWM(Pulse Widt ...
Hello readers, I hope you all are doing great. In our previous tutorial, we discussed the installation procedure of Visual Studio Code for programming Raspberry Pi Pico. We have already mentioned in our previous tutorials that RP2040 or Raspberry Pi Pico supports multiple programming languages like C/C++, Circuit python, MicroPython cross-platform development environments. Raspberry Pi Pico module consists of a built-in UF2 bootloader enabling programs to be loaded by drag and drop and floating-point routines are baked into the chip to achieve ultra-fast performance. There are multiple development environments to program a Raspberry Pi Pico board like Visual Studio Code, Thonny Python IDE, Arduino IDE etc. So, in this tutorial, we will learn how to install Thonny Python IDE to program the ...
Hi Guys! Glad to have you on board. Thank you for clicking this read. In this post today, I’ll walk you through the Types of Internet of Things (IoT). IoT has been around for a while and has started making the headlines over the past couple of years. Some people experience IoT in their everyday life but are not aware of what it actually is. When physical objects “things” interact with the digital world, IoT is born. In simple words, it’s the network of connected devices integrated with sensors that work to exchange and share data over the internet. It is a rapidly growing technology with more than 18 billion connected IoT devices today and with the inception and boost of 5G technology this figure is expected to touch 125 billion by 2030. Experts say we may witness the stage when everything ...
This is the third tutorial in our Raspberry Pi programming course. In the previous chapter, we learned how to install Raspbian on our Raspberry Pi mini-computer. In this chapter, we'll learn how to use a VNC server to remotely control and see its desktop from our computer. What is VNC? Computing over a network is known as "virtual network computing," or "VNC." To remotely control another computer, you can use this screen-sharing technology, which works on all major operating systems. As a result, a remote user can interact with a computer's display (screen, keyboard, and mouse) as if they were sitting right in front of it. VNC takes advantage of the client/server concept. Rather than installing a VNC server on the distant device, users will instead use a VNC viewer or client on the device ...
Welcome to the second chapter of our beginner's course on the Raspberry Pi. In the previous tutorial, we learned about the components of this little computer. We also considered its uses, as well as the most important advantages and disadvantages. Let's get started with setting up our little computer to run the Raspbian operating system in this lesson. How to Install Raspbian using an imager The next step is to make sure you have your board and SD card. The Raspberry Pi has an operating system because it is a full computer. For those who prefer a GUI desktop experience, a headless mode is still an option. Most people use Raspbian, a Debian-based operating system tailored specifically for the Raspberry Pi. However, there are other options. An excellent starting point is this operating syste ...
Hello readers, I hope you all are doing great. This is the second tutorial of the Raspberry Pi programming series. In our previous tutorial, we discussed the basic features and hardware architecture of Raspberry Pi Pico. In this tutorial, we will discuss the various available development environments for programming the Raspberry Pi Pico. Later, in this tutorial, we will also discuss the installation of Visual Studio Code for Pi Pico programming. Fig. Raspberry Pi Pico RP2040 supports multiple programming languages like C/C++, Circuit python, and MicroPython cross-platform development environments. Raspberry Pi Pico module consists of a built-in UF2 bootloader enabling programs to be loaded by drag and drop and floating point routines are baked into the chip to achieve ultra-fast performan ...