Engineering Blog

Learn it. Build it. Simulate it.

2,781 step-by-step tutorials and projects on Arduino, ESP32, Raspberry Pi and Proteus.

2781 articles found.

Introduction to Matrix in MATLAB

matrix matlab, matlab matrix, matrices in matlab, matlab matrices, what is matrix

Hello, learners welcome to The Engineering Projects. We are working on MATLAB, and in this tutorial, you are going to learn a lot about matrices in MATLAB. We are going to learn them from scratch, but we will avoid unnecessary details about the topic. So, without wasting time, have a look at the topics that you will learn in detail. In this world of technology, the use of data is everywhere, and therefore, we can say there is a need for arrays in every field. You will find the reason soon. But before this, look at the introduction of an array. An array is a simple data structure that contains a collection of data presented in contiguous memory locations. So, the term “contiguous” used in the definition tells us that the data is in a continuous format, so we are not required to search here and there because the data is in a structured format. Moreover, arrays are of many kinds, such as In different types of cases, the suitable array is picked up so that we may get the best result with limited memory occupancy. With this type of foundation concept, we can now move forward toward our main topic, which is matrices. In real-life applications and in higher studies, matrices are used in plenty in different forms, and therefore, we have decided to talk about them from a very basic level since it is important to understand the key features of the topics we are studying. Moreover, matrices are introduced in early classes, and it is important to refresh the basics in our minds so that ...

Ramp Response of an LTI System in MATLAB

Ramp Response of an LTI system, Ramp response in matlab, matlab ramp response, ramp response of lti in matlab

Hello readers, Welcome to another tutorial about the signal and system. In this lecture, you are going to read details about the ramp response of a signal. In the past lectures, we have been dealing with different types of responses of LTI systems, and therefore, we know that linear invariant systems, or LTI systems, are those which follow the rules of linearity and are also time-invariant. So, at present, our focus is to examine what happens when the ramp signals are fed into the LTI system and which type of output signal we receive. Here is a glimpse at today’s topic that we will learn deeply. We all know that a signal is a function of one or more variables that are independent and contain some information in them. When talking about ramp signals, we get the following definition: “A ramp signal is the one that always has its initial condition at 𝑡 = 0, and with time, this signal increases exponentially. Therefore, it is linear in its behavior with time.“ So, when representing these with the help of graphs, we get a smooth result all the time instead of any abrupt change in the pictorial representation. As with other types of signals, ramp signals can also be described in two ways: When the ramp signal is in the form of continuous values, we represent them as: r(t)= { t for t=>0 } and {0 for t<0} Similarly, the same condition in the discrete-time format is described as r(n)= { n for n=>0 } and {0 for n<0} Let us clarify the meaning of the statements given above. In both ...

Step Response of an LTI System in MATLAB

Step Response of an LTI system, Step response in matlab, matlab Step response, Step response of lti in matlab

Hey readers, welcome to another interesting lecture of this series in which we are studying signals and systems. In the present lectures, we are learning the details about the responses of LTI systems, and today, you are going to learn the step response. We also talked about the impulse response and frequency response, and therefore, this lecture will be easy for you to understand because it is, somehow, related to the impulse response. If you are new to this concept, do not worry because there will be a revision of important points side by side. Have a look at the list of today’s concepts: We are going to learn each of them in detail so that if you know any of these already, you may have a revision about the topic. We all understand that a system is something that receives input at one end and produces output at the other end after performing specific operations on the input. We define the LTI system as follows when discussing it: The term "linear time-invariant system," or "LTI system," refers to a system that simultaneously possesses both linearity and the time-invariant property. So, keeping this in mind, we are going to discuss the whole concept of a step response in the LTI system. Refresh the definition of convolution in your mind so that it says convolution is the process in which two signals are overlapped in such a way that they form a third signal. So, keeping in mind the above image, we can use this concept to define the step response of the LTI system. First of ...

Frequency Response of an LTI System in MATLAB

Frequency Response of LTI System, LTI frequency response, frequency LTI, LTI frequency, LTI freqency response in matlab, matlab LTI, LTI in MATLAB

Hello learners, Welcome to another tutorial on signals and systems. We are learning about the responses of the signals. We all have experience in situations where the change in the frequency of a system, such as radios or control systems, results in a change in the working or result of that system. So we have the idea that frequencies play an important role in different types of systems. In the previous lecture, we saw the impulse response of the system. Our mission today is to learn about the frequency response of the LTI system. We will learn all the basic information about the topic and will revise some important points as well. To do this, have a look at today’s concepts: We all know that a system is something that has input at one end and, after certain procedures on the input, the output is obtained from the other end. When talking about the LTI system, we define it as: “The linear time-invariant system, also known as an LTI system, is one that possesses both linearity and the time-invariant property simultaneously." Now, to make a solid foundation, let's recall that a signal is represented in the form of a wave, and all the waves are made of three basic quantities: The time period of the wave is the inverse of frequency, and in this way, if we know the magnitude (amplitude is used interchangeably), frequency, and phases, we can form a wave or signal. We are using discrete-time signals to learn the frequency response of the LTI system. The frequency response is the ...

Responses of Discrete Time Signals in MATLAB

Responses of Discrete Time Signals in MATLAB, discrete time signals in matlab, matlab discrete time signal

Hello learners, welcome to another topic of signals and systems. We hope you are having a reproductive day and to add more information in the simplest way to your day, we are discussing the responses in discrete-time signals. If you do not get the idea of the topic at the moment, do not worry because we are going to learn it in detail and you are going to enjoy it because we are making interesting patterns in MATLAB as the practical implementation of the topics. Have a look at the points that we are making clear today. As we have learned so far in this series, there are two types of signals based on the shape of the signal we obtain, and these are The focus of our topic is discrete-time signals in which the points of the signals are not connected with each other, but we get a line for each point in the graph, and in this way, we get a non-continuous wave. There are different types of operations that can be performed on discrete-time signals to get useful results from them. The types of operations that we are going to discuss on discrete-time signals are Both of them are simple yet different from each other, and we are going to discuss all the necessary details about the impulse response in the next section. But to make a solid foundation, let us first define the LTI system. We have read about the types of systems at the beginning of this course, and we know that: “The LTI system, or the linear time-invariant system, is those which have both characteristics at the same time, ...

Properties of Fourier Transform in MATLAB

properties of fourier transform, fourier transform properties, what is fourier transform

Hey, pupils welcome to the next session about the Fourier transform. Till now, we have learned about the basics of Fourier transform. It is always better to understand all the properties of a mathematical tool to understand its workings and characteristics. You will observe that most of its properties are similar to the topics that we have discussed before, and the reason is, that all of them are transforms, and the core objective of these transforms is the same. We have learned about the simple and easy discussion of the Fourier Transform, but when dealing with complex problems, it involves the usage of different properties so that we do not have to repeat the calculations all the time to get the required results. Have a look at what you are going to learn today: So let’s start with the properties of this transform. First of all, the Fourier transform is linear. It means if we have two expressions of the Fourier transform that are denoted by G(t) and H(t) then combining them with the help of mathematical operations such as multiplication or addition results in an expression that is also linear. It is an attractive property of the Fourier transform that says when a discrete-time signal is transformed into the frequency domain, then it can be regenerated into its time domain form by multiplying it with a negative factor, but in this way, we will get the reverse of the original signal. The modulation of the Fourier transform occurs only when both the signals, that are to be ...

Fourier Transform in MATLAB

Basics of fourier Transform in Signal and Systems with MATLAB, fourier transfrom in matlab, matlab fourier transform, fourier transform matlab, fourier transform in signal and systems

Hey fellows, Welcome to another lecture in the signal and systems series in which we are moving towards another transform. Till now, we have studied the Laplace and z transform and we, therefore, know the basic purpose of transforms, that is, to convert the signal from one domain to another. In today's lecture, we will be discussing the Fourier Transform, and you will enjoy its information because now we have a clearer idea of what we are doing and what the purpose of this transformation of a signal is. Here are the key points that we are going to consider: Just like the Laplace transform, the Fourier transform is also named so because of the name of its inventor. It is a 200 years old transform that is still in use in mathematical subjects in which there are minute calculations and the user wants to have accurate results in a simple way. The name of this transformation is taken from the French mathematician Jean-Baptiste Joseph Fourier. From 1807 to the current age, people found this transform useful, and when we talk about subjects like signals and systems, it becomes necessary to learn this because it is majorly used in the field of practical work. We define the Fourier transform as: “The Fourier transform is a mathematical tool or model that is used to generalize the Fourier series in a simple way and is used to represent the calculator in the frequency domain.” The definition must be clear in your mind because we have read about the transform before, but for a clear ...

Self-Host Bitwarden In Raspberry Pi 4

Self Host Bitwarden in pi 4, Self Host Bitwarden in Raspberry pi 4, Bitwarden in Raspberry pi 4, docker raspberry pi 4, docker rpi4, rpi4 docker

Following this, we will configure bitwarden and host it on our Raspberry Pi 4. The last tutorial discussed utilizing a Raspberry Pi to install and run zeroTire on pi 4. By the end of the project, you will have learned how to set up a Raspberry Pi 4 with the necessary software for password management, including bitwarden, docker containers, and portainer, and how to configure their respective user interfaces. An effective password manager is a must-have. For the past decade-plus, I've relied on a password manager. The catch is that not all security-focused apps are created equal. Initially, I relied on password managers in my browser, but I soon switched to KeePass. It was an intelligent move ten years ago. The export features of my browsers allowed me to import all of my passwords into a single KeePass database, where I could then construct a system to keep track of them. However, technology has advanced, and now there are safer alternatives to these password managers. Once I discovered I could self-host Bitwarden, I felt it was my best option. I had been using LastPass with Mobile, but as they introduced sync limits into their free tiers, I decided to uninstall it. YubiKey compatibility is one of the features that Bitwarden lacks compared to LastPass, but which I was able to implement thanks to self-hosting. KeePass's lack of support for statistics on hacked, weak, and recycled passwords is disappointing. Most people agree that Bitwarden is the most excellent free password ...

How to Install PCBWay Plugin for FreeCAD PCB Software?

How to Install PCBWay Plugin for FreeCAD PCB Software, freeCAD installation, how to install freecad, pcbway plugin for freecad

Hi Guys! Hope you’re well today. I welcome you on board. In this post, I’ll walk you through How to Install PCBWay Plugin for FreeCAD PCB Software. Before we move further and help you with the installation of the plugin, let’s get a brief introduction to the FreeCAD software. FreeCAD is a free and open-source parametric 3D modeler used to design real-life objects. With parametric modeling, you can easily modify your design and change its parameters. The tool is mainly used in mechanical engineering for product design and also proves to be handy in electrical engineering for electronic board designs. It supports Windows, Linux and macOS operating systems. Python programming language is primarily used to extend the overall functioning of the software. Hope you’ve got an idea of what FreeCAD is all about. Let’s get further and discuss How to Install the PCBWay Plugin for FreeCAD PCB Software. FreeCAD allows you to design PCB boards and send the final layout to PCBWay for instant production. First, we download and install the FreeCAD software then we’ll cover how to install the plugin. To download the software, go to the FreeCAD website and click the “Download Now” option as follows. When you click the “PCBWay” the plugin will be installed on the software. Now you can make PCB designs on the FreeCAD and send it right away to the PCBWay manufacturer for the production of your required electronic board. PCBWay is the largest PCB manufacturer in China. It’s a one stop shop for your ...

How to Build a Raspberry Pi FM Transmitter

How to Build a Raspberry Pi FM Transmitter, FM transmitter with Raspberry pi 4, fm transmitter circuit in RPi4, RPi4 FM transmitter, FM transmitter with RPi4

Throughout our lives, we've relied on Radio and tv stations to keep us engaged. While we're on the subject of contradictions, it's also fair to say that these Stations can become tedious at times due to the RJ rambling on about nothing or annoying advertisements, and this may have left you wondering why you can't own a Radio station to broadcast your data over short distances. Almost any electronics technician uses coils and other hardware to make an FM transmitter, although the tuning process is time-consuming and difficult. Setting up your FM station and going live in your neighborhood shouldn't take more than 30 minutes using an RPi. If you use the right antenna, you must be able to transmit to your school or community within 50 meters. Wow, that's interesting! So, let's get started right now. Caution: This project is an education project and should not be abused in any way that might harm or inconvenience anyone. Interfering with neighboring FM frequencies is illegal, so please exercise caution when using this feature. In the event of any mishaps, we take no responsibility for them. Your RPi should already be running an os and be able to establish a network connection. If you haven't done so already, go through the instructions on how to use a raspberry pi. A virtual server such as VNC, or a putty terminal window, is assumed to be accessible to you at all times. For the sake of this tutorial, we will run the program on RPi using the putty terminal session. A method or ...