But transistors are cheaper, faster and smaller then relays. It is possible to find very low current draw 5v relays that the Arduino can drive directly, then the relay contacts can switch the higher current load on and off. You are going to have to learn how to utilize external transistors to switch currents. Besides in addition to the 40ma per pin limit there is a total package current output limit of around (I think) 200ma so you are not there that way even without switch timing problems. Because you can't insure that you can turn on all 10 outputs at the same instant in time there will be unequal current draws and short term short circuits. If you use the pin as a digital input, you can enable the internal pull-up resistor for that pin. The digital section (page 67) shows the switchable pull ups. The Atmega 2560 datasheet ADC section (page 268) makes no mention of pull ups on the analog inputs. Here, AVR stands for Audio Video Recorder and RISC. A pull up makes no sense on an analog input. The Mega 2560 is based on AVR RISC Architecture. No that is not a practical solution to parallel connect 10 output pins together. The Pinout of Arduino Mega is shown below: The description of pins present on the Arduino board are listed below: ATmega2560 Microcontroller - The Atmega2560 is a CMOS (Complementary Metal Oxide Semiconductor) low powered 8-bit microcontroller. It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a. Now, is it possible (and safe) if, say, I connected the output from the pins from 2-12 (according to this doc, it says each out supplies 40ma of current) to the motor, and then turn them all on to start the motor? Afterall, 10 x 40 is 400ma, pretty close to 500ma that the 5V pin supplies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |