I wanted to build a simple 2 channel bluetooth remote switch box. 
to allow me to remotely switch various devices on and off from my android phone.

The device had to be small easy to use and flexable enough to control anything I wanted.
some of the uses are controling my slr camera. and to switch on mains devices like lights.

parts needed.
1 arduino board ( i used a arduino nano as it was small and easy to attach to a computer to program)
1 relay board
1 bluetooth module (I used a jy-mcu module because it was cheap)
A plastic box to put everything in
A battery holder

I purchased the arduino board the bluetooth module and the relay board from ebay.
the plastic box and battery holder came from maplin.
be careful when purchasing the bluetooth module and check that its the board and bluetooth chip. as some on ebay are just the board without the bluetooth chip.

total cost was £20

Step 1: Connecting the Arduino Board to the Computer

first of all I connected the arduino board to my computer usb port.
the board should light up.

now if you havnt got the arduino IDE software you should go here http://arduino.cc/en/Main/Softwareto download it
it should already be in the repositorys if you are using ubuntu linux.

when the software has been installed and opened. check the port and board setting are correct.
this will be under tools > board (select the board option to match your arduino board)
and tools > serial port. if this is greyed out you will have to check that your drivers are installed correctly for your board.

when the software is set up and communicating with your arduino. its time to write the code.

<p>i need help.</p><p>dear <a href="https://www.instructables.com/member/simon72post/" rel="nofollow">simon72post</a> i am building bluetooth remote relay switch same as yours. i am using components as mention below</p><p>1) arduino uno.</p><p>2) 4 channel, 12vdc relay card.</p><p>3) HC-05 Bluetooth module.</p><p>4) Arduino bluetooth control device android app</p><p>5) jumper wires etc.</p><p>How i wired my componnents i have shown in blow pic.</p><p><strong>now please can you provide me a sketch so that i can operate relay via my android mobile using </strong>Arduino bluetooth control device android app. <br></p><p>i think u understand what i want from you i am a bignner in this arduino world and i found your this post very much closer to my need</p><p>and please guied me my friend</p><p>please my friend help me you can mail me on sharmaz747@gmail.com</p>
<p>please send the skecth to my email ilhambintang559@gmail.com</p>
I have a questiin you may can help with i do heating and air have a unit that has bad tstat wire going from indoor to outdoor unit so it wont allow anything outside to kick on and cant run new wire its not possible is there any bluetooth relay i can build so when thermostat calls for ac it will send signal to od unit and close a relay to allow 24 volts to contator i can put a transformer out there to. Make the 24v but having trouble finding away to control it
<p>i have made this and followed all the instructions,but when i connect by arduino power ,the relays are switching on,my phone connected to bluetooth device but unable to control the relays,they are continously switched on</p>
<p>how many days this project would run if i operate it whole day ? </p>
<p>Really cool thing, I just built it, the only change I made I supplied the power from an old phone charger and used a really cheap HC-06 which only operates from 5V+ instead of 3.3V+, otherwise perfect tutorial to control anything around your house under 10A ;-)</p>
<p>I have a problem, when I press the button on my android device sometimes the relay doesn't respond. but I can see TX and RX LED on my arduino blinking.</p><p>Can somebody help me?</p><p>Thanks,</p>
<p>Great and thanks it worked for me on 4 relays</p>
<p>how can 4 relay, how improve its</p>
<p>GOOD JOB MR</p>
<p>Hi and thanks for sharing project. I was looking for a way to strengthen my remote heat controller, that now uses RF transmitter and receiver, but unfortunately it is not so reliable.<br><br>I made your project, but I have some questions;<br><br>- in similar projects I saw that is better to make a level converter to 3.3V on the RXD line on HC-06, because the module may not like upper voltages. Did you have problems without?<br><br>- I tried to connect the bluetooth module to 3.3V from arduino, but the module seems unstable, cannot accept connections, sometimes switches off. Using the 5V seems fine. Is it dangerous for the module?<br><br>In my project I would like to have a feedback on digital input status, and to do this I have to send the digital pin status from the bluetooth module. I realized too late that HC-06 is only a slave device, so I have to buy an HC-05.. is that correct?<br><br>Thanks..</p>
<p>No, you wont need an level converter until and unless you see a base on which bluetooth module is soldered... </p><p>and for the hc-06 thing. it would work fine. hc-05 is not necessary.</p>
<p>Thank you very much for your instruction -- Kudos!!!</p>
<p>Hello,</p><p>Is there a way to make this and to control this with a iphone ?</p><p>Can somebody help me ???</p><p>Grz</p>
<p>I just ordered all the parts to make this</p>
There is a link to this guy's ible.
Check out this awesome Instructable. How to control arduino board using an android phone and a bluetooth module https://www.instructables.com/id/E2CCMJ4HD4VPR0Z/?lang=en
nice...I've made this before. . almost identically. . If you wanted to you can easily make a custom Android app with app inventor...Nice work

About This Instructable




More by simon72post:Arduino powered bluetooth remote relay switch How to back up your usb stick or camera to your android phone How to back up memory cards without a computer 
Add instructable to: