Basic Questions about SainSmart Relay Module


Results 1 to 16 of 16

Thread: Basic Questions about SainSmart Relay Module

  1. #1
    Member
    Join Date
    Oct 2013
    Location
    United States
    Posts
    543
    Downloads
    0
    Uploads
    0

    Default Basic Questions about SainSmart Relay Module

    I'll preface this question by stating that I'm not a electronic guru by any stretch of the imagination.

    I have a G0704 conversion in progress (http://www.cnczone.com/forums/bencht...24194-cnc.html) which will use Mach-4 and a ESS smooth stepper. I have purchased a SainSmart 4 channel relay board to interface with the ESS and control coolant and a air blast feature by way of Mach-4 and M codes. I also have a operator control panel with buttons that can control coolant and air blast in a manual mode without inputting any code via Mach-4.

    The input of the relay board is a small header that will attach to the ESS with a ribbon cable. These are the inputs for the relay board to fire the relays.

    My questions is...can I also connect the inputs to the relay board to the buttons on the operator control panel so the relays will operate through the ESS OR through the pushbuttons?

    My original plan was to have the the SainSmart relays control a small DIN mount set of 4, 12V relays. This would allow me to interface the operator buttons and directly control the air blast solenoid which happens to be 12V. This almost seemed redundant to me, but I think the output of the ESS to the SainSmart is TTL logic which may not play well with the operator control pushbuttons.

    Does this make sense, have I explained it clearly?


    Thanks,

    Stuart

    Similar Threads:
    "THE GRIZZ" photo album - https://goo.gl/photos/yLLp61jooprtYzFK7
    Youtube - https://www.youtube.com/channel/UCT2lq9obzEnlEu-M56ZzT_A


  2. #2
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    They appear to have 5v 15-20ma inputs. If so you just need to switch the 5v input.
    Arduino 4 Channel Relay Module | Henry's Bench
    Schematic in above manual.
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  3. #3
    Member
    Join Date
    Oct 2013
    Location
    United States
    Posts
    543
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    Al,

    Thank you, those schematics help a bit.

    So..if you supply 5V and a ground to the relay board, then ground any of the four pins, it will shift that relay, correct! Does the term 'LOW' mean pulling a circuit to ground?

    If the above description is how it works, then would it be possible for the input pins of the relay board to be pulled low from more than one source. That means the relay board could be connected to the ESS and at the same time connected to a NO push button. The ESS could pull the pin low OR the push button could pull the pin low.


    Stuart

    "THE GRIZZ" photo album - https://goo.gl/photos/yLLp61jooprtYzFK7
    Youtube - https://www.youtube.com/channel/UCT2lq9obzEnlEu-M56ZzT_A


  4. #4
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    Normally yes, what is the nature of the ESS output, in some cases where it matters a blocking diode is used in each operator to isolate each one.
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  5. #5
    Member
    Join Date
    Oct 2013
    Location
    United States
    Posts
    543
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    Al,

    I don't know the answer to that question. I have read the specs on the ESS and the FAQ's but am not sure what they mean. I'm more of a pick & shovel man. I'll keep studying.

    Stuart

    "THE GRIZZ" photo album - https://goo.gl/photos/yLLp61jooprtYzFK7
    Youtube - https://www.youtube.com/channel/UCT2lq9obzEnlEu-M56ZzT_A


  6. #6
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    Do you have a link to what this ESS is?
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  7. #7
    Member
    Join Date
    Oct 2013
    Location
    United States
    Posts
    543
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    "THE GRIZZ" photo album - https://goo.gl/photos/yLLp61jooprtYzFK7
    Youtube - https://www.youtube.com/channel/UCT2lq9obzEnlEu-M56ZzT_A


  8. #8
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    Yes I got that, that is the schematic I sent.
    ESS smooth stepper system?
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  9. #9
    Member KH0UJ's Avatar
    Join Date
    Jul 2016
    Location
    Philippines
    Posts
    660
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    It`s a relay module, it`s opto isolated on all channels, yes you can have a manual overide switch but it involves soldering at the back, ground switching, if you connect ground on one of the feet of the relay it will activate, do not do any modification on the input itself because it will interfere back to the breakout board, instead you can do the switching after the opto isolation to avoid conflicts.



    Attached Thumbnails Attached Thumbnails Basic Questions about SainSmart Relay Module-relay-module-jpg  


  10. #10
    Member
    Join Date
    Oct 2013
    Location
    United States
    Posts
    543
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    KHOUJ,

    Thank you, I think that's the info I was looking for. The simple schematic is something I can understand. You addressed my concern about back feeding a signal into the ESS from the relay board when using an additional switch. Is the procedure you outlined about soldering into the circuit after the opto isolators something that is occasionally done or is it a Rube Goldberg kind of fix? My original plan was to use the SainSmart to control a conventional 12V relay board which would alleviate any modification to the SainSmart itself.

    Thanks,

    Stuart

    "THE GRIZZ" photo album - https://goo.gl/photos/yLLp61jooprtYzFK7
    Youtube - https://www.youtube.com/channel/UCT2lq9obzEnlEu-M56ZzT_A


  11. #11
    Member KH0UJ's Avatar
    Join Date
    Jul 2016
    Location
    Philippines
    Posts
    660
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    Well if you just follow precisely on the one I just drew, you can never go wrong sir as you noticed all the left side pins of the relays (coil pins) they are all connected to +5VDC right? so the manufacturer used a ground switching on that module, NPN transistors triggered by the output of the opto isolators, on my opinion I can even make my own version of it using what available resources I got, (I eat circuits @ lunch) just kidding sir , you can curse me all you want if it does burn out or fail, you can try it out with just a cellphone charger if you want, put a ground wire on that pin I drew for you, you will hear a click, then you can test the input trigger by supplying 5VDC on the trigger to hear a click, then you can simultaneously trigger the input while shorting the ground on one of the pin of the relay same on the picture im an arduino and raspberry pi enthusiast too



  12. #12
    Member
    Join Date
    Oct 2013
    Location
    United States
    Posts
    543
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    KHOUJ,

    Very succinct explanation...just what a dolt like me can understand. Thank you, I'll try it and will not blame you if the shop goes up in flames.

    Stuart

    "THE GRIZZ" photo album - https://goo.gl/photos/yLLp61jooprtYzFK7
    Youtube - https://www.youtube.com/channel/UCT2lq9obzEnlEu-M56ZzT_A


  13. #13
    Member KH0UJ's Avatar
    Join Date
    Jul 2016
    Location
    Philippines
    Posts
    660
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    hahahaha, well for as long as you dont exceed 10A/250VAC on your load (pumps) I guess it`s safe enough, that`s what it`s written on the label of your relays, but if you dont feel safe on the specification of the 4 relays you can always put another relay (bigger) on it if you feel safe using it or if your load exceeds 10A@220VAC



  14. #14
    Member
    Join Date
    Oct 2013
    Location
    United States
    Posts
    543
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    KHOUJ,

    I'm safe on the load rating of the relay, thanks.

    I do have another question though..I have a dedicated 5V power supply for the ESS and I assume I will tag off of that to provide power to the SainSmart. I think they discuss this in their literature, and it's OK as long as the power supply has the ampacity to power the ESS AND be able to operate the relay coils. My question is, in order to operate the relay, it must be pulled low, (grounded) and that is always in reference to the ground of the power supply, correct? If I were to solder to the board after the opto-isolators and pull that to ground with a push button at a remote location, that circuit must be referenced to the power supply ground, correct?

    I know these are super basic questions for anyone with any electronic experience and I probably have the terminology wrong, but I'm a real green pea at this.

    Stuart

    "THE GRIZZ" photo album - https://goo.gl/photos/yLLp61jooprtYzFK7
    Youtube - https://www.youtube.com/channel/UCT2lq9obzEnlEu-M56ZzT_A


  15. #15
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    If you just want to operate a relay with another device such as a P.B. then it can just be in parallel with the other input, (OR'rd).
    If the other device is a Arduino, PC etc, other than a contact closure device (PB) , then you can just place a diode in each line from the Micro and one on the P.B conductor . the diode anode end (NON-striped end) on both inputs are connected to the opto inputs..
    You could wire it across the 2n5551 collector to emitter, but probably no need.
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  16. #16
    Member
    Join Date
    Oct 2013
    Location
    United States
    Posts
    543
    Downloads
    0
    Uploads
    0

    Default Re: Basic Questions about SainSmart Relay Module

    Al,

    Thanks..that may be the way to go too.

    Stuart

    "THE GRIZZ" photo album - https://goo.gl/photos/yLLp61jooprtYzFK7
    Youtube - https://www.youtube.com/channel/UCT2lq9obzEnlEu-M56ZzT_A


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Basic Questions about SainSmart Relay Module

Basic Questions about SainSmart Relay Module