you don't need to search a specific relay, but can use other relays as well.Īn example of how to control a relay Arduino Playground - HomePageĬonnecting your pump directly to the arduino won't work. The right transistor will be able to handle the relay and asks very little of the arduino. A relay requiring more may work for a while, but will very likely burn the microcontroller of an Arduino.Ī solution to this problem is using a transistor, it works like a switch and. ![]() It's quite important that the relay-coil doesn't use more as those 40 milliAmperes if you connect it directly to one of the pins + GND.Īs a safety margin 20 mA would be best. Since the pump is only 4 watts, 999 out of 1000 relays will be able to handle that amount of power.Īt the arduino side though, pins can't handle more as 40 milliAmperes. that the internal switch is strong enough to handle the power needed by the pump.īoth are electronically seperated circuits, arduino powering the coil on one side and the switch handling the pump on the other side. Important is that the coil won't ask too much of your arduino (or other type of solution) and. ![]() In a relay a coil magnetically flips a switch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |