Use Arduino to Switch Power On and Off!

preview_player
Показать описание
Mike picked up a $10 SainSmart 8 Channel DC 5V Relay Module, hooked it up to an Arduino micro controller (a Raspberry Pi should work, too!) and the next thing you know he's remotely controlling 8 electrical devices... it's like building an 8 channel remote, each relay on the board can handle some serious juice, up to 10A 230V AC, 30V 10A DC. It's super easy to set up. Learn how in the video!

Have an idea for something we should build? E-mail us!

**New Episodes Every Week**

Subscribe for free!

DIY Tryin on Revision3:

Tekzilla on Twitter:

Patrick on Twitter:

Michael on Twitter:

DIY Tryin is a brand-new show about do-it-yourself solutions and maker culture from the Tekzilla team! Here on DIY Tryin, we live by the motto; "Why buy when you can make?"
Рекомендации по теме
Комментарии
Автор

Cool episode. It would been cool to see how the lights and fan were hooked up and powered. Seeing that could give me more insight as to how the wires are.

gmslayton
Автор

I really like the atmosphere of this video, very smooth and friendly. Very unlike some of the akward episodes I've seen on e.g. Tested 

Kattemageren
Автор

cool demo and great to see Patrick after all these years, used to watch him on The Screen Savers lol

neppy
Автор

Patrick Norton, I'm not sure if I'm old school or not but, I miss watching Screen Savers

SeeJaysPlace
Автор

Just thought I'd toss this in for anyone interested in toggling a mechanical style relay with any sort of frequency like Michael did with the 40ms delay -- you're going to burn the thing out fairly quickly if you're doing something like that all day long. You should consider a solid state relay (more expensive than these old mechanical ones) for that application. Or a high-power MOSFET (which effectively is all a solid state relay is, just without the heatsink and terminal block attached)

DarkStar
Автор

Endless options here! I just ordered a DTMF decoder, arduino and relay bank... I'm going to use my two way radios to operate my garage door using dial tones.

gmctech
Автор

I like the apple logo conspicuously hiding behind the tape haha

pingu
Автор

Seeing Patrick here really makes me miss the days of TechTV. I actually was able to attend a taping while in San Fran back in the day.

nogster
Автор

thats right cover that apple logo, hiding the shame lol

andrewk
Автор

I like to use solid state relays because they act as a transistor, whatever frequency you give it, it can turn on and off at that frequency, a mechanical relations can only oscillate so much

anthonyvolkman
Автор

you covered the apple logon on the macbook but you forgot down on the right the apple box

spokosjr
Автор

wow you are a genius ! you pick a pre build relay shield and put in a newbie programmable system named Arduino and make it work ! sincerely you deserve a nobel prize.

danrtavares
Автор

Using relays to drive LED strips... Interesting...

EEEnthusiast
Автор

basic coding etiquette: if someone posts their code online to share it is perfectly acceptable to use some, or all of their code in your own code; however, if you share any code that has other people's work in it you should credit them just like any other work.

MainlandRC
Автор

gee, I wonder what kind of laptop he is using...

DaveHurka
Автор

Stick an ethernet shield on there, and WE can control your fan! <EvilGrin>

PhattyMo
Автор

I love the tape over the logo. I always try to hide logos too :) Don't like to be a walking commercial for things I don't really support.

nautitard
Автор

Did anyone else feel bad for those relays when he set the delay to 40ms?

Aterrebgnuoy
Автор

I may be wrong here, but I think that the Arduino is not a microcontroller. It is a development board with a microcontroller (Eg Atmel AtMega328) at its core and peripherals on board that allow for easy project making.

UmairHussaini
Автор

Music with the relays is a great idea! This other channel on YouTube, MrSolidSnake745, plays midi music with stepper motors from old floppy disk drives. I'm pretty sure he uses Arduinos too. Really cool and really fun stuff!

RealDealHolyfield