Author: alinamybeth - Page 2 of 2

16 articles found.

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 ...

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 ...

Latching in Ladder Logic Programming

Latching in ladder logic programming, how does latching works, latching in plc, plc latching, latching in ladder logic, plc latching code, ladder logic latching code

Hi friends! I hope you are doing well! Today we are going to learn and practice a new topic which is a very crucial technique in plc programming. the topic is called “latching”. We mean by Latching to keep the output running starting from the instance of giving a kick-off command until we hit a command to stop running of the motor. Imagine my friends, operator wants to start a motor by hitting a start push button and want the motor to keep running and leave and go for doing another task or job. And then it keeps running until the operator wants to stop it. The problem here is that, once the operator releases his hand away from the push button, the motor automatically stopped and that is not like what the operator wants to do with the motor. To clear the problem that we are going to solve, and for which we need to use the latching technique to connect a load, Figure 1 has been created for you to show the situation to make a direct connection to a motor by using a simple push-button. In this circuit, the operator needs to keep pressing the push button as long as he needs the motor to keep working. Otherwise, the motor will stop once he releases the push button. So would please think with to figure out what is the solution for that? Fig. 1: Connecting motor to power by push button directly Let’s try to connect the motor through a relay as it is typically in the industry. Maybe that helps us to control the way to energize the relay coil and use its contacts to start and stop the ...

Introduction to Vehicle Dynamics Using MATLAB

Introduction to Vehicle Dynamics using MATLAB, basics of vehicle dynamics, vehicle dynamics basics, vehicle dynamics intro, vehicle dynamics with matlab, vehicle dynamics matlab simulation, vehicle dynamics matlab tutorial

Just like the big bang theory which resulted in the world we live in. If we must mark a big bang for vehicles or the Automotive industry, it would be the invention of wheels. The invention of wheels redefined the aspects in which humans transported goods or traveled across places. Since, the invention of the wheel, transportation has always been contributing to the growth of society we live in. These vehicles later helped in conquering road travel. From its inception, the vehicle industry is technologically driven, pushing its own limits to find answers to challenges such as how can we travel faster? What will help us in making these rides more comfortable? Manually driven vehicles and their restrictions raise the need for a further quest. Quest for aspects such as, The second most important milestone was achieved with the invention of steam engines. Vehicles now can be driven automatically. Followed by steam engines invention of the Internal Combustion engine happened. These engines are used to convert potential energy in the form of water/heat or petrol into mechanical energy which is then transferred to wheels to move vehicles faster. In recent times there is an increased demand for vehicle safety, environmental concerns and intelligent control. Software were also introduced into vehicles to control mechanical aspects more accurately, and Electrical engines are invented to address environmental concerns. Even though we have come across a long way of invention but still ...

Bottle Filling and Capping Project using PLC Ladder Logic

bottle filling and capping project using plc, bottle filling and capping system using plc, bottle filling and capping project using ladder logic, bottle filling and capping with plc, ladder logic based bottle filling project

Hi friends, how are you doing? Today will integrate all of what we have learned so far in this series to build the first project based on ladder logic programming. Because we all are interested in industry, we pick one industrial project, Bottle Filling and Capping Projects, which is very common today. The problem we are going to solve today is bottle filling and capping. We have learned all basics of ladder logic including contacts and coils operation, logic gates, rising and falling edges, timers, and counters. So, today we will utilize all of these components to implement a complete ladder program of filling and capping problems. For simplifying the operation of the process of filling and capping, fig. 1 shows the process flow which simply contains the main motor that drives the conveyor belt on which the bottles are running starting by hitting the start button. The conveyor belt starts running driven by motor M1 and the bottles move until sensor S2 detects one bottle, then motor M1 stops and the belt does so. At the same time, valve V1 opens to let water get dropped into the bottle until it reaches specific level thanks to level sensor S1. Then valve V1 closes and motor M1 goes on moving. Then when sensor S3 sees a bottle, the piston P1 is activated for capping the bottle and so on. Fig. 1. The Filling and Capping Process As you can see, for every single process in the industry, there are inputs and outputs. The inputs represent the sensors and user requests like starting ...