Reddit mentions: The best electrical relays

We found 200 Reddit comments discussing the best electrical relays. We ran sentiment analysis on each of these comments to determine how redditors feel about different products. We found 82 products and ranked them based on the amount of positive reactions they received. Here are the top 20.

🎓 Reddit experts on electrical relays

The comments and opinions expressed on this page are written exclusively by redditors. To provide you with the most relevant data, we sourced opinions from the most knowledgeable Reddit users based the total number of upvotes and downvotes received across comments on subreddits where electrical relays are discussed. For your reference and for the sake of transparency, here are the specialists whose opinions mattered the most in our ranking.
Total score: 11
Number of comments: 5
Relevant subreddits: 1
Total score: 10
Number of comments: 6
Relevant subreddits: 1
Total score: 8
Number of comments: 4
Relevant subreddits: 1
Total score: 8
Number of comments: 3
Relevant subreddits: 1
Total score: 7
Number of comments: 3
Relevant subreddits: 3
Total score: 4
Number of comments: 3
Relevant subreddits: 1
Total score: 3
Number of comments: 3
Relevant subreddits: 1
Total score: 3
Number of comments: 3
Relevant subreddits: 1
Total score: 3
Number of comments: 3
Relevant subreddits: 1
Total score: 3
Number of comments: 3
Relevant subreddits: 1

idea-bulb Interested in what Redditors like? Check out our Shuffle feature

Shuffle: random products popular on Reddit

Top Reddit comments about Electrical Relays:

u/lenolium · 2 pointsr/Homebrewing

For a display I am using this: i2c 7-segment display, and if you are grabbing the display you can't use the Spark Core relay board because they use the lines that are setup for i2c to control relays instead.

So the total bill of materials for my build is:

  • Spark Core

  • that display

  • temp sensor (I have 2, so I can read temps of both fermenters or fermenter/fridge)

  • relay board

  • sacrificial extension cord

  • electrical box & project box

  • electrical plug

  • some breadboard connection wires

  • Fridge

  • Heater

    I don't believe you can get a local spark cloud server going, but the beauty of it is that you don't have to. You can just use their cloud service for free and be able to read variables and run registered functions securely and remotely without any issues. How I have it set is so that the spark core by default won't control the temp but can be given a command to set the temp and then it will just hold that temp until a new command comes in. So far it has been holding my fermenter to within a degree and switching between temps nice and quickly. I am very pleased, but still want the BrewBlogger integration so I can setup what temp I want at what time and to record and graph the temps. By next week I should be pushing some code up to github, so I'll PM you then and give you a link.

    You could easily run BrewBlogger off of a Pi if you didn't have another place to run it, but it's just a PHP website that would need a scheduled task to run to fetch temps.
u/Xombie11 · 1 pointr/3Dprinting

Thanks for the detailed write-up on your safety mods!!

I've seen Solid State relays recommended over/instead of the MOSFETs you linked to. e.g. something like this but rated at 25A.

However I'm having trouble deciding which one on Amazon is compatible. Would I need one that is DC to AC or DC to DC?

Like would this one be appropriate? Or this one?

I'm looking at Amazon only because they ship from the US and I'm hoping to have a Mosfet or SSR in hand by next week.

EDIT: Doing some more research, it seems like one of these is what I need? Amazon results for SSR-40DD The recommended brands are Fotek, Auber and Crydom.

u/Nimco · 1 pointr/esp8266

I did a similar project a couple years ago, but using a Raspberry Pi Zero W and a relay board. I used this relay board: https://www.amazon.com/gp/product/B01HEQF5HU/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

It was quite happy controlling 24VAC.

I know you said you want an "all-in-one" board, but the ESP8266 is so small, it would be easy to connect it to the relay board and secure them together. That's what I did with the RPi0W - I just electrical taped it to the relay board. It ran quite happily for year before we moved house.

u/ImaginaryCheetah · 1 pointr/homeautomation

not after a quick search ( ,_,)

seems like all of the "smart home" products are 15amps

off the top of my head, you could accomplish the same goal using a relay board and some RIBs

https://www.amazon.com/dp/B071KFX63R/

https://www.amazon.com/dp/B000LEUJU6/

but you're venturing towards a rabbit hole of how complicated/expensive do you want this to be :)

maybe someone else knows of a 20amp smart switch, for an elegant solution.

u/ragingcomputer · 3 pointsr/homeautomation

Not quite what you want as it requires a lot of assembly, but I'm doing something similar using Hikvision cameras, z-wave, and OpenHAB on an old PC. This gets pretty powerful if you go all-in with automation.

I get a push notification to my phone, and also it grabs a frame from my hikvision camera and emails it to the SMS gateway for my mobile phone. I keep push notification because it's much faster to deliver.

I added a relay to my doorbell to use as a simple contact. I'm connected to a mimolite to connect into my automation. It's just wired in parallel with the existing chime like a second chime.

Functional Devices Ribu1C - Rib Relay, Enclosed 10 Amp Spdt https://www.amazon.com/dp/B000LESCI2/

My wife works overnights, so I'm also using the mimolite to silence the upstairs chime while my wife is sleeping by switching it to ring the basement chime. I can still hear it on the main level but not on the second. If the front door is not opened within 60 seconds, the house speaks a reminder alert. If doorbell is set to chime in the basement, it reduces volume to 60% for the reminder.

Here's my setup for reference. https://m.imgur.com/a/fzUE3

Bonus, I'm using a node.js service to watch alarm events from my hikvision cameras and relay those events into OpenHAB. This allows me to get notifications on in-camera crossline detection to alert me if someone is on the porch but hasn't rung the doorbell. http://www.ragingcomputer.com/2016/06/hikvision-motion-detection-in-openhab-using-node-js

u/Lucian151 · 1 pointr/hobbycnc

Hi everyone! If you liked the electronics enclosure you can download the design files here -

  • https://grabcad.com/library/3-4-axis-cnc-electronics-enclosure-1
  • https://www.thingiverse.com/thing:2756470

    And here's the part list!

    QUANTITY | COMPONENT NAME | LINK / COMMENT
    ---------:|----------|----------
    1 | 7I76-5I25 PLUG-N-GO KIT | http://store.mesanet.com/index.php?route=product/product&product_id=215
    1 | DROK LM2596 Analog Control Step-down Regulator Module | www.amazon.com/gp/product/B019RKVMKU
    1 | DC Fan (120mm x 120mm x 25mm 24V) | www.amazon.com/gp/product/B01FBPQMXW
    1 | Mesh Dust Filter for 120mm Fan | www.amazon.com/gp/product/B01M0A2UH0
    3 | DIN Rail | www.amazon.com/gp/product/B015E4EIOK
    1 | IEC320 Inlet Power Socket | www.amazon.com/gp/product/B00ME5YAPK/
    4 | KL-5056 Stepper Motor Driver - 32 bit DSP Based | www.amazon.com/gp/product/B00O6DC8PW
    1 | Emergency Stop Button Switch | www.amazon.com/gp/product/B0094GM004
    25ft | 4 Pin Cable | www.ebay.com/itm/20M-4-Pin-5050-3528-RGB-LED-Strip-Light-Wire-Extension-Connector-Cable-Cord-Line-/282110056592?hash=item41af11d890
    1 | Antek Linear Power Supply - 500W 30V 16A Peak 25A With Passive Filters / EMI-RFI Filters and Suppressors | https://www.ebay.com/itm/PS-5N30-500W-30V-16A-Peak-25A-Stepper-Motor-Antek-Linear-Power-Supply-/371664502398?hash=item5688ee3e7e
    3 | Wall Outlets from Home Depot | Find ones you like / feel are safe enough using
    16ft | Led Strip Lights | www.amazon.com/gp/product/B01GJ3O0J8/
    1 | Misc. Hardware | Nuts, Bolts, Standoffs, Crimp Connectors, Spare Fuses, 2 Extra Limit Switches
    2 | Ogrmar SSR-25 DA Solid State Relay with Heat Sink | www.amazon.com/gp/product/B074FT4VXB/
    1 | 18 AWG Gauge Stranded Hook-Up Wire Kit | www.amazon.com/gp/product/B00N51OO7Q
    ~30pc | Heat Shrink Tubing | www.amazon.com/gp/product/B00OZSL8UE
    1 | Shop-Vac | www.amazon.com/gp/product/B00EPH63K0
    7 | Uxcel 16mm Thread 4-Pin Panel Mount Wire Connector | www.amazon.com/gp/product/B016FCZ5SS
    2 | 8 Circuit 20A Terminal Block | www.amazon.com/gp/product/B000S5Q2VS

    Best of luck! Feel free to PM me or comment with any questions or feedback!
u/MxedMssge · 1 pointr/raspberry_pi

Exactly, yes! Everything that requires precise timings, instant response, and/or 5 volt logic would be on the Arduino and the Pi would just handle user interactions.

You could just get an Arduino Uno 3, that's kind of the standard Arduino board especially for people just learning. I just prefer the Mega because it is beefier and has way more GPIO pins. But the Uno 3 has enough to run three relays and your IR sensor easily (which has both 3.3 V and 5 V logic, meaning it can work with the Pi and Arduino respectively).

Speaking of relays, I really like the SainSmart ones and have never had an issue with them. This four-relay module is only $10:
https://www.amazon.com/SainSmart-101-70-101-4-Channel-Relay-Module/dp/B0057OC5O8/ref=asc_df_B0057OC5O8/
Only thing is, and you might know this already, these things are pull-down rather than up. Meaning instead of pushing a 5V signal straight from a digital GPIO pin on the Arduino straight to the relay, you have to use a transistor to basically invert the signal. When the Arduino activates the transistor, it allows the pin on the relay board to go to ground which turns it on. Also, don't forget to always wire so the power off side is your closed side for all valves and such! The last thing you want if a board dies is to have the relay that controls your solenoid valve to default to power on, dumping all your liquid!

It definitely is overwhelming at first, but once you get really confident it opens up a whole new world of fun engineering!

u/lolmatt · 3 pointsr/ReefTank

I ended up building a relay-controlled outlet that I plug an aqualifter in to, and put it all in a project box. The parts including a 5-pack of float switches cost me around 20 bucks total (mostly on amazon). I used this relay (https://www.amazon.com/gp/product/B00843IV06), a flyback diode I had on hand, this project box (https://www.amazon.com/gp/product/B0002BENLY), a pair of generic float switches, an outlet adapter (https://www.amazon.com/gp/product/B00GN61W48) and a couple parts I had on-hand (generic power cord [just cut the end off], and 12v power supply [I broke the brick and fit the parts in the project box, then split the AC in to power both the 12v transformer and passthrough the relay to power the outlet).


I used two float switches at two different heights. The bottom is for the actual water level, and I set the top one just below the baffle height in the return section of my sump - if it ever lifts, it cuts power to the pump.


I also have this plugged in to a digital timer with 8 adjustable timer periods as a failsafe. I measured my evaporation in one day and found I lost roughly 1 gallon in 24 hours. I allow the ATO to run for 5 minutes at each of 3/6/9/12 am/pm for a total of 40 minutes per day possible, which is roughly 2 gallons per day maximum.


Google is your friend for wiring the relay. No soldering required since I bought the relay with a socket. Fitting everything in the project box was a little tight, but it worked out. I mounted it to the side of my sump with 3m-backed zip tie mounts (like this - https://www.amazon.com/3M-Cable-2-way-Adhesive-CTB1X1BGA-C/dp/B00745TPY6) - the wires on the float switches were not long enough to have it further from the tank.


Good luck! It was a fun project and should hold me over until I can convince myself to buy a tunze osmolator (maybe next year).


Edit - overall, the project cost me about 35 bucks, plus the cost of a pump, since I had some parts on-hand already.

u/alwaysAn0n · 3 pointsr/btc

You can! The best way to do this is to use the ESP8266's GPIO pins to send a PWM signal to your 240v device through a solid state relay. ( https://www.amazon.com/TIHOOD-SSR-25-3-32VDC-5-200V-SSR-25DD/dp/B07PQL4CM6 )

This allows you to use the ESP's 3/5v signal to safely control the 240v device. It's fairly easy too! Hit me up if you want some more pointers :)

u/Hexsin · 1 pointr/Nerf

Alright, ya know what, fine. I'm going with this https://www.amazon.com/PC537-1C-5S-X-2-Ultra-Miniature-Automotive-Relay/dp/B07FP593R4 being controlled by my regulator PCB at 6 volts (on the coil side) and using active braking at the full 7.4 volts for the switch side, throwing a 1N4500 diode between the motor and relay cause I don't know if back EMF can f*** up the relay, and I'm gunna do the same between the relay and the PCB just to be careful because I don't fully understand if I should be worried about that. Happy?

​

Edit: for the sake of those reading-up on this subject later, I installed the relay linked above last night and everything is working well so far! The feed-rate of my magazines is now the limiting factor, though when they do feed correctly, I have indeed seen a noticeable increase in darts-per-second now that the Meishel 2.0 motors are getting all the voltage and current they desire. However, because of the inconsistent feed rate, I can't really estimate how many darts per second I'm averaging after the upgrade.

u/dangermaus31 · 6 pointsr/arduino

I'm not really pro-grade in this kind of stuff, however, if I were to go after something like this, an Arduino seems almost perfect. For anything you need to control, I'd use this type of relay designed to plug straight into Arduino IO pins and as far as the inputs, you could probably use relays wired up to a simple 5v source so you isolate the power within the pinball machine from clean 5v power for your Arduino.

As far as the display, instead of an LCD, I would probably chase some larger 8-segment displays, easier to see and much easier to control. One option would be to run 2 Arduino systems with one dedicated to the scoreboard and one dedicated to the automation.

ok, ramble off, but this sounds like a project I'd like to take on now...

u/torukmakto4 · 3 pointsr/Nerf

> Would it matter which side of the motor circuit I place the relay in?

No

>Do I require any of the auxiliary electronic components like the flyback diode and/or some resistors if I go the route of using a relay?

Putting a flyback diode and some suppression caps near the motor might be a good idea to reduce noise/EMI since electronics are present, but the relay contacts don't need either any more than a direct-acting switch does. The coil which is being driven by the solid-state power stage should have a flyback diode.

>Since I'm running 2 fangs for the motors, but only a M2.0 for the pusher, and both connect to ground separately, that means I only need to find a relay that can hold up to the stall amperage of JUST the M2.0, not all 3 combined, right?

Yes

>or perhaps this: https://www.amazon.com/PC537-1C-5S-X-2-Ultra-Miniature-Automotive-Relay/dp/B07FP593R4 ?)

That would work:

  • 5V coil

  • SPDT: you need that for active braking of the motor

  • 100A make 40A break at 14VDC is definitely sufficient for a M2
u/DeletedOriginal · 2 pointsr/MPSelectMiniOwners

The relay setup and wiring is not hard but it can be a bit confusing at first until you figure out the GPIO wiring and setup. With my setup I can control a power strip that the Pi (via Octoprint menu entry) can turn on or off via the relay as well as having LED lighting inside my enclosure controlled that can also be controlled from Octoprint. If you want to give it a go just pick up a relay and some connectors to wire it to the GPIO pins. Feel free to hit me up once you have the hardware and I can share my wiring and Pi GPIO config with you so you can get going quickly. I like the 4 channel relays since they are only a few bucks more than the 1 or 2 chan versions and it allows you to add devices in the future. They are under $10: https://www.amazon.com/gp/product/B0057OC5O8/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

u/Kip-Casper · 1 pointr/dbotcorexy

Thanks for the safety advice, that's obviously something I want to be careful with. I'm looking at getting this keenovo 200x300mm heater and this SSR. What kind of fuses do you recommend for something like this?

u/iammrh4ppy · 1 pointr/AskElectronics

Wow Thanks for the descriptive response!


I'm not very great at electronics, but here is the exact switch I'm using.

As for power source, I'm probably going to use 110 VAC to power the 4 ch relay board. http://www.amazon.com/SainSmart-101-70-101-4-Channel-Relay-Module/dp/B0057OC5O8

This is the solenoid I will be using


Thanks! Your post really helped me think it through. Just need to put it to work lol.

u/gruuk · 1 pointr/Homebrewing

Earlier this week I realized my brew calendar had a few glaring issues. All fixed now, but it does mean I am brewing this weekend (mash tonight, boil Saturday morning) instead of the next. Hopefully the (long) boil and following steps will go without issues as I'm on call for most of the day, only needing to intervene if something goes wrong with the project.

Edit: I need to buy a relay shield. Picked up a thermoelectric travel cooler/warmer someone threw out (with manual and AC/DC transformer); it rained earlier that evening so I cleaned it up and let it dry overnight, testing it the next day: worked well enough, brought the few bottles I threw in down to ~32F below ambient though I haven't tested the warmer part yet. Still, if the latter works I would now have a way to brew Saisons during winter. I have plenty of Arduinos lying around and a relay shield, unfortunately that cooler draws 12VDC/6A, way more than my relay shield can handle. Looks like this one should do the trick. Temp sensor will be a TMP36 since I already have a few. I'd yank the thermoelectric part from this cooler, build a styrofoam box large enough for the biggest fermentor I have (3 gallon carboy) and hope for the best - my expectations are that it will be able to handle a 65F-80F range well enough in summer and winter (we don't run the AC when we're out, so the house sometimes gets warmer than 85F in the summer; winter, it's about 70F-74F).

u/lampar0 · 2 pointsr/AskEngineers

I would replace your discrete components with an Arduino Pro Mini. You can connect three output pins to some relays, and drive the LEDs with a 5V power supply. You'll probably want to put a resistor in series with each LED, instead of one resistor for the whole string, to minimize risk of damaging them: (5V-3.4V)/.025A = 64Ohms, so use somewhere between 50 and 75 Ohms for each LED. Alternatively, you could run the whole thing on 3.3V and skip the resistors, but those power supplies aren't so common. In that case you'd want the 3.3V Arduino. PM me if you need help programming the Arduino, it's pretty easy.

u/g2g079 · 1 pointr/esp32

If you want a hot fix, set pinmode to input instead of switching to high. Make sure there's no sort of pullup on the pin. I had good luck with the spi pins.

By setting it to input, the pin will hopefully go into a floating or hi-z state. If all is well, the relay will open when switched to input and close when switch to HIGH output.

Worked for me until I found some single 3v relays. You could also use transistors to convert signal to 5v.

u/chlorobot · 3 pointsr/gardening

I'm currently struggling with the same problem with my project.

You'd probably want to put a DHT11 in each pot attached to GPIO on the Pi.
The soil RH (relative humidity) could be used to determine whether to power a 12v pump or solenoid valve (if gravity fed).

Relays are super easy to set up and control using a Pi and relatively safe at 12v. The difficult question here is how to direct the water into whichever pot requires what amount of water. A naive approach is one pump per pot but that could get costly... hmm

I'm using this pump

I'm using this relay

Here's the code to read digital Celcius and RH from the DHT

I'm also considering adding an additional 'misting' nozzle to help control my super-hot (not ideal) environment :

Soil > Tempenature : 37.0 Humidity : 77.0


Feel free to follow up in PM if you have any questions.

u/SnowdogU77 · 1 pointr/arduino

[Here's a relay] ( http://www.amazon.com/gp/aw/d/B0057OC5O8?qid=1427254414&sr=8-6&vs=1#)

Wiring is pretty intuitive.

12v DC > Relay 1 blue connector 1

Motor positive wire > Relay 1 blue connector 2.

Connect Arduino ground and digital IO (set to output) pins to the pins associated with the relay that you chose, raise the DIO pin to High, and the relay will connect the motor to the power supply.

Technical note: These relays trip at 15-20ma, so there shouldn't be any issues using a DIO pin. If you choose a different relay, MAKE SURE the relay input draws less than 40ma, otherwise you may damage your Arduino. This relay board is also protected by diodes, so your Arduino is shielded completely from the 12v.

u/jimjacksonsjamboree · 1 pointr/raspberry_pi

There's not much to it, depending on the relay you have.

Relay's have two parts, a coil and one or more sets of contacts. The coil is what controls the contacts. The coil is an electromagnet, and the contacts are reed switches. When the coil is energized, it causes the reed switches to engage. So by using the contacts as part of a circuit, you can make or break the circuit by engaging the relay.

Relay coils by themselves pull too much current to safely run one with a raspberry pi, so you'll most likely need a transistor to control the relay (a transistor can act more or less like a tiny relay with no moving parts).

If you've bought a pre-packaged relay board (such as one like this) then they've taken care of the transistor for you and all you have to do is hook VCC to the pi's 5V pin, the ground to the pi's ground, and the input you want to control on the board to the output on the raspberry pi.

There are plenty of tutorials out there that show you how to use python to control the pins.

On these particular relays, there are three terminals for the contacts, NO (normally open), common, and NC (normally closed). To switch a circuit you connect one wire to common (usually the middle terminal) and the other wire to either NO or NC depending on if you want the circuit to be On (NC) or Off (NO) when the coil is de-energized. Don't connect a wire to NO and the other to NC and expect anything to happen, they're not connected together. One wire must go to Common for there to be a complete circuit. You are free to connect to all three and switch your common line between two different circuits (one for NO and one for NC)

u/JustinCampbell · 4 pointsr/raspberry_pi

Sure! You'll need a relay to handle the higher voltage from wall outlet, or from the wiring in the strand itself. I have a 4-channel version of this that works great: http://www.amazon.com/SainSmart-2-CH-2-Channel-Relay-Module/dp/B0057OC6D8

If you want a finished solution, Belkin makes WeMo devices you can control from an iPhone or Android, or setup trigger with IFTTT: http://www.amazon.com/Belkin-Automation-Switch-Apple-iPhone/dp/B0089WFPRO

u/Oh_Herro_ · 4 pointsr/3Dprinting

I recommend going with a mains powered silicone heating pad, switched by a solid state relay, adhered to a cast aluminum tooling plate, with a PEI sheet adhered to the aluminum as a build surface. It costs a good amount more and is worth it. Of course you will need to play around with sizing things (you may want to go with a smaller heating pad for instance), selecting things for the voltage in your country (I linked 110V stuff), and whether or not you are comfortable working with mains voltage.

u/thepackratmachine · 1 pointr/raspberry_pi

Honestly a board like this is way easier

4ch relay

See all the extra thing on there? Optos, transistors, resistors, and diodes. You need that in addition to the relay.

As far as a pi being enough to trigger, I’ve never tested. Someone else know?

u/MeatFist · 3 pointsr/labrats

Seems like it would be pretty simple - find a cheap/quiet air compressor, run the line through a normally-closed solenoid (found this for 11 bucks), and control the solenoid w/ the arduino. If the solenoid is higher than the 5V the arduino can supply, have the arduino power a relay or a power transistor, I use a 12 channel one of these to power solenoids for dispensing water and it works well. Sounds like y'all already have the code set up to do something similar, but give a shout if you need help with that part too

u/TomTheGeek · 1 pointr/arduino

Probably the best way would be with a relay. They're electromagnetic operated switches and as a bonus the two circuits aren't connected so they can't interfere with each other. I bought a 4 relay version of this board and I can control it directly from an Arduino with only a couple of wires.

u/NaLaurethSulfate · 1 pointr/arduino

This.

I got one of these recently and it seems to work fine. Fairly cheap, super easy to use.

u/Madgeek1450 · 1 pointr/arduino

Take a look at using a contactor with a smaller relay to act as as a "bridge" to a MCU.

In other words (assuming you're working with two 120V "hot" legs and a neutral - verify this!):

https://imgur.com/fEHNtIr

You might want to use a 5V relay board to make it easier to wire.

Just make sure that you mount all the components in a safe enclosure (~$25 on Amazon).

u/GaryWert · 1 pointr/esp8266

Love the push/pull analogy. Thanks for that one, makes sense. Kind of a supply vs demand situation.

Yes, same power supply but only interact via a relay: GPIO2 on ESP-01 goes high (+3.3v, remember I'm still learning terminology here) when triggered via message, opens 3.3v relay (https://amzn.com/B01M0E6SQM) which connects 12v via step-up to gate remote which has it's button locked on. So 5v source split into 3.3v step down and 12v step up, separated by the relay downstream.

The setup allows me to skip two important features: needing to deconstruct/integrate with the remote board to replicate a button press (which would have been destructive) and needing to power off a battery (would have required ongoing replacement & cost).

u/Retrosmith · 1 pointr/hobbycnc

In case anyone has this same problem, this opto-isolator board seems to have fixed the issue.

I was having issues with the limit switches triggering prematurely also, so I installed four of these boards (one per limit switch and one for the probe circuit) and installed an add-on board using this circuit and the probe and limit switches are now working perfectly. :)

u/geek66 · 1 pointr/ElectricalEngineering
  1. Don't kill yourself. ( educate yourself on being safe - assume nothing.)

  2. A compressor can have a pretty high starting current so you should pick a device with higher rating than the load current. 3 to 5 x IMO.

    Example
u/alc6379 · 2 pointsr/esp8266

Don't. Use something like these.

I'm sure you could find them cheaper on Aliexpress or eBay, but I use these exact ones with NodeMCUs, WeMos D1 Minis, and WeMos D1 Mini Lites all the time. They work great.

u/hartk1213 · 1 pointr/3Dprinting

Yes I would say the heated bed is a necessity if you want to print ABS the stock bed only reaches 45-50c and takes along time to heatup , the bed I bought is from folgertech it's the 12v silicone heated bed 300x300 and yes you could do a separate PSU as well I just didn't need to and the mosfet I bought is the trigorilla mosfet on Amazon, I would recommend that mosfet over any other as I bought a DCDC SSR and it didn't work, i then bought a BIQU mosfet on Amazon and it started smoking so I returned it but the trigorilla mosfet has had no issues so far, to add to my heated im going to add some cork to insulate it to hold the heat better.. hope this helps

u/LanceUpercut · 1 pointr/raspberry_pi

Awesome dude. I was in the same spot as you. Ended up using some of these, but I have an LED fixture, so it's not drawing as much power at T5s. It works really great with the pi, and now I don't have to fuck with having 3 or 4 timers, and can change or control it all from my phone or computer without the pain in the ass of stooping under the tank.

u/wolfcry0 · 2 pointsr/arduino

Yeah, the arduino can supply only a couple mA from each IO pin, that pump likely needs 500-1000mA to run.

You can also use a relay for a more simple setup, like this board for example, it will let the arduino switch high current loads like the pump easily.

u/spauda01 · 2 pointsr/Reprap

You can hook it up as they recommend for the 24v configuration but that just provides the same amount of power at a different voltage so that doesn't help.


If you hook up 24v to the 12v terminals, you will quadruple the power and double the current.


Ohm's law, 12V=(1.2ohm)(10A) or 24v=(1.2ohm)(20A)


You would probably need a 600W 24v power supply and all of your wiring needs to be 10awg at least.


Hook it up like this diagram shows, except your bed power will connect to the 24v psu instead of the 12v.

https://thingiverse-production-new.s3.amazonaws.com/assets/25/7d/4a/1d/63/D-Bot_Electrical_Diagram.pdf


Here's the relay used, be sure to heatsink it

http://www.amazon.com/Single-Phase-SSR-40DD-DC3-32V-DC5-60V/dp/B012SW6TB6/ref=sr_1_6?s=hi&ie=UTF8&qid=1444750548&sr=1-6&keywords=solid+state+relay+dc+-ac

u/djkrugger · 1 pointr/AskElectronics

Yeah, if you're not very experienced in electronics better stay with something already tested, specially for anything mains related!. Probably you could use one of these arduino relay boards, they're fairly cheap and are opto isolated to keep things safe.

u/doubleplusunsigned · 3 pointsr/arduino

Arduinos overlap quite a bit of PLC functionality. Instead of 24V, everything will be 3.3V or 5V. A PLC typically scans the ladder for inputs then executes everything "at the same time". In Arduino code, variables update immediately.

You'll probably want to look at Adafruit and Sparkfun for LCDs and buttons, as well as relay boards. Amazon carries some selection, but Adafruit and Sparkfun (for the most part) design and manufacture their own boards, so their support is a lot better. Note that if you use a lot of relays (>4), you'll need an external power supply to switch them all on at the same time since Arduinos can't provide enough current to drive tons of relay coils. The one I linked uses an external 12V supply, but I don't know if it's included.

u/datetchasketch · 3 pointsr/arduino

Yeah, something like this would be fine. Solid state relay board

u/cool_beans550 · 1 pointr/arduino

Would something like this be good?

u/brick872 · 1 pointr/arduino

From what I can tell its rated 5v but can't find anything about running it at a different voltage. This is the relay I have Link. I just tested it with 12v instead and it works with that as well but at the moment it is working again on 5v as well and I can't tell if it will make a difference with the higher voltage.

u/UtahJarhead · 3 pointsr/raspberry_pi

The Raspberry Pi sets its own time with most out-of-the-box distros at boot up.

Controlling a power supply would actually be pretty easy with a relay.

I recommend the Sainsmart Solid State Relays. They are silent in function and if you cut apart an extension cord, you can put one pole through the relay and it's now programmable. Keep in mind that an 8 channel relay is probably overkill. There's also a 4 channel available on Amazon.

You can go with the MECHANICAL relay (as opposed to solid state) because they're cheaper and you can get a 1 channel relay, but they're VERY loud when they clack open or closed.

u/fnordfnordfnordfnord · 1 pointr/HomeImprovement

Not much to see yet. So far it is an R-pi, a few DHT11, a relay module, one (or maybe more) cheap PIR motion detectors, and a toggle switch.

I'm using Monkey webserver, and playing with some cgi scripting. I started piddling with HTML5, and I want to try to make it as nice as I can, but I am not a web developer, so I am having to slog through some of this. If it goes well, I might make a post in here or in /r/HomeAutomation

u/AlKapwned · 2 pointsr/homeautomation

This is the relay I bought when I setup my doorbell sensor last month. It's worked great so far.

https://www.amazon.com/gp/aw/d/B000LESCI2/ref=ya_aw_od_pi?ie=UTF8&psc=1

u/ProfLayton99 · 2 pointsr/ecobee

What you are describing is using one heating system for stage 1 and second system as stage 2. You just need to connect an isolation relay for stage 2. Then configure it as 2 stage heating in ecobee and set the thresholds. An enclosed relay like this one is probably best. Functional Devices RIBU1C Enclosed Pilot Relay, 10 Amp Spdt with 10-30 Vac/Dc/120 Vac Coil https://www.amazon.com/dp/B000LESCI2/ref=cm_sw_r_cp_api_i_KRF2Db7WPP7H5

u/byvolition · 1 pointr/AskEngineers

Thanks for the response. Here is the diode spec:

https://www.mouser.com/ProductDetail/GeneSiC-Semiconductor/MBR200100CT?qs=sGAEpiMZZMtQ8nqTKtFS%2FHVp1T5850G0TwaW7MIEjcA%3D

Sorry allow me to clarify the problem a bit more. The load I am driving is a motor controller attached to a 3 phase BLDC motor. On shutdown the motor causes the voltage to rise steadily to 60V and then back down to 36V. This causes the power supplies to trip their OVP circuits which require a power cycle to clear the fault. The motor controller and motor were originally meant to run of a 36V battery. The circuit diagram is as show here: https://en.wikipedia.org/wiki/Flyback_diode

The flyback diode seemed to work when I initially switched on the + 36 VDC line going to a motor controller and a motor. The power supplies were separated from the inductive load kick and this allowed me to reconnect after the energy had been dissipated. I believe the issue with the flyback diode after my initial success was due to this SSR:

https://www.mouser.com/ProductDetail/Crydom/HDC100D160?qs=sGAEpiMZZMtyXJl6MftlF9Ozj4Qj0dXsoS3PeWG6bs8%3D

Although I am unsure why this is the case. I am currently debugging it. The issue now seems that the SSR does not turn off quick enough or allows too much voltage through before closing tripping the OVP on the power supplies. In my initial setup, where the system worked as expected, I was using these SSR:

https://www.amazon.com/TinaWood-SSR-25DD-Solid-State-5-200V/dp/B07F3WGRP4/ref=sr_1_2?keywords=tinawood&qid=1552598915&s=industrial&sr=1-2

One used to trigger the motor controller low power signal and one to switch the 36 V power. The system at no load draws around 8 - 15 A so using the 40 A version worked out fine. However, during full operation, the system would draw around 60 - 80 A with some peaks of 100 A. I thought the Crydom SSR would work for the power line switch. The diodes were working when I checked them with a multimeter.

u/NSLbot · 1 pointr/NSL

arclight: yeah, i'm liking the idea of the board though. But I ended up buying http://www.amazon.com/gp/product/B0057OC5O8/ref=oh_details_o02_s00_i00?ie=UTF8&psc=1

u/Drackeo · 1 pointr/3Dprinting

So one like this or this work? Whats the difference between the two?

u/justynkearney · 1 pointr/ecobee

Thank you so much. I was on and off the phone with ecobee earlier and they couldn't give me a straight answer.

I had already purchased this relay and have it ready to install.

https://www.amazon.com/gp/aw/d/B000LESCI2?psc=1&ref=yo_pop_mb_pd_title

I will give it a shot later this evening. Thanks again.

u/AtomicFlx · 1 pointr/arduino

You dont. At least not directly without killing the board. That said there are ready to go relay boards you can order if you want a simple solution, or go read the other comment about using a transistor, he/she is dead on on how to do it.

That said, a transistor is kinda like a relay. Perhaps that's all you need if you are running a small device like a few LED's or something else small.

u/oliarshem · 1 pointr/AskElectronics

I was thinking this for relays, but wanted something smaller.
I plan on switching at least 14 turnouts, which would require two of the boards shown above.

Mosfets are definitely where I'm going now.

u/CuriousRover · 1 pointr/arduino

I considered that and opened up my piano to see how much effort that would take, but I found that because it's an upright and due to how the strings are positioned some of them are not at all easily accessible. :( On the bright side, I found these which will serve my purpose; now I just need to figure out how to control this from a raspberry pi. Thanks for the suggestion however!

u/Pocok5 · 1 pointr/AskElectronics

The 120V part is the easiest and the most dangerous, so pay attention to it. A relay module like this acts like an SPDT switch ("changeover/three way switch") - or more like 4 of them. The light are wired up to the relays just like you'd wire up an ordinary room light to a switch.
The arduino just connects to the little pin header on the bottom and is completely isolated from the high voltage.

r/Arduino will be able to help you write the code (you'll only need the basics for this). IDK why the post was nuked, but you can make a new one asking about the optocoupler tapping of the speaker - it will require a bit of poking around to get an idea what sort of thing is going on in the speaker wires.

u/yknivag · 1 pointr/arduino

Those should work fine, but just for neatness is probably go for this 4 in 1 relay board https://www.amazon.com/dp/B01HEQF5HU/

First of all I'd connect just the relay board to the Arduino and check it still works with your sketch, you should hear it click on and off when the LEDs should work.

Then sort out wiring your strip.

u/lkesteloot · 1 pointr/electronics

> How did you have the relay connected to the GPIO?

Through this board, which seems to be properly (opto) isolated.

> how were you powering the whole setup?

USB of the Raspberry Pi to a wall wart.

> sounds like latch-up

If you still think it could be a latch-up (given the board I'm using), how would you recommend preventing it?

u/Kariko83 · 2 pointsr/Reprap

I have build a C-Bot and am currently using a Fotek 40A SSR you can get off of amazon. This was the listing recommended by the creator of the C-bot in his rework design btw. I have it attached to the aluminum extrusions directly with some heatsink compound between them and it barely gets warm during operation.

u/DMathon · 2 pointsr/Reprap

Managed to get nearly all of my printed components designed and printed on my ender 3 in PETG. Went with 0.2mm layer height and 7 shells. The corner brackets can take a hanging load of 200lbs with no deformation so I think it will be strong enough.

Think I'm going to have to go with a 310x310mm 110v bed heater. Anyone have experience controlling that with a 24v board? I'm thinking of using this.


Ogrmar SSR-25 DA 25A 3-32V DC / 24-380V AC Solid State Relay and Heat Sink https://www.amazon.com/dp/B074FT4VXB/ref=cm_sw_r_cp_apa_i_hz83DbVV5T3YP

Is there any reason I couldn't use a spare pc power supply to power the board and hot end? I have a 650w laying around from an old pc build.

u/djz6018 · 1 pointr/jacksonville

The switch will be connected directly to the pi's GPIO, which will control a relay. The electrical wiring in the walls will be connected to that relay which is connected to the light. I'll be using a 2 channel relay, something similar to the link below. There are also 8 channel relays, so you can control 8 devices with only 1 Pi. I plan on using an 8 channel relay for a Pi controlled thermostat. Also, prices are much cheaper on eBay if you're willing to wait a few weeks for shipping.
http://www.amazon.com/SainSmart-2-CH-2-Channel-Relay-Module/dp/B0057OC6D8

But yes that would also work if you want to wirelessly control the relay, you just have to be connected to your WiFi.

u/geareddev · 15 pointsr/videos

The way I do it is with an Arduino and a 16-Channel Relay Module.

http://arduino.cc/

http://amzn.com/B0057OC66U

If you want the actual sound to play outside, you can do that with a sound board, speakers, and a cheap power supply.

http://www.adafruit.com/products/2217

Then you program the lights to trigger however you want.

u/Flippinpony · 1 pointr/arduino

Here's the relays I used. The reviews have some good documentation on current requirements and such. I ran 12V to the Vin of the relay boards, as well as to the common terminal of all 32 relays (since the goal was to supply 12V to an ematch when the cue was triggered). The positive end of the cue terminals were connected to the NO terminals of the relays. This means that normally, the ematches are disconnected. When a relay is triggered (by setting an Arduino pin to ground, thus triggering one of the active low relays on the board), the match on that relay is connected to the 12V source. Since the negative terminals on the channels are already grounded, boom.

E-match will detonate with around .5A of current, though most people recommend 1A per match to be sure. This is how we determine how many matches can be fired from one cue; we divide our 12V source by the resistance of all of our matches in series (typically around 2 ohms each) and ensure we can still supply 1A of current. Once the matches detonate, the circuit is broken. Does that clarify things?

u/SSS427 · 1 pointr/arduino

Ok so looking into SSR's a little more I think I found one I can use. would this be what I want to use to turn on and off the 100W ceramic heating element and the fogger?

u/with-the-quickness · 1 pointr/AskElectronics

> something like this may be cheaper if you've got the equipment to properly crimp female spade terminals/quick connect terminals to your wire.

I do have a whole box of wire terminators and I do have those type so that would work.

>You want a relay with a nice excessive contact current rating, since DC motor loads are fairly harsh on relay contacts.

What kind of numbers should I be looking for then? The actuator draws up to 5A max. I did a search on Amazon (I try to order everything I need off there because I earn points!) and found this on but there are lots of options available:

https://www.amazon.com/Uxcell-General-Purpose-PYF08A-Socket/dp/B00843IV06/ref=sr_1_1?ie=UTF8&qid=1495645982&sr=8-1&keywords=DPDT+relay

u/stormist · 3 pointsr/Reprap

Ok so the heat bed is here:
http://www.aliexpress.com/store/product/200X200mm-400W-12V-w-NTC-100K-Thermistor-Keenovo-Silicone-Heater-3D-Printer-Heater-Heatbed-First-Grade/210086_32230108542.html
and the relay is here:
http://www.amazon.com/Amico-Solid-State-SSR-25-24-380V/dp/B0087ZTN08/
(thanks to BillDaCat)

Where is the metal brace thingy? (or is that part of your printer? Or the fiberglass part?)

u/hype8912 · 1 pointr/DIY

You need a heavy duty relay for your channels like the one below. Check out the Christmas lights forums. The guys with the crazy displays like Lindsay Lights have all this stuff figured out to a tee.

https://www.amazon.com/gp/aw/d/B017A1QUGO/ref=pd_aw_lpo_23_tr_img_2?ie=UTF8&psc=1&refRID=M4WFC6EYB1PMBX4DE59E

u/oehokie · 1 pointr/arduino

SSRs aren't hard to wire up and are a lot cheaper. I bought 20 of them on ebay for ~$20. If it's 12 V relays work well too. Amazon has a card that can control 16 relays for $40.

u/ThatGuyinHouston · 1 pointr/raspberry_pi

Yeah, I have ordered the resistors and breadboard, and will not repeat the 3v to 5v "solution" again.

But I'm curious where the failure is, exactly. Inside one of the components?


There's no documentation with the SainSmart 16 relay board, so I don't know if there are snubbers on the coils, but I'd be surprised if there were.


The opto-isolators are in place, so I wouldn't think the logic circuitry would be jeopardized by surges from deactivated coils.



u/Atomic_Rebel · 3 pointsr/arduino

https://www.amazon.com/dp/B00EDMIWRE/ref=cm_sw_r_sms_apa_9ca7xbF0JQ3DF

So to power a relay like this one here, you don't need an additional transistor right? I've always been confused on how to hook them up. Do I have to use a separate 5v power supply? Or can I power it through the arduino?

u/Space_Cadet77 · 2 pointsr/matlab

I didn't have a relay picked out yet, I'm kind of in the brain storming stage right now. I came across this board on amazon and thought it might do the trick:
https://www.amazon.ca/SainSmart-101-70-101-4-Channel-Relay-Module/dp/B0057OC5O8/ref=sr_1_21?ie=UTF8&qid=1486504628&sr=8-21&keywords=usb+relay

It says it has a Standard interface that can be controlled directly by microcontroller (Arduino , 8051, AVR, PIC, DSP, ARM, ARM, MSP431, TTL logic)

Maybe i'll give it a go.

u/superenduro950 · 1 pointr/homeassistant

your standard issue songle. https://smile.amazon.com/gp/product/B0057OC6D8

i took an old 5v straight wired micro usb cable and lopped off the usb end (the other end is part of the power supply not usb-a) and split the +5v into two legs, one powering the esp8266 (it's a nodemcu board) and the other leg providing power to the relays. ground is common to the entire system.

i haven't tested these (https://smile.amazon.com/gp/product/B07CQKMPDP) in the cold but one of them has been the heat "switch" for my esp8266 basement thermostat.

u/SystemEngineer · 1 pointr/Nest

Rocking, thank you /u/DrkMith that's what I was hoping to hear. I have a 24vac isolation relay (https://www.amazon.com/dp/B000LEUJU6/ref=cm_sw_r_sms_apa_i_LyXQDbS071NWR) already hooked up to the stove.
Regards to the "C" wire, currently there is nothing hooked up to the nest C wire terminal. Looks like when I plug the Relay Coil wire into the "C" terminal, the Nest is throwing an error about no power to "Rc".

u/BillDaCatt · 5 pointsr/Reprap

SSR or Solid State Relay. It's a switch to turn line voltage power on and off using low voltage (3-32VDC).

Here is one on Amazon with a heatsink.

u/gordoman54 · 1 pointr/raspberry_pi

I have been using an all-in-one Sainsmart Relay to control my garage door via the Pi.

u/[deleted] · 2 pointsr/amateurradio

Currently it's an Arduino running an AD9851 module which is then connected to a pretty shameful homebrew amp. I also have it connected to a cheap relay board. One relay is used to switch power to the amp, the other switches the antenna feed between the amp output and the SDR chain (preamp, Ham It Up, RTL-SDR).

For software I've written some stuff to send RTTY and Morse.

u/DrummerOfFenrir · 2 pointsr/AskElectronics

SainSmart 2-Channel Relay Module https://www.amazon.com/dp/B0057OC6D8/ref=cm_sw_r_cp_apa_i_mgsFDbSR97ZA7

And the pi needs to have the pin initialized as an input / output pin. It must be getting a slight amount of current when just powed on but not initialized?

u/KiltedCajun · 1 pointr/AskElectronics

I ended up buying this relay module so I can actually switch both the lamp and the printer from the Pi.

u/pinkzeppelinx · 1 pointr/AskElectronics

Using your Arduino you can wire a relay and control it from your phone or computer

u/thechildishweekend · 1 pointr/arduino

The board I bought is a 12v (since the solenoids are 12v), here's a link to it: SainSmart 16-Channel Relay Module https://www.amazon.com/dp/B0057OC66U/ref=cm_sw_r_awd_FCvSub144A8GM

u/Jakweese · 1 pointr/arduino

I decided to do PWM. If I use a transistor I won't need a heat sink, right? Will I need any capacitors?

these are the parts I've found so far (Other than motion sensors, short jumper wires, and other common items)

Transistor \

Relays/ One or the other, transistors preferably

Wires

Nano Every

Breadboard(s)

Barrel Jack

Soldering Iron

Solder

Lights + Cable - Would the cable work with the barrel jack to provide power for the Nano Every and the LEDs?

Potentiometers

u/Shadow703793 · 1 pointr/arduino

You can control any AC load within reason using a relay module. For example: http://www.amazon.com/SainSmart-2-Channel-Relay-Module-Arduino/dp/B0057OC6D8/

As for temperature control, you should look in to using PID.

u/LittleHelperRobot · 2 pointsr/arduino

Non-mobile: Here's a relay

^That's ^why ^I'm ^here, ^I ^don't ^judge ^you. ^PM ^/u/xl0 ^if ^I'm ^causing ^any ^trouble. ^WUT?

u/impala454 · 3 pointsr/AskElectronics

This is the relay board I'm using. I'm going to use two separate arduinos to turn each one on (using "or" logic). I don't have a lot of experience using diodes, what exactly would I use? And do you mean literally I do:

Arduino1->Digital out->diode->Relay input1, then
Arduino2->Digital out->diode->Relay input1

u/huntero32 · 1 pointr/LightShowPi

Ya one minute I tried start_music_and_lights and they just turn on. I tried all 3 of the testing commands on the website and the lights turn on and nothing happens. I have pins 0-7 connected on my pi 2b and the 2 5v pins are connected to the relays 5v pins and 2 ground pins are connected to the 2 ground pis on my relay. The relay has an external power source of 12 volts
This is the relay I am using. https://www.amazon.com/gp/product/B0057OC66U/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

u/FearAndGonzo · 6 pointsr/pihole

I've got a relay from amazon connected to some of the GPIO pins, then a simple website I made on the pie that when I press a button on it, it flips the relay. The relay is wired to the door open button and does the same thing as me physically pressing the button in the garage. I also have it monitoring for an amazon dash button press that will also trigger the relay, that is by the front door so I can open the garage on my way out the door if I need.

​

However, this has all been running for 4+ years, I tried to review how I pieced it all together about a year ago and couldn't remember or figure out all the pieces, but it still continues to work, so I can't give much more detail than that sorry.

u/kovacika · 1 pointr/ElectricalEngineering

The hoist shares the ground and one of legs that powers the motor also powers the arduino. Ill try and sketch up a circuit quick. The relays I am using are [these] (https://www.amazon.com/gp/product/B0057OC66U/ref=oh_aui_search_detailpage?ie=UTF8&psc=1) which as far as I can tell have diodes and are optically isolated.

u/spatzonfloor · 1 pointr/arduino

Hi Shadow, thanks for the response, the relay I'm using is this one from Amazon.

I connected the relay to the 5V power rail that's hooked up to the Arduino. The ground for the relay is connected to the ground of the Arduino. The signal wires are directly hooked up to the Arduino digital outputs (5,6,7). I have a photo of the circuit, but I must admit it's not the best picture.

http://i.imgur.com/tDr0nTw.jpg

Another thing I noticed, was that this occurred even when I disconnected the Arduino and just ran a 12V source through the component, it was worse when it was connected to the Arduino.

u/Nexustar · 4 pointsr/3Dprinting

Not just from prusa, pick and choose. URLs for examples.

Digital caliper, 12" https://www.amazon.com/gp/product/B000EJUBBU/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1

Extra brass nozzles.

Hardened steel nozzle, 0.4mm to 0.6mm for printing abrasive exotics (wood, glow in the dark, carbon fiber etc)

Print removal tool https://www.amazon.com/gp/product/B00VB1U886/ref=oh_aui_detailpage_o02_s01?ie=UTF8&psc=1

Locktite blue bolt-fixer (Walmart, Home Depo, Lowes etc) to stop bed sensor from moving.


High temp anti-seize for nozzle threads https://www.amazon.com/gp/product/B0053ZS1Z8/ref=oh_aui_detailpage_o02_s01?ie=UTF8&psc=1

Raspberry Pi 3, 5v Pi 2A Power wart, Micro SD card, & Webcam for octoprint monitoring.

Relay board for Pi/octoprint to power up & down printer remotely. https://www.amazon.com/gp/product/B0057OC5O8/ref=oh_aui_detailpage_o04_s02?ie=UTF8&psc=1

1lb of silica gel to keep filament dry.

Filaments, various.

Fire extinguisher rated for electrical fires.

Dedicated smoke alarm.

u/wosmo · 2 pointsr/RASPBERRY_PI_PROJECTS

I'm not clear what you mean by I/O board? If it's just the gpio header on the pi itself, it's 3.3v but at 10mA, maybe 12mA? Enough to drive a signal, but not enough to energize a coil. (If you do have a separate board, you'd have to either lookup the specs for it, or let us know which one so we can figure it out.)

So you'll need something to use that to push a relay. Typically a darlington pair, an optoisolator, or a trip to Amazon.

I'm cheap and lazy, so I regularly use either these, which are 3v modules, or these which are awesome, but do need 5v drivers (I usually use an MCP23018 between the pi & the relay board - you'll find a shedload of documentation for this on the googles, but I'll shout-out adafruit's docs specifically). For the sainsmart ones, when they say 12V, they mean you'll need a separate 12V supply to push the relays themselves, they're not expecting 12V from the pi.

These will get the pi to drive n/c & n/o dry contacts you're used to, but I note you also asked about triggers - relay boards won't help protect inputs, so be warned that the inputs are also 3.3v and have very little tolerance (5v will kill them, let alone 24V. Anything you put in the IO lines goes straight into the CPU, so be gentle).


A couple of projects you might want to look into if you want to let someone else worry about the interfaces;

  • Kunbus Revolution - not cheap, but Germans doing things the german way, to proper grownup specifications
  • UniPi - looks more expensive, but works out well when you figure out how many Kunbus modules you'd need to get that many IO (if you just get the board that is. Their housings add grownup prices quickly)
  • Pimoroni automation hat - Isn't trying to be industrial, isn't trying to charge industrial prices. When they say 'SRS BSNS' they mean 24v, not IEC61131. I went this direction in the end, because I'm cheap.

u/Modna · 2 pointsr/robotics

Have no fear! You have a simple task ahead of you.

If I was doing this, I would use the following:

  1. Relay Board
    This bad little boy can handle 250 VAC at 10 Amps (which is going to be way more than you need). It has 4 relays, so you could control up to 4 drills or other widgets if you needed to. Each relay has a NO (normally open), NC (normally closed), and C (common) Contact.

  2. Arduino Uno
    This little bad boy is how you control that relay. You can write a very simple program on your computer that you put on this device (I am talking like 3 lines of code) that will turn a digital output on for 7 second, then off. Hit the reset button and it does it all over again! The digital output on this board will get a wire stuck over to the input on the Relay board above.


    How this all works: Take a simply extension cord (unplugged, obviously) and open up the insulation. There are usually 3 wires in it, black, white, and green (these can vary, so be careful and choose correctly). Take the Black or White wire and cut that bitch. One end of the cut wire can be stuck into the common terminal of the relay board. The other end can be stuck into the NO (normally open) terminal. What this will do is that when the Arduino board sends 5 volts to that relay, it will switch. This will connect the Common and NO terminals together, allowing power to flow through it to the drill. On the drill end I would just zip-tie or rubberband the trigger so it goes on when the relay changes.


    CAUTION 120 volts or 220 volts (depending on where you live) can be very dangerous!!! That relay board will have open terminals. Because of this I would HIGHLY RECOMMEND that you put it in some kind of plastic case. I would also run electrical tape over the pins on the underside of the board to make sure you can't zap yourself.

    When I get home I can draw you up a wiring diagram if you like and I could give you the basic code you would need.

    Good luck!