Phone

    00852-6915 1330
IC Chips

New Applications and Innovations in Integrated Circuits and Electronic Components

1: IntroductionElectronics and communication technology serves as the foundation of modern civilization. The industrial revolution that shaped the 21st century would not have been possible without the advent of modern electronics. Internet, smart phones, computers, satellites, and all such revolutionary technologies are off-shoots of electronics and communication technology. In this article, we will discuss the latest applications and innovations in electronics components industry.1.1: Overview of Integrated Circuits and Electronics ComponentsIntegrated circuits (ICs) also known as chips or microchips, are tiny electronic circuits etched on a small piece of semiconductor material. Modern ICs can house billions of transistors and other electronic components. Due to incredibly high-speed, small size, and efficiency, the IC technology has transformed the entire landscape of modern electronics and computing industry.Before the invention of ICs, electronic circuits were created using discrete components that greatly limited their size, performance, complexity, and efficiency. Since, the invention of ICs, the graph of innovation in electronics and computing industry has sky-rocketed. Microprocessors, memory chips, microcontrollers, and ASICs are all examples of modern ICs.Despite the revolution brought forth by ICs, discrete components still have their applications and are widely used in modern electronic circuits. Examples of discrete electronic components include resistors, capacitors, coils, diodes, transistors, and sensors. Most modern electronic circuits use a combination of integrated and discrete components to achieve optimal performance, low power consumption, and high cost-efficacy.1.2: Significance of Innovations in the IndustryIn the face of changing requirements and emerging challenges, electronics industry is constantly striving for new and innovative solutions. This innovation is the primary driving force behind the technological and industrial progress. Some of the salient advantages of innovations in electronic components industry include: enhanced computing power, reduced form factor, improved energy efficiency, advanced connectivity, and integration with latest AI technologies. Each new invention and improvement opens up doors for new business opportunities, research, and consumer satisfaction.2: AI Chips and Intelligent Computing2.1: Understanding AI Chips and Their ArchitectureArtificial intelligence is an emerging technology that has far-reaching implications for all sectors and industries. AI systems require massive computing power and therefore, the need for specialized electronic hardware for AI applications exists. AI processors or accelerators are specialized ICs that are designed to handle complex AI algorithms and calculations. These chips utilize parallel processing and matrix multiplication functions to provide necessary computing power for AI applications.2.2: Advancements in AI Chips for Deep Learning and Neural NetworksApart from artificial intelligence, AI chips are also playing a crucial role in advanced computing technologies like neural networks, fuzzy logic, machine learning, and big data analytics. Due their enhanced computing power, these chips are able to process large data sets in a short span of time. The advancements in AI chip architecture such as systolic arrays and tensor processing units (TPUs) have further enhanced the accuracy and speed of AI algorithms.2.3: AI Chips in Edge Devices and IoT ApplicationsOne of the most impactful applications of AI chips is their integration with edge computing devices and IoT nodes. By bringing the AI processing closer to the data source, latency is minimized and need for cloud computing is reduced. These benefits make AI chips excellent for IoT applications requiring real-time processing and low power consumption.3: 5G Technology and RF Components3.1: The Role of Integrated Circuits in 5G Technology5G is the next big thing in the mobile communications and internet industry. With its ultra-fast speed, extremely low latency, and high bandwidth, 5G is set to revolutionize the digital and online world. 5G technology aims to provide the network infrastructure for the smart cities and smart factories of the future. These advanced 5G-enabled technologies will provide unprecedented levels of automation, efficiency, and productivity.5G technologyLike all other digital technologies, 5G communication also depends on the advancement in ICs and electronics components. Advanced ICs designed for high-frequency and high-speed applications will play a crucial role in handling the complex modulation schemes, MIMO antenna arrays, and massive data traffic of the future 5G networks.3.2: Advancements in RF (Radio Frequency) Components for 5GCommunication in all mobile networks including 5G takes place through the transmission and reception of radio frequency (RF) signals. Therefore, advanced RF components and ICs are required for the implementation of 5G hardware. Examples of 5G RF devices include power amplifiers, low-noise amplifiers, filters, mixers, and multiplexers. Without the development of advanced RF ICs and components, the roll-out of 5G networks would not have been possible.3.3: Applications of 5G Integrated Circuits in Smart Cities and IoTIoT devices are already transforming the industries, offices, and homes with advanced automation features. One of the most ambitious use-cases of IoT is the creation of smart cities. 5G and IoT are two of the most important technologies for the creation of smart cities. When the high-speed of 5G networks and remote control/monitoring capabilities of IoT are combined, innovative solutions can be created for traffic system, public transportation, energy distribution, water management and surveillance.4: ICs for Power Electronics and Electric VehiclesWith the rising awareness of global warming and climate change, the focus of masses is shifting towards green technologies. The widespread popularity of electric vehicles (EVs) is a living proof of this trend. However, the mass production of electric vehicles would never have been possible without the advancements in power electronic components and ICs.4.1: Power Electronics for EV Propulsion SystemsElectric vehicles incorporate electric motors for propulsion instead of internal combustion engines. The control of these motors is achieved through advanced ICs designed for efficient power conversion, smart motor control, and energy management. Existing semiconductor materials prove to be insufficient for EV applications. Therefore, new and more efficient semiconductor materials are utilized for EV applications including Silicon Carbide (SiC) and Gallium Nitride (GaN). These advanced materials offer the advantages of higher efficiency, lower losses, and enhanced power density that lead to increased driving range and reduced charging times.4.2: On-Board Charging SystemsAdvanced ICs and power electronic components have significantly improved the on-board charging systems of EVs. Smart charge controllers and power management ICs enable quick and safe charging of EVs. With the advent of advanced semiconductor materials and power electronic components, new use-cases are emerging for EVs including vehicle-to-grid (V2G) integration. Wireless charging technologies also have a promising future in regards to EVs.4.3: Battery Management SystemBatteries play a crucial role in EVs as they serve as the main power source for driving the propulsion motor. Efficient and safe management of batteries has a direct impact on driver’s safety and vehicle’s range. The battery management system of an EV is a sophisticated electronic control system that monitors, balances, and protects the battery pack. Advanced IC and electronic components on the BMS allow for accurate cell voltage monitoring, state-of-charge estimation, and temperature management. BMS is a hot area of research and latest innovations in this domain include multi-cell integrated solutions and predictive algorithms.5: ConclusionInnovations in electronic components and ICs are the driving force behind all the modern technological progress. Modern electronic circuits are a combination of ICs and discrete electronic components. The advances in the IC and electronic components technology have revolutionized all areas of life including artificial intelligence, 5G networks, and electric vehicles. These new technologies require fast processing speed, low latency, low power consumption, and high efficiency. Therefore, new ICs and electronic components are being developed for these applications. In this article, we have discussed the applications and innovations in ICs and electronic components industry, for the creation of novel solutions for AI, IoT, 5G, and EV industries.
Kynix On 2023-08-01 
Battery

Electronic Components in Self-Driving Cars

Autonomous vehicles (AVs), or self-driving automobiles, are a major technological leap forward for the automotive sector. Sophisticated electronic systems and cutting-edge technologies guide and control these autonomous cars. Self-driving cars have the potential to transform transportation by combining artificial intelligence (AI), sensor systems, and control mechanisms to provide more safety, greater mobility, and less environmental impact. Let's explore the essentials of autonomous vehicles, discovering the technological parts that enable them to operate independently.Key Electronic Components in Self-Driving CarsSensor Technology for PerceptionSensor technology is critical for self-driving cars, allowing them to sense their environment precisely. Lidar sensors generate detailed 3D maps using laser beams to identify objects and slight environmental changes. Radar sensors use radio waves to determine distance, speed, and direction, making them suitable for usage in severe weather. Camera systems collect visual data to identify objects, road signs, and lane markings. Ultrasonic sensors use high-frequency sound waves to identify obstacles and assist in parking.Processing and Control SystemsSelf-driving automobiles' processing and control systems process sensor data and execute precise maneuvers. Electronic Control Units (ECUs) coordinate subsystems, process sensor data, and send commands to actuators. Powerful processors and microcontrollers handle complex algorithms and machine learning for decision-making. For correct functioning, AI algorithms and data fusion approaches combine sensor inputs. High-speed data processing, real-time calculations, and intelligent decision-making capabilities are essential in these systems.Connectivity and Communication SystemsConnectivity and communication systems are vital for self-driving cars to exchange data with other vehicles and infrastructure. Vehicle-to-Vehicle (V2V) communication enables real-time information sharing, enhancing situational awareness. Vehicle-to-Infrastructure (V2I) communication facilitates interaction with traffic management systems, optimizing routes and providing traffic updates. Cloud connectivity enables access to high-definition maps, real-time traffic data, and machine-learning models for improved navigation and decision-making.Actuators and Control SystemsActuators and control mechanisms translate processing system decisions into physical actions. Steering actuators give the vehicle precise direction control, and electric motors and drive systems power it. Braking and acceleration systems enable safe and efficient mobility by responding to processing system control commands.Battery and Power Management SystemsPower management efficiency and robust battery systems are critical for self-driving cars. Advanced power management systems optimize energy consumption, ensuring electrical components operate efficiently. High-capacity batteries provide the power required for autonomous driving while balancing performance and range.Integration and Functionality of Electronic ComponentsPerception and Environmental AwarenessPerception and environmental awareness are integral aspects of self-driving cars, relying on various electronic components to guarantee safe and efficient autonomous driving.1. Sensor Fusion and Object DetectionSelf-driving cars incorporate data from lidar, radar, cameras, and ultrasonic sensors. Advanced algorithms analyze this data to identify obstacles, pedestrians, and traffic signs.2. Environmental Mapping and LocalizationSelf-driving cars create detailed environmental maps and establish their precise position. High-definition maps provide street information, while localization algorithms use sensor data to determine real-time location.Decision-Making and ControlElectronic components enable self-driving cars to make informed decisions and commit clear control actions.1. Sensor Data Processing and InterpretationDecisive processors and algorithms interpret sensor data, assisting in object tracking, behavior prediction, and situational analysis.2. Path Planning and Trajectory ControlAlgorithms determine the optimal route and course, considering traffic conditions and road rules. Control mechanisms execute actions such as adaptive cruise control and steering systems.Human-Machine Interface (HMI)The human-machine interface (HMI) enables seamless interaction between occupants and self-driving cars.1. Display Systems and InfotainmentIntuitive displays provide real-time information about the vehicle's status and surroundings. Infotainment systems offer entertainment features and connectivity options.2. Voice Recognition and Natural Language ProcessingVoice recognition technology lets occupants interact with the vehicle using natural language commands, enhancing convenience and safety.These integrated electronic components ensure self-driving cars perceive their environment, make decisions, and provide a user-friendly interface.Challenges and Future Developments in Electronic ComponentsAs self-driving cars advance, electronic elements must overcome several challenges to ensure their safety and reliability. These challenges include:Safety and ReliabilityElectronic components' safety and dependability in self-driving cars are of utmost importance. These components must be designed to defy the harsh operating conditions associated with automotive applications, such as temperature extremes and vibration. Additionally, the parts must be tested rigorously to ensure they can operate reliably for the vehicle's life.Improvements in Sensor TechnologySensor technology is a critical component of self-driving cars, and advancements in this technology will play a fundamental role in the future of autonomous vehicles. New, more accurate, reliable, and cost-effective sensors are being designed, enabling self-driving cars to function more safely and effectively.Processing Power and AI AlgorithmsSelf-driving cars require significant processing power to analyze sensor data and make real-time decisions. To keep pace with the increasing complexity of self-driving vehicles, there is a need for advancements in processing power and AI algorithms. These advancements will enable self-driving cars to operate more efficiently and effectively, ultimately enhancing reliability.ConclusionThe use of modern technological components in self-driving automobiles significantly impacts the automotive industry and society. It improves road safety by recognising and responding to incidents more quickly. Autonomous vehicles promote mobility and accessibility, empowering those with disabilities and maximizing urban transportation. Adopting self-driving electric cars also fosters a greener future by lowering emissions and combatting climate change. 
Kynix On 2023-05-15 
Sensor

Smart Walking Stick for Visually Impaired

CatalogIntroductionComponents RequiredSoftware RequiredHardwareUltrasonic Sensor (HC-SR04)WorkingCOMPLETE HARDWARESoftwareConclusion Future Enhancement in the Project IntroductionThe aim of this undertaking is to educate ourselves on the creation of a Blind Walking Stick that utilizes an Arduino and an Ultrasonic Sensor HC-SR04. There are Billions of people who are blind in this world. These individuals require assistance from others to navigate and move around as they are unable to do so independently. To address this issue, we have developed a device called the Blind Walking Stick which enables visually impaired individuals to walk more easily without relying on others for assistance. To enhance the device's accuracy and efficiency, two or three Ultrasonic Sensors can be incorporated into the project.  Components Required: Arduino UNO BoardHC-SR04 Ultrasonic SensorBuzzer9 Volt BatterySwitch (Optional) Software Required:Arduino IDE  Hardware: Connection of Ultrasonic Sensor with Arduino.  Vcc pin of Ultrasonic Sensor  is connected to 5-volt pin of ArduinoTrigger pin of Sensor is connected to D9 pin of ArduinoEcho pin of Sensor is connected to the D10 pin of ArduinoThe ground of Sensor is connected to the GND pin of Arduino.The positive terminal of the 9-volt battery is connected to the Vin pin of Arduino and the negative terminal is connected to the GND pin of Arduino.A buzzer is connected between the D9 pin of Arduino and the GND pin Ultrasonic Sensor (HC-SR04)An electronic device known as an ultrasonic sensor is utilized to determine the distance of an object by emitting ultrasonic sound waves and then transforming the reflected sound into an electrical signal. These ultrasonic waves travel at a faster rate than audible sound, which cannot be perceived by humans. The ultrasonic sensor is comprised of two major components: the transmitter, which uses piezoelectric crystals to emit the sound, and the receiver, which detects the sound after it has traveled to and from the object. To compute the distance between the object and the sensor, the sensor calculates the time taken for the sound to travel from the transmitter to the receiver. This calculation is based on the formula D = ½ T x C, where D represents distance, T denotes time, and C is the speed of sound, roughly 343 meters/second. As an illustration, if an ultrasonic sensor is pointed at a box and it takes 0.025 seconds for the sound to return, then the distance between the sensor and the box can be calculated.D = 0.5 x 0.025 x 343  Ultrasonic sensors are used primarily as proximity sensors. They can be found in automobile self-parking technology and anti-collision safety systems. Ultrasonic sensors are also used in robotic obstacle detection systems, as well as manufacturing technology. In comparison to infrared (IR) sensors in proximity sensing applications, ultrasonic sensors are not as susceptible to interference of smoke, gas, and other airborne particles (though the physical components are still affected by variables such as heat).  Ultrasonic sensors are also used as level sensors to detect, monitor, and regulate liquid levels in closed containers (such as vats in chemical factories). Most notably, ultrasonic technology has enabled the medical industry to produce images of internal organs, identify tumors, and ensure the health of babies in the womb. WorkingThe primary aim of this project is to facilitate blind individuals in walking without difficulty and provide them with alerts whenever their path is obstructed by obstacles. The device utilizes a buzzer that emits a warning signal, the frequency of which changes based on the distance of the object. The buzzer will beep more frequently when the obstruction is closer. The core component used in the device is the Ultrasonic Sensor HC-SR04, which functions by transmitting a high-frequency sound pulse and then measuring the time taken to receive the sound echo reflection. The sensor is equipped with a transmitter and a receiver surface, with one transmitting ultrasonic waves and the other receiving the echoed sound signal. The sensor's calibration is based on the speed of sound in air, which is approximately 341 meters per second. After the distance measurement, Arduino makes a beep format using a buzzer also the led glow as well, The frequency of the beep is reduced when the distance is greater, and increased when the distance is shorter. COMPLETE HARDWARE  This is the Complete Hardware of our Project. Since this is a Prototype circuit so we used Selfie stick because it can extend and also We did not used 9V battery but instead we used 2 Lithium Ion cell and one rechargeable circuit to charge these cells, but for simple explanation of the project 9v battery can be used. We used On and Off simple switch to power On and Off the circuit and at the front of the stick we placed our Buzzer, Arduino and Ultrasonic Sensor. You can build the hardware the way you like but the circuit remains same.      Software // defines pins numbersconst int trigPin = 9;const int echoPin = 10;const int buzzer = 11;const int ledPin = 13; // defines variableslong duration;int distance;int safetyDistance;  void setup() {pinMode(trigPin, OUTPUT); // Sets the trigPin as an OutputpinMode(echoPin, INPUT); // Sets the echoPin as an InputpinMode(buzzer, OUTPUT);pinMode(ledPin, OUTPUT);Serial.begin(9600); // Starts the serial communication}  void loop() {// Clears the trigPindigitalWrite(trigPin, LOW);delayMicroseconds(2); // Sets the trigPin on HIGH state for 10 micro secondsdigitalWrite(trigPin, HIGH);delayMicroseconds(10);digitalWrite(trigPin, LOW); // Reads the echoPin, returns the sound wave travel time in microsecondsduration = pulseIn(echoPin, HIGH); // Calculating the distancedistance= duration*0.034/2; safetyDistance = distance;if (safetyDistance <= 5){  digitalWrite(buzzer, HIGH);  digitalWrite(ledPin, HIGH);}else{  digitalWrite(buzzer, LOW);  digitalWrite(ledPin, LOW);} // Prints the distance on the Serial MonitorSerial.print("Distance: ");Serial.println(distance);}   Conclusion Smart Walking Stick is very useful especially for blind people who want to go out for a walk. It helps them to walk smoothly  Future Enhancement in the Project We can add GPS in order to pinpoint the exact location of the personAlso we can add Voice recognition system which can tell where we are going and if any obstacle comes in our way it will let us know
Kynix On 2023-03-21 
General electronic semiconductor

Phasor Measurement Units (PMUs)

Introduction Digital instruments called phasor measurement units (PMUs) detect the magnitude and phase angle of alternating voltage and current on an AC power supply. PMU analyzes the variables using sample rates. It offers an in-system measurement of electrical quantities in real-time. The internet may be used to tag and share information about magnitude and phase angle, making it possible to study the dynamics of power systems over a wide area. One of the most crucial measuring tools for power systems of the future is thought to be the PMU. Algorithms are used in this project to review the PMU specifications. These algorithms aid in computing the sinusoidal signal's magnitude and phase angle.   Materials Required: Arduino UnoCurrent Sensor ACS712DC Regulated Power SupplyLCD DisplayRelay Driver CircuitAC Bulb  220 V 100WLM393 IC   Software Required: Arduino IDELABVIEW   LABVIEW   LabVIEW (Laboratory Virtual Instrument Engineering Workbench), created by National Instruments (www.ni.com)is a graphical programming language that uses icons instead of lines of text to create applications.LabVIEW programs/codes are called Virtual Instruments, or V is for short.LabVIEW is used for Data acquisition, signal Processing (Analysis), and hardware control–a typical instrument configuration based on LabVIEW   Schematic diagram of an instrument system based on LabVIEW   Hardware:   Schematic Diagram   Working   The Entire Project was developed on Arduino Mega 2560.Arduino Mega was used a Controller to perform all the complex calculations. The Results of Arduino was shown on Serial Monitor of Arduino .Then the coding of LabVIEW was done and the entire calculation was done on LabVIEW.   In the Electrical Schematic Diagram, The Input 220V is given to Voltage Transformer and to Current Sensor in Series with Load. The Load could be Inductive of Resistive. The Output of Transformer is given to Analog Pin to Arduino i.e. A0 and Output of Current Sensor is given to A1 pin of Arduino. The LM393 Comparator is being operated by Dual DC Power Supply -9V and +9V.The Output of Comparator is given to Digital Pin of Arduino i.e.8. The Relay is used to with Digital Pin of Arduino. There was some problem while using Relay so we are not showing the Pin no. with Relay but the procedure remains same. The Output of Relay is given to Load.The Output is shown on Computer Monitor Window i.e. Serial Monitor Window and LabVIEW.   Current Sensor (ACS712)   The Allergo ACS712 current sensor is based on the 1879 discovery of Dr. Edwin Hall's Hall-effect. This concept states that when a conductor carrying a current is put in a magnetic field, a voltage is produced across its edges that is perpendicular to both the direction of the current and the direction of the magnetic field. A magnetic field (B) perpendicular to the direction of current flow is applied to a thin strip of semiconductor material (referred to as a Hall element) while it is carrying a current (I). The Hall element's current distribution is no longer uniform due to the Lorentz force, and as a result, a potential difference is formed across its edges that is perpendicular to the directions of the current and the field. Its typical value is in the range of a few microvolts, and it is known as the Hall voltage. The magnitudes of I and B have a direct relationship to the Hall voltage. Hence, the observed Hall voltage can be used to estimate the other if one of them (I and B) is known.   ACS-712 current Sensor Module AC Current Measurement Using ACS712   Two directions of current are measured by the ACS712. Because the ACS712 has a 5 s output rise time in response to step input current, if we sample quickly and extensively enough, we will undoubtedly locate the peak in one direction and the peak in the opposite direction. We obtain about 4000 samples each cycle while monitoring AC current at 50 Hz, or 20 mSec every cycle.   To determine the current, all that is needed is knowledge of the waveform's shape given the location of both peaks. We are aware that the waveform for line or mains power is a SINE wave. Understanding it enables us to use a straightforward electronic formula to produce a respectable result.   RMS Current =  root(2) * Peek Current Circuit Connection for AC Current Measurement FREQUENCY   I used Voltage Comparator LM393N. The Inverting pin is Grounded and the signal is passed through a High Pass filter (removing DC component) and applied to the Non-inverting terminal. The comparator will act as a Zero Cross detector and when the amplitude is greater than 0, it will give a High output.  A zero-crossing detector can be used for the measurement of phase angle between two voltages Zero Crossing detector   PHASE   When capacitors or inductors are involved in AC circuit, the current and voltage do not peak at the same time. This leads to positive phase for inductive circuit since. When two signals differ in phase by -90 or +90 degrees, they are said to be in phase quadrature . When two waves differ in phase by 180 degrees (-180 is technically the same as +180), the waves are said to be in phase opposition . Illustration B shows two waves that are in phase quadrature. The wave depicted by the dashed line leads the wave represented by the solid line by 90 degrees. Phase Difference between Voltage and Current   Calculation Of Phase Angle   Phase is sometimes expressed in radians rather than in degrees. One radian of phase corresponds to approximately 57.3 degrees. Engineers and technicians generally use degrees; physicists more often use radians. The time interval for one degree of phase is inversely proportional to the frequency. If the frequency of a signal (in hertz ) is given by f , then the time t deg (in seconds) corresponding to one degree of phase is: t deg = 1 / (360 f ) The time t rad (in seconds) corresponding to one radian of phase is approximately: t rad = 1 / (6.28 f )   POWER FACTOR   Power factor is a crucial factor to take into account when designing an AC circuit because any power factor below one means that more current must flow through the wiring of the circuit than would be required if there was no reactance in the system in order to supply the same amount of (true) power to the resistive load. To counteract the impacts of the load's inductive reactance, a poor power factor can be ironically addressed by adding a second load to the circuit that draws an equal and opposite quantity of reactive power. The additional load in our example circuit must be a capacitor since inductive reactance can only be cancelled by capacitive reactance. The effect of these two opposing reactance in parallel is to bring the circuit’s total impedance equal to its total resistance (to make the impedance phase angle equal, or at least closer, to zero).   COMPLETE HARDWARE   This is the Complete Hardware of our Project. We used Voltage Transformer for DC Power supply circuit and another Voltage Transformer for making 5V circuit for measurement of AC Power supply in Arduino. Another Circuit for Frequency Measurement is used to measure Frequency of AC Supply. Circuit control is performed using an Arduino Mega. Here we have shown Resistive load for testing but practically we used Inductive load so that Phase can be actually be measured .Current Sensor is used for AC Current measurement.     Software   IDE (Integrated Development Environment)   The Java programming language is used to create the Arduino IDE (Integrated Development Environment). It is primarily utilized for Arduino programming. As the Arduino IDE is open-source software, no specific licensing is necessary. The software opening interface can be shown in figure 5.1 below. The executable code is transformed by the Arduino IDE using the AVR into a text file with hexadecimal encoding, which is then loaded into the Arduino board by a loader program in the firmware of the board. The capabilities supplied in this software are comprehensive and allow for an in-depth usage of this piece of hardware, and I have utilized it extensively in this project to program the Arduino. The Digital I/Os also allow for the reading of live status.   Coding /* Measuring AC Current Using ACS712 www.circuits4you.com */ const int sensorIn = A0; int mVperAmp = 66; // use 100 for 20A Module and 66 for 30A Module   double Voltage = 0; double VRMS = 0; double AmpsRMS = 0;   int mean_value = 0;    //////////////////////////////////////////////// void setup(){  Serial.begin(9600);      pinMode(8, INPUT);           pinMode(9, INPUT);   } long previous_time = 0;  long current_time = 0;  float Time=0; float frequency; float phase; float pf;   //coding for voltage measuring on A1 void loop() {   //measuring frequncy   while(digitalRead(8)==1); while(digitalRead(8)==0); previous_time = millis(); while(digitalRead(8)==1); while(digitalRead(8)==0); current_time = millis(); Time = (current_time) - (previous_time); //Serial.print(Time); //Serial.print("        "); Time=Time*0.001; frequency=1/Time;   //*2.52;/        // measuring voltage   int sensorValue = analogRead(A1);   // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 250V):   float voltage = sensorValue * (260.0 / 1024.0);   // measuring current    Voltage = getVPP();  VRMS = (Voltage/2.0) *0.707;  //root 2 is 0.707  AmpsRMS = (VRMS * 1000)/mVperAmp;   //display phase while(digitalRead(8)==1); while(digitalRead(8)==0); previous_time = micros(); //while(digitalRead(9)==0);  //????????????????????? current_time = micros();  //??????????????????? while(analogRead(sensorIn)<=mean_value);    //////////////////////// current_time = micros();      //////////////////////////////// Time = ((current_time) - (previous_time))/10; //Serial.print(Time); //Serial.print("Sec    "); phase = (360*frequency*Time)/100000;   pf=cos(3.142/3); Serial.print("AC Voltage: "); Serial.print(voltage); Serial.print(" Volts"); Serial.print(AmpsRMS); Serial.print("Amps RMS"); Serial.print(frequency); Serial.print("Hz      "); Serial.print(phase); Serial.print("degree   "); Serial.print("phase:"); Serial.println(pf);     delay(1000); }   float getVPP() {   float result;   int readValue;             //value read from the sensor   int maxValue = 0;          // store max value here   int minValue = 1024;          // store min value here      uint32_t start_time = millis();    while((millis()-start_time) < 1000) //sample for 1 Sec    {        readValue = analogRead(sensorIn);        // see if you have a new maxValue        if (readValue > maxValue)        {            /*record the maximum sensor value*/            maxValue = readValue;        }        if (readValue < minValue)        {            /*record the minimum sensor value*/            minValue = readValue;        }    }        // Subtract min from max    result = ((maxValue - minValue) * 5.0)/1024.0;    mean_value = (maxValue + minValue)/2;    //////////////////////    return result;  }     Conclusion   Phasor Measurement Unit is very applicable for Supply Corporation Companies. We have make it for local monitoring. By installing this system in Power System we can monitor our Phase remotely.
Kynix On 2023-03-18 
IC Chips

Arduino Based Home Security Alarm System

Catalog IntroductionComponentsArduino Code Introduction The idea of this project is to create an Arduino based home security alarm system that can be used to monitor and control the various appliances in the house. The main purpose of the system is to detect any unusual activity and notify the user about it in an efficient manner. The system will also use a web server to push notifications to mobile devices such as smartphones and tablets. The project consists of an Arduino Uno board connected to a Debounce shield which contains a piezo buzzer, LED, power supply and other components necessary for interfacing with Arduino Uno board. A passive infrared sensor, or PIR, is a Pyroelectric device that senses motion. For this reason, it is sometimes referred to as a motion detecting sensor. It may be able to detect motion by detecting variations in the infrared levels emitted by nearby objects. This gadget is a basic motion-activated alarm. Its brain is an Arduino microcontroller. It is connected to a PIR motion sensor, a buzzer, a resistor, and two external connectors. The system is very portable because it is entirely battery-powered. As soon as you get the code, you may link all of the external components. This is the easiest thing to do with a breadboard. To check everything out, you can create bogus connections.  The whole system Is powered by 12V DC power supply which powers all other components except Arduino Uno board itself. The MCU receives digital commands from Arduino Uno through SCI interface and sends appropriate analog or digital signals on its pin according to the command received by it. This project has been inspired by many previous projects that use Arduino boards for controlling various electronic devices such as lamps, lights etc., but this project focuses more on controlling various appliances. The Arduino Uno Is based on the ATmega328 chip, which has built-in USB support for serial communications. It also has a built-in 5V power regulator that allows it to be powered directly from the USB connection or from a battery. Components 1Arduino2Motion Sensor3LED’s4Buzzer5LCD Module Arduino Code#include  <LiquidCrystal.h>   int ledPin = 13;                int inputPin = 7;               int pirState = LOW;             int val = 0;                    int pinSpeaker = 10;           LiquidCrystal lcd(12, 11, 5, 4, 3, 2);                           void setup() {  pinMode(ledPin, OUTPUT);  pinMode(pinSpeaker, OUTPUT);  Serial.begin(9600);  lcd.begin(16, 2);  lcd.setCursor(2, 0);                                              lcd.print("P.I.R Motion");                                        lcd.setCursor(5, 1);                                             lcd.print("Sensor");                                              delay(4000);  lcd.clear();  lcd.setCursor(2, 0);                                              lcd.print("Displaying");                                       lcd.setCursor(2, 1);                                              lcd.print("A");                                         delay(5000);                                                      lcd.clear();                                                    lcd.setCursor(0, 0);      lcd.print("Processing Data.");      delay(3000);      lcd.clear();      lcd.setCursor(3, 0);      lcd.print("Waiting For");      lcd.setCursor(3, 1);      lcd.print("Motion....");     }void loop(){  val = digitalRead(inputPin);  if (val == HIGH) {                digitalWrite(ledPin, HIGH);      playTone(300, 300);    delay(150);        if (pirState == LOW) {      Serial.println("Motion detected!");      lcd.clear() ;      lcd.setCursor(0, 0);                                                 lcd.print("Motion Detected!");             pirState = HIGH;    }  } else {      digitalWrite(ledPin, LOW);      playTone(0, 0);      delay(300);         if (pirState == HIGH){            Serial.println("Motion ended!");      lcd.clear() ;      lcd.setCursor(3, 0);      lcd.print("Waiting For");      lcd.setCursor(3, 1);      lcd.print("Motion....");            pirState = LOW;    }  }}// duration in mSecs, frequency in hertzvoid playTone(long duration, int freq) {    duration *= 1000;    int period = (1.0 / freq) * 100000;    long elapsed_time = 0;    while (elapsed_time < duration) {        digitalWrite(pinSpeaker,HIGH);        delayMicroseconds(period / 2);        digitalWrite(pinSpeaker, LOW);        delayMicroseconds(period / 2);        elapsed_time += (period);    }} 
Kynix On 2023-02-07 
LED

Using Raspberry Pi to make a Smart Light

Catalog PurposeHardwareSofowareConclusion Smart homes have been a popular topic for several years now. With the rapid development of technology, it has become easier and more affordable for people to make their homes smart. One of the simplest and most useful smart home projects is a smart light. In this article, we'll show you how to use a Raspberry Pi to make a smart light. A smart light turns on automatically when you enter the room and turns off when you leave, saving energy and providing a more convenient experience. This project is a great way to learn about the Raspberry Pi and how to control it using Python, making it a great choice for both beginners and experienced makers. Purpose The purpose of this project is to create a smart light that is convenient, energy-efficient, and saves you time. This smart light can be controlled using motion detection, so when you enter the room, the light will turn on automatically, and when you leave, the light will turn off. This feature will save energy, as you don't have to manually turn the light off, and it will also provide a more comfortable experience. Hardware Building a smart light using a Raspberry Pi involves connecting several hardware components together to form a complete system. The process involves connecting a PIR (Passive Infrared) sensor to the Raspberry Pi, which detects motion in the room. The Raspberry Pi is then connected to a relay module, which acts as an intermediary between the PIR sensor and the  LED light. Finally, the LED light is connected to the relay module to provide illumination. The following is a list of the hardware components required for this project: 1. Raspberry Pi - a credit-card sized computer that can be used for a variety of projects. 2. PIR sensor - used to detect motion in the room and trigger the relay module to turn on oroff the LED light. 3. Relay module - used to switch the LED light on and off based on the input from the PIR sensor. 4. LED light - used to provide illumination in the room. 5. Power supply for the Raspberry Pi - used to power the Raspberry Pi and its components. 6. Jumper wires - used to connect the components together. 7. Bread board - used to create a prototype circuit for the project. Purchase on Kynix1Raspberry Pi2PIR sensor3Relay module4LED light5Power supply6Jumper wires7Bread board It is important to use a relay module for this project because the Raspberry Pi does not have enough power to directly control the LED light. The relay module provides an isolated circuit between the Raspberry Pi and the LED light, making it safe to use and preventing damage to the Raspberry Pi. The use of a breadboard allows you to easily modify and test the circuit, making it easier to troubleshoot any problems that may arise. Below is the description of circuit diagram:1. Connect the PIR sensor to the Raspberry Pi. The PIR sensor has three pins: VCC (power), GND (ground), and OUT (output). Connect the VCC pin to the 5V pin on the Raspberry Pi, the GND pin to a GND pin on the Raspberry Pi, and the OUT pin to a GPIO pin on the Raspberry Pi (for example, GPIO 18).2. Connect the LED light to the Raspberry Pi. The LED light has two pins: anode (+) and cathode (-). Connect the anode to a GPIO pin on the Raspberry Pi (for example, GPIO 23) and the cathode to a GND pin on the Raspberry Pi.3. Connect a resistor to the anode of the LED light. This resistor is used to limit the current flowing through the LED and protect it from damage. The value of the resistor will depend on the forward voltage and forward current of the LED, which are specified by the manufacturer. A common value is 220 ohms.4. Connect the Raspberry Pi to a power source, such as a micro USB cable, to provide power to the Raspberry Pi and all of the connected components. Software In order to turn your Raspberry Pi into a smart light, you will need to write code using Python and the RPi. GPIO library. This library provides an easy way to control the GPIO pins on the Raspberry Pi, allowing you to read from sensors and control other components like the relay module and LED light. Before writing the code, you need to install the RPi. GPIO library on your Raspberry Pi. You can do this by running the following command in the terminal:sudo apt-get install python-rpi.gpio Alternatively, you can install the library using pip by running the following command:pip install RPi.GPIO Once the library is installed, you can start writing your code. The following is an example of the code needed to create a smart light using a Raspberry Pi:1. Import the RPi.GPIO library:            import RPi.GPIO as GPIO                                                     2. Set the GPIO pin mode:           GPIO.setmode(GPIO.BCM)                                                      3. Set the GPIO pin for the PIR sensor and relay module as inputs:            GPIO.setup(PIR_PIN, GPIO.IN)                                                           GPIO.setup(RELAY_PIN, GPIO.OUT)                                             4. Createaloop to check the PIR sensor and turn the relay module and LED light on or off:            while True:                                                                                  if  GPIO.input(PIR_PIN):                                                                      GPIO.output(RELAY_PIN, True)                                                             print("Motion detected, turning on light")                                          else:                                                                                   GPIO.output(RELAY_PIN, False)                                                       print("No motion detected, turning off light")                     5. Clean up the GPIO pins before exiting the program:              GPIO.cleanup()                                                              This code uses the RPi. GPIO library to check the PIR sensor for motion and turn the relay module and LED light on or off accordingly. The code uses a while loop to continuously check the PIR sensor and update the status of the relay module and LED light. The GPIO.cleanup() function is used to clean up the GPIO pins before the program exits, preventing any potential conflicts with other programs that may be using the same pins. Conclusion In this article, we have explored how to use a Raspberry Pi to create a smart light that turns on and off based on motion detection. We have discussed the hardware required, including a Raspberry Pi, PIR sensor, relay module, and LED light. We also provided a code example using the RPi. GPIO library to check the PIR sensor and control the relay module and LED light. Building a smart light using a Raspberry Pi is a simple and cost-effective project that can be completed in a few hours. It provides a great introduction to using the Raspberry Pi and the RPi.GPIO library and can be easily modified to meet your specific needs. Whether you are looking to automate your home or just interested in learning more about the Raspberry Pi, building a smart light is a great starting point.
Kynix On 2023-02-02 

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Contact Us

  • Tel: 00852-6915 1330
  • Email: info@kynix.com
  • Follow Us

authentication