How to avoid unwanted blocks with Arduino


How to avoid unwanted blocks with Arduino

One of the worst things that can happen to us after so much work to write a sketch, is to see our Arduino crash unexpectedly for no understandable reason. There are many reasons for this to happen, but the one due to switching inductive loads is quite common.
There is an easy way to avoid this problem, and that is to use photocouplers. An optocoupler integrates a LED diode and a photosensor (transistor or triac) into the chip.
This simple coupling allows us to obtain galvanic isolation between Arduino and our load, be it a relay, a motor, or a 220v load.
In addition, divide the two worlds is good in order to prevent disturbances from reaching the Arduino, they also safeguard us from the possibility of taking dangerous electrical discharges when we are driving a load connected to the power network, in which case we will use an optocoupler with a triac output and not a transistor.
There are ready-made cards that mount optocouplers that make it easier for us.
The same technique is recommended not only for the outputs to relays and motors, but also for the inputs, to be sure that the disturbances are confined outside the walls of the Arduino.

Luciano Pautasso

If you enjoyed reading this little guide, click on an advertising banner. You will help us pay for the server.




Cerca 


Categorie Articoli

Ultimi articoli

OPTA-FINDER-ARDUINO-COMPATIBLE   APRI 

whatsapp-alarm-repeater   APRI 

Arduino_Template_Menu_Eng   APRI 

Arduino_Template_Menu   APRI 

Power-Supply-with-Current-Control   APRI 

Vantaggi_Alimentatori-Controllo_Corrente   APRI 

Camping-La-Secca-Moneglia   APRI 

Safety-Relays   APRI 

Rele-di-sicurezza   APRI 

Internal-or-External-Watchdog   APRI 

Watchdog-interno-o-esterno   APRI 

Ripetitore-di-allarme-su-Whatsapp   APRI 

Bufala-in-crosta   APRI 

Home-Automation-ESPeriment   APRI 

ESPerimento-Domotica   APRI 

Arduino-measures-liquid-level   APRI 

Arduino-misura-livello-liquidi   APRI 

finder   APRI 

LORA-english-version   APRI 

Pluviometro-LORA   APRI 

Pillole_di_Promessi_Sposi   APRI 

LORA   APRI 

promessisposi-riscrittura   APRI 

Arduino_crashes   APRI 

Arduino_si_blocca   APRI 

Arduino_e_Trenino   APRI 

millis_no_overflow   APRI 

millis   APRI 

Arduino_millis_no_Overflow   APRI 

millis   APRI