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.

Stop Motion Movie System using Raspberry Pi 4

Stop Motion Movie System Using Raspberry Pi 4, stop motion movie in RPi4, RPi4 stop movie animation, stop motion movie in RPi4

Thank you for joining us for yet another session of this series on Raspberry Pi programming. In the previous tutorial, we built a motion sensor-based security system with an alarm. Additionally, we discovered how to use Twilio to notify the administrator whenever an alarm is triggered. However, in this tutorial, we'll learn how to build a stop motion film system using raspberry pi 4. With a Raspberry Pi, Py, and a pi-camera module to capture images, you can create a stop-motion animated video. In addition, we'll learn about the various kinds of stop motion systems and their advantages and disadvantages. The possibilities are endless when it comes to using LEGO to create animations! Using your RPi to build a stop motion machine, you'll discover: It is recommended that FFmpeg comes preconfigured on the most recent release of Raspbian. If you don't have it, launch the terminal then type: sudo apt-get update sudo apt-get upgrade sudo apt install FFmpeg Inanimate things are given life through the use of a sequence of still images in the stop-motion cinematography technique. Items inside the frame are shifted slightly between every picture to create the illusion of movement when stitched together. You don't need expensive gadgets or Graphics to get started in stop motion. That, in my opinion, is the most intriguing aspect of it. If you've ever wanted to learn how to make a stop-motion video, you've come to the right place. Product Animation can also be referred to as the ...

Bitwise Logic Operators in PLC Ladder Logic Programming

Bitwise logic operators in ladder logic, AND gate in ladder logic programming, Not gate in ladder logic programming, OR gate in plc programming, XNOR in PLC programming

Hello friends, all of us know that PLCs are nothing but the smartest migration from relay logic control to programmable logic control. Also, you know clearly that, logic is the heart of any programming language, and the same is applied to ladder logic programming. Bitwise operators represent the logical operations including the basic logical operations like AND, OR, and NOT and the derived logical operations like NAND, NOR, and XOR. in most cases, for each bitwise operator, there are inputs based on which the output can be decided. Some of these bitwise operators have two inputs and some have only one input. In this article, we are going to present how we can use these bitwise logical operators and their instructions with examples and practice using the PLC simulator. Despite we have talked about these, basics and concepts in one of our articles, we have seen it’s good to remind you briefly that basic is the ground for your foot to stand coding logical operations in ladder logic programming. for defining a logical operation, there is a truth table that shows the combinations of the inputs and the resulting output. For example, the bitwise operator that has only one input like “NOT”, has only two possible value for input which is high or low, True or False. And it has one output which is the negate of the input. So it is either TRUE or FALSE. To sum up, for every bitwise operator instruction, we are going to discuss its truth table showing the states of the possible ...

Sequencer Output Instruction in PLC Ladder Logic Programming

Sequencer output instruction in PLC ladder programming, Sequencer output instruction in ladder logic programming, Sequencer output instruction in PLC simulator

Hi friends, today we are going to learn a good technique to run multi outputs in sequence. In another word, when we have some output that is repeatedly run in sequence. In the normal or conventional technique of programming we deal with them individually or one by one which takes more effort in programming and much space of memory. So instead we can use a new technique to trigger these outputs in sequence using one instruction which will save the effort of programming and space of memory. In this article, we are going to introduce how to implement sequencer output instruction. And practice some examples with the simulator as usual. Before starting the article, we need to mention that, some controllers like Allen Bradley have sequencer output instruction and some has not like Siemens. So we are going to give one example for each case showing how to code the equivalent to the sequencer output instruction in the PLCs that does not support this instruction. Figure one shows the block diagram of the process. The instruction takes the input data from the file, array, and data block and sequentially relays it to the outputs to trigger them sequentially. Figure 2 shows the block of the sequencer output instruction showing input and output parameters. The file parameter is the first input parameter showing the address of the reference sequencer file. In addition, the mask input is to receive the address of the mask or the data block of which the instruction will move the data ...

Introduction to GearBox Design

Introduction to Gearbox Design, what is a gearbox, gearbox types, gearbox working principle, gearbox operation.

Hi readers! Hopefully, you are doing well and exploring something new. Every powerful machine has a secret weapon, a machine that few think about but is responsible for all speed, torque, and, relatively speaking, performance. That secret weapon is an incredibly engineered gearbox. Today, we discuss gearbox design. Gearbox design and selection are amongst the most critical elements of mechanical engineering, as they involve how power will be best transferred between two rotating shafts. A gearbox changes speed and torque position from a power supply (usually a motor) to the required application. Gearboxes accomplish this through a series of different types of gears, in various configurations. Gearboxes allow machines to perform under various parasitic load conditions. Gearboxes vary widely, from automotive experiences with gearboxes or transmissions, industrial equipment, wind turbines, and robotics. Each of these applications will have vastly different required gear configurations: spur gears, helical, bevel, worm or planetary gears. The selection of gears will vary due to the constraints of required gear ratio, torque, noise level, or efficient size in the application and lastly, the level of environment needed for the gearbox to be optimally integrated. Designing a gearbox includes a number of considerations such as: material of the selected gears, efficiency, lubrication, heat dissipation, and the expected life span of the gearbox components. Key considerations of a ...

Introduction to Fluid Mechanics

introduction to fluid mechanics, what is fluid mechanics, fluid mechanics, what is fluid, what is mechanics, types of fluid mechanics

Fluid mechanics is considered to be one of the essential branches of Mechanical Engineering. Fluid Mechanics comprises two words, fluid, and mechanics, with different meanings and research criteria. In this article, I will extensively introduce fluid mechanics and its importance in daily life. So without wasting any time, let us start: We remember in the early classes, we used to study three states of matter, and afterward, they became four named: The definition of fluid is the state of matter that can be liquid or solid. We might have noticed that whenever the matter is in any stage, the criteria to know its state is to understand how much stress it can bear, and we name that stress as shear stress that changes its shape. But this situation mostly happens in solid or liquid cases. When the stress is applied, the substantial changes shape and reform into a new one. But up to a limit that cannot destroy its ultimate form. The stress applied to a solid is directly proportional to the strain, whereas, in liquids, the stress is directly proportional to the strain rate. As mentioned that fluid mechanics comprises of two terms, so now I will define what mechanics is and how much it is essential in our today’s life. Here are two essential terminologies: The branch of mechanics in which bodies are at rest is called statics. It is a vast study of internal and external forces in a structure The best example of statics is when you are standing on a plane on the rigid ground. The force ...

How to Optimize a PCB Panel Layout

How to Optimize a PCB Panel Layout, PCB Panel optimization, optimize a pcb panel, how to optimize pcb panel

Hi Guys! Hope you’re well today. I welcome you on board. In this post, I’ll walk you through How to Optimize a PCB Panel Layout. PCB panels are used in the manufacturing process to produce PCBs in large numbers. This not only reduces the overall cost but also makes the manufacturing process more efficient and reliable. PCB panelization is a manufacturing technique where multiple PCB designs are replicated on a single large board called a PCB panel. Then these individual boards are removed and depanelized from the panel to install them in the final product. The number of panels is directly related to the overall manufacturing cost. To produce more panels, more cost will be required. However, it also depends on the shape of the board. If you require more boards of the same shape and size, it will reduce the panel cost since they all can be replicated and manufactured on a single panel. Read on to find out how we can optimize the PCB panel layout to save both cost and time. Let’s jump right in. PCB panel is a large board that contains multiple instances of a small PCB. Know that the PCB panel is made up of the same material as the board and the panel size depends on the number of small boards you aim to produce. It is required to best use the panel space to produce PCBs in large numbers and to keep the unused panel space minimum. Since the more boards cover the overall panel space, the more efficient the manufacturing process will be. You can pick the panel size as per your ...

How to Help a Remote Team Work Together

How to Help a Remote Team Work Together

There is no doubt that the traditional workplace has changed in a major way in the last few years. About half of companies now have remote workers. This means that managing a team looks different from what it ever did before. Facilitating the best of what a team has to offer, the synergies, the camaraderie, the collaboration, looks and feels different. It is sometimes difficult. Those who manage remote teams are learning how to keep teams engaged and motivated, even as they work in isolation. Here are some of the techniques they are employing to keep their employees on track. Working in the office made it easy and natural to casually ask questions, double-check information, and get feedback from colleagues. That ease made collaboration and the sharing of ideas more convenient. Managers who want to keep the teamwork going need to create situations in which employees have the chance to talk informally about work. Scheduling a daily touch-base meeting, set up not to accomplish a specific task, but rather just to get aligned on the day, is vital. These daily meetings should be short and predictable. Every team member should know that this meeting is where they will be briefed or reminded about the big picture for the day and have the opportunity to make comments or ask questions about things the team is working on. To be clear, this is not a time to get into the details about how to accomplish a project, but rather a time to discuss teamwork in general. In-person, co-workers can ...

Running ZeroTier On the Raspberry Pi 4

Raspberry Pi zerotier, zerotier RPi4, RPi4 zerotier, zerotier with raspberry pi 4, zerotier rpi4 webserver, syncthing with rpi4

Our next step in the Raspberry Pi training program is to get zero tiers up and run on a Raspberry Pi 4. How to utilize a Raspberry Pi to measure internet speed and store the results in Grafana or Onedrive was the topic of the last piece. During the project, you will discover how to install ZeroTier on a Raspberry Pi and get it up and running. We will also learn how to set up a firewall to secure our network. ZeroTier is a software that provides a streamlined web-based interface for constructing virtual networks connecting various gadgets. Somewhat akin to configuring a virtual private network on a Raspberry Pi, these networks exist only in cyberspace. The process of provisioning, however, is much easier, especially when dealing with several devices. Using a decentralized system, all of your gadgets will connect. The end-to-end encryption used to protect these connections helps ensure that your data remains private at all times. ZeroTier can be used on various platforms, from computers to mobile phones. Its cross-platform compatibility with Unix, Microsoft, and macintosh means you can set up a virtual connection without worrying about whether or not your hardware will be able to connect to it. The ZeroTier business model is "freemium." Using our free plan, you can connect up to 50 approved devices to the virtual network. You need to create an account on the ZeroTier website before you can use the program on your Raspberry Pi. This is because virtual network administration is ...

Internet Speed Monitor Using Raspberry Pi 4

Raspberry Pi internet speed monitor, internet speed monitor RPi4, RPi4 internet speed monitor, internet speed monitor with raspberry pi 4, internet speed test rpi4

Following up on our Raspberry Pi programming course is the next lesson. In the previous post, we learned how to construct an FM radio using a Raspberry Pi. Analog FM broadcasting's circuit construction was also studied in detail. How to use a Raspberry Pi as an internet speed meter and save the data in Grafana or Google Drive is the subject of this article. You can use this article if you want to keep track of how your downloads, uploads, and ping speeds change over time, and it's easy to use. In addition, you can use this to determine when your internet is at its busiest or if your internet speed has deteriorated. We'll demonstrate how to use Ookla's Internet speed test command-line interface in conjunction with Python code to create an internet speed meter. The connection speed monitor will employ the Internet speed Command line interface to keep tabs on your connectivity. The first step in configuring the RPi to monitoring system the Internet's performance is to ensure the Raspberry is updated. There is an easy way for this using the command line: sudo apt-get update sudo apt-get upgrade To add a repo for the Internet speed Command line software, we have to download a few additional packages. apt-transport-https, dirmngr, & gnupg1 may all be installed on your RPi by running the commands listed below. sudo apt install apt-transport-https gnupg1 dirmngr The apt software may now use the HTTPS secure protocols thanks to the apt-transport-HTTPS module. Apt will fail to connect ...

Security System with Image Capturing in Raspberry Pi 4

Security system using motion sensor with an alarm, security system with twilio in RPi4, RPi4 security system, Raspberry Pi 4 security system

Thank you for joining us for yet another session of this series on Raspberry Pi programming. In the preceding tutorial, we constructed a personal Twitter bot using Tweepy, a Py framework for querying the Twitter application programming interface. We also constructed a Response to robot mentions that would post a response to everybody's tweet mentioning it with a certain keyword. However, in this tutorial, we will implement a security system using a motion sensor with an alarm. This is what it looks like: PIR Motion Sensors can be implemented with RPi by understanding how it is connected to a Raspberry Pi. Whenever the motion sensor detects human movement, an alarm is triggered in this project and the LEDs blink. You may create a simple motion-detection alarm using this interface. Infrared Motion Detectors or PIR Sensors are Motion Sensors that use Infrared Radiation to detect movement. Infrared rays are emitted by anything with a temperature higher than absolute zero, be it life or non-living. Humans are unable to see infrared radiation because its wavelength is longer than the wavelength of visible light. That's why PIR Sensors are designed to pick up on those infrared rays. Due to their wide range of uses, such as motion sensors for security systems and intruder alert devices "Passive" in motion sensor refers to the fact that it doesn't produce any radiant rays of its own, but rather detects it when other things emit infrared radiation. This is in contrast to active ...