Phone

    00852-6915 1330

The Kynix Blog

Stay Ahead with Expert Electronics Insights,
Industry Trends, and Innovative Tips

Motors, Solenoids, Driver Boards/Modules

Arduino Complete Guide for Beginners with Examples

IntroductionAs the most popular open-source hardware in the world, Arduino is not only an excellent hardware development platform, but also a trend in hardware development. Its simple development method makes developers pay more attention to creativity and realization, complete their own projects and get experiments faster, which greatly saves the cost of learning and shortens the development cycle. There are too many want to say, in short, arduino provides a lot of convenience for many electronics enthusiasts and creators, and also provides a platform for sharing their results. So what exactly is it? How does it work?CatalogIntroductionⅠ What is Arduino?Ⅱ Who Make the Arduino?Ⅲ Why Use Arduino?Ⅳ What Does Arduino Have?Ⅴ Arduino Programming LanguageⅥ Arduino Basic ArchitectureⅦ Copyright and PaymentⅧ Simple Arduino Projects8.1 Video Demonstration8.2 Examples and Programming CodesⅨ FAQⅠ What is Arduino?Arduino is a tool that can be used to sense and control the physical world more than your desktop computer. It consists of an open source-computer platform based on a simple single-chip microcomputer, and a development environment for writing programs for the Arduino board.Arduino can be used to develop interactive products. For example, it can read a large number of switches and sensor signals, and can control a variety of lights, motors, and other physical devices. The Arduino project can be a standalone project, or it can communicate with programs running on your computer (for example: Flash, Processing, MaxMSP) at runtime. You can choose to manually assemble the Arduino board yourself or buy a productthe, because open-source IDE can be downloaded for free.The Arduino programming language seems to be correspondingly connected to a physical computing platform, which is based on a programming environment that handles multimedia.Learn Arduino in 15 MinutesⅡ Who Make the Arduino?Massimo Banzi was a teacher at a high-tech design school in Ivrea, Italy. His students often complain about not being able to find cheap and easy-to-use microcontrollers. In the winter of 2005, Massimo Banzi discussed this problem with David Cuartielles. He is a Spanish chip engineer who was a visiting scholar in this school at the time. The two decided to design their own circuit boards and introduced David Mellis (Banzi student) to design a programming language for the circuit boards. Two days later, David Mellis wrote the code. After another three days, the circuit board was completed. Massimo Banzi likes to go to a bar called di Re Arduino, which was named after the Italian king Arduin 1,000 years ago. To commemorate this place, he named this circuit board Arduino.Figure 1. The Making Arduino Core Team Ⅲ Why Use Arduino?There are many single-chip microcomputers and their platforms that are suitable for the design of interactive systems. For example: Parallax Basic Stamp, Netmedia's BX-24, Phidgets, MIT's Handyboard and others provide similar functions. With all these tools, you don't need to care about the cumbersome details of MCU programming. Arduino provides you a set of easy-to-use toolkits. Arduino also simplifies the process of working with a single-chip microcomputer, but compared with other systems, it has many advantages in many places. In fact, it is especially suitable for teachers, students and some amateurs:0️⃣Cheap1️⃣Cross-platform2️⃣Simple programming environment3️⃣The software is open-source and expandable.4️⃣Hardware is open-source and expandable. Ⅳ What Does Arduino Have?At the beginning of Arduino development, its application environment was clarified, and an open-source platform was designed to facilitate its secondary development. The main features of Arduino are as follows:1) Open-source circuit diagram design. The program development interface is free to download, or you can modify it according to your needs. Arduino carries low-priced microcontrollers (ATmega8 or ATmega128). It can be powered by a USB interface, no external power supply, and an external 9VDC input can also be used.2) Support ISP online programming, making the Bootloader firmware into the chip. The Arduino controller contains the Bootloader program, which is the first piece of code that runs after the system is powered on. It is like the program in the BIOS of the PC. It performs self-check after startup, configures the port, and so on. Of course, the microcontroller relies on programming the fuse. Set the startup from the boot area after power-on, and use this program to directly store the program sent from the serial port in the flash area. Therefore, when using the Arduino compilation environment to download the program, first reset the microcontroller and start the Boodoader program to guide the program sent from the serial port to be successfully written into the flash area. The flash can be programmed repeatedly, so it is very convenient to update the software. After having Bootloader, you can update the firmware through the serial port or USB to RS232 line.3) According to the official PCB and SCH circuit diagrams, the Arduino module can be simplified to complete independent micro-processing control.4) It can be easily connected with sensors and various electronic components, such as infrared, ultrasonic, thermistor, photoresistor, servo motor, etc.5) Support a variety of interactive programs, such as Flash, Max/MSP, VVVV, PurEDAta, C, Processin, etc.In terms of application, the use of Arduino can break through the interactive content of devices that can only use mouse, keyboard, CCD and other input devices in the past. For example, it can achieve single-player or multi-player game interaction more simply. The functional characteristics of Arduino make it more and more widely used. Ⅴ Arduino Programming LanguageUsually, the Arduino language we say refers to a collection of various application programming interfaces (APIs) provided by the Arduino core library files. Arduino uses C/C++ to write programs. Although C++ is compatible with C language, these are two languages. C language is a process-oriented programming language, and C++ is an object-oriented programming language. The early Arduino core library was written in C language, and later object-oriented ideas were introduced. At present, the latest Arduino core library is written in a mixture of C and C++.The Arduino language is a program framework that starts with setup() and loop() as the main body. setup() is used to initialize variables, pin modes, call library functions, etc. This function only runs once, and its function is similar to "main()" in C language. For the loop() function, the statements in the function are executed in a loop.Arduno language modularizes some parameter settings related to AVR microcontroller, including EEPROM, Ethernet, LED matrix, steering gear, stepping and TWI/I2C control library. It does not require the user to directly deal with the underlying system, which can improve the efficiency of application development. Ⅵ Arduino Basic ArchitectureThe Arduino system has also developed different versions based on different application environments. The "Arduino Duemilanove" version is used as an example to introduce the Arduino system. This version was developed in 2009 and is based on the atmega328 microcontroller board. During use, connect the computer with a USB cable or use a power adapter to power it.1) One 9V DC input provides external power output for the Arduino board, so that the Arduino control board has the ability to drive high-power external devices such as steering gear.2) One USB port used to connect the computer. The Arduino IDE uploads the control program written by the user to the control board, and at the same time, it can also supply power to the circuit board and drive low-power external devices through this port.3) 14 digital input/output terminals, among which ports 0 (RX) and 1 (TX) are respectively connected to the serial pins of the main control chip to receive and send TTL serial data. Among them, ports 2 and 3 can receive external signals to realize external interrupt function. Ports 3, 5, 6, 9, 10, 11 are used as PWM ports, which can be used for motor PWM speed regulation or music playback. Port 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK) can provide SPI communication mode with the support of SPI module library. Port 13 is connected with an LED indicator, which can open and close with the change of the level on pin 13.4) 6 analog input/output ports, of which port 4 (SDA) and port 5 (SCL) can realize I2C communication.5) One 5V DC output and one 3.3V DC output, which can provide 3.3V and 5V DC power supplies for other circuits.6) One reset interface.The Arduino system is developed based on a single-chip microcomputer, and a large number of common and standard electronic components are used on it. The entire design, including hardware and software, is released in an open source manner. Therefore, the cost of procurement is relatively low. In various electronic production competitions, Arduino is used as a development platform for creative design of electronic artwork.Figure  2. Arduino Board Terminals🔺Arduino Hardware✔️There are many motherboard, such as:Arduino UnoArduino NanoArduino LilyPadArduino Mega 2560Arduino EthernetArduino DueArduino LeonardoArduinoYún✔️There are many expansion boards for Arduino, such as:Arduino GSM ShieldArduino Ethernet ShieldArduino WiFi ShieldArduino Wireless SD ShieldArduino USB Host ShieldArduino Motor ShieldArduino Wireless Proto ShieldArduino Proto Shield Ⅶ Copyright and PaymentIn order to maintain the open-source concept of the design, Arduino decided to adopt the Creative Commons license, which is a license similar to GPL that appears to protect open copyright activities. Because copyright law can regulate open-source software, but it is difficult to use it on hardware. Having this license, anyone is allowed to produce copies of circuit boards, redesign, and even sell copies of the original design. You don't need to pay royalties, or even get permission from the Arduino team. However, if you republish the reference design, you must sign the original Arduino team. In addition, if you adjust or modify the circuit board, your latest design must use the same or similar license to ensure that the new version of the Arduino circuit board will be free and open. In other words, only the name Arduino is reserved, and it is a trademark now. If someone wants to sell a circuit board under this name, they must pay a small trademark fee to the Arduino core development members. Ⅷ Simple Arduino Projects8.1 Video DemonstrationBasic Projects with Arduino8.2 Examples and Programming Codes🔺Water Lamp ControlInsert 6 LED lights on the breadboard, among which the long pins are assigned to the 6, 7, 8, 9, 10, 11 ports of arduino respectively, the short pins are all connected to the blue wire of the breadboard, and then one port of the blue wire is connected to the GND port of the arduino. Figure  3. Water Lamps ConnectionCode:void setup(){ pinMode(6,output);pinMode(7,output);pinMode(8,output);pinMode(9,output);pinMode(10,output);pinMode(11,output);}void loop(){digitalWrite(6, LOW);digitalWrite(7,HIGHT);delay(200);digitalWrite(7, LOW);digitalWrite(8,HIGHT);delay(200);digitalWrite(8,LOW);digitalWrite(9,HIGHT);}🔺Using the Buzzer to Realize the AccordionThe buzzer is set according to different frequencies, so set the corresponding buzzer frequency based on the level of the switch interface.void setup(){pinMode(8,INPUT);  //switch setdigitalWrite(8, HIGH);pinMode(9,INPUT);digitalWrite(9, HIGH); piMode(10,INPUT);digitalWrite(10, HIGH); pinMode(11,OUTPUT) //light setpinMode(12, OUTPUT)pinMode(13,OUTPUT)}void loop(){if(digitalRead(8)==LOW){tone(7,2093);  //the buzzer frequency is set to 2093digitalWrite(11, HIGH);}else{notone(7);digitalWrite(11,LOW);}Repeat 2 switch values down;;; 🔺Breathing LightThe so-called breathing is relatively stable, so it cannot flicker and go off like a flashing LED. So analog output is used, and the current changes continuously.Figure  4. Breathing Light ConnectionCode:void setup(){pinMode(11,OUTPUT);  }void loop(){for(int i=0;i<30;i++){analogWrite(11,i);   //analog signal input, the range of i is [0,255];delay(10);}for(int j=29;j>0;j--){analogWrite(11,j);delay(10);}} Among them, the corresponding relationship between the analog signal voltage and the digital signal voltage:How is the analog signal realized to control the voltage within a range in a cycle?Figure  6. PWMAs shown in the figure, “on” belongs to 5V, and “off” belongs to 0V. In a time period, that is, when a pulse is sent, the duration of “on” in the previous figure is 25%, and the “off” is 75%. The voltage value calculated like this: v0=5*25%+0*75%=1.25(v). It can be simply understood like this. 🔺Breathing Water Lampvoid  setup(){pinMode(3, OUTPUT);pinMode(5, OUTPUT);pinMode(6, OUTPUT);pinMode(9, OUTPUT);pinMode(10, OUTPUT);pinMode(11, OUTPUT);}int  ports[6]=[3,5,6,9,10,11];int i=0,level=0; set loop(){ analogWrite(ports[i], level);delay(10);++level %=7;++i %=6;  i is incremented first, and then modulo 6, that is, i is always in the range of 0~5;}🔺Vibrating LEDPhotoresistor, resistor, LED are required;Connect one end of the photoresistor to 5V, the other end to the resistor, and the resistor to GND. Pull out a wire between the two and connect to analogIn;Figure  7. Vibrating LED ConnectionCode:void setup(){Setrial.begin(9600);}void loop(){Setril.printIn(analogWrite(0));  //the middle wire is connected to port 0, which is the serial output port;delay(200);} 🔺Electric BellWhen energized, electromagnetic induction produces magnetic force, the switch (oscillator) is attracted and pulled down; When the power is cut off, the coil loses its magnetism, the switch is restored, and then energized. That is, repeat the cycle. This is also the principle of crystal oscillator.Figure  8. Electric Bell DiagramCode:void setup(){pinMode(9,OUTPUT);Setrail.begin(9600);}void loop(){Setrail.printIn(analogRead(0));analogWrite(9, map(analogRead(0), 400,700,0,255);   //map(a1,b1,a2,b2), that is, the original range of values [a1,b1] is mapped to [a2,b2];delay(200);} Ⅸ FAQ1. What is an Arduino used for?Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online.2. Is Arduino illegal?The hardware designs of Arduino are open source; it is allowed to copy and further develop the designs. Note that in case a copy uses the Arduino name and/or logo on it, this board is no longer a copy but a counterfeit which is illegal to manufacture and sell.3. Can Arduino run C++?First, the Arduino compiler/IDE accepts C and C++ as-is. In fact many of the libraries are written in C++. Much of the underlying system is not object oriented, but it could be. Thus, "The arduino language" is C++ or C.4. Is Arduino easy to learn?Arduino is cost-effective and easily accessible. Arduino is easier to learn as a programming language as it is a simplified version of the C++ programming language. Arduino is cross-platform which makes it easy to run on any sort of device compared to other microcontrollers which can only run on windows.5. What is the difference between Arduino and Raspberry Pi?The main difference between them is: Arduino is microcontroller board, while Raspberry Pi is a microprocessor based mini computer (SBC). The Microcontroller on the Arduino board contains the CPU, RAM and ROM. All the additional hardware on Arduino Board is for power supply, programming and IO Connectivity.6. Why is Arduino so popular?So the Arduino hardware is easy, the Arduino IDE is simple, and the code itself is much easier to comprehend (than trying to program an off-the-shelf microcontroller). ... Another reason Arduino is so popular is because there are many people using it which means there's a lot of examples out there to work with.7. Can I sell my Arduino project?Yes, with the following conditions: Physically embedding an Arduino board inside a commercial product does not require you to disclose or open-source any information about its design. ... You may manufacture and sell the resulting product.8. Do you have to use the Arduino IDE?Can I program an Arduino board without the Arduino IDE? Yes, you can use Create web editor to program your board without the need of download the classic IDE.9. Can I use Python in Arduino?Arduino uses its own programming language, which is similar to C++. However, it's possible to use Arduino with Python or another high-level programming language. In fact, platforms like Arduino work well with Python, especially for applications that require integration with sensors and other physical devices.10. What language does Arduino code in?Arduino is programmed with a c/c++ 'dialect'. Most c/c++ will work but much of the standard libraries will not work.11. Which language is best for Arduino?Any language that has a compiler that generates Arduino compatible machine code will be perfect. As of this moment , a subset of C / C++ is the only language that is supported by the Arduino IDE.12. How do I program an Arduino?1) Use your Arduino Uno on the Arduino Web IDE.2) Use your Arduino Uno on the Arduino Desktop IDE. Install the board drivers. Open your first sketch. Select your board type and port. Upload the program. Learn more on the Desktop IDE.3) Tutorials.13. Can Arduino connect to WiFi?Connect your Arduino to the internet by adding ESP8266 WiFi Module ... Adding this module to your Arduino UNO will open you to more and exciting projects.14. Can an Arduino run Linux?Arduino have a couple of boards that support running a variant of Linux called Linino: The Arduino Yún is a microcontroller board based on the ATmega32u4 and the Atheros AR9331. The Atheros processor supports a Linux distribution based on OpenWrt named Linino OS.15. What should I learn before Arduino?Before learning Arduino you need to have knowledge of basic programming. You can choose any language like C, C++ or Java. And apart from that you need to have basic idea about electronic devices like which part it is?, How it works? etc.16. Where do I program Arduino?Arduino programs are written in the Arduino Integrated Development Environment (IDE). Arduino IDE is a special software running on your system that allows you to write sketches (synonym for program in Arduino language) for different Arduino boards.17. How many types of Arduino are there?Top 6 Different Types of ArduinoArduino UNO. The development of Arduino UNO board is considered as new compared to other Arduino boards.LilyPad ArduinoArduino MegaArduino LeonardoArduino Red BoardArduino Shields18. Is Arduino good for beginners?Arduino is easily accessible - even for those who don't know much about electronics. Arduino boards are simple a type of microcontroller. They are able to read inputs from the sensors and turn those inputs into output. Arduino is the best for beginners looking to get started with electronics for the first time.19. Which is more powerful Raspberry Pi or Arduino?Given those differences you might think a Raspberry Pi is so much more powerful and capable than Arduino, so you should use that. ... Raspberry Pi has 8. Individual I/O pins in Arduino can drive 40mA while Raspberry Pi GPIO pins can each drive a maximum of 16mA.
kynix On 2021-12-22   1097
Battery

CMOS Battery Basics: How to Replace?

Ⅰ IntroductionA computer  whether it is a laptop  or a desktop has a Motherboard where a small amount of memory known as  CMOS  (complementary metal-oxide-semiconductor) stores the BIOS  settings. Hardware settings, system time, and date are the parts of BIOS  settings. BIOS  protects the data each time the computer  turns off. If  CMOS loses its power the system clock resets.CatalogⅠ IntroductionⅡ CMOS Battery Related VideoⅢ Computer BIOS Ⅳ What is a CMOS Battery ?Ⅴ What is the Lifeline of CMOS Battery?Ⅵ How do I Know My CMOS Battery Failed? Ⅶ How to Replace A CMOS Battery?7.1 Step 1: Remove the Previous CMOS Battery7.2 Step 2:What To Do After Taking Out The Battery?Ⅷ FAQ Ⅱ CMOS Battery Related VideoHow to remove cmos battery in your pc? Cmos reset / hard reset on biosCMOS Battery Video Description:In this video I will teach you how to remove your cmos battery  in your pc whether be in  ATX  or  mATX  or mini ITX motherboard  . Removing the cmos battery  for 5 minutes will give a hard reset on your motherboard  and this will clear unnecessary issues like wrong overclock, no video signal and seeing the "reboot and select proper boot drive" in your display Ⅲ Computer BIOS To comprehend the significance of a CMOS battery  , you must first comprehend what your computer  's BIOS  is.BIOS is pre-programmed into the hardware of every computer,  It is not the same as an operating system. Operating systems  can be installed, uninstalled, and updated long after the computer  has been purchased. BIOS  is something that is built into the computer  during the manufacturing process.BIOS is an abbreviation for "Basic Input/Output System." What exactly does it accomplish? Essentially, it manages your computer  's essential functions.All computer  s operate based on inputs and outputs. Assume you're launching a software application:An input is when your CPU  sends an instruction to your hard disk to retrieve the software program from storage.Your hard disk retrieves the data from the software program and sends it back to your CPU  ; this is output.The program is executed by your CPU,  It sends instructions to your graphics processor, instructing it on what image to create; an input.Your graphics processor then sends instructions to your monitor on how to arrange the pixels on the screen to create the image; this is output.Everything your computer  does can be reduced to an input or an output. The BIOS  is in charge  of managing your computer's exchange of inputs and outputs, mostly when you boot it up. BIOS  instructs your computer on how to boot up the operating system and also controls peripherals (such as the mouse and keyboard). To turn on your laptop  , you press the power button, correct? So, how is your laptop  supposed to process the power button when it is off? That is what the BIOS operated. While your computer is still waking up, it performs basic functions for it. The basic input is to press the power button. The basic output is that your operating system boots up. Next We will look at CMOS battery,  Ⅳ What is a CMOS Battery ?On your motherboard.  the motherboard  battery, also known as the CMOS (Complementary Metal-Oxide Semiconductor), functions as an RTC (Real-Time-Clock). Inside your computer.  the CMOS acts as a battery-powered semiconductor chip that stores important data. This information includes the system time, date, and system hardware settings, which are required for your computer to boot and load properly. All of this data is kept safe by a near-quarter-sized lithium battery located directly on the computer's motherboard, Figure1:CMOS battery Ⅴ What is the Lifeline of CMOS Battery?CMOS is also referred to as CMOS RAM, Non-Volatile RAM (NVRAM), or a real-time clock (RTC). The lifespan of a CMOS battery  is nearly ten years. It will differ depending on the computer's usage and environment. CMOS is used in devices such as static RAM (SRAM), microcontrollers, digital logic circuits, and microprocessors.When the computer is unable to display the correct date and time, the CMOS battery  has failed. The original button does not appear on all motherboard  s. Some of the most basic types of customization features are expansion port speed configuration, boot device order, memory handling, and power control.As we all know from personal experience, batteries do not last forever. Batteries will cease to function after a certain time. This could happen anywhere between two and ten years after the device is manufactured. If your computer is turned on, its battery will last longer than if it is turned off. Unlike other types of batteries, these are not rechargeable, and doing so may result in an explosion. Ⅵ How do I Know My CMOS Battery Failed?The following are the symptoms of CMOS battery  failure:The laptop  is having trouble booting up.The motherboard  emits a constant beeping noise.The date and time have been reset.Peripherals are not responsive or respond incorrectlyHardware drivers have vanishedYou are unable to connect to the internet.When your CMOS battery  dies, your BIOS firmware will shut down and reset to factory setting. Problems with booting up and constant beepingAs previously stated, BIOS is primarily responsible for booting up your  computer ,  Your laptop  may have a difficult time booting up without the battery, or it may not boot up at all. You may also hear a constant beeping noise from the motherboard.  which is another sign of a battery failure.Date and time from a long, long time agoIf your laptop  boots, you may notice that the date and time have been reset. They've most likely reset to a date in the distant past. Even when your computer is turned off, BIOS keeps a real-time clock that keeps track of the date and time. That procedure is maintained by CMOS (which is sometimes referred to as a real-time clock in and of itself). If the date and time have mysteriously reset, it's a good indication that the CMOS battery  has died.Keyboard performance is erratic.It's possible that your peripherals aren't responding; for example, you can't move your cursor or click on any icons, and the laptop  isn't reading any of your keyboard inputs.Alternatively, your peripherals may be thrown out of whack; your cursor may be inaccurate, and your key inputs may result in strange responses from the operating system.Alternatively, your customized keyboard configuration has been reset to the default. Because BIOS is in charge  of managing peripherals at startup, these are all indications of CMOS failure.Drivers vanishIf you've installed any drivers on your computer.  such as those for your home printer, a CMOS failure may cause those drivers to vanish (you'll need to download and reinstall them).There is no internet connection.You may also be unable to connect to the internet if your battery dies. BIOS is in charge  of keeping hardware and network drivers up to date.One thing you should be relieved about is that CMOS failure usually does not result in the loss of any personal files. Nothing in storage has been harmed. Once you've replaced the battery, you'll still have access to all of your photos, videos, and documents. Failure of ttery  Ⅶ How to Replace A CMOS Battery?Ground yourself before you touch your patient. That means making sure that any static electricity (which can be generated in small charge  s between your body and clothing but is weak enough not to hurt you) does not pass through the delicate computer parts, which may seem insignificant but can seriously damage some of the more delicate components inside your case.Important points include placing your computer case on a non-conductive (non-metallic) table or surface before opening it for treatment and standing on bare feet in contact with the floor. 7.1 Step 1: Remove the Previous CMOS BatteryTo do so, open your computer's case and locate the CMOS battery on the  motherboard ,  If you're treating a laptop.  you'll need to open the laptop  's back panel. Because it resembles a large silver coin sitting on your motherboard  , the CMOS battery is easy to locate. Figure2:motherboard The battery in most systems and laptops is held in place by a small clip next to it. Simply slide the battery out from under the clip like a big round SIM card, and you'll have the troublesome little silver coin in your hand.Also, under no circumstances should the clip be bent.As a result, it will be unable to hold the new battery in place. You're treating your computer.  and as the saying goes, "first not harm."Figure3:new battery And there is one more thing;In some laptops, the CMOS battery may be covered with non-conductive protection and attached to two wires that are connected to the laptop's motherboard  via a connector similar to this:Figure4: laptop's motherboardAnd, you know, it's also possible that you can't find the CMOS battery on your laptop's back panel;Because some manufacturers do not allow battery replacements, and if you are still insistent on removing the battery;In any case, you can look online for a 'how to disassemble your laptop' tutorial video.Like on the YouTube;And this will help you understand how to disassemble your laptop because the CMOS battery may be attached to the other side of your laptop's motherboard, Here's a picture of the laptop without a CMOS battery in the back panel:Figure5: back panel So, whatever battery type your computer is using, simply disconnect or remove it.Even if the CMOS Battery is soldered to the motherboard  in the following manner:Figure6:Battery is soldered 7.2 Step 2:What To Do After Taking Out The Battery?You have to now purchase the same CMOS battery for your laptop or computer that you recently removed from your laptop or computer, So, you'll need to go to a computer store or order the battery online. Whatever you do, make certain that you purchase the same type of battery. Ⅷ FAQ1. How do I get the CMOS out of the motherboard without damaging it?Use a flat head screwdriver, push the metal tab back away from the battery.  It should not take much force, and the battery will just pop out.2. Is the CMOS battery the same battery found in Automotive Key Fobs?Excellent question, YES!  The CR2032 can be found in many devices from calculators, wrist watches, medical devices, toys, and many more.3. Can a motherboard run without a battery?Technically, YES.  Removing the CMOS battery will allow your computer to run however, you will lose the date and time settings, the computer will boot with default BIOS settings or you will have to choose the drive that the OS is installed every time you start your computer.4. Will removing the motherboard battery reset BIOS?This is an excellent question I get asked alot.  The short answer is YES.  If you remove the battery, wait approximately 5 minutes and then reconnect the battery.5. Can a CMOS battery cause a black screen?A faulty battery removes all of your boot settings.  It is very possible to see nothing but a black screen when booting up a computer with a dead CMOS.  For example if you have a secondary video adapter that your monitor is plugged into and your BIOS has reset to default settings, your onboard video would be the new display and not your primary video adapter.
kynix On 2021-12-21   1054
General electronic semiconductor

Arduino Inactivated Device for COVID in 2021

IntroductionNow face masks are necessary elements during the COVID. In practice, they are intended for one-time use, and to a large extent, it is environment unfriendly. Also during a shortage, repeated use is inevitable and it is necessary to have a disinfection mechanism. During the ongoing SARS-CoV-2 pandemic, hospitals, medical centers, and research institutions implemented different disinfection methods for these masks, usually involving ultraviolet germicidal exposure (UVGI) or some kind of heating methods. Nevertheless, these methods are not suitable for many ordinary people. What’s more, due to shortages, the reuse of these masks has become the only option. There is evidence that SARS-CoV-2 still exists on the surface of surgical masks even after 7 days, so the demand for feasible mask disinfection methods has further increased. Here will introduce a special device to do that.Introduction: Understanding the CoronavirusCatalogIntroductionⅠ Disinfection Device Production InstructionsⅡ Device Design Processes2.1 Device Size2.2 Thermal Test2.3 Box Lid Design2.4 UV-C System2.5 Making the Mask PlacementⅢ Set Up Arduino and Sensor3.1 Arduino Overview3.2 Material3.3 Sensors Installation3.4 Arduino Control3.5 AlarmⅣ Using GuideⅤ Temperature Cycle5.1 Heat Inactivation of Viruses5.2 Security ConsiderationsⅥ ConclusionⅠ Disinfection Device Production InstructionsThe device aims to create a low-cost portable device that can effectively use UVGI and dry heat to disinfect masks carry SARS-CoV virions, and can be easily operated by those who need it.Device Setup DiagramFigure 1. Device Setup Diagram1) The temperature must be kept within 65±5℃.2) The lamp must provide UV-C wavelength. UVC bulbs that emit very short ultraviolet wavelengths from 100 to 280 nanometers that damages the DNA of bacteria, viruses, and other pathogens. You should be careful, ultraviolet C is the most dangerous type of ultraviolet light in terms of its potential to harm life on earth.3) The duration of the disinfection cycle is at least 30 minutes. Because coronavirus is more sensitive to heat. A temperature of 56 degrees can kill the coronavirus within 30 minutes. So no more than 30 minutes to avoid potential mask degradation and function losses.Figure 2. Device Operational DisplayFigure 3. Device Physical ViewⅡ Device Design Processes2.1 Device SizeFigure 4. Device Size2.2 Thermal TestFigure 5. Thermal Test DiagramFigure 6. Test with ThermometerFigure 7. Test Boite Temperature Manufacturing of heating system:1) A frying pan with a diameter of 22cm (induction compatible) without handle.2) Cover the frying pan with aluminum foil to reflect UV-C light.3) Make a 20cm hole in the center of the bottom surface of the box.4) In order to maintain the position of the frying pan, please use four metal brackets as shown in the figure.Figure 8. Frying PanNote: The frying pan should not close to the wood of the box because it will reduce the thermal efficiency. Therefore, you must select the appropriate hole diameter and shape the metal bracket according to the following figure:Figure 9. Frying Pan Installation Diagram 2.3 Box Lid DesignFigure 10. Box Lid Design2.4 UV-C SystemFigure 11. UV-C LampFor the UV-C source in this device, it is an 11W bulb from household aquarium. As shown in the picture, the UV-C bulb is taken out and installed on the top cove. The installation method of the bulb is to make 4 holes in the top cover, and use the cable tie/cable tie and soft cushion to fix the bulb firmly. And the top surface is covered with aluminum to reflect ultraviolet radiation.You can feel free to use UV-C lamps from other sources. However, if you cannot access the crystal tube (used in this project), please do not use glass as a substitute, because glass will block ultraviolet radiation.2.5 Making the Mask PlacementThe mask will be placed on top of the metal frame. The I wire frame is made of thin copper wires, and each wire has 30mm spacing apart. The wire stand is located 120mm above the bottom surface. Next secure the wire racks together by passing the wires through the small holes on the front and back surfaces of the box.Figure 12. Mask PlacementⅢ Set Up Arduino and Sensor3.1 Arduino OverviewFigure 13. Arduino Overview3.2 MaterialArduino UNO Rev3Grove Basic Shield V2, 0Infrared temperature sensorLight SensorPush ButtonPiezo SpeakersFour-digit LED DisplayAdapter power supply DC 12V3.3 Sensors InstallationFigure 14. Sensor Introduction3.4 Arduino ControlINIT: In this state, the LED display indicates the temperature, but you have to wait for it to reach the threshold (70℃) before starting cycle counting in the COUNT state.Count: The number of minutes from 30 to 0 is displayed on the LED display next to the temperature digits. Additionally, in the case of too low temperature, or if the UV lamp is turned off, the status will change to ERR.END: This is the normal state at the end of the elapsed time. The speaker will remind. Press the button to enter INIT again.ERR: This is an error state, if the temperature is too low or the UV lamp is turned off, it will run. In terms of it, repeat the last step above.Code Download: LED Backpack Libraries and Arduino Wiring.3.5 AlarmIn fact, there are few alarm conditions. If the alarm is on, there will be a specific sequence on the speaker and a message will be displayed on the screen.Alarm condition: If the system is in ERR state (mentioned above) or the temperature is too high (over 75℃).Figure 15. Alarm System Diagram Ⅳ Using Guide1) Put the box on top of the induction (or resistance) stove.2) Turn on the power of Arduino.3) Close the box and start heating at 70~80% of the power of the induction cooker.4) Wait until the temperature reaches 60℃, and then reduce the variable power of the induction cooker to 30%.5) Now you can open the device, put the mask in and close it.7) Press the button to start, the remaining time (30 minutes) should be displayed.8) From now on, you need to wait 30 minutes, and there will be a signal on the speaker.9) If you want to restart a new cycle from the initial state, just press the button.Note: When the timer is counting the elapsed time, the dots between the Timer and Temperature displays will flash at 1 second intervals. Ⅴ Temperature CycleFigure 16. First Heat CycleFigure 17. Cycle with Opening-Closing 5.1 Heat Inactivation of VirusesSince the time of Pasteur, people have known the ability to remove microorganisms through moist heat, usually below 100℃. In this device, we implemented dry heat, which is reported to be effective in eliminating the infectivity of SARS-CoV. The analysis showed that the virus is largely inactivated within 30-90 minutes at 56℃, almost completely inactivated at 65℃ in 20-60 minutes, and at 75℃ in 30-45 minutes. In addition, a recent study showed that SARS-CoV-2 will lose all its infectivity at 56℃ after 30 minutes or at 70℃ after 5 minutes.According to these evidences and additional considerations regarding the effects of these disinfection methods on the function of the mask, we decided to set the heat exposure of the protocol used with the equipment to 65℃/30 minutes.5.2 Security Considerations• UVC radiation is harmful to human skin and eyes, so the UVC bulb should only be turned on when the box is completely closed.• Be careful with the metal parts of the box, they may be very hot after heating and may burn your skin when you touch them directly. Ⅵ ConclusionTaking into account the collected evidence and the technical details of the equipment, we decided to set the disinfection protocol to UVC irradiation for 30 minutes and 65±5℃ dry heat. In addition, the time required for the device should reach the required temperature and light intensity, which must be calculated. Using these specifications of UVC or heating alone should be sufficient to eliminate almost all SARS-CoV-2 infectivity, and the simultaneous action of the two should increase the effectiveness to reach a safer level.According to the available scientific evidence, the disinfection program may eliminate almost all SARS-CoV infectivity and will certainly make the masks safer to reuse than without any disinfection. However, it is designed in good faith and to the best of professional knowledge and ability, but the following must be stated:The use of this equipment to inactivate SARS-CoV-2 has not yet undergone proper laboratory testing, and it is impossible to confidently confirm the actual impact on the filtering capacity of the mask in advance.
kynix On 2021-12-20   783
Motors, Solenoids, Driver Boards/Modules

Project of DS1302 RTC Chip with Arduino

ⅠIntroduction RTC is an abbreviation for Real-Time Clock. RTC modules are simply TIME and DATE remembering systems with a battery setup that keeps the module running in the absence of external power. This keeps the TIME and DATE current. As a result, we can get accurate TIME and DATE from the RTC module whenever we want. Catalog ⅠIntroduction Ⅱ RTC Module Explaintion 1.1 What is RTC module? 1.2 Timing Ⅲ DS1302 RTC Module Basics 3.1 DS1302 RTC Module Pinout 3.2 DS1302 Pin Configuration 3.3 Features 3.4 Technical Specifications  3.5 Block Diagram of DS1302 RTC Chip Ⅳ DS1302 RTC Module with Arduino 4.1 Setting up the Hardware 4.2 Making the Code Ⅴ FAQ   Ⅱ RTC Module Explaintion 1.1 What is RTC module? A real-time clock (RTC) is an electronic device that measures the passage of time (typically in the form of an integrated circuit). Although the term is most commonly associated with devices found in personal computers, servers, and embedded systems, RTCs can be found in almost any electronic device that requires an accurate time of day. A real-time clock mechanism and a long-lasting battery are used by an RTC module to keep track of the time. On a small board with five pins, the module contains a 3V lithium-ion battery, a 32 kHz crystal, and a DS1302 chip. The DS1302 chip is extremely power efficient and can run for up to 5 years on a 3V lithium battery. Figure1:RTC Module     The power supply voltage  is 5 volts. The serial  I2C  communication protocol is used by the RTC module.  which makes interfacing with the microcontroller very simple. Aside from VCC and GND, only two pins (CLK and DAT) are required for interfacing with  Arduino . CLK and DAT are the required SCL and SDA pins for  I2C communication, respectively, while RST is the reset pin (optional).   1.2 Timing The majority of RTCs use a crystal oscillator,[8][9] but some can use the power line frequency.  The crystal frequency is typically 32.768 kHz, which is also the frequency used in quartz clocks and watches. It is a convenient rate to use with simple binary counter circuits because it is exactly 215 cycles per second. The low frequency saves power while remaining above the range of human hearing. The temperature has little effect on the size of these crystals' quartz tuning forks, so the temperature has little effect on their frequency. Some RTCs employ a micromechanical resonator on the RTC's silicon chip. This reduces the size and cost of an RTC by reducing the number of parts. Micromechanical resonators are much more temperature-sensitive than quartz resonators. So, using an electronic thermometer and electronic logic, compensate for temperature changes. Typical crystal RTC accuracy specifications range from 100 to 20 parts per million (8.6 to 1.7 seconds per day), but temperature-compensated RTC ICs are available with accuracy as low as 5 parts per million. In practice, this is adequate for celestial navigation, the traditional function of a chronometer. Chip-scale atomic clocks became available in 2011. Despite being significantly more expensive and power-hungry (120 mW vs. 1 W), they keep time to within 50 parts per trillion.   Ⅱ RTC Module Related Video: What is RTC and how it is working || real time clock|| diyproject || graspelectronics RTC Module Video Description: what is rtc ? and how it is working ? RTC stands for real tme clock. RTC module code  is ds3231 the code is given in the datasheet for all components  . it is work in 3.3v  5v may kill the module. it is used to maintain accurate time keeping when main power to the device is interrupted. The rtc maintan maintains second,hours, day,date, month and year information. Real time clockThe date at end of the month is automatically adjusted for month with fewer then 31 days including corrections for leap years.   Ⅲ DS1302 RTC Module Basics Before we start this project, we will have a look at basics of DS1302 RTC Module. 3.1 DS1302 RTC Module Pinout Figure2: Pinout   3.2 DS1302 Pin Configuration Pin No. Pin Name Description 1 Vcc2 Second supply input, when Vcc2 is greater than Vcc1 + 0.2V, DS1302 powers through this pin 2,3 X1 and X2 For connecting external crystal oscillator of 32.768kHz 4 GND Ground 5 CE This pin set to HIGH during a Read or a Write 6 I/O (Data Line) This is the bi-directional data pin to 3-wire interface 7 SCLK(Serial Clock) Used to synchronize data movement on the serial interface 8 Vcc1 Rechargeable energy source connected to this pin   3.3 Features Minutes, seconds, date, hours, month, day of the week, year, and leap-year compensation up to 2100 are all counted in real-time.Single and multiple (Burst mode) data transfers for Clock or RAM data read and write31*8 general-purpose battery-powered RAMSimple interface based on three TTL-compatible wiresFull operation from 2V to 5.5VSmall sizepin DIP and 8-pin SO packages are available. 3.4 Technical Specifications 3.3V is the typical supply voltage.Voltage range (concerning ground) on any pin: -0.5V to 7.0°CTemperature range (commercial): 0°C to +70°CTemperature range (Industrial): -40°C to +85°CTemperature range for storage: -55°C to +125°CTemperature for Soldering: 260°C Note: The DS1302 Datasheet, which is linked at the bottom of this page, contains all of the technical information.  3.5 Block Diagram of DS1302 RTC Chip Figure3:Diagram   3.6 How to Use a DS1302 Chip? A typical DS1302 operating circuit is shown below. The DS1302 has two power inputs, one from the cell and one from the controller. To generate the required frequency, a crystal oscillator with a frequency of 32.768 kHz is used. The data line, reset pin, and serial-clock pins of the DS1302 are connected to the microcontroller for interfacing. Figure4:Example   Ⅳ DS1302 RTC Module with Arduino 4.1 Setting up the Hardware Pins A4 and  A5  on the  Arduino are dedicated to I2C communication. However, with the assistance of software code, any pin can be used to serve the purpose. This is known as a software I2C bus. For our purpose, we will use the "Rtc by Makuna" library, which can be found in the Arduino IDE's Tools -> Manage Libraries... menu. Following installation, the examples provided with the library can be used to learn more about the functions and initialization methods. Figure5:Library Manager Arduino  To use the following code, connect the RTC module's DAT, CLK, and RST pins to Arduino's digital pins 6, 7, and 8. 4.2 Making the Code Now we must write the C code to set the current date and time in the RTC module, read from the module, and write to the serial monitor every second.   Figure6 :Code for connection with RTC Module The line ThreeWire DatClkRst (6,7,8); creates a bundle of three wires that will be used to initialize the object Rtc from the RtcDS1302 class using the command RtcDS1302ThreeWire> Rtc(DatClkRst); The function SetDateTime resets the DS1302 chip's date and time. The date and time at the time of Arduino's C code compilation are saved in the RtcDateTime object "compiled." The loop() method has a one-second delay. Date and time are read from the RTC module and displayed on the serial monitor in each iteration. To learn how to use this RTC module, remove the line and flash the Arduino with the updated code again. Even if the Arduino's power is turned off or the RTC module is disconnected and reattached, the Arduino will be able to read and display the correct real-time.   Ⅴ FAQ 1. Which RTC module is best? Choosing The Right RTC For Your Project The DS-1307 is often the default choice for an RTC. ...The DS3234 has the distinction of using an SPI interface instead of I2C. ...The RV-1805 draws so little power that this Sparkfun module gets by without a backup battery at all. 2. What is RTC module DS3231? The DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC) with an integrated temperature- compensated crystal oscillator (TCXO) and crystal. The device incorporates a battery input, and maintains accurate timekeeping when main power to the device is interrupted. 3. What is RTC in mobile phone? A real-time clock (RTC) is an electronic device (most often in the form of an integrated circuit) that measures the passage of time. 4. What is RTC in laptop? The real-time clock, or RTC, maintains the internal clock … in real time. That is how the laptop knows the time as well as the date whenever you turn it on. ... Or you can keep the laptop plugged into an AC source. 5. Does RTC work without battery? The RTC module accurately keeps time with a precise oscillator and is maintained with a small battery (not included). 6. How does RTC module work? An RTC maintains its clock by counting the cycles of an oscillator – usually an external 32.768kHz crystal oscillator circuit, an internal capacitor based oscillator, or even an embedded quartz crystal. Some can detect transitions and count the periodicity of an input that may be connected. 7. What is the difference between DS1307 and DS3231? The main difference between the DS3231 and DS1370 is the accuracy of time-keeping. DS1307 comes with an external 32kHz crystal for time-keeping whose oscillation frequency is easily affected by external temperature. This usually results with the clock being off by around five or so minutes per month.  
kynix On 2021-12-18   1552
Relays

Latching Relay Definition, Basic Functions and Selection

Introduction Latching relay is a new type of relay and also an automatic switch. Like other electromagnetic relays, it turns on and off the circuit automatically. The difference is that the normally closed or normally open state of it is completely dependent on the action of permanent magnets, and the switching state of it is triggered by a pulse electric signal of a certain width. It has the characteristics of power saving, stable performance, small size, large carrying capacity, and superior performance than general relays. Latching Relay Basics in 2 Minutes Catalog Introduction Ⅰ Working Principle 1.1 Action Principle 1.2 Action Process Ⅱ Main Functions and Advantages 2.1 Average View 2.2 Function Lists 2.3 Application Area Lists 2.4 Latching Relay Advantages Ⅲ Tech Parameters Ⅳ Latching Relay Test 4.1 Measuring Contact Resistance 4.2 Measuring Coil Resistance 4.3 Set Voltage and Current 4.4 Reset Voltage and Current Ⅴ Relay Selection 5.1 The Necessary Conditions 5.2 Relevant Information Search 5.3 Installation Layout Consideration Ⅵ FAQ Ⅰ Working Principle 1.1 Action Principle The on and off state of the latching relay is usually held by the magnetic force generated by the permanent magnet. When the contacts of the relay need to be opened or closed, only the positive (reverse) DC pulse voltage is needed to excite the coil, and the relay completes the state transition between opening and closing in an instant. Usually when the contact is in the holding state, the coil does not need to continue to be energized, and the state of the relay can be maintained unchanged only by the permanent magnet force.   1.2 Action Process When the contacts of the relay need to be set, it is only necessary to excite the coil J2 with a positive DC pulse voltage. The magnetic poles generated by the coil J2 after excitation interact with the magnetic poles of the permanent magnet. As we all known, the same polarities repel each other, but the opposite polarities attract each other. The state transition from reset to set is completed in an instant. The following schematic diagrams demonstrates the specific state transition process. The process of the latching relay changing from the set state to the reset state, which are the same. Figure 1. Reset Latching Relay Figure 2. Constant-Current Pulse Monment Figure 3. Constant-Current Pulse Monment Figure 4. Latching Relay Reset   Ⅱ Main Functions and Advantages 2.1 Average View Latching relay is an automatic switching element with isolation function. It is widely used in remote control, telemetry, communication, automatic control, mechatronics and power electronic equipment. It is one of the most important control elements in electricity.Magnetic latching relays generally have an induction mechanism (input part) that can reflect certain input variables (such as current, voltage, power, impedance, frequency, temperature, pressure, speed, light, etc.). It has the ability to turn on/off the controlled circuit. In addition, between the input part and output part of the relay, there is an intermediate mechanism (drive part) for coupling and isolating the input, functional processing and driving the output part. 2.2 Function Lists The latching relay has the following functions:1) ExpansionFor example, when the control signal of a multi-contact relay reaches a certain value, multiple circuits can be switched, disconnected, and connected at the same time according to different forms of contact groups.2) AmplificationFor example, magnetic latching relays can control a large-power circuit with a very small control quantity.3) IntegrationFor example, when a plurality of control signals are input to a multi-winding relay in a prescribed form, they will be compared and integrated to achieve a predetermined control effect.4) Automation, remote control and monitoringFor example, on the automatic device and other electrical appliances, magnetic latching relays can form a program control circuit to realize automatic operation. 2.3 Application Area Lists 1) Smart meters: IC card meters, prepaid meters, single-phase meters, three-phase meters.2) Reactive power compensation: synchronous switch, composite switch, smart capacitor.3) Intelligent control: smart home, solar street light control, automation equipment, etc. 2.4 Latching Relay Advantages 1) They only need pulse excitation, and can work with single and double coils.2) Small size, easy installation.3) Low power consumption and strong load capacity.4) Safe and reliable, long service life. Figure 5. General Relay Structure Ⅲ Tech Parameters 1) Rated VoltageIt refers to the voltage required by the coil when the relay is working normally. Depending on the model of the relay, it can be AC voltage or DC voltage.2) DC ResistanceIt refers to the DC resistance of the relay coil, which can be measured by a multimeter.3) Pull-in CurrentIt refers to the minimum current that the relay can produce the pull-in action. In normal use, the given current must be slightly larger than the pull-in current, so that the relay can work stably. As for the working voltage applied to the coil, generally do not exceed 1.5 times the rated working voltage, otherwise it will generate a larger current and burn the coil.4) Release CurrentIt refers to the maximum current that the relay generates to release the action. When the current in the pull-in state of the relay is reduced to a certain level, it will return to the unpowered release state. The current at this time is much smaller than the pull-in current.5) Switch Voltage and CurrentThis refers to the voltage and current that the relay allows to load. It determines the magnitude of the voltage and current that the relay can control, and you cannot be exceeded this value during use, otherwise it is easy to damage the contacts of the relay.6) Coil Resistance RThe resistance produced by winding a T circle with an enameled wire with a diameter of Φ: R=£*(T/Φ).7) TemperatureThe higher the temperature, the greater the resistance, and the lower the resistance, the smaller the resistance. Generally speaking, the coil resistance refers to the coil resistance at 20°C. When the temperature is higher or lower than 20℃, there is a calculation formula: Rt=R20[1+(T℃-20℃)×0.004].8) Contact Resistance CRIt is the resistance between the contacts of the relay. And it is the sum of the shrinkage resistance Re and the surface film resistance Rf: Rk=Re+Rf.Note:🔺The factors that form shrinkage resistance Re:♦️The size of the contact pressure determines the size of the shrink resistance. The relationship between the two is inversely proportional, the greater the contact pressure, the smaller the shrinkage resistance.🔺The factors that form the surface film resistance Rf:♦️Dust in the air.♦️Harmful gases in the air: H2S, SO2, etc.♦️Organic vapor in the air: plastic, glue and rosin.♦️Oil stains on the contact surface during the production process.9) Pull-in VoltageThe minimum voltage required to close the relay contacts.10) Release voltageThe minimum voltage required to open the relay contacts.11) Insulation ResistanceThe resistance value that appears when measured with a specified DC voltage between conductive parts that are insulated from each other.12) Medium Withstand VoltageAlso known as dielectric degree, it refers to the maximum voltage that can withstand between two conductive parts without breakdown.13) Reversing RetentionThe minimum force applied on the armature assembly handle to open or close the contacts.14) Contact PressureThe interaction force generated between the moving and static contacts is equal to the contact pressure equal to the reaction force generated by the over-travel of the reed head. Figure 6. Latching Relay Product Ⅳ Latching Relay Test 4.1 Measuring Contact Resistance Use the resistance profile of the universal meter to measure the resistance of the normally closed contact and the moving point, which should be 0. The contact resistance can be measured in a more accurate way within 100 milliohms, while the resistances of the normally-open contact and the moving point should infinite. From this, it can be distinguished which is a normally-closed contact or a normally-open contact.   4.2 Measuring Coil Resistance The resistance value of the relay coil can be measured with the universal meter R×10Ω, so as to judge whether there is an open circuit phenomenon in the coil.   4.3 Set Voltage and Current Get an adjustable regulated power supply and an ammeter, input the set voltage to the relay, and insert an ammeter in the power supply loop for monitoring. Slowly increase the power supply voltage, and when you hear the sound of the relay picking up, write down the set voltage and set current. In order to be accurate, you can try several times. Pay attention to, the setting current should be the average value, and the setting voltage should be the maximum value.   4.4 Reset Voltage and Current Repeat the above operation. But there is a little difference that the reset current is the average value, and the reset voltage is the maximum value.   Ⅴ Relay Selection 5.1 The Necessary Conditions ① The power supply voltage of the control circuit, the maximum current that can be provided.② The voltage and current in the controlled circuit.③ How many sets and types of contacts are needed for the controlled circuit. When selecting a relay, the power supply voltage of the general control circuit can be used as the basis for selection. The control circuit should be able to provide enough working current to the relay, otherwise the relay will be unstable when it is closed.   5.2 Relevant Information Search After consulting the relevant information to determine the conditions of use, you can search for the relevant information to find out the model and specification number of the required relay. If you already have a relay on hand, you can check whether it can be used based on the data. Finally, consider whether the size is appropriate.   5.3 Installation Layout Consideration If it is used for general electrical appliances, in addition to considering the volume of the case, it is necessary to consider the installation layout of the circuit board. For small electrical appliances, such as toys and remote control devices, ultra-small relay products should be used.   Ⅵ FAQ 1. What is magnetic latching?The design of a Magnetic Latching Relay is such that when a short pulse of electrical energy is applied to the solenoid coil, sufficient magnetic force is generated to over-come the force of the relay' return mechanism. 2. How does a latching relay work?One latching type has two opposing coils with an over-center spring or permanent magnet hold the contacts in position after the coil is de-energized. A pulse to one coil turns the relay on and a pulse to the opposite coil turns the relay off. 3. Where is latching relay used?This type of relay is most suitable in applications like ON/OFF devices from multiple places with push-button or momentary switch. For example, it is used in a lighting circuit or conveyer to control from different locations. 4. What is a magnetic latching relay used for?A magnetic latching relay is a device in which the solenoid principle is applied to open and close light-current electrical circuits. The same device applied in heavy-current circuits is called a contactor, or circuit breaker. 5. How does a latching relay reset?Resetting is very simple. The coil circuit needs to be opened and shortened to the coils ground potential. The capacitor will be discharged through the coil and drives a current pulse with opposite polarity through the coil.
kynix On 2021-12-18   1737
RFID

RFID Basics: RFID Chip,RFID Tags,RFID Reader and RFID Asset Tracking

Ⅰ Introduction RFID is a technology that uses electromagnetic fields to automatically recognize and track tags attached to objects. An RFID system is composed of a small radio transponder, a radio receiver, and a radio transmitter. Catalog Ⅰ Introduction Ⅱ RFID Related Video: Ⅲ RFID Chip 3.1 WHAT IS RFID? 3.2 HOW DOES RFID WORK? 3.3 What Are the Types of RFID Systems  ? Ⅳ RFID Tags 4.1 Definition of RFID Tags 4.2 How RFID Tags Work? 4.3 Examples of RFID Tags Ⅴ What Does (RFID Reader) Mean? 5.1 What exactly is an RFID Reader  ? 5.2 Readers Types Ⅵ Blocking Wallet 6.1 What Is an RFID-Blocking Wallet? 6.2 How Do RFID-Blocking Wallets Work? 6.3 The 5 Best RFID-Blocking Wallets Ⅶ RFID Asset Tracking  7.1 What Is RFID Asset Tracking  ? 7.2 How Does RFID Asset Tracking  Work? Ⅷ RFID Vs. NFC: The 5 Key Differences Ⅸ FAQ   Ⅱ RFID Related Video:   How RFID Works? and How to Design RFID Chips?     RFID Related Video Description: In this video, we learn about how RFID works and we see how RFID chips are designed. The main concepts such as backscatter modulation and energy harvesting is explained in detail. We start by explaining the RFID technology, in particular passive RFIDs.We discuss the operation of RFID and the magnetic field coupling.Then we look inside the RFID tags and locate the RFID chip and antenna inside the tags.Then we see how RFID chips are designed and explain all different parts of the chip in detail.We discuss the backscatter modulation as well as RF frequencies used in RFID communication.At the end we also provide some information about RFID readers.     Ⅲ RFID Chip 3.1 WHAT IS RFID? RFID is an abbreviation for "radio-frequency identification," and it refers to a technology that uses radio waves to capture digital data encoded in RFID tags  or smart labels (defined below). RFID is similar to barcoding in the sense that data from a tag or label is captured by a device and stored in a database. RFID, on the other hand, has several advantages over systems that use barcode asset tracking software. The most notable difference is that RFID tag data can be read even when the tag is not in direct view, whereas barcodes must be aligned with an optical scanner. If you are thinking about implementing an RFID solution, contact the RFID experts at AB&R® (American Barcode and RFID).   3.2 HOW DOES RFID WORK? RFID systems are made up of three parts: a scanning antenna  , a transceiver, and a transponder. An RFID reader  or interrogator is a device that combines the scanning antenna  and the transceiver. RFID reader  s are classified into two types: fixed readers  and mobile readers  . RFID reader  s are network-connected devices that can be portable or fixed. It transmits signals that activate the tag via radio waves. When activated, the tag sends a wave back to the antenna.  which converts it into data. The RFID tag contains the transponder. RFID tag read range varies depending on factors such as tag type, reader type, RFID frequency, and interference in the surrounding environment or from other RFID tags  and readers,  Tags with a more powerful power source have a greater read range.   3.3 What Are the Types of RFID Systems  ? RFID systems are classified into three types: low frequency (LF), high frequency  (HF), and ultra-high frequency (UHF) (UHF). Microwave RFID technology is also available. Frequencies differ greatly depending on country and region. RFID systems with low frequency. These frequencies range from 30 kHz to 500 KHz, with 125 KHz being the most common.  LF RFID  has relatively short transmission ranges, ranging from a few inches to less than six feet. RFID system with high frequency  These range from 3 MHz to 30 MHz, with 13.56 MHz being the most common HF frequency. The typical range is from a few inches to several feet. RFID  UHF  systems These have a frequency range of 300 MHz to 960 MHz, with a typical frequency of 433 MHz, and can be read from a distance of 25 feet or more. RFID systems that use microwaves These operate at 2.45 Ghz and can be read from a distance of more than 30 feet.   Ⅳ RFID Tags 4.1 Definition of RFID Tags RFID tags are a type of tracking system that uses intelligent barcodes to identify items. RFID stands for "radio frequency identification," and RFID tags  make use of radiofrequency technology. These radio waves send data from the tag to a reader, which then sends the data to an RFID computer program. RFID tags  are commonly used to track merchandise, but they can also be used to track vehicles, pets, and even Alzheimer's patients. An RFID tag is also known as an RFID chip. 4.2 How RFID Tags Work? An RFID tag transmits and receives data via an antenna  and a microchip, which is also known as an integrated circuit or IC. The RFID reader  's microchip is programmed with whatever information the user desires. What exactly is an RFID tag? RFID tags are classified into two types: battery-powered and passive. Battery-operated RFID tags.  as the name implies, use an onboard battery as a power source, whereas passive RFID tags  do not, instead of relying on electromagnetic energy transmitted from an RFID reader,  RFID tags  powered by batteries are also known as active RFID tags,  Passive RFID tags  transmit data at three different frequencies: 125–134 KHz, also known as Low Frequency (LF), 13.56 MHz, also known as High Frequency (HF) and  Near-Field Communication  (NFC), and 865–960 MHz, also known as Ultra High Frequency (UHF) (UHF). The range of the tag is affected by the frequency used. When a reader scans a passive RFID tag, it sends energy to the tag, which powers it up enough for the chip and antenna  to relay information back to the reader. The reader then sends this data to an RFID computer program for interpretation. Passive RFID tags  are classified into two types: inlays and hard tags. Inlays are typically thin and can be adhered to a variety of surfaces, whereas hard tags are, as the name implies, made of a hard, durable material such as plastic or metal.Transponders are much more battery-efficient than beacons because they only activate when they are close to a reader. Figure1:antenna 4.3 Examples of RFID Tags Because an active RFID is constantly transmitting a signal, it is an excellent choice for those seeking real-time trackings, such as in tolling and real-time vehicle tracking applications. They are a costly product, but they have a long read range, which may be preferred depending on the application. Passive RFID tags.  which cost around 20 cents each, are a much more cost-effective option than active  RFID tags ,  As a result, they are a popular choice for applications such as supply chain management, race tracking, file management, and access control. While a passive RFID tag does not require a direct line of sight to the RFID reader.  its read range is much shorter than that of an active RFID tag. They are small, lightweight, and have the potential to last a lifetime. Active RFID tags are better suited for applications requiring durability because they have a larger, more rugged design than passive RFID tags,  They are commonly used in toll payment transponder systems, cargo tracking applications, and even personal tracking devices. Figure2:Examples of RFID Tags Ⅴ What Does (RFID Reader) Mean? 5.1 What exactly is an RFID Reader  ? A radio frequency identification reader (RFID reader) is a device that collects data from RFID tags that are used to track individual objects. Data is transferred from the tag to a reader using radio waves. RFID is a technology that, in theory, is similar to bar codes. The RFID tag, on the other hand, does not have to be scanned directly, nor does it need to be in direct line of sight of a reader. To be read, the RFID tag must be within the range of an RFID reader.  which can range from 3 to 300 feet. RFID technology allows several items to be scanned quickly and allows for quick identification of a specific product, even when it is surrounded by several other items. RFID tags have not replaced bar codes due to their high cost and the requirement to individually identify each item.   5.2 Readers Types A passive reader in a Passive Reader Active Tag (PRAT) system only receives radio signals from active tags (battery operated, transmit only). A PRAT system reader's reception range can be adjusted from 1–2,000 feet (0–600 m), providing flexibility in applications such as asset protection and supervision.   An active reader in an Active Reader Passive Tag (ARPT) system transmits interrogator signals and receives authentication responses from passive tags. Active tags activated by an interrogator signal from the active reader are used in an Active Reader Active Tag (ARAT) system. A Battery-Assisted Passive (BAP) tag, which acts like a passive tag but has a small battery to power the tag's return reporting signal, could also be used in this system.Fixed readers  are configured to create a specific interrogation zone that is tightly controlled. This allows for a well-defined reading area when tags enter and exit the interrogation zone. Handheld mobile readers  are available, as well as those mounted on carts or vehicles.   Ⅵ Blocking Wallet If you have RFID-enabled cards, passports, or devices, an RFID-blocking wallet may be necessary to protect your data.   6.1 What Is an RFID-Blocking Wallet? Thieves can steal your credit card information just by standing next to you if you don't have an RFID-blocking wallet. It is possible if you carry a credit card with an RFID chip embedded in it. RFID credit cards allow you to make payments by simply touching the card to a scanner rather than swiping it across or inserting it into a terminal. They're made for ease of use. Imagine someone approaching you and "scanning" the wallet in your back pocket without your knowledge. They could theoretically copy the RFID data and create a clone of your credit card unless it is protected by an RFID-blocking wallet.   6.2 How Do RFID-Blocking Wallets Work? RFID chips have been a source of concern for many years, and not just in credit cards. RFID chips in all US passports issued after 2006 track your photo and information. RFID chips are embedded in metro cards for quick swiping, and RFID chips are implanted in dogs for tracking. RFID chips communicate by using radio waves. An RFID tag with information is embedded in the object, such as a credit card, and an RFID reader  uses radio waves to read the information from the tag. The key point is that RFID chips have tiny electromagnetic fields, which allows them to be read without having to "initiate" communications. The RFID reader  only needs to be close enough to the field to work. As a result, someone could theoretically scan a card through your pocket. And, yes, people have been scanned in the real world in this manner. Check out this Reddit anecdote to see what kind of headache RFID hackers can cause. Fortunately, radio waves can be easily interrupted and blocked, which is how an RFID-blocking wallet works. They encase your credit cards in a radio-interfering material. If the wallet is constructed properly as a Faraday cage, it will block all electromagnetic fields and prevent communication between your cards and RFID scanners. But do YOU really require an RFID-blocking wallet? Most likely not. If your credit cards do not have RFID chips, you obviously do not require one. Even if you do have RFID-enabled cards, the chances of being scanned maliciously are extremely low—-less than 1%, according to some. On the other hand, the possibility exists at all times, and the probability is non-zero.   6.3 The 5 Best RFID-Blocking Wallets Saddleback Passport WalletBig Skinny Slimline WalletTrayvax Original WalletSharkk Rugged WalletRadix One Black Steel   Ⅶ RFID Asset Tracking  As a company that depends on the availability of high-value assets to generate revenue, you understand the significance of asset tracking and effective inventory management. Whether it's inventory, tools, IT equipment, vehicles, or even employees. 7.1 What Is RFID Asset Tracking  ? RFID asset tracking is a technique for automating the management and location of physical assets. It works by loading data onto an RFID tag and attaching it to a relevant asset. This information can range from name, condition, amount, and location. An RFID reader  can capture the stored data by using the RFID tag's repeatedly pulsating radio waves. Eventually, it will be collected in a sophisticated asset tracking system, where the data can be monitored and acted upon. The ability to automate your tracking and monitoring processes seeks to eliminate the highly error-prone methods of pen-and-paper and excel spreadsheets.Among other benefits such as: Tracking multiple assets at any one timeEliminating human interventionCollecting data in real-timeImproving asset visibilityLocating lost or misplaced assetsMaximising accuracy of inventory   7.2 How Does RFID Asset Tracking  Work? The basic principles of how an RFID tracking system works are very similar whether it is used in agriculture to track livestock or in a warehouse to monitor a manufacturer's supply chain. First, you'll need the right tools: RFID Tags (Passive, Active, or Semi-Passive)An AntennaAn RFID ReaderA computer database equipped with Asset Tracking Software The RFID asset tracking process can be divided into four stages once the proper equipment is in place: The data is stored on an RFID tag that has a unique  Electronic Product Code  (EPC) and is attached to an asset. An antenna  detects a nearby RFID tag's signal. An RFID reader is wirelessly connected to the antenna  and receives the data stored on the RFID tag. The data is then transmitted by the RFID reader to an asset tracking database, where it is stored, evaluated, and acted upon. The initial process is relatively simple, depending on how you choose to deploy your RFID asset tracking system. However, there are a variety of factors to consider when selecting the right hardware.   Ⅷ RFID Vs. NFC: The 5 Key Differences Even though both technologies appear similar on the surface, there are five key differences between them. The Reading Range NFC technology operates on a limited range, also known as proximity. RFID, on the other hand, can read tags from up to 10 meters away, making it the best solution for vehicle identification and access. Check out our Automatic Vehicle Identification Guide if you want to learn more about long-term solutions. Communication Because NFC is capable of two-way communication, it can provide novel and complex solutions such as card emulation and peer-to-peer. Speed With NFC technology, unlike RFID tags.  only one tag can be read at a time. As a result, RFID tags are often better suited to environments with a high concentration of trackable components. Asset management in a manufacturing facility or tracking fast-moving vehicles is two examples. Data NFC technology stores and transmits a variety of data types. NFC devices, with their larger storage capacity, can store and transmit more data than RFID devices, which can only carry simple ID information. As a result, NFC is better suited to environments where payment details, membership, and ticket information, among other things, must be transferred. The cost-effectiveness NFC-based readers  are less expensive than long-range RFID solutions due to their limited reading range. As a result, NFC is an excellent choice for businesses on a tight budget who still require a high-quality solution. Ⅸ FAQ 1. Can you be tracked through RFID? The answer was an electronic lock, and the company has given its handful of employees the option of using an electronic key or getting an RFID chip implanted in their arm. "It can't be read, it can't be tracked, it doesn't have GPS," Darks said. 2. Can RFID be hacked? RFID hackers have demonstrated how easy it is to get hold of information within RFID chips. As some chips are rewritable, hackers can even delete or replace RFID information with their own data. ... It's easy to purchase the parts for the scanner, and once built, someone can scan RFID tags and get information out of them. 3. Why is RFID bad? The other problem with RFID chips versus, say, embedded smart chips is that as wireless devices they don't need to be near the reader to be read. Smart chips, on the other hand, need to be put next to, or into, a reader, so they aren't as susceptible to being sniffed in the open. 4. How is RFID powered? Active RFID tags have a transmitter and their own power source (typically a battery). ... Instead, they draw power from the reader, which sends out electromagnetic waves that induce a current in the tag's antenna. Semi-passive tags use a battery to run the chip's circuitry, but communicate by drawing power from the reader. 5. What is RFID example? For example, an RFID tag attached to an automobile during production can be used to track its progress through the assembly line, RFID-tagged pharmaceuticals can be tracked through warehouses, and implanting RFID microchips in livestock and pets enables positive identification of animals. 6. How do I know if I have an RFID chip? The best way to check for an implant would be to have an X-ray performed. RFID transponders have metal antennas that would show up in an X-ray. You could also look for a scar on the skin. Because the needle used to inject the transponder under the skin would be quite large, it would leave a small but noticeable scar. 7. Do credit cards have RFID? RFID-enabled credit cards - also called contactless credit cards or “tap to pay” cards - have tiny RFID chips inside of the card that allow the transmission of information. ... Though many new credit cards are RFID-enabled, not all of them are. On the other hand, all newly-issued credit cards come with an EMV chip.
kynix On 2021-12-16   701

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Follow us

Join our mailing list!

Be the first to know about new products, special offers, and more.

Kynix

  • How to purchase

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

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

authentication

Kynix

© 2008-2026 kynix.com all rights reserved.