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 MATLAB

Introduction to MATLAB, Getting started with matlab, matlab basics, matlab programming tutorial, matlab tutorial series, matlab for beginners

Hello Friends! I hope you all are doing great welcoming 2022. With the start of the New Year, we would like to bring to you a new tutorial series. This tutorial series is on a programming language, plotting software, a data processing tool, a simulation software, a very advanced calculator and much more, all wrapped into one package called MATLAB. We would welcome all the scientists, engineers, hobbyists and students to this tutorial series. MATLAB is a great tool used by scientists and engineers for scientific computing and numerical simulations all over the world. It is also an academic software used by PhDs, Masters students and even advanced researchers. MATLAB (or "MATrix LABoratory") is a programming language and numerical computing environment built by Mathworks and it’s first version was released in 1984. To this day, we keep getting yearly updates. MATLAB allows matrix data manipulations, plotting of symbolic functions as well as data, implementation of robust algorithms in very short development time, creation of graphical user interfaces for software development, and interfacing with programs written in almost any other language. If you’re associated with a university, your university could provide you with a license. You can even online now! You can simply access it on… You can quickly access MATLAB at https://matlab.mathworks.com/ Here’s a small trick. You can sign up with any email and select the one month free trial to get quickly started with MATLAB online. ...

Introduction to Surface Mount Technology

Introduction to Surface Mount Technology PCB Mounting Technology, Definition, Process, Types of Vias, Types of the Surface Mount Technology, Applications of the SMT Components, Advantages of the SMT Components, Surface Mount Devices, Machines and Equipment Used in the SMT Mounting

Greetings and welcome to today’s lecture. Today, we are going to focus our discussion on the Surface Mount Technology of PCB components mounting. It's our 8th tutorial in the PCB learning series and is going to be a very interesting and interactive class. In Surface-mount technology, SMT components(having small pads) are placed on the surface of the PCB board and their pads are soldered on the same side of the board. As we discussed in our last lecture on Though-Hole Technology, there are two main methods used to mount components on PCB boards. We studied THT in the last lecture and today, we will focus on Surface Mount Technology (SMT), we will discuss SMT classifications, types, applications, advantages and disadvantages in detail. In the beginning, a breadboard was used to hold the components together. This had a major disadvantage because components could pull out as they remain loose in the breadboard, hence giving a hard time to designers, especially in the case of complex circuits. The engineers came out with a solution called the PCB board. Initially, Though-hole technology was used to plug components into the PCB board. Later on, with the invention of SMT components, surface-mount technology came into existence. So, let's have a look at SMT in detail: There are many online PCB companies available, where we can place orders for PCB with surface mount technology. Let's take the example of JLCPCB Fabrication House, one of the leading PCB manufacturers, which offers ...

Sending Data to Cloud with ESP32 and ThingSpeak

Sending data to Cloud with ESP32 and ThingSpeak, ESP32 ThingSpeak communication, send data to ThingSpeak with ESP32, ThingSpeak ESP32, ESP32 ThingSpeak, what is ThingSpeak, ThingSpeak API with ESP32

The Internet of Things ( or IoT) is a network of interconnected computing devices such as digital machines, automobiles with built-in sensors, or humans with unique identifiers and the ability to communicate data over a network without human intervention. Hello readers, I hope you all are doing great. In this tutorial, we will learn how to send sensor readings from ESP32 to the ThingSpeak cloud. Here we will use the ESP32’s internal sensor like hall-effect sensor and temperature sensor to observe the data and then will share that data cloud. Fig. 1: ESP32 ThingSpeak It is an open data platform for IoT (Internet of Things). ThingSpeak is a web service operated by MathWorks where we can send sensor readings/data to the cloud. We can also visualize and act on the data (calculate the data) posted by the devices to ThingSpeak. The data can be stored in either private or public channels. ThingSpeak is frequently used for internet of things prototyping and proof of concept systems that require analytics. Downloading and installing the required Library file: https://github.com/mathworks/thingspeak-arduino Fig. 2: Adding ThingSpeak Library To check whether the library is successfully added or not: Fig. 3 Fig. 4: Arduino IDE Library Manager This library comes with multiple example codes. You can use any of the example codes as per your requirements ad also modify the example code. Fig. 5: Example Codes Fig. 6: Getting Started For Free Fig. 7: Create New Account Fig. 8: MathWorks Sign ...

Significant Reasons for Investing in IoT Application Development

Significant Reasons for Investing in IoT Application Development, Investing in IoT

We all have heard of this term by now. IoT or the Internet of Things is an ingenious yet innovative technology that is the support system for uncountable apps in almost all sectors. With the ever-increasing demand for higher technology, there has been a rapid growth in the field of IoT. You would require a professional IoT app development company for implementing the correct connected technology solution for your business. As we are moving towards and becoming the tech generation, it's exciting to know how IoT Application Development has a huge Market Potential - wondering how it is possible? Let us tell you more. Let us tell you a fun fact. Worldwide there are about 9 billion Internet of Things (IoT) devices connected in 2020, which is expected to grow up to 25 billion in 2030. In addition to this, we will also see a tremendous increase in the earnings & profit that would be generated by IoT and it is capturing all fields and sectors with speed equal to light and would soon become a major life-important technology. Still not convinced enough to invest in IoT Application Development? Well, let us help you! Familiar with these above questions? Don't worry; we have got your back! The Internet of things has the potential to turn your home into a smart home and make processes automated. It's the world of 5G, and thus both IoT and 5G technologies, when combined, can result in super-advanced technologies and techniques. With each passing day, IoT Application Development services ...

ESP-NOW Protocol with ESP32 and ESP8266

ESP-NOW Protocol with ESP32 and ESP8266, ESP Now, ESP Now with ESP32, ESP Now with ESP8266, ESP Now Protocol with ESP32, Implement ESP Now in ESP32, ESP Now with ESP32 in Arduino IDE

Hello readers, I hope you all are doing great. In this tutorial, we will learn about the ESP-NOW protocol and how to communicate data between two ESP modules through ESP-NOW protocol and that is too without Wi-Fi connectivity. Fig. 1: ESP-NOW Protocol ESP–NOW is a connectionless communication protocol that is used for sharing small data packets between two ESP boards. This protocol is developed by Espressif. Although, ESP-NOW protocol can communicate only small data packets ( maximum 250 bytes), but it is a high-speed protocol for wireless communication. ESP devices can communicate over ESP-NOW protocol in different network topologies which makes it a very versatile protocol. The communication can be a point to point or point to multipoint (broadcast). Fig. 2: Point to Point Communication In peer-to-peer communication, only two ESP (either ESP32 or ESP8266) devices can connect with each other for data exchange. Each ESP device can act as a master device, a slave device or both master and slave at the same time. Fig. 3: ESP32 Broadcasting with ESP-NOW protocol In broadcast one ESP device (known as a broadcaster) act as a master device and broadcast the data to ESP devices acting as slave devices. Data is shared with all the slave devices simultaneously. This communication method is used when users want to control multiple slave devices at a time. Fig. 4: Many to One Communication In many to one communication scenarios, there will be a central node or gateway which collects all ...

ESP32 Internal Temperature Sensor

ESP32 Internal Temperature Sensor

Hello friends, I hope you all are doing great. Welcome to the 3rd lecture of Section 5(ESP32 Sensors) in the ESP32 Programming Series. We have already discussed the two built-in ESP32 sensors i.e. Hall Effect Sensor and Capacitive Touch Sensor. Today, we are going to discuss the 3rd and final built-in ESP32 sensor i.e. Internal Temperature Sensor. ESP32 Internal Temperature Sensor is used to calculate the temperature of the ESP32 core. So, we can't use it to measure the ambient temperature (the temperature of the atmosphere), for that, we need to use embedded temperature sensors i.e. DS18B20, DHT11, BMP280 etc. We will first discuss the basics of this Internal Temperature Sensor and then will design a code to monitor the change in temperature by changing the frequency of the ESP32 CPU. Note: Important specs of the ESP32 Temperature Sensor are given in the below table: ESP32’s on-chip temperature sensor cannot be used for monitoring external temperature. It can only be used to monitor the temperature of the core. This temperature sensor is available on some selective ESP32 boards and obsolete on most ESP32 variants. It has a high-temperature sensing range of -40 to 125 °C. ESP32 boards are normally used in real-time IoT Projects i.e. home automation, back security etc. Such projects need to run 24/7 to get live updates and may heat up the motherboard. Thus, to get a stable performance in continuous operations, these internal temperature sensors are introduced to monitor the ...

Receiving Emails with ESP32 using IMAP Server

Receiving Emails using IMAP server with ESP32, IMAP with ESP32, IMAP ESP32, ESP32 IMAP, Receive Emails with IMAP ESP32, Email IMAP in ESP32

Hello readers, I hope you all are doing great. In our previous tutorial, we learned SMTP server and how to implement an SMTP server for sending emails with ESP32. In the previous tutorial, we also demonstrated some examples like sharing raw text, HTML text, images and text files. So, at the transmitter end, we are using the SMTP server. But, what about the receiver end? At the receiver end, we use another protocol called IMAP (or Internet Message Access Protocol) and POP3 (Post office Protocol V3) for receiving the emails. Fig. IMAP and SMTP IMAP is an application layer (TCP/IP) protocol that is used at the receiver end to receive emails from SMTP server or mail server. IMAP follows the client/server model. Fig. IMAP Protocol POP3 stands for Post Office Protocol version 3. POP3 is another protocol to receive emails. This protocol is used to access the TCP/IP mailbox. The protocol is quite popular due to its offline mail access model. The offline access model enables the user to access the mails from the mail server on the local machine, and then delete them from the mail server. Though in some applications POP3 protocol is still used, but in most of the email receivers, it is preferred to use IMAP protocol over POP3 protocol. Similarly, other email service providers like Outlook and Hotmail, have different setting parameters. To send emails with ESP32 we need to install this ESP Mail Client library. This library, make ESP32 able to send emails over SMTP server. Step to ...

Service Dispatch Software: An Efficient Tool for Delivering Goods and Services 

Service Dispatch Software, An Efficient Tool for Delivering Goods and Services

The transportation and logistics industry suffered from the impact of the pandemic. The disruptions in supply chains caused massive losses in businesses. Its spillovers extended to those relying on freight and delivery. But as the restrictions started to ease, its recovery followed instantly. In 2021, supply chains benefited from the boom in e-commerce as online buyers reached 2.14 billion. Given the massive influx of customers, businesses had to scale up their operations. The challenge now is to improve efficiency and ensure the delivery of goods and services. It has become more challenging for companies to monitor every movement, especially logistics. Fortunately, service dispatch software can make things easier and safer. Tracking vehicles and organizing schedules will no longer take so much time. This technology can impose desirable changes in daily processes. With that in mind, we will look at how it guides businesses toward growth. Service dispatch software is a technology that plans and schedules routes. It sends the details to the driver's mobile device. Once received, the management can view the progress on the delivery day. This feature allows them to improve efficiency and customer service. Through automated technology, 24/7 management of fleets is possible. After automating routing and scheduling processes, coordination of routes and deliveries is easier. It also provides solutions to field workers, technicians, and other service providers. The following are its ...

Sending Email with ESP32 using SMTP Protocol

Sending Email with ESP32 using SMTP, SMTP with ESP32, SMTP ESP32, ESP32 SMTP, Sending Emails with SMTP ESP32, Email SMTP in ESP32

Hello readers, I hope you all are doing great. In this tutorial, we will learn how to send an email using ESP32 module. We will also learn to send text files, images or some sensor readings using the SMTP server using the ESP32 module. In IoT (Internet of things), there are various applications where we need to send emails carrying information like sending some sensor readings, altering emails, images, text files and much more. SMTP or simple mail transfer protocol is an internet standard for sending and receiving electronic mail (or email) where an SMTP server receives emails from the email client. SMTP is also used for setting communication between servers. Various email providers like Gmail, Hotmail, Yahoo, etc. have unique SMTP addresses and port numbers. SMTP protocol which is also known as a push protocol is used to send emails and IMAP that is Internet Message Access Protocol (or post office protocol or POP) is used to receive emails at the receiver end. SMTP protocol operates at the application layer of TCP/IP protocol. When a client wants to send emails, a TCP connection will be open for the SMTP server and emails will be sent across the connection. SMTP commands: Gmail is the email service provided by Google and Gmail SMTP server is free to access and anyone can access this service, who has a Gmail account. Components required to send and receive emails using ESP32 over SMTP server are: To send emails with ESP32 we need to install this ESP Mail Client library. This ...

How to use Counters in Ladder Logic Programming?

How to use counters in ladder logic programming, Counter in conventional control, Omron counter, Asynchronous 0-9 counter, Counter in PLC, Count-up type, Ladder program examples for counters, Count down example, Testing the up-down counter ladder program

Hello friends! We hope you are very well! Today we are here for complementing our knowledge with one of the most important topics in PLC programming and practice its implementation in PLC ladder logic programming. Our topic today is about counters which help us to know the production size at any time, the repetition of specific tasks and events. Many real-life situation problems need counter like garage capacity should be tracked by using counters to report how many cars are inside and if there is room for incoming cars or it's full. Another critical problem is to count the repetitive tasks and events in manufacturing. Furthermore, counting products and pieces for taking an action like performing maintenance, stop operation, turn over to next production stage... et cetera. Counters are used in conventional or relay logic control. they mainly receive pulses and count these pulses and when it reaches a preset value the output coil of the counter is energized. They mostly include an LCD showing the counting as shown in figure 1. Figure 1: Omron counter [1] The main idea of most counters is counting input pulses by using logic circuits i.e. flip-flop and determining the output based on which an output relay is energized. There are two main types of the counter as regards structure: synchronous counters when all flip-flops and asynchronous counters when each flip-flop is connected to its separate clock. In addition, counters can be classified based on functionality into UP, DOWN, ...