Hello readers, I hope you all are doing great. In our previous tutorial, we discussed the implementation of LED interfacing and blinking program with Raspberry Pi Pico using MicroPython programming language. So continuing with our previous tutorial, in this tutorial we will learn how to control the LED brightness using PWM (pulse width modulation technique).
As we mentioned above, in our previous tutorial we implemented the LED blinking program with a Raspberry Pi Pico board. Blinking an LED means turning ON and OFF and thus the process involves only two states that are ‘1’ (HIGH) and ‘0’ (LOW). But, sometimes it is required to change the digital output between these two (ON and OFF states) for example changing the LED brightness. PWM or Pulse Width Modulation technique is used to change the brightness of the LED.
Raspberry Pi Pico (RP2040) offers 40 pins which include power supply pins, General Purpose Input Output (GPIOs) pins, ADC, PWM etc. where most of the pins are multifunctional except power supply pins. Almost all the GPIO pins (30 pins) can be used to implement pulse width modulation technology.
Fig. 1 Raspberry Pi Pico Pi-Out
RP2040 offers 16 PWM channels and each channel is independent of another. Means we can set the duty cycle and frequency for one channels without affecting the others. These PWM channels are represented in the form of slices or groups and each slice contains two PWM outputs channel (A/B). There are total 8 slices and hence 16 channels. The pin B from PWM (A/B) can also be used as an input pin for duty cycle and frequency measurement.
The PWM channel provided in RP2040 are of 16 bit resolution which means maximum PWM resolution is 2^16 or ranges between 0 to 65536.
For more information on Raspberry Pi Pico’s PWM channels you can visit the Raspberry Pi organization’s official website: https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf
Before programming the Raspberry Pi Pico for PWM implementation let’s first understand the concept of Pulse Width Modulation.
Fig. 2 Pulse width modulated signal
Pulse Width Modulation (or PWM) is a modulation technique used for controlling the power delivered to a load or external/peripheral devices without causing any power loss by pulsing the direct current (DC) and varying the ON time of the digital pulse. Using a digital input signal, the Pulse Width Modulation technique produces modulated output signals.
The following factors influence the behaviour of a pulse width modulated signal:
Frequency : Technically, frequency means “number of cycles per second”. When we toggle a digital signal (ON and OFF) at a high frequency, the result is an analog signal with a constant voltage level.
The number of cycles per second defined by a signal's frequency is inversely proportional to the time period. PWM frequency is determined by the clock source. The frequency and resolution of PWM are inversely proportional.
Duty Cycle : It is the ratio of ON time (when the signal is high) to the total time taken to complete the cycle.
Duty Cycle =
Fig. 3 Duty cycle
Resolution: A PWM signal's resolution refers to the number of steps it can take from zero to full power. The resolution of the PWM signal can be changed. For example, the Raspberry Pi Pico module has a 1- 16 bit resolution, which means we can set up to 65536 steps from zero to full power.
Various applications of Pulse Width Modulation technique are:
We have already published tutorials on how to download and install the above-mentioned software components.
Follow the given link for a detailed study of Raspberry Pi Pico: https://www.theengineeringprojects.com/2022/04/getting-started-with-raspberry-pi-pico.html
To program the Raspberry Pi Pico board there are various development environments available (like uPyCraft IDE, Visual Studio Code, Thonny IDE ect.) and multiple programming languages as well.
In this tutorial, we are going to use Thonny IDE to program the Raspberry Pi Pico board.
We have already published a tutorial on installing Thonny IDe for Raspberry Pi Pico Programming. Follow the given link to install the IDE: https://www.theengineeringprojects.com/2022/04/installing-thonny-ide-for-raspberry-pi-pico-programming.html
Fig. 4 New Project
Fig. 5 Select Interpreter
Image: 6 MicroPython for raspberry Pi Pico programming
Image: 7 Ready to program
In this example code we will implement the pulse width modulation on the digital output pin (GPIO 14). The brightness of the will vary from minimum to maximum brightness back and forth. The maximum possible resolution is 16 bit that is 2^16 (or 0 – 65535). Let’s write and understand the MicroPython program for PWM implementation:
The first task is importing library files necessary for PWM implementation. We are importing two libraries first one is to access the GPIO pins and another one is to implement pulse width modulation techniques. We also need to import ‘time’ library file to add some delay.
Fig. 8 Import libraries
To define the GPIO pin to be used as a PWM pin a ‘PWM()’ function is used which further contains the ‘Pin()’ function that is passing the PWM GPIO (14) pin number.
The PWM function is further represented using a ‘led’ object. If you are not familiar with the PWM pin details like to which slice and channel the pwm pin belongs, you can get the respective details using print(led) function.
Fig. 9 declare object
The led.freq() command is used to set frequency rate at which the digital pulse will be modulated.
Fig. 10 Frequency of modulation
Inside the while loop we are using two for() loops. First one to change the LED brightness from minimum to maximum resolution (‘0’ to ‘65525’ ).
Fig. 11
Another for loop() is used to set the LED brightness from maximum resolution (65535) to ‘0’ (minimum resolution).
The process will be repeated back and forth due to the ‘while()’ loop.
Fig. 12
Fig. 13 Save the program
Fig. 14 Save the program
Fig. 15 Run the saved program
from machine import Pin, PWM
import time
led = PWM(Pin(14))
print(led)
led.freq(1000)
while True:
for duty in range(0, 65535):
led.duty_u16(duty)
print(duty)
time.sleep(0.001)
for duty in range(65535, 1):
led.duty_u16(duty)
print(duty)
time.sleep(0.001)
Let’s interface a peripheral LED with raspberry Pi Pico. As mentioned in the code description the GPIO 14 pin is configured as PWM pin. Connect the LED with raspberry Pi Pico board. The connections of LED with Raspberry Pi Pico board are shown in Table 1.
Table 1
Schematic of LED interfacing with raspberry Pi Pico is shown below:
Image: 16 LED Interfacing with Raspberry Pi Pico
Fig. 17 Brightness level 1
Fig. 18 Brightness level 2
Fig. 19 Brightness level 3
Fig. 20 PWM pin details
Fig. 21
Fig. 22 Plotter
Fig. 23 Rising PWM output 0 to 65535 (brightness increasing)
Fig. 24 PWM output maximum to 0
Now let’s take another example where we will interface multiple LEDs (16) with Raspberry Pi Pico board and then will implement pulse width modulation on those LEDs.
The procedure of interfacing and programming with Thonny IDE using MicroPython will remain similar to the previous example.
Fig. 25 Interfacing Multiple LEDs with Pico
Let’s write the code:
from machine import Pin, PWM
import time
led_1 = PWM(Pin(5)) # declaring led_x object for PWM pins
led_2 = PWM(Pin(6))
led_3 = PWM(Pin(8))
led_4 = PWM(Pin(9))
led_5 = PWM(Pin(10))
led_6 = PWM(Pin(13))
led_7 = PWM(Pin(14))
led_8 = PWM(Pin(15))
led_9 = PWM(Pin(16))
led_10 = PWM(Pin(17))
led_11 = PWM(Pin(18))
led_12 = PWM(Pin(19))
led_13 = PWM(Pin(20))
led_14 = PWM(Pin(21))
led_15 = PWM(Pin(22))
led_16 = PWM(Pin(26))
print(led_1)
def led_freq(x):
led_1.freq(x)
led_2.freq(x)
led_3.freq(x)
led_4.freq(x)
led_5.freq(x)
led_6.freq(x)
led_6.freq(x)
led_7.freq(x)
led_8.freq(x)
led_9.freq(x)
led_10.freq(x)
led_11.freq(x)
led_12.freq(x)
led_13.freq(x)
led_14.freq(x)
led_15.freq(x)
led_16.freq(x)
led_freq(1000) # setting pulse width modulation prequency
while True:
for duty in range(0, 65535): # Increasing LED broghtness
led_1.duty_u16(duty)
led_2.duty_u16(duty)
led_3.duty_u16(duty)
led_4.duty_u16(duty)
led_5.duty_u16(duty)
led_6.duty_u16(duty)
led_7.duty_u16(duty)
led_8.duty_u16(duty)
led_9.duty_u16(duty)
led_10.duty_u16(duty)
led_11.duty_u16(duty)
led_12.duty_u16(duty)
led_13.duty_u16(duty)
led_14.duty_u16(duty)
led_15.duty_u16(duty)
led_16.duty_u16(duty)
print(duty) # Print the duty Cycle
time.sleep(0.001)
for duty in range(65535, 0): # deccresing LED brightness
led_1.duty_u16(duty)
led_2.duty_u16(duty)
led_3.duty_u16(duty)
led_4.duty_u16(duty)
led_5.duty_u16(duty)
led_6.duty_u16(duty)
led_7.duty_u16(duty)
led_8.duty_u16(duty)
led_9.duty_u16(duty)
led_10.duty_u16(duty)
led_11.duty_u16(duty)
led_12.duty_u16(duty)
led_13.duty_u16(duty)
led_14.duty_u16(duty)
led_15.duty_u16(duty)
led_16.duty_u16(duty)
print(duty)
time.sleep(0.001)
As we mentioned in the introduction part raspberry Pi Pico has 8 PWM slices and 16 PWM channels. So in this example code we are interfacing 16 LEDs with PWM pins.
Most of the code instructions and commands are similar to the previous example. Here we declare 16 different led objects for 16 different GPIO pins (PWM pins).
Fig. 26 Declaring ‘led’ object
Fig.27 PWM frequency
In the images attached below, we can see the variation in LED brightness.
Fig. 28 Minimum Brightness Level
Fig. 29 Intermediate Brightness Level
Fig. 30 Maximum Brightness Level
In this tutorial we demonstrated the implementation of pulse width modulation on LEDs with Raspberry Pi Pico module and MicroPython programming language.
Continuing with this tutorial, in our upcoming tutorial we will discuss the interfacing of a servo-motor with raspberry pi Pico and we will also implement PWM on servo motor to control the direction of rotation.
This concludes the tutorial, we hope you find this of some help and also hope to see you soon with a new tutorial on Raspberry Pi Pico programming.
Because of SQL database errors, users are unable to access their valuable data, and it is their responsibility to fix the issues promptly to make sure that there are no severe data loss issues. There are some predominant database corruption errors and issues. You may promptly resolve them to avoid undesirable severe data loss. We will know more about database corruption errors, issues, and perfect solutions for fixing SQL server database problems.
Usually, there are three main reasons behind database failure. Let us examine each of them and identify ways to recover and restore your lost data.
If a computer or server is shut down improperly, or if it encounters a power outage or surge or something occurs that abruptly interrupts the process of writing data to the files, there are chances of the OS files getting corrupted or damaged severely. This may lead to critical data loss. After encountering such a crisis, you are advised to repair or at least, examine the filesystem to safeguard against any data loss in the future. For modifying or mounting a file system, a repair may be necessary. Even though a thorough check may not report or reveal any severe damage, you might still need to repair the filesystem.
Another effective way of repairing the corrupt or compromised database is by utilizing database console commands like CHECKDB, DBCC, or DBCC DEBREPAIR. These commands could help fix minor database issues. However, they are not efficient enough to tackle or resolve critical corruption cases.
Hardware failures will be including memory issues, bad disk sectors, disk crashes, and even disk with errors, among many other issues. Hardware failures could be because of design errors, overloading, and poor quality control at the time of fabrication, and degradation of mechanical parts. Software failures will be including issues associated with software like DBMS software, operating system, application programs, etc.
Irrespective of how trustworthy, your DBMS seems, it is not in a position to guarantee a failure-free seamless transaction each time. To prevent any kind of database failure, the most logical and proactive step is to consult with expert DBAs. Once the overall database health is analyzed, you may rest assured to avoid serious problems down the line.
Users should regularly back up their SQL database to restore the database, in case of corruption or damage. Backup is certainly the most effective way of dealing with corruption. Keep in mind that some data may be missing between the time when disaster struck and the last backup. You may consider using commands like DBCC CHECKDB to examine and resolve corruption issues. However, you may fail to repair and restore severely corrupted files using this command.
You may use SQL data recovery tools recommended by experts to repair and resolve corrupt database file issues due to a lack of a backup. Some cutting-edge tools are helpful in the recovery of deleted objects, and they even display a preview. SQL recovery could prove to be a daunting and stressful job. However, you may use some advanced SQL recovery tools for getting your databases back into action!
| Where To Buy? | ||||
|---|---|---|---|---|
| No. | Components | Distributor | Link To Buy | |
| 1 | Breadboard | Amazon | Buy Now | |
| 2 | Jumper Wires | Amazon | Buy Now | |
| 3 | Raspberry Pi 4 | Amazon | Buy Now | |
Connect button pushes to function calls using the Python gpiozero package and uses the Python dictionary data structure
For this project, you'll need some audio samples. On Raspbian, there are many audio files; however, playing them with Python can be challenging. You can, however, transform the audio files to a more simply used format for Python.
Please make a new folder and rename it because all of your project files will be saved in the new location.
Create a new folder named samples using the same technique as before in your new folder.
In /usr/share/sonic-pi/sample, you'll find a bunch of sample sounds. These sounds will be copied into the samples folder in the following phase.
Open the command window by selecting the icon in the upper left corner of your screen.
To transfer all items from one folder to another, execute the following lines:
You should now see all the .flac audio files inside the sample folder.
To use Python to play sound files, you must first convert them from .flac to .wav format.
Go to the sample folder inside a terminal.
FFmpeg is a software program that can quickly transcode video files on Raspberry Pi. This comes preloaded on the most recent Raspbian releases.
You may use this simple command to convert music or movie files format:
To transform an audio (.wav) to a mp3 format (.mp3), for example, type:
A batch operation is a process for processing or treating a large quantity of material. When creating modest amounts of goods, the batch operation is preferred. Because this procedure provides superior traceability and flexibility, it is highly prevalent in pharmaceutical and specialized chemical manufacturing.
It's simple to rename a file with bash. For example, you may use the mv command.
But what if you had a thousand files to rename?
When you run a script or a series of commands on several files, this is known as a batch operation.
The first step is to notify bash that you wish to work with all the files inside the folder.
The dollar symbol indicates that you're referring to f in this case. Finally, inform bash that you're finished.
If you press enter after each statement, bash will wait until you input done before running the loop; therefore, the command would appear as shown below:
You might also use a semi-colon to separate the instructions rather than pressing Return after every line.
The process of processing and analyzing strings is referred to as string manipulation. It entails several processes involving altering and processing strings to utilize and change their data.
That final command was meaningless, but batch operations can accomplish a lot more. You can use the following command to rename each file.
As a result, the $f percent.txt.MD syntax replaces all.txt strings with .md strings. Use the hash operator instead of the % sign to remove a string from the beginning rather than the end.
Write the following lines in your terminal. All .flac files will be converted to .wav files, and the old ones will be deleted.
Based on the Raspberry version you're using, it might take a couple of minutes.
All of the new.wav files will then be visible inside the sample folder.
After that, you'll begin writing Python code. You can do this with any code editor or IDE, but Mu is often an excellent option.
To play audio files, import and initialize the pygame library.
This file should be saved in the gpio-music-box directory.
Select four audio files to utilize in your composition, such as:
Then make an object which references an audio file. Give the file a different name. Consider the following case:
For the following three sounds, create labelled objects.
Because all of your audio files are in the sample folder, the path will be as follows:
Each audio object should be given a name, for example, cymbal:
This is how your program should appear:
Please make a backup of your code and execute it. Then use the .play() function inside the shell from the code editor to play the audio.
Ensure that the speaker is functional and the volume is cranked up if you don't hear anything.
Four pushbuttons will be required, each connected to a different GPIO pin.
There are 26 GPIO pins on a Raspberry Pi. You may use them to transmit on/off pulses to/from electrical components like Led, actuators, and switches.
The GPIO pins are laid out as below.
There are extra pins for 3.3 V, 5v, and Grounded connections and a number for each pin.
Another illustration of the pin placement may be seen here. It also displays some of the unique pins that are available as options.
A figure with a quick explanation is shown below.
One of the basic input components is a button.
Buttons come in various shapes and sizes, with two or four legs, for example. Flying wire is commonly used to link the two-leg variants to a control system. Four-legged buttons are usually put on a breadboard.
The illustrations below illustrate how to connect a Raspberry Pi to a button. Pin 17 is indeed the input in both scenarios.
The breadboard's negative rail may be connected to a single GND, allowing all pushbuttons to share the same grounded rail.
On the breadboard, attach the four buttons.
Connect each pushbutton to a GPIO pin with a specific number. You are free to select whatever pin you prefer, but you must recall its number.
Connect one Ground pin to the breadboard's neutral rail. Then connect one of each button's legs to this rail. Finally, connect the remaining buttons' legs to separate GPIO pins.
Here's a wiring schematic that may be of use. The extra legs of the pushbuttons are connected to Pin 4, pin 17, pin 27, and Pin 10 in this case.
A single pushbutton has been connected to pin 17 in the figure below.
The button may be used to invoke methods that don't need any arguments:
First, use Python language and the gpiozero library to configure the button.
The next step is to design a function with no parameters. This straightforward method prints the phrase Hello in the terminal.
Finally, build a function-calling trigger.
You can now see Hello displayed in the terminal each time that button is clicked.
You may make your function as complicated as you want it to be, and you can also call methods which are part of modules. In this case, hitting the button causes an LED in pin 4 to turn on.
The application should execute a function like drum.play() whenever the button is pushed.
However, brackets are not used when using an action (like a button push) to invoke a function
. The software must call that method whenever the button is pushed, not immediately. All you have to do is use drum.play in this situation.
First, establish one of the buttons. Ensure to replace the numbers from the example with the ones of the pins you've used.
Add the following line of code at the end of your script to play the audio whenever the button is pushed:
Push the button after running the software. If you don't hear the sound, double-check your button's connections.
Add code to the three remaining buttons to have them play their audio.
For the second button, you may use the code below.
Good code is clear, intelligible, tested, never overly convoluted, and does the task at hand.
You should be able to run your code with no issues. However, once you have a working prototype, it's typically a good practice to tidy up your code.
Subsequent stages are entirely optional. If you're satisfied with your writing, leave it alone. Follow the instructions on this page and make your code a little cleaner.
Instead of creating eight individual objects, you may keep your pushbutton objects and audio in a dictionary. These are, nonetheless, the seven characteristics of good code.
If you're writing one-time discard code that no one, including yourself, will have to see in the future, you may write in any way you like. However, the majority of useful software that has been produced has to be updated regularly.
The next important feature of excellent programming is scalability, or the capacity to expand with the demands of your organization. Scalability is primarily concerned with the code's efficiency. Scalable code doesn't always require frequent design changes to maintain performance and resolve various workloads.
Last-minute adjustments are unavoidable while developing software. It will be difficult to send new changes through if the code can not be rapidly and automatically tested.
Every piece of software that is built has a certain goal in mind. For persons familiar with the functionality, a code that adheres to its requirements is simple to understand. As a result, one important characteristic of excellent code is that it meets the functional requirements.
Mistakes and flaws are an inherent element of software development. You can't anticipate every conceivable manufacturing case, no matter how cautious you were during the design process. You should, however, shield your application against the negative effects of such situations.
This is an important feature of excellent coding. A reusable and sustainable code is extendable. You write code and double-check that it works as expected. Extensions and related advances can be added to the feature by modules that require it.
For every software application, reusable coding is essential and highly beneficial. It aids in the simplification of your source code and avoids redundancy. Reusable codes save time and are cheaper in the long term.
Learn how to create simple dictionaries and iterate over them by following the methods below.
First, establish a dictionary where the Buttons serve as keys and audio as values.
Whenever the pushbutton is pressed, you can loop through the dictionary to instruct the computer to play the audio:
We learned how to make a "music box" with buttons that play sounds depending on which button is pushed in this lesson. We also learnt how to interface our raspberry pi with buttons via the GPIO pins and wrote a python program to control the effects of pressing the buttons. In the following tutorial, we will learn how to perform a voice control on Raspberry pi.
Welcome to the next tutorial of our Raspberry Pi programming course. Our previous tutorial looked at how to Interface DS18B20 with Raspberry Pi 4. This tutorial will teach us how to create a time-lapse video with still images and understand how phototimer and FFmpeg work.
| Where To Buy? | ||||
|---|---|---|---|---|
| No. | Components | Distributor | Link To Buy | |
| 1 | Raspberry Pi 4 | Amazon | Buy Now | |
When photographing something over a lengthy period, "time-lapse" comes to mind. A video can be created by mixing the still photos. Plant development may be tracked with time-lapse movies, as can the changing of the seasons. They can also be utilized as low-resolution security cameras.
Cameras that can be used with the Raspberry Pi are a bit limited. A powered USB hub is required for most webcams that are compatible. For this post, we’ll be using a camera specifically made for the Raspberry Pi. The camera module can be plugged into a specified port on the Raspberry Pi. How to do it;
Shutting down the pi is recommended before adding a camera. A power button should be installed on Pi 4 so that you may shut down the device safely every time.
Slide the cord into the port by using an image as a guide. Finally, press down tabs, securing the cable to the motherboard.
Click on the main menu button, select Preferences, and then click Pi Configuration if you're using a monitor. Enable the camera by clicking on the Interfaces tab.
To continue, headless users must type the command below. Make sure the camera is turned on in Interfacing Options. Rebooting the Raspberry Pi will be required.
Individual stills are used to create time-lapse videos. We'll be using raspistill to acquire our time-lapse images. As part of the Raspberry Pi OS, you don't need to install anything extra. The are two way to record a time lapse:
Raspistill is a Linux-based software library that aims to make it easier for Linux users to use sophisticated camera systems. We can use open-source programs running on ARM processors to control the camera system with the Raspberry Pi. Almost all of the Broadcom GPU's proprietary code is bypassed, which customers have no access to.
It provides a C++ API to apps and operates at the base of configuring a camera and enabling the program to obtain image frames. Image buffers are stored in memory space and can be supplied to either video encoders (like H.264) or still image encoding algorithms like JPEG or PNG. raspistill, on the other hand, does not perform any image encoding or display operations directly.
An illustration of how to take time-lapse photography is shown in the following image.
In this case, the time-lapse capture was 10 seconds long. The Raspberry will wait for a total of 2000 milliseconds between each image. For 10 seconds, the Raspberry Pi will take a picture every two seconds.
The photos will be stored as .jpg files. This example uses the name "Pic" and a number that increases with each frame to identify each image. The final digit of percent 04d is a zero. Pic0000.jpg and Pic0001.jpg would be the names of the first two photographs, and so on. Change this value according to the requirements of your project.
Your time-lapse video needs to be put together once all of your photographs have been taken. FFmpeg is the tool we'll be utilizing to generate our timelapse video. The command to download the package is as follows:
Allow the installation to be complete before moving on. Using this command, you can create a finished video:
Pic%04d.jpg corresponds to the image filename you specified in the preceding section. If you have previously changed this name, please do so here. With the -r option, you can specify how many frames per second you want to record. When creating a time-lapse video, replace the phrase video-file with your name. Make sure to keep the .mp4 file extension.
A high-speed audio and video conversion tool that can also capture from a webcast source is included. On the fly, video resizing and sampling can also be done with high-grade polyphase filters.
A plain output URL specifies an indefinite number of outputs that FFmpeg can read from (standard files, piped streams, network streams, capturing devices, etc.), whereas the -i option specifies the number of input files. An output URL is encountered on the command-line interface that cannot be treated as an option.
Video/audio/subtitle/attachment/data streams can all be included in a single input or output URL. The container format may limit the quantity or type of stream used. The -map option can map input streams to output streams, either automatically or manually.
For options, input files must be referred to by their indices (0-based). It's not uncommon to have an infinite number of input files. Indexes are used to identify streams inside a file. As an illustration, the encoding 2:3 designates the third input file's fourth and final stream. In addition, check out the chapter on Stream specifiers.
A Python library named phototimer will be used to control the raspistill command-line that comes pre-installed on the Raspbian OS.
Using docker, you can develop, analyze, and publish apps in a short time. To run phototimer with Python installed, you'll need to use Docker with Raspbian Lite.
A new location does not necessitate an SSH login. The lapse of time will be restarted.
Download the Docker image, activate the camera interface, and start the container instead of executing a git clone on each device.
If you disconnect from the container, docker will keep track of the log information and will enable you to reconnect at any time.
We can easily set up docker with the following set of commands.
Download the docker file as a zip as shown below
Or use the terminal by copying the phototimer code as shown here:
If git isn't already installed, use the following command to add it:
By modifying the config.py file, you can change the time-appearance lapses and duration.
You will likely want to alter the default time-lapse settings so that they better fit your requirements, which start at 4 am and end at 8 pm.
For some reason, overall quality of 35/100 produces a substantially smaller image than one with a quality of 60-80/100. You can modify the file to determine how much space you'll need.
Depending on how your camera is positioned, the image may need to be flipped horizontally or vertically. True or False in each situation will have the same result.
To achieve a specific aspect ratio, you can change the height or width of the image in this way. The default setting is what I use.
The Docker container must be re-built and restarted every time you change your setup.
When docker does a build, it will construct an image from the current directory's code and a base image, like Debian.
The most crucial part is that the image we create right now contains everything our application might want.
For those just getting started, these are some helpful keyboard shortcuts and CLI commands:
The default time zone for the Docker container is UTC. If you're in a different time zone, you'll want to adjust your daylight savings time accordingly.
Docker can be configured to run in your current local time by adding the following additional option to the command:
As a result, the following is what a time-lapse in Texas, United States, might look like:
Below are some time-lapse images taken from the raspberry pi camera.
To save your photos to your laptop, follow these steps once you've captured a few pictures:
The ssh and SCP functions are included in Git for Windows, which may be installed on Windows.
You'll need a way to connect to your new rig when you're not near your wi-fi router if you plan on doing the same thing I did. There are a few ideas to get you started:
All Pi models allow networking via USB, and it is very straightforward to establish and will not interfere with the wi-fi network. You will have to bring a USB cord to each new site to directly change the Wireless SSID/password on the pi.
Plugging an SD card into your computer while on the road allows you to update your wi-fi configuration file easily, provided there is an SD card adapter nearby. The existing configuration will be replaced with this new one on the next reboot.
If you're comfortable with Linux, you can use hostapd to create your hotspot on the RPi. To connect to your Raspberry Pi, you'll need a computer with an Ethernet cable and a web browser.
Install your wi-fi Username and password and use that to start/stop timelapse capture and download files if you won't be using the rig outside your location.
The imported files should be in the correct order if you drag them onto the timeline after they've been imported, so be sure to do that. The crop factor should be set to "fill." Instead of 4.0 seconds, use 0.1 seconds for the showtime every frame.
It is often necessary to transfer documents between the Linux laptop to an industrial Raspberry Pi for testing purposes.
Occasionally, you'll need to transfer files or folders between your commercial Raspberry to your computer.
There is no longer a need for you to worry about transmitting files via email, pen drive, or any other method that takes up time. Automation and industry control can help you automate the process in this post.
As the name suggests, SCP refers to secure copy. This command-line application lets you securely transfer files and folders between two remote places, such as between your local computer and another computer or between your computer and another computer.
You may see SCP info by using the command below:
Using SCP, you can transfer files to the RPi in the quickest possible manner. There is a learning curve associated with this strategy for novice users, but you'll be glad you did once you get the hang of it.
You must activate ssh on your Raspberry Pi to use SCP.
A free program like Giphy can help you convert the videos to a GIF; however, this will lower the number of frames.
We learned how to use the Raspberry Pi to create a time-lapse animation in this lesson. In addition, we looked into the pi camera raspistill interface and used FFmpeg and phototimer to create a time-lapse. We also learnt how to interface our raspberry pi with our pc using ssh and transfer files between the two computers. The following tutorial will teach how to design and code a GPIO soundboard using raspberry pi 4.
Hi Everyone! Glad to have you on board. Thank you for clicking this read. In this post today, I’ll cover Real Life Examples of Workflow Automation.
Workflow automation is a talk of mainstream conversation. Many employees use this process in their organizations but they are not aware of this term. Workflow automation is a process used to automate manual and repetitive time-consuming tasks. It requires a series of tasks that need to be completed in a sequential manner where the process goes from start to finish with a definite goal in mind. For instance, onboarding new clients and approving leave requests are susceptible to errors when done manually. However, with workflow automation software, these tasks are done automatically without human intervention, leaving no room for mistakes or failure.
In this digital transformation stage, it is almost impossible to handle the influx of data manually. This is where digital technology comes to rescue you. With workflow automation, you can streamline business processes in a way that requires less time and hard work and guarantee optimal results.
We’ve compiled 7 real-life examples that use workflow automation to bring value to your business where you can automate routine tasks, allowing you to pay careful attention to the business objectives that matter.
Expense reports are a hassle. You require these reports to reimburse the money employees pay out of their pocket. Companies need to ensure their finances and expenditures are in check to make sure they don’t go out of budget anytime soon.
When employees spend money on travel or any business purpose outside the company premises, they feel uncomfortable finding all those receipts to submit as proof of purchase. And for the finance department, this process is painful since they need to do a lot of physical paperwork and fill spreadsheets to reimburse money to the employee.
Solution? Workflow automation.
With workflow automation tool, creating expense reports are like a walk in the park. Employees can use this tool on their smartphones. All they need to do is click the image of the receipt and upload it in the app, and send it to the manager for approval. The manager can check the details at a glance and can immediately approve it and send it to the finance department for reimbursement.
The first impression is the last impression. So make it count. If new hires experience a positive onboarding process, they are more likely to stick with the company.
Manual filling of personal information and compliance documents is prone to mistakes that will leave a negative first impression on the new hires. This situation can be avoided with workflow automation.
Incorporating workflow automation software in hiring new candidates will make the process smooth and accurate, putting both executives and new team members on the same page. This way the manager you will work under can overview your background at a glance and assign tasks to as best of your capabilities.
No matter the organization, assigning new tasks to the individuals takes time and requires deliberate effort. It is very challenging to manually keep the record of tasks assigned to each individual. This is where workflow automation comes in handy.
For instance, Flokzu is a workflow process management software that you can use to visually create the outline of each task to be completed. Moreover, it comes with a reporting system that lets you know about the pending task when it is completed and automatically assigns the new task to the relevant team member.
Traditional handling of leave requests is outdated. You can’t consistently keep in check whether the company is working with a full labor force. If handled manually, you always need to enter the time when an employee is away, which is a painful and tedious job. Workflow automation makes this process effortless.
Once the manager approves your leave request, the workflow automation software will automatically monitor the time when the employee is away and make it sync with the payroll. So, the time-off duration will automatically be deducted from your paycheck at the end of the month. This way manager can keep the record of employees working in the company at the same time and those away, making sure the required number of employees are present in the organization.
Data procurement is a fundamental component of your business growth. It helps you make an educated decision around the calculated data to handle business operations efficiently. With the deep insights into the raw materials entering the manufacturing department, you can find areas of improvement immediately.
When handled manually, data procurement can lead to data loss, more time spent and reduced productivity from the labor workforce. However, automated systems, on the other hand, help you monitor data on a single screen and allow the manager to efficiently revisit the strategic decisions and improvise on them for better results.
Impeccable customer support is the prime pillar of any agency. You want to turn customers into recurring customers, which is only possible when their queries are handled and requests are answered immediately. The main purpose of any customer support is to bridge the communication gap between customers and the agency so they keep coming back for what you have to offer.
And with workflow automation, you can bridge this gap and delight the customers with consistent and reliable processes from ticket creation to ticket closure. When you submit the ticket, your request is transferred to the relevant department which might involve getting back and forth between departments until you get the email when the issue is resolved. Some companies use online chatbots where the queries of customers are handled immediately without any delay. Know that when repetitive and mundane activities are automated, team members can pay attention to value-added endeavors.
Invoice generation is necessary to balance the books of any organization. According to reports, one accountant can process 5 invoices per hour manually and charge $19.24/hour. In conclusion, one invoice costs $4 to manually process it.
With workflow automation software this cost can be significantly reduced. You can, for instance, subscribe to invoice generation software QuickBooks ($12.50/month) and can generate scores of invoices at a low cost.
If you integrate a payment platform like PayPal with an invoice generation tool like QuickBooks; whenever you buy anything, the system will cut money from the former and an automatic electronic invoice will be generated in the latter.
Workflow automation is an effective way to manage complex business tasks. But while this process is in practice, it doesn’t mean you have to adapt it anyway. What’s working for other companies might not work for you. For instance, tasks that are not repetitive and time-consuming, you might prefer doing them manually since it may require more time and budget to put them on an automated system. Similarly, the tasks like system failure or hacking, when this occurs you instantly need human involvement. Make sure you do your due diligence before incorporating workflow automation into your business, so you can reap more benefits than your competitors.
That’s all for today. Hope you’ve enjoyed reading this article. Feel free to share your valuable feedback and suggestions to improve our content. If you have any questions, ask me in the section below. I’d love to help you the best way I can. Thank you for reading this article.
In this article, we will discuss the introduction to organic chemistry in which we will study organic compounds, classification of organic compounds, types of formulas, use, significances, general and covalent bond characteristics of organic compounds, and homologous series and his characteristics. 9 out of 10 takes the organic chemistry too tough but I explained it easily and simply to you. This article is for beginners and clears many topics.
“The chemistry of compounds obtained from living things.”
Swedish Chemist Jacob Berzelius put forward this theory in the 19th century.
“ Organic compounds could not be synthesized in the laboratory due to the influence of a mysterious force called vital force, which occurs only in living things.”
The branch of chemistry in which we study hydrocarbons and their derivatives is known as organic chemistry.
Organic compounds belong to hydrocarbons and their derivatives which are covalently bonded to carbon.
There are so many examples of organic compounds
Organic compounds had six types of formulae;
The formula In which the exact no of atoms is mentioned in one molecule of the organic compound is called the molecular formula.
Examples
The molecular formula of methane CH4.
The formula of organic compounds shows the actual arrangement of different atoms of various elements present in a molecule.
Example
The structural formula of propane is
Iso_ propane
The formula in which groups of atoms are linked with each carbon atom in a branched-chain or straight chain.
Example
The condensed formula of propane
Iso_propane. n_propane
The formula in which sharing of electrons in a dot and cross-form between the various atoms in one molecule is indicated is called electronic or Dot and Cross formula.
Example
In which whole, no ratio of different atoms in a compound gives the empirical formula of organic compounds
Example
The essential form of structure of an organic compound makes a series of atoms that are bonded together in the form of a chain, branched, or rings called the skeleton formula.
Example
skeleton formula of propane is
Depending upon their carbon atoms, organic compounds are divided into two categories.
Acyclic compounds form a long chain of carbon atoms without joining the end of the cross-format with each other. They may form straight or branched chain compounds
A straight-chain is formed by the linking of carbon atoms with another carbon atom or any other atoms through single, double, or triple bonds.
Example
propane
Branched-chain compounds
Open chain compounds i.e. aliphatic compounds in which a branch along with a straight chain is formed.
Closed chain or cyclic compounds
The carbon atoms of closed chain compounds are not free from their ends and it contains one or more close chains. These are divided into two groups
These compounds are made up of rings of carbon atoms. These are further divided into two groups.
Aromatic compounds consist of benzene rings at least one in their molecule. Six carbon atoms with three double bonds make a benzene ring, these compounds are also called benzenoid compounds. They have aroma or smell so they are also called aromatic compounds.
Example
These are called none_ benzenoid compounds because the benzene ring is not present in these compounds.
Example
Those cyclic compounds that consist of one or more atoms other than that of carbon atoms in their rings are known as heterocyclic compounds.
Example
The classification of known compounds is as follows
so the organic compounds are open or closed chains. Open chains are further divided into alkane, alkene, and alkynes. Closed chains may be homocyclic or heterocyclic. Homocyclics are alicyclic or aromatics.
From plants and animals, organic compounds are naturally prepared.
Protein and fats are the two major groups of organic compounds that are synthesized by animals.
Plants could be prepared
From dead plants through a biochemical process, we obtain
By the destructive distillation of coal and petroleum, we obtain thousands of organic compounds.
A blackish, complex mixture of organic compounds of carbon, hydrogen, and oxygen is called Coal
In the absence of air, strong heating of coal is called Destructive distillation.
Except for carbon, coal contains different elements like hydrogen, oxygen, sulfur, and nitrogen.
So huge number of organic compounds are formed due to the destructive distillation of coal with few inorganic compounds.
When coal is passed through the destructive distillation process. A solid residue left behind and lost all of its volatile elements is called coke.
The techniques, in which different ranges of temperature are used to separate the mixtures of the coal in terms of temperatures. we get different products at different ranges of temperature.
The below chart shows the uses and types of coal
A Greenish black or dark brownish colored viscous liquid is called petroleum.
It is a complex mixture of salt, water, and Earth particles mixed with a mixture of serve solid, liquid, or gaseous hydrocarbons.
The main source of organic compounds is petroleum and it is separated through fractional distillation. Different organic compounds consist of each fraction of petroleum that is not a single compound.
Natural gas consists of serial gases like 85% of methane, nitrogen gas, carbon dioxide, propane, butane, and ethane.
Macromolecules are formed by living plants
Two centuries ago, due to the vital force theory, we considered that organic compounds are prepared only from animals and plants and could not be synthesized in the laboratory.
A large amount of the organic compounds, almost more than ten million are synthesized in a laboratory.
Urea opens the way for chemists to prepare organic compounds in the laboratory and it is synthesized by inorganic salts.
Example
The fermentation of barley and molasses produced alcohols.
Synthetic rubber has much more qualities than natural rubber-like
Different fibers are made in laboratory-like
Natural fibers have better properties than synthetic fibers like
All proteins, sweeteners, vitamins, drugs, and medicines are being prepared in laboratories.
There is no doubt that more than ten million compounds are made in the laboratory but thousands of organic compounds are naturally synthesized by plants and animals.
We use different organic stuff daily such as milk, eggs, vegetables meat, etc. contain protein, vitamins, fats carbohydrates, etc.
Natural fibers and synthetic fibers, all are organic compounds used in cloth making that we use daily for wearing bedsheets, etc.
A variety of organic compounds are used in raw materials such as
cellulose naturally occurring organic compound in wood that is used for making furniture and housing.
Coal, petroleum, and natural gas are all organic compounds called gospel fuel that is used for domestic purposes and automobiles.
antibiotics (kill or inhabitants of microorganisms that cause infectious diseases) are life-saving medicines.
The general characteristics of Organic Compounds include:
A covalent bond is a chemical bond that influences the sharing of electrons pairs between atoms in a switch resulting in a balance of impressive and despicable forces between the atoms. The presence of a covalent bond renders specific elements to the organic compounds. These include:
A major characteristic of Members of Homologous Series
A Homologous Series is a community of organic chemical compounds, usually summarized in the order of increasing size, that have an identical structure (and hence, also similar properties) and whose structures vary only by the number of CH2– CH2 units in the fundamental carbon chain.
They maintain the following general characteristics:
So this is all for our today's article. I have tried my best to explain all the important topics covered in the heading " Introduction to Organic Chemistry". So if you want more tough articles in simple ways then give me good feedback. It will help me for better work. Thanks
Hi Friends! Hope you’re well today. I welcome you on board. In this post, I’ll walk you through How Workflow Automation Can Benefit Small Businesses?
Reduce the possibility of human error, save time and improve efficiency – The main goal of workflow automation. If your employees spend a lot of time on mundane and repetitive tasks, it’s a high time to invest in workflow automation. Especially if your business is small and you are in the early stages to leave a footprint in the competitive market. You can’t afford to hire scores of employees to do predictable tasks that you can automate with workflow automation. For instance, follow-up emails and sales calls, finance approval and invoice generation, and onboarding new employees, you can automate these tasks without having to worry about hiring someone to handle them manually.
Curious to know how workflow automation can benefit small businesses?
Keep reading.
Before we proceed further, we’ll cover what workflow automation is?
Workflow automation is the process to automate manual repetitive tasks to improve efficiency and reduce human error. When you apply technology to business operations, you can effortlessly translate the manual handling of processes into automation. This way employees can spend more time on value-added tasks that require a human touch and brainstorming.
What’s more, with workflow automation you can monitor employees’ performance and can immediately apply tweaks to revisit your strategic decisions. Plus, you don’t need a technical IT team to streamline processes, improve reporting and integrate two or more apps. Apps like Zapier do it for you. It involves creating Zaps that is creating links between business tools. For instance, it can integrate a website, CRM software, and messaging app to improve productivity and bridge the communication gap between customers and the agency.
The following are the core benefits of incorporating automation into your business.
Chasing down people across departments is so frustrating, especially when you don’t know the current status of the file. With workflow automation, you can monitor the workflows online and get an instant alert to set priorities. This improves the productivity of the employees, allowing them to be better prepared for the pending tasks.
Employees are the backbone of any industry. But you need to keep your budget in check while getting employees on board. You can significantly reduce the cost of labor workload if you automate some of your business processes. For instance, freeing employees from doing predictable and mundane tasks will help you invest in the things that involve human input.
When employees are free from manual tasks such as data entry, form filling, and invoice generation, they will find more time for brainstorming and get creative on the tasks that require innovation and emotion. The potential to apply intelligence, sensitivity, and expertise on the product level allows companies to deeply connect with the customers and deal with their questions and queries with deliberate intention.
When the pandemic hit, the demand for remote work increased more than ever before. Not everyone can manage to do an in-house job in a time of crisis. Companies that know how to manage the workforce remotely can effectively capitalize on the given resources. With workflow automation, you can seamlessly connect employees from different parts of the world. For instance, Google Drive, and DropBox allow the companies to share files across departments, and tools like Loom allow them to have full visibility of the teams.
What tasks do we need to automate? The answer is simple: Tasks that are repetitive and require approvals and smooth communication. Following are the five tasks that you can automate in your business.
At times employees have to spend money on the best of money for business purposes. Companies can’t instantly pay those employees who pay out of their pocket. And when they apply for reimbursements, they come across a hassle process especially when reimbursements are handled manually.
To effectively handle such scenarios, automation is the solution. Incorporating workflow automation prevents employees to chase hectic approvals and make regular visits to the finance office. Automation makes this process straightforward. Employees simply upload the receipts on the software which instantly gets connected with the manager for approval. Once the manager grants approval, receipts move to the finance department and they release the money spent by the employees.
First impression is the last impression especially when it comes to onboarding new hires. The seamless onboarding process tells a lot about employees if they are going to stick with the company for a longer time.
Tasks like updating new hires, documents approval, and follow-ups can be automated before candidates even join the company. Plus, you can effortlessly communicate and assign them the tasks so they are better prepared when they embrace the new role. Automation removes the tedious paperwork and mundane approvals, allowing both employer and employees to come on the same page without the need to back and forth face to face interaction.
Every organization deals with the influx of leave requests regularly. If organizations still use traditional ways to approve requests, they might already know it’s a tedious process. At times manager feels difficulty in managing the required number of employees in the company. One employee might want the same day off already applied by another employee. If handled manually, it is very challenging to keep the record of employees with days off or those who want particular time away from the company.
Workflow automation removes this uncertainty and makes sure the company doesn’t go understaffed. Automation software tracks and keeps the record of the time of those away and the manager can instantly approve the leave requests by scanning everything on the single screen. Software is stuffed with an online form to let employees know which days are available or unavailable that automatically limits two employees requesting the same days off.
No matter the type and size of your business, data procurement is a critical part of every business. It is a process that consists of a series of functions required to obtain goods and services from the vendor and keep a record of how these services and goods are used to achieve business goals. The effective use of the procumbent function directly influences the cost-saving objectives of the agency. Yes, by analyzing the data you can revisit decisions if you need to change vendors and suppliers. Data procurement goes beyond the purchase of goods and services. For instance, it also includes a better understanding of the performance of all business units, supplier performance, risk and compliance management, and contract utilization.
Manual processing of data procurement often leads to compromised risks like operational risks, delivery risks, and potential frauds. Moreover, inaccuracy and inefficiency are other issues that result from the manual handling of data. However, with automation procurement software these issues can be avoided. Automating vendor management and purchase orders guarantee enhanced compliance and greater productivity.
Invoice generation is an integral part of any business. Effective invoice generation builds trust and allows clients to stay in touch with your business and keep coming back for what you have to offer. If you create invoices manually, you might need to generate an invoice every time to request payment from the client. However, with workflow automation this process becomes transparent, preventing you from entering information every single time to request the next payment. A smart automation solution comes with automation of data entry, matching prices, transferring digital payments, managing purchase orders, and more. Generating digital invoices is crucial for businesses to keep up with the modern trends and compete with rival brands.
When you start a small business, you need employees to keep it up and running.
However, it’s probable in the early stage of your business you’re tight on budget.
To combat this, a smart automation solution is key.
No advanced automation solutions are required. Some vendors offer low-cost solutions that perfectly fit your budget.
From vacation requests and invoice generation to data procurement and onboarding new hires, you can automate workflows for your business growth.
Know that not every business task requires automation, since some mission-critical tasks like system failure and hacking demand instant human involvement to run a business without delays.
That’s all for today. Hope you’ve enjoyed reading this article. If you have any questions, you can ask me in the section below. You are most welcome to share your experience of incorporating workflow automation into your business. Thank you for reading the article.
Hello readers, I hope you all are doing great. In our previous tutorials on raspberry pi Pico, we discussed the basic features, architecture, download and installation of development environments for raspberry Pi Pico programming. In this tutorial, we will learn how to access and control Raspberry Pi Pico and its GPIO pins to implement LED blinking using MicroPython.
Raspberry Pi development boards are quite popular and frequently used among students and hobbyists. But the drawback of Raspberry Pi is their cost i.e., around $35-$45. So when cost of the development board is of prime importance the users prefer to use ESP8266, ESP32, Arduino, PIC etc. over Raspberry Pi. To overcome this drawback, Raspberry Pi foundations designed a new board i.e., Raspberry Pi Pico which is a cost effective solution for costlier Raspberry Pi boards.
Raspberry Pi Pico is a cost-effective development platform designed by Raspberry Pi which has enough processing power to handle complex task. It is a low cost and yet powerful microcontroller board with RP2040 silicon chip.
We have already published tutorials on how to download and install the above mentioned software components.
Follow the given link for detailed study of Raspberry Pi Pico: https://www.theengineeringprojects.com/2022/04/getting-started-with-raspberry-pi-pico.html
We have already published a tutorial on installing Thonny IDE for Raspberry Pi Pico Programming. Follow the given link to install the IDE: https://www.theengineeringprojects.com/2022/04/installing-thonny-ide-for-raspberry-pi-pico-programming.html
The Raspberry Pi Pico board comes with an onboard LED which is internally connected with GPIO 25. So first we will discuss how to access the on board LED and then will interface an external one.
Fig.
Steps included in programming the Raspberry Pi Pico to make the onboard LED to blink are:
“from machine import Pin, Timer”
“led = Pin(25, Pin.OUT)”
“ led.toggle()”
Fig. Save the program
Fig. Run the code
Note: If you are already running a program on Raspberry Pi Pico board then press ‘Stop’ before running a new program.
from machine import Pin, Timer
led = Pin(25, Pin.OUT)
timer = Timer()
def blink(timer):
led.toggle()
timer.init(freq=2.5, mode=Timer.PERIODIC, callback=blink)
Fig. Blinking On-board LED
Table 1
Fig. Iterfacing LED with Raspberry Pi Pico
Steps included in programming the Raspberry Pi Pico to make the peripheral LED to blink are:
“from machine import Pin”
“import time”
Create an object ‘led’ from pin14 and set GPIO pin14 to output.
“led=Pin(14,Pin.OUT)”
“while True:"
“led.value(1)”
“time.sleep(1)”
“led.value(0)”
Fig. Interfacing and Blinking LED with raspberry Pi Pico
from machine import Pin, time
led=Pin(14,Pin.OUT) #Creating LED object from pin14 and Set Pin 14 to output
while True:
led.value(1) #Set led turn ON
time.sleep(1)
led.value(0) #Set led turn OFF
time.sleep(1)
This concludes the tutorial, we hope you find this of some help and also hope to see you soon with a new tutorial on Raspberry Pi Pico programming.
Hi readers! I hope you are doing well. Any solid building starts with a solid foundation; the slab under your feet carries the brunt of modern-day living. Now, we learn RCC Slab Design.
The design of reinforced cement concrete (RCC) slabs is one of the simple structural elements of any construction that shall form the level surfaces of the buildings, such as floors and roofs. RCC slabs combine the advantages of high compressive strength in concrete and high tensile strength in steel reinforcements, leading to a strong and load-bearing construction component. These slabs serve as vital links for transferring live loads (equipment, furniture, people) and dead loads (finishes, self-weight) to columns, beams, and finally to the foundation.
Depending on their support conditions, slabs may be broadly classified into two types—one-way slabs and two-way slabs. In one-way slabs, loading is mostly in one direction, usually when the length-to-breath ratio is greater than two. Two-way slabs are when they transfer loads in both directions, specifically supported on all four edges. For varying requirements of the structure, slabs may also be flat, ribbed, waffle, or hollow core.
The design of RCC slabs involves careful planning concerning span length, loading conditions, control of deflections, detailing of reinforcement, and serviceability. The design of slabs in contemporary times adheres to IS 456:2000 (India), ACI 318 (USA), or Eurocode 2, and is carried out either manually or utilizing some structural software packages. A proper design of RCC slabs ensures structural safety and integrity.
Here, you will find the RCC Slab, its functions, types, advantages, different types of materials used, principles, and software for the RCC Slab. Let’s start.
RCC slab refers to Reinforced Cement Concrete slab, which is a structural member in structures and infrastructures known as roofs and floors. RCC slab is constructed or made out of a flat, horizontal surface where a concrete mix is poured onto a system of steel reinforcement bars (rebars). Concrete is good at resisting any kind of compression, but less than satisfactory in resisting any type of tensile force. This shortcoming is compensated for by providing a steel reinforcement inside that takes up the tensile stresses and forms a composite material capable of resisting various types of structural loads.
Accordingly, different types of RCC slabs include one-way slabs, two-way slabs, flat slabs, and waffle slabs concerning support and design conditions. Apart from different construction methods, they are often found in residential, commercial, industrial, bridges, and parking decks. RCC slabs are the popular choice in construction now due to their lasting quality, ability to withstand fire, and low cost. The design of these slabs makes it possible to analyze them for the required safety and strong performance.
RCC slabs are essentially important structural elements found in almost all constructions of today. They perform many essential functions that contribute to the safety, stability, and efficient functioning of a building.
One major factor about RCC slabs is their ability to bear and distribute loads. These loads comprise the weight of occupants, furniture, equipment, or environmental forces like snow or wind pressure. The slab transmits these loads uniformly to the supporting beams and columns, or walls below. One vital factor is the load distribution, as a localized stress can cause cracking or structural failure. Thus, by providing load distribution, the RCC slabs target durability and longevity for the building.
RCC slabs very much contribute to a structure's general structural stability. They also take on the function of a horizontal diaphragm, which connects vertical members (primarily columns and walls) and enhances the overall rigidity and stability of the system. The slab also serves in resisting lateral forces from different actions, i.e., wind forces or seismic activity, distributing those loads throughout the entire structure, and decreasing the odds of collapse or excessive swaying.
RCC slabs not only have structural utility but also provide thermal and acoustic insulation for the users. Due to the thickness, components, and surface finishes, slabs can actually decrease heat transfer during these applicable components and help maintain comfortable indoor temperatures. Slabs also help minimize sound transfer by preventing sound from easily passing through the three-dimensional arrangement of unitized space. This sound transfer isolation is particularly useful for residential and commercial building types.
Slabs separate the interior of a building into floors or levels, creating distinct usable spaces vertically. This vertical division facilitates the architects and engineers to design multi-storey buildings effectively, in turn maximizing usable area per given plot. The slabs also provide a firm platform for any interior finishes, furniture, and equipment installed safely.
In RCC slabs, sorted materials are used and work as a group to offer increased strength, durability, and stability. All the materials have to meet a specific quality and function to contribute to the slab’s performance.
Cement is what binds together all the parts of concrete. You normally find RCC slabs built with ordinary Portland cement or a blend called Portland Pozzolana Cement. The quick setting and quick buildup of strength are reasons O.P.C. is used. Often, construction teams use both Grade 43 and Grade 53 O.P.C. in RCC slabs because of their strong compressive strength. When the cement, aggregates, and water are hardened together, the cement forms a strong foundation for the material. Durability and strength in a slab are strongly affected by the cement quality and grade.
Fine aggregate is mainly added between coarse aggregates to increase both the packing and workability of concrete. Fine particulate aggregates are often made by using either clean river sand or M-sand. M-sand is becoming used more often as natural sand starts to run out and cause environmental issues. Concrete should not be weakened because of impurities, which is why clay, silt, and organic matter must be avoided in the sand. Obtaining a dense and strong concrete mix is made easier by fine grading and a high fineness modulus of the aggregate.
Coarse aggregates provide concrete's strength and volume. Crushed stone or gravel is typically applied to RCC slabs in general. The size of coarse aggregates typically is not more than 20 mm to afford ease in mixing, placing, and compacting. Well-graded coarse aggregates help in raising compressive strength and reducing shrinkage cracks. Aggregates need to be hard, durable, and without deleterious material that tends to spoil the quality of the concrete.
Water is a constituent part of concrete, and through it, the chemical process known as hydration, cement sets and hardens. It must be clean and drinkable, free from salts, oil, acids, or other impurities that will weaken the concrete. Water-cement ratio decides the strength and quality of the RCC slab, and thus, careful measurement is necessary while mixing.
Steel reinforcement provides RCC slabs with tensile strength, which cannot be resisted by concrete. High-yield strength deformed bars, such as Fe500 or Fe55.0, are mostly utilized. They form a very effective bond with concrete due to their surface ribs. Mild steel bars can be occasionally used for stirrups and secondary reinforcement to confine the main bars and shear forces. Proper alignment and appropriate covering of the reinforcement are of utmost importance to protect it from corrosion and make the slab strong.
Category |
Type |
Description |
Based on the Support System |
One-Way Slab |
Supported on two opposite sides; load carried in one direction. |
Two-Way Slab |
Supported on all four sides; load carried in both directions. |
|
Cantilever Slab |
Supported on one end only; extends beyond support (e.g., balconies). |
|
Based on Construction |
Flat Slab |
Slab rests directly on columns without beams; allows flexible column layout and reduced height. |
Waffle Slab |
Grid-like slab with ribs in two directions; used for longer spans and heavy loads. |
|
Domed Slab |
Curved slab used for architectural appeal and lightweight roof structures. |
|
Based on Pre-Stressing |
Post-Tensioned Slab |
Steel tendons are tensioned after concrete casting, allowing longer spans and thinner slabs. |
Pre-Tensioned Slab |
Tendons are tensioned before casting, common in precast slab production. |
|
Based on Precast Design |
Hollow Core Slab |
Precast slab with hollow cores to reduce weight and material usage. |
The design involves balancing the strength, stability, usefulness, and cost of an RCC slab. Important factors in slab design are the load calculation, checking moments and shears, choosing the slab thickness, and designing reinforcing bars.
Design of the RCC slab starts by determining all the loads it needs to support:
Dead Load (DL): Self-weight of the slab and permanent finishes like flooring or plaster.
Live Load (LL): User-generated loads, furniture, and removable loads.
Superimposed Load: False ceilings, HVAC ducts, and non-structural partitions.
Environmental Load: Thermal or contraction loads, shrinkage loads, wind loads, and seismic loads.
These loads help calculate bending moments and shear forces, which define slab size and reinforcement.
Structural analysis methods like the Moment Coefficient Method, Yield Line Theory, and Finite Element Analysis (FEA) are used to calculate the bending moments and shear forces in the slab. These help in the calculation of the size and amount of reinforcement steel.
The slab depth is chosen to limit deflection and withstand loads:
One-Way Slab: L/d ratio = 20–25
Two-Way Slab: L/d ratio = 30–35
More depth gives strength, but also weight and cost.
Primary Reinforcement: Anchored in the span direction to give bending strength.
Distribution Steel: Anchored over main bars to distribute load and to prevent cracking.
Cover: Typically 15–25 mm, protects steel from corrosion.
Proper positioning and spacing make the building strong, durable, and resistant to cracking.
Determine Span and Support Conditions
Estimate Loads
Choose Slab Thickness
Calculate Bending Moments and Shear Forces
Design for Flexure
Check for Shear and Provide Stirrups if Needed
Check Deflection and Crack Control
Detail Reinforcement (Spacing, Diameter, Laps)
Check Development Length
Prepare Structural Drawings
Computer-aided RCC slab design depends greatly on advanced software to achieve accuracy, productivity, and conformance with design standards. They facilitate easier and more precise calculations as well as structural accuracy.
Very popular for structural analysis and designing, it supports multiple loads and can carry out thorough analysis for RCC and steel structures.
Perfect for building and high-rise analysis, ETABS makes modeling easy, load application easy, and structural design easy, particularly for shear walls and slabs.
Intended specifically for slab and foundation systems, SAFE offers detailed reinforcement layouts, punching shear checks, and deflection analysis.
With AutoCAD, you can detail and draft slabs and reinforcements for construction drawings in 2D.
With Revit, BIM software, both the structural and architectural parts of construction can be merged, helping to visualize and design projects with teams.
They help you achieve more, catch fewer errors, and develop RCC slab designs on a professional level.
The load capacity of RCC slabs is considered excellent. Being composed of concrete (strength against bending) and steel (strength against pulling or twisting), they become excellent for lifting heavy things without risk of breaking or twisting. For this reason, RCC slabs are best suited for construction in both homes and factories.
RCC slabs are known for their long-lasting service. These slabs can handle exposure to rain, differences in wind, and varying temperatures without problem. When made correctly and using high-quality materials, RCC slabs can continue to function well for many years with very little upkeep.
Fire has no impact on concrete, and it serves to insulate and cover the reinforced metal bars. If there is a fire, this aspect provides added security by holding up the building’s structure and allowing evacuation.
Slabs made with reinforced concrete can be formed to fit both the architecture and how the slabs will be used. Each style can suit different construction projects, so they are often used in floors, roofs, on balconies, or as steps.
Because cement, sand, gravel, and steel are common local materials, RCC slabs are relatively affordable. What’s more, work can be handled by local workers, bringing down expenses without reducing the project’s quality and durability.
RCC slab design goes beyond inserting steel into concrete by ensuring the building stays strong, serves its purpose well, and is safe for everyone inside. Through an RCC slab, loads are carried effectively to beams and columns, cracking and deformation are resisted, and a strong base is created for both roofs and floors. Appropriate material, the proper mix,x, and correct placement and curing of the reinforcement all directly affect how well the slab performs in the years to come.
As architectural designs and demands evolve, RCC slab design also advances with new technologies, improved materials, and environmentally friendly techniques. Engineers now employ computer software and advanced methodologies to design slabs that are not only durable but also economical. Whether it's a small house or a large commercial complex, adhering to good design principles is the key to success.
For engineers, architects, and even students, it is highly essential to learn about RCC slab design. It enables them to construct safe and durable structures that will suit the present and future needs.
Running a business is not an easy job. It requires a lot of deliberate effort and careful attention to run business processes successfully. Some tasks involved are repetitive and time-consuming, making it difficult for you to do them manually. This is where workflow automation comes in handy that doesn’t require human intervention and can be used to effectively manage and execute business processes.
Curious to know about Top 10 workflow automation software?
Scroll on.
Workflow is a process that requires a lot of steps to be completed in a sequential manner. The process goes from start to finish and normally involves people or systems.
Workflow automation software is a tool used by most businesses to automate repetitive and time-consuming tasks. This tool is usually employed to improve employees’ efficiency, reduce errors and increase revenue. From lead management, sales, and marketing, to finance and accounting, this tool is used to automate manual processes. Some software come with flexible customization options, allowing you to develop and modify workflows as per the business needs.
Mainly two types of software are used: no-code tools and low-code tools.
No-code tools come in simple drag-and-drop and flow chart settings that you can use with no coding skills or technical expertise while low-code tools, on the other hand, require a little bit of technical knowledge to get a hands-on experience of them. But don’t worry, you don’t require a software degree to use them, if you pay careful attention, you can learn them yourself on the go.
Listed below are the top 10 workflow automation software used by organizations.
Zapier is a user-friendly automation tool that helps you automate business processes. It comes with thousands of pre-crafted templates that you can customize based on your business needs. Building a zap is just one click away. Plus, you can add tailor-made workflow logic and multiple steps to automate tasks that would otherwise be completed manually.
Nintex is an intelligent no-code workflow automation tool that helps you easily optimize and manage processes. Trusted by more than 10,000 organizations, Nintex allows you to create result-driven workflows with a workflow cloud which means your data is managed and stored over the internet. Setting you free from creating and managing in-house data centers. Automate the manual, repetitive, and time-consuming tasks with just a few clicks.
Kissflow is a market leader in workflow automation that allows users to develop workflows with the visual builder. Integrated with a sleek interface and drag-and-drop settings, Kissflow helps companies to speed up the workflow processes from all-in-one workflow automation software. Moreover, the notification alert option gives you a deep insight into the performance of complex workflow automation processes.
Integrify is a user-friendly workflow automation software that facilitates in building file approval workflow and custom documents. Plus, it incorporates a visual drag-and-drop builder that lets you visualize the workflows as you develop them. Its form builder allows you to monitor workflow automation, giving you an insight into inefficiencies so you can find areas for improvement.
Flokzu is a workflow automation software that allows you to develop visual workflow models with a visual builder. It is a cloud-based process management tool that features a real-time reporting dashboard allowing you to get a hold of each stage your process is in, so you can make educated decisions for your future outcome. Gives you notification of each pending task, and as the pending task is completed, it automatically assigns a new task to the user.
Trusted by over 30,000 organizations from small enterprises to Fortune 500, automate.io is a process management automation software designed for industries where you can create simple workflows or sync data between two different apps. You can sequentially automate tasks in different business processes including lead management, sales outreach, content marketing, social media marketing, and more.
Processmaker is a low-code automation tool used to create approval-based workflows with ease. A notification alert system allows you to get real-time reporting about the tasks to be created so you know exactly what’s happening inside each process. Industries that can benefit from this tool include healthcare, insurance, banking, higher education, manufacturing, and telecom.
IFTTT stands for If This, Then That. It’s a powerful tool that works on conditional statements (called Applets) and executes processes when these conditions are met. It is mainly used to connect apps and allow services and devices to work together. Most popular applets are used in building a smart home environment. For instance, turning on the device with your voice, powering the security system upon leaving your home, and determining the temperature using the weather.
Trusted by over 152,000 customers worldwide, Monday is an open-source automation tool to streamline your everyday tasks. Build and customize workflows to improve the collaboration and productivity of your team. Stay connected with real-time notifications, so you know the performance of each task completed.
Asana is a project management software designed to remotely manage teams and assign tasks with one integrated platform. You can collaborate and build strategic project plans from anywhere. The notification alert feature gives you an insight into when the task is completed and what’s new on the table. Allows you to automate routine work so you can pay attention to what matters and adds value to your team.
Workflow automation is critical for business growth. When repetitive and manual tasks are automated, you can improve the productivity of your team by paying attention to the actual business objectives. Using technology to your advantage is the best way to excel and grow in this digital transformation stage and leave a footprint in the competitive market.
That’s all for today. Hope you’ve enjoyed reading this article. If you have any questions, you can ask me in the section below. I’ll help you according to the best of my knowledge. Share your experience if you have used any workflow automation software before. Thank you for reading this post.