What is PWM and how it works

  • avatar
  • 5.1K Views
  • 7 Likes
  • 3 mins read
Preview post image

Pulse Width Modulation (PWM) is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between ON and OFF. If you repeat this on/off pattern fast enough with a LED for example, the result is as if the signal is a steady voltage between 0 and VCC controlling the brightness of the LED.

How to use tricolor LED module with Arduino

  • avatar
  • 2.8K Views
  • 3 Likes
  • 4 mins read
Preview post image

The KY-016 is capable of producing wide range of different colors by mixing blue, green and red lights. The RGB LED module will not require any limiting resistors. Those resistors are already integrated in the circuit, and so 5V can be directly used as power input.

Docker compose introduction

  • avatar
  • 2.3K Views
  • 2 Likes
  • 8 mins read
Preview post image

Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.

The features of Docker Compose that make it effective are:

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

How to setup cron jobs to automate regular tasks on Linux

  • avatar
  • 1.7K Views
  • 1 Like
  • 3 mins read
Preview post image

Cron is a time-based job that runs in the background at specific intervals or designated times. It allows you to run tasks and scripts automatically, making cron useful for automating maintenance-related tasks. Therefore, it is a very popular server administration tool.

Cron is present in all Linux distributions. However, if it is not installed, you can install it using apt:

How to use an analog module with Arduino

  • avatar
  • 3.0K Views
  • 1 Like
  • 4 mins read
Preview post image

The KY-023 is an easy-to-use analog joystick. The joystick uses a biaxial potentiometer to control the X and Y axis. It also has an integrated push button. In this tutorial, it is shown how to connect the KY-023 joystick with the Arduino and how to use it.

How to use potentiometer with Arduino

  • avatar
  • 5.0K Views
  • 3 Likes
  • 4 mins read
Preview post image

A potentiometer is a simple knob that provides a variable resistance, which we can read into the Arduino board as an analog value. They can be attuned from zero ohms to whatever maximum resistance that is specific to it. For example, a potentiometer of 10 kΩ can be adjusted from 0 Ω to its maximum of 10 kΩ.

Using push buttons with Arduino

  • avatar
  • 3.2K Views
  • 2 Likes
  • 4 mins read
Preview post image

Today we are going to speak about push buttons, the wiring and how to implement the code for this circuit elements in Arduino. Push buttons connect two points in a circuit when you press them. That means that logic state of the circuit change when you press and keep pressed the button.

Pull-up and Pull-down resistors

  • avatar
  • 2.6K Views
  • 4 mins read
Preview post image

A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow and adjust signal levels among other uses. Resistance is measured in Ohm with a sign of Ω.

A microcontroller (e.g. Arduino) utilizes I/O signals for communication with external hardware devices, where the most commonly known being GPIO. As a reminder, digital logic circuits have three logic states: high, low and floating (or high impedance). When there’s nothing connected to your GPIO pins, your program will read a floating impedance state, which we do not want. To achieve either high or low states, we’ll have to implement pull-up or pull-down resistors in our digital circuit.

How to use the NRF24L01 module with Arduino

  • avatar
Preview post image

Having two or more Arduino boards be able to communicate with each other wirelessly over a distance opens lots of possibilities like remotely monitoring sensor data, controlling robots, home automation and the list goes on. A good, reliable and inexpensive solution is NRF24L01.

The NRF24L01+ is a newer version of the NRF24L01, capable of doing an extra 250kbps of on-air data rate while the one without “+” has only 1Mbps and 2Mbps. Both versions can be mixed together as long as 1 or 2 MBps is being used as the data rate.

Create a CSR using OpenSSL & install SSL certificate on your Nginx server

  • avatar
  • 2.9K Views
  • 1 Like
  • 5 mins read
Preview post image

Generally, OpenSSL is used for CSR generation on Linux-based web servers (Apache or Nginx) So, if the default web server is installed, there should be no issues with using OpenSSL as it is installed by default on these web servers.

The RSA key algorithm is the algorithm most widely used in digital security. It's an asymmetric cryptography algorithm. This basically means that there are two keys involved while communicating, i.e., the Public key and Private key.