Skip to main content

diy relay module

I If you want a relay module and you are thinking that you will buy it online here is a link : relay module
but as you see it is expensive i will tell you a very cheap DIY

material needed:-

  • vero board/prototyping board
  • relay 12v
  • diode 40001 or 40007
  • bc558 transistor
  • 9volt battery
  • male header pin or simple wire for connecting
place all the thing on the veroboard as shown in picture or in schematic or in video
breadboard view

schematic picture

connect signal to desired pin of arduino 
and ground to ground pin of arduino
and don't forget to connect 9volt battery


if it is not working check the diode position and transistor position and also see ground connections


Popular posts from this blog

TFT Game by Areeb

if you are fond of doing paint and want to make something related to that. So Here is the project for you. This Project is a Painting Software Based on TFT touchscreen
This project have Many Feature like:- Various Color Choices Can Change pensizeDifferent games layout like | i}tic-tac-toe | ii}Word Game | ii}Complete LOGO Different Pen Shape like |i}line | ii}Circle | ii}SquareHelp Button For New User 
  Material needed:- Arduino UNO(can use mega also)Arduino TFT touchScreen Sheild (buy it here)How To Make :-This Project is Very Easy to make Just You Have To Fit the TFT shield on the Arduino And Then Just upload the code  /* * Arduino TFT Paint * by Areeb-ur-Rub * FaceBook Page:- */// Don't Change These information #include<Adafruit_GFX.h>#include<MCUFRIEND_kbv.h>MCUFRIEND_kbvtft;#include<TouchScreen.h>#ifdefined(__SAM3X8E__)#undef__FlashStringHelper::F(string_literal)#defineF(string_literal)string_literal#endif// These are the pins for some typical…

Visitor Counter

This Arduino project will automate the lights of the room and also count the person in the rooms  it also have self-intelligence that if there is no body in the room it will turn of the light
for example if 3 person enters the room then three person should exit also to turn the lights off
  Material needed:- Arduino board2 IR sensor  Jumper wireChassis (optional) 
Connect the IR sensor output on pin 14&19 (I am using Arduino Mega that's why I have connected  it to 14&19 you can change it as your needs in the program)

and the connect led or Relay module on pin 2 (you can change this also as per your need)

Then upload the code  #definein14//defining the in sensor#defineout19//defining the out sensor #defineled2//you can connect led module alsointcount=0;voidIN(){count++;Serial.print("Person In Room:");//it will print Serial.println(count);//+1 if a person enter in the roomdelay(1000);}voidOUT(){count--;Serial.print("Person In Room:");//it will print Serial.printl…