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.

Databases and CRUD operations in C#

C#, C# crud, C# crud operations, crud c#, c# sql, sql database C#

Are you here to learn about Databases and CRUD operations in the C# programming language? If so, then you will be an expert in no time. Learning Databases and CRUD operations in C# is not a piece of cake. But, if you know all the terms and steps of CRUD operations and databases in C#, it will not be rocket science for you. This article contains all the information you should know regarding databases and CRUD operations. So, keep reading till the end! We know that you are already aware of the C# programming language. So, here is a quick overview of the C# programming language before we move to the actual topic: C#, also known as C-Sharp, is an object-intended coding language that operates on the.NET Platform and is developed by Microsoft. ISO and ECMA have certified the C# programming language. C# is a broad programming language that can help accomplish hundreds of activities and purposes in different fields. It resembles Java, C++, and other programming languages but, it is truly one of a kind. The best thing is that it is object-oriented and is easy to use. It has an infinite list of advantages. Some of the advantages of the C# are listed below: All the above advantages make the C# programming language stand out in other languages. It is undoubtedly the most contemporary and exceptional language out there! Before we begin learning about CRUD operations in a database within the C# programming language, it is crucial to know what a Database is. A database is basically a ...

ESP32 Programming Series: Install ESP32 in Arduino IDE

ESP32, ESP32 Programming, What is ESP32, ESP32 vs ESP8266, ESP32 Specifications, Types of ESP32, Programming ESP32, Programming ESP32 in Arduino IDE

Hello everyone, I hope you're all doing well. In the previous lecture( Chapter 0: ESP32 Pinout), we discussed the ESP32 features & specs in detail. Today, we are officially starting this ESP32 Programming Series. In this ESP32 Programming Series, we will start with basic concepts and will gradually move towards complex topics. I will try to keep this ESP32 series as simple as I can. But still, if you encounter any issues, please ask in the comments, will try to resolve the issues as soon as possible. As ESP32 has numerous features & applications, so I have divided this series into different sections. I have named the 1st section " ESP32 IDEs ". In this section, we will discuss different IDEs used to program ESP32 boards. In each Chapter of this section, we will install one of these ESP32 IDEs and will test a simple LED Blinking Code in it. We will set up the ESP32 Development Environment for Windows, Mac, and Linux users. As I am sharing the 1st Chapter today, so first we will unbox the ESP32 board, set up the most commonly used ESP32 IDE i.e. Arduino IDE, and test a simple WiFi Scan Code on the ESP32. Here's a video lecture for better understanding: IDE is an abbreviation of Integrated Development Environment. IDE is a software package used to write & compile the code. As ESP32 is one of the most popular microcontroller boards, there are numerous third-party IDEs available to program it, and each IDE supports its own programming language. So, if you are a C# developer or an ...

I2C communication with STM32

STM32 I2c Communication, STM32 I2c, stm32 I2c master, stm32 i2c slave, I2c in stm32, i2c communication in stm32

Hello friends, I hope you all are doing great. In today's lecture, we will have a look at the I2C Communication with STM32 Microcontroller board. I am going to use the Nucleo board for today's lecture. In the previous lecture, we have discussed STM32 Serial communication both in Interrupt Mode and polling Mode. Today, we will study another way of communication(i.e. I2C) with STM32. So, let's first have a look at what is I2C Communication: I²C (Inter-Integrated Circuit) is a two-wire serial communication system used between integrated circuits. Like any serial protocol, one of its advantages is that of using only two lines that transmit or receive a sequence of bits, the limit is the communication speed which has been improved over the years. The bus was conceived and developed by Philips (now NXP) It was designed to overcome the difficulties inherent in the use of parallel buses for communication between a control unit and various peripherals. Serial transmission is a mode of communication between digital devices in which bits are sent one at a time and sequentially to the receiver in the same order in which they were transmitted by the sender. Although the communication modules are more complex than the parallel transmission, the serial mode is one of the most widespread especially in communications between chips that must communicate with each other over great distances, because: SDA and SCL lines need to be pulled up with resistors. The value of these resistors depends on ...

Solenoid Valve: How They Work

Solenoid Valve, Types of Solenoid Valves, What are Solenoid Valves, Working Principles of Solenoid Valves, Choosing a Solenoid Valve

In several domestic, commercial, or industrial settings where gases or liquids have to be distributed or mixed, solenoid valves are used to ensure the accuracy and precision of all the control aspects. To help you understand the types and working principles of solenoid valves, selection criteria, and everything in between, we’ve covered all you need to know about these electrically controlled valves. You should also have a look at the Linear Solenoid. Solenoid valves are electromechanical devices that feature two major components: a valve body (G) and a solenoid (Figure 1). The solenoid is an electric coil (A) with a movable magnetic core that’s centrally located, also called a plunger (E). It’s also made up of an armature (B), a shading ring (C), a spring (D), and a seal (F). For a normally closed valve in the resting position, the plunger closes a small hole or orifice that allows the fluid to flow. As soon as the electric current passes through the coil, it’s energized, and an electromagnetic field forms and exerts a force on the plunger, opening the orifice. That said, it’s worth noting that solenoid valves are only used to control clean liquid and gases. This is because dirt can easily block the orifice, causing performance issues. Before we look at the working principles of solenoids, we’ll first look at the two popular solenoid valve configurations. These are the normally closed (NC) and the normally open (NO) solenoid valves. For NC solenoid valves, it is closed when ...

STM32 Serial Communication in Polling Mode

UART Communication in stm32, usart communication in stm32, stm32 usart, stm32 serial communication, stm32 uart, stm32 usart, polling mode in stm32, polling mode serial stm32

USART is the acronym for U niversal S ynchronous- A synchronous R eceiver- T ransmitter, and is the advancement of the old UART that was unable to handle synchronous communications; in computers, it deals with the management of communication via the RS-232 interface. Generally, in the communication between devices, there is a transmitter and receiver that can exchange data bidirectionally, thus it happens for example in the communication between the microcontroller and third-party peripherals. In serial communications, the transmitting device sends information (bitstream) through a single channel one bit at a time. Serial communications are distinguished from parallel communications where the bitstream is sent over several dedicated lines altogether. Over the years, serial communication has become the most used as it is more robust and economical. On the other hand, serial communication requires, compared to the parallel case, a more complex management and control architecture, think for example how a trivial loss of a bit during a communication could irreparably corrupt the content of the final message. To this end, various communication protocols have been introduced over the years in order to improve speed, reliability and synchronization. In detail, three different communication modes can be found: synchronous, asynchronous, and isochronous. The microcontrollers from the ST family are equipped with at least one USART, for example, the NUCLEO-L053R8 Board has two (USART1 ...

Introduction to Ladder Logic Programming Series

Relay Logic Control vs PLC, plc, intro to plc, ladder logic, ladder logic programming, ladder logic series, ladder logic plc, plc ladder logic, plc ladder programming

Hello friends, I hope you all are fine. Today, we are starting a new tutorials series on Ladder Logic Programming, used in PLC. It's our first tutorial in this series, so we are going to have a look at the detailed introduction to PLC and ladder logic. After welcoming every one of engineers, technicians, students, and hobbyists who have come to read this article willing to learn PLC programming, I would like to introduce one of the most used programming languages of PLC. The language we introduce here is a visualized language that connects and combines graphical symbols in logical flow same as the way we wire electrical circuits and that is the secret behind its simplicity not only in implementation but also in diagnosing problems. Ladder Logic Programming has been derived from relay logic electrical circuits. This language of PLC programming is called ladder logic or LD as it looks like a ladder of many rungs. Each rung represents a line of logic by connecting inputs logically to form a condition on which the output is determined to be on or off. By completing this article, you will have enjoyed understanding the basics of the LD programming language. Consequently, you will have been able to read a ladder logic code and translate the logic in your mind or the electrical circuit between your hand into ladder rungs. Relay logic control was the old fashion classic control in which input switches and sensors are connected between the hot voltage and relays’ coils to energize ...

 Components of Internet of things

Introduction of IoT components, IoT components, sensors in Iot, connectivity, gateway, cloud computing, user interface, GUI

As you saw within the previous article, the applications for IoT extend across a broad kind of use cases and verticals. However, all complete IoT systems area unit an equivalent therein they represent the combination of 4 distinct components: sensors/devices, property, processing, and a computer program. Just like the web has modified the approach we tend to work & communicate with one another, by connecting us through the globe Wide net ( internet), IoT conjointly aims to require this property to a different level by connecting multiple devices at a time to the web thereby facilitating man to machine and machine to machine interactions. People who came up with this idea, have conjointly realized that this IoT scheme isn't restricted to a selected field however has business applications in areas of home automation, vehicle automation, plant line automation, medical, retail, attention, and a lot of. We’ll define what each suggests that within the sections below and the way they are available along to create an entire IoT system. every one of those sections also will function the structure of the remainder of this e-book, and we’ll dive into these parts a lot deeper within the chapters to follow. First, sensors or devices collect information from their setting. This information may be as easy as a temperature reading or as complicated as a full video feed. We use “ sensors/devices, ” as a result of multiple sensors may be bundled along or sensors may be a part of a tool that ...

Introduction to Double Layer PCB

double layer pcb, double layer pcb manufacturing process, double layer printed circuit board, PCB double layer

Hello! Friends I hope you are all fine. In today's article, we tend to unlock the details on the double sides of PCB which is a type of PCB. It comes with a conductive copper layer on both sides of the board, unlike single layer PCB which has only layer one side of the board. I will try to elaborate on each and everything about double-sided PCB with the best of my effort. So you do not need to move your attention to another source for elaborating this article. In this article, we illustrate the double-layer PCBs, their advantages and disadvantages. We will also study double-layer construction methodology, its applications. In termination, we will discuss the conclusion of today’s article. Let’s start our article by exploring PCB and its main applications. Let’s start to absorb the basic and advanced information about double layer PCB. Before discussing the double layer PCB. we must have an idea about what’s PCB. PCB is an abbreviation of printed circuit boards. PCB may be a sleeky chip created by compound epoxy glass fiber or laminated completely different substances. It includes a plate of insulated substantial and a sheet of copper foils coated to the substrate. PCBs are classified according to their number of layers and holes on them. There are three types of PCB depending on the number of their layers. Now to move our attention back to our article which is double layer PCB A double-sided PCB is also known as a Two-layer PCB is a kind of PCB that has a copper layer on both ...

How Parents Can Help With Engineering Homework in the Best Way?

How Parents Can Help With Engineering Homework in the Best Way, help homework, parent help hw

Engineering is quite a difficult field of study but nonetheless, any homework of your child can be done indeed quickly with minimum effort. How? It is important to know both the rules for parents to encourage their kids to do their hw and find the best helper for a child on some of the websites that provide engineering help online service. If you find a perfect match all you need to do is pay for the work of writers who can do the task fully or even explain it in all the details: a true engineering help. There are a few necessary things to remember especially for those parents who would like to be involved in the engineering homework help of their kids themselves. And these are important not only from the psychological perspective but also from the perspective of mutual work and family cooperation when it comes to attention. Here are these tips: Finally, in my opinion, it is always more effective to hire an expert rather than do the homework with a kid. To know where to hire such a person, you have to find a website that would give you guarantees, good offers, and enough information to trust. Any engineering homework helper must be accessible, however, it is even more essential that he or she is highly qualified. AssignEngineering is my personal recommendation since there is the top engineering assignment help. The feedback of all the writers is nice, and there are rare cases when someone would be disappointed with the quality of the homework. Even if there are some people ...

OOP Concepts in C#

C#, OOP in C#, C# oop, oop concepts in c#, why oop, Encapsulation, Polymorphism, Inheritance, Abstraction

Do you wish to learn object-oriented programming concepts in the C# programming language? If so, then you have come to the right place. Learning about the object-oriented programming concepts in the C# is extremely important. But, what points should you learn? This article contains a detailed context of OOP concepts in the C# programming language, with all the answers to your questions. So, keep reading to learn everything about the OOP concepts in the C#. We know that you already have a great understanding of the C# programming language. But, we want to begin the article with a brief introduction to the C# so that you have no confusion regarding anything. C# is an exceptional, object-intended programming language that allows programmers to create a wide range of secured and reliable programs that run on the.NET platform. Programmers may develop Windows consumer applications, different programming elements, XML online assistance, and data technologies. It assists pointers, harmful software, and interoperability function for storage management. Also, C# language facilitates the client in performing all tasks comparable to that of a C++ program. Some of the many features of the C# programming language are listed below: The most awaited section of the article is here: OOP in C# programming language. What Is OOP, and what is its importance? All the answers to your queries are here. So, please start taking notes! OOP means Object-Oriented Programming. Object-oriented programming ...