Книга: Best Arduino Automation Project: Arduino Project Ideas for Automated System
Назад: 5. User Input Manipulate
Дальше: 2. Arduino Digital Light

every other vital component is to isolate the DC manage facet of the microcontroller from any AC interference that might have an effect on the MCU thru the inputs of the machine. A hassle i was faced given that I did now not have any isolation hardware established to start with, AC interference which originated from the metallic body of the lift became transferred to the MCU through the restrict switches. even though the limit switches function on a separate DC supply, enter from the restrict switches are directly fed to the microcontroller, interference then happens whilst the elevate starts moving and because of this AC interference the MCU isn't capable to correctly discover the ground the lift is at. To counteract this issue an Optocoupler turned into used for every enter to isolate the MCU from out of doors interference.

1.png

The motive of the optocoupler is to transfer the input signal generated from the ground limit switch to the MCU through an LED and phototransistor. when the limit switch is closed the LED is powered up and the incoming mild from the LED turns on the gate of the phototransistor which then transfers a high sign to the MCU successfully isolating the input from the outside and the MCU7.

1.png2.png3.png

Назад: 5. User Input Manipulate
Дальше: 2. Arduino Digital Light