![]() My goal is to get you enough information so you can turn on and off devices that require between 40 and 400 mA of current with Nusbio's GPIOS. If the device is 110 volts, you need a relay.ĭisclaimer: This is a very quick introduction to transistor to be used as switch. If the device is 5 or 12 volts, you can use a transistor. It may work, but the motor may go very slow or the LED will not be very bright. Therefore when you want to control a device like a simple motor or an LED using 60 mA, you should not connect the GPIO directly to the positive of the device. Nusbio's GPIO are configured by default to provide 4 mA and can be configured to provide up to 16 mA. ![]() An Arduino Uno GPIO can provide up to 40 mA of current ( ArduinoPinCurrentLimitations). ![]() Though we can turn on and off device with a GPIO, a GPIO generally can only provide a limited amount of current. Some voltage/current (3 or 5 volts generally) and a 0 also called a low materialized by sending no voltage/current. These pins with which we can programmatically send a 1 or 0 or read a 1 or 0 when connected to another device.Ī 1 also called high (pulling the wire high) is materialized by sending If you are a software developer that started making hardware experiment with an Arduino, Raspberry PI, BeagleBone or our USB device Nusbio, You probably learn by now about GPIO (General Purpose Input Ouput).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |