need help on MEGA2560 pin out connector

Thread Starter

LAOADAM

Joined Nov 21, 2018
956
I use MEGA2560 control 14 relays, and what will be a better solution for the connector?
The red circle area for output.
post91.jpg
 

ScottWang

Joined Aug 23, 2012
7,498
You didn't mention the power of relays, if the relays apply +5V then you need to use DIP 36~40 Pins connector (Gnd, +5V, 14 Pins and other Pins), you also can be use one side 18 Pins connector, if the relays apply as 9V or 12V or higher then you just need to use a 16 Pins connector (Gnd, 14 Pins I/O,), it means that if the relays applying higher than +5V then you need to use another 2 Pins connector (Gnd, +V_relay) connecting to the relays board.

MEGA2560 Pinout.
 

dendad

Joined Feb 20, 2016
4,635
You could use one of there...
MEGA-2560 R31 PCB Prototype Screw Terminal Block Shield Board Kit from Ebay...
2560 terminals.png

Or one off these...
MEGA 2560 Sensor Shield V1.0 Expansion Development Board
2560 Sensor Shield.png

Both available on Ebay.
 

DickCappels

Joined Aug 21, 2008
10,661
Those pins are fine for anything the ATMAGA can drive directly.

You may need to add some high current drivers to drive the relays.
 

Thread Starter

LAOADAM

Joined Nov 21, 2018
956
You didn't mention the power of relays, if the relays apply +5V then you need to use DIP 36~40 Pins connector (Gnd, +5V, 14 Pins and other Pins), you also can be use one side 18 Pins connector, if the relays apply as 9V or 12V or higher then you just need to use a 16 Pins connector (Gnd, 14 Pins I/O,), it means that if the relays applying higher than +5V then you need to use another 2 Pins connector (Gnd, +V_relay) connecting to the relays board.

MEGA2560 Pinout.
Thanks
the all relays are 5V.
https://www.progressiveautomations....-48wq-j929YI7n1a5T2tmD9YpWnzRdGwaAgDfEALw_wcB
 

ScottWang

Joined Aug 23, 2012
7,498

Thread Starter

LAOADAM

Joined Nov 21, 2018
956
You said that "control 14 relays" in the #1, but the links in #6 only have 8 relays on the relays board, do you want to use two of them?
(Are you already bought them?)

What do you trying to control from the relays and how much current does the load needed, are they the same kind of load or they are different?
1. yes, I bought two of that;
2. most of the relays used for drive small load (1.5 A), two of them used to drive large motors say 500W.
Thanks you.
 

ScottWang

Joined Aug 23, 2012
7,498
1. yes, I bought two of that;
2. most of the relays used for drive small load (1.5 A), two of them used to drive large motors say 500W.
Thanks you.
As I replied in post #5 to Dick, you can use ULN2003 *2 ( or uln2004) to drive the relays.

Although they claimed that the current rating of relays is AC250V 10A, DC30V 10A, and your motor only needs 500W, but I'm still a little worry about the contact current withstand capacity of relays.
 

Thread Starter

LAOADAM

Joined Nov 21, 2018
956
As I replied in post #5 to Dick, you can use ULN2003 *2 ( or uln2004) to drive the relays.

Although they claimed that the current rating of relays is AC250V 10A, DC30V 10A, and your motor only needs 500W, but I'm still a little worry about the contact current withstand capacity of relays.
Thanks.
 
Top