A couple of weeks ago I built a 5v relay module, but realized the relay wasn’t sufficient for my needs. So I had to order a heftier one that could handle more than 0.5 amps of current.
I was under a time crunch and couldn’t wait for a 5 or 10 pack, which had longer shipping times, so I had to go with a set of 2 for $5.99. These are basically the same relays used in all of the manufactured modules you can buy for less than $5, especially if you buy multiple units.
I set up my GoPro overhead and talked through the build process of my new relay module. It was not a smooth process, because I finally messed up my wiring, which I’d been so proud of hitting a 100% success rate on first attempts when putting together circuit boards. I not only messed up, but I realized my mistake, and then fucked it back up after thinking I was right the first time.
I forgot to take any good pictures of the completed relay module this time around, so here is a blurry screenshot I grabbed from the video, showing the original relay module, the non-working version (which I’ll eventually fix up), and my final version. Similar to whenever I screw up and lose a bunch of code, I made it a personal challenge to turn out my best work on the redo. As you can see, my final version saved a lot of space.
Now that I’ve created my own relay modules, I won’t do it again unless I have specific requirements. Buying the same thing already made is a lot more time effective. It was fun and a great learning experience though. Here’s what the wiring diagram looks like spaced out on a breadboard. There isn’t much to it.
You can grab Fritzing files over on GitHub. Two things that helped me out a lot with this build were a video Homemade 5V Single Channel Relay Module Shield For Arduino, PIC, AVR and an article Turn Any Appliance into a Smart Device with an Arduino Controlled Power Outlet. Between finishing my build and writing this post, I also came across Arduino Controlled Power Outlet on Electronics Hub, which is a neat site with a lot of great circuits and tutorials.
There also ended up being a part 3 to this.
[…] Check out Part 2. […]
LikeLike
[…] what you’re doing and trying to keep talking throughout. I think it was an improvement over the video I did for the 5v relay module though. I really need to build a tripod or overhead mount of some kind so the GoPro is more […]
LikeLike
[…] had no plans for a part 3, but in part 2 of this series, I mentioned how I messed up the wiring several times when I was assembling the module. Instead of […]
LikeLike
[…] wrote a few posts about building the relay module for this. There are also plenty of guides […]
LikeLike