Hello Friends, in this blog we will be controlling digital output with serial monitor command. First let’s understand the working of serial monitor. Serial monitor in Arduino IDE is a tool which allows communication between the computer and Arduino board via a serial connection, normally we use USB cable for connection. What are the features of Serial Monitor? It shows the data sent from the Arduino board by using the functions like Serial.print() or Serial.println(). It allows to send text or numeric data to the Arduino board, which can be read by function like, Serial.read() or Serial.parseInt(), thereafter you can use this data for further analysis and action. We can use this tool for debugging and monitoring the function of the sketch. There is a procedure to use the serial monitor, below are the steps given. First initialize the serial communication in the sketch as given below. Normally baud rate is set 9600. Void setup(){ Serial.begin(9600); } Data can be printed on th
In the world of electronics, power supplies are crucial in converting AC (alternating current) from mains power to a stable DC (direct current) required by most electronic circuits. Two common types of power supplies are capacitive and transformer-based . Each has its own set of characteristics, advantages, and disadvantages. In this blog, we’ll explore the differences between capacitive and transformer-based power supplies in detail. 1. What is a Capacitive Power Supply? A capacitive power supply is a type of power supply that uses a capacitor to drop the voltage from the AC mains. The capacitor, in combination with other components, reduces the input voltage to a lower value that can be used by low-power circuits. This type of supply is often used in small, low-power applications where isolation from the mains isn't a critical requirement. Working Principle The key component here is a non-polarized capacitor connected in series with the AC mains. The capacitor limi