Learn Wireless Arduino (in 900 Seconds)

About: I do robotics and automation projects.* denke anders!(think different!)

Hello Tech people!

In this instructable i will be giving a brief on making your arduino wireless and making it's applications wider. This instructable is going to be a power packed one feeding you all the things that you need for building a wireless project with arduino.

The instructable is easily understandable by anyone with a basic knowledge on arduino, you will be needing only about 15 minutes to get through the content.

Step 1: Contents

1. Bluetooth - HC-05 ( used to establish wireless network within 10 meters from the arduino).

2.Infra red wireless communication( IR remote based communication).

3. Radio frequency (you can see in cars unlocking system).

4. The IOT - Internet of things ( connecting arduino to the internet).

Step 2: Bluetooth_HC05

Let's learn Bluetooth!

So before working with Bluetooth we will be learning about how it,s working?

Bluetooth sends and receives radio waves in a band of 79 different frequencies (channels) centered on 2.45 GHz, set apart from radio, television, and cellphones, and reserved for use by industrial, scientific, and medical gadgets. Don't worry: you're not going to interfere with someone's life-support machine by using Bluetooth in your home, because the low power of your transmitters won't carry your signals that far! Bluetooth's short-range transmitters are one of its biggest plus points. They use virtually no power and, because they don't travel far, are theoretically more secure than wireless networks that operate over longer ranges, such as Wi-Fi.

Using Bluetooth with Arduino:

1.To make arduino connected with bluetooth we need a small module HC-05 which can be easily interfaced with arduino.

Link: https://www.amazon.com/DSD-TECH-HC-05-Pass-through...

2.The connection for the module requires only 4-pins on the arduino as shown on the image above.

Arduino Pins | Bluetooth Pins

RX (Pin 0) ———> TX

TX (Pin 1) ———> RX

5V ———> VCC

GND ———> GND

3.Then you can use a preexisting app for using the bluetooth module with your arduino available on play store.

app name :Arduino bluetooth

link :https://play.google.com/store/apps/details?id=com....

After completing the above steps you can start making your project and a simple example is given below.

Step 3: Bluetooth_project (led on and Off)

After completing the steps above,

In this example we will be performing a basic task of controlling the inbuilt led of the arduino via bluetooth.

* make the coding in the IDE and upload it to arduino as shown in the image , then open the app that you have installed on the previous step and you will have the connect icon then click it so that you will get a list of available Bluetooth devices around you .

* In that look for the name HC-05 followed by it's address.

* Then it will ask for the password the default password will be 1234 or 0000.

* you can also change the password by using AT commands.

* Then in the next page of the app there will be a test box followed by the send button in the box type the number one "1".

* In the similar way you can change the message to be sent to the arduino and make your own project.

Some of my interesting projects with Bluetooth are listed below:

1. CONVERT PHONE INTO TV VOICE REMOTE(SIMPLE ARDUINO) https://www.instructables.com/id/Convert-Phone-Int...

2. BT SMART LOCK(VOICE PASSWORD) https://www.instructables.com/id/BT-Smart-Lockvoic...

3. SMART BT DOOR LOCK(SIMPLE ARDUINO)https://www.instructables.com/id/Smart-BT-Door-Loc...

You can visit the above instructables to get an idea of using the HC-05

Step 4: Infrared Wireless Communication

The infrared communication is used almost everywhere and used by everyone, your TV remote works on the principle of infrared which is shortly called as IR.

This is one of the cheapest and easiest way of wireless communication, the limitation of the IR communication is you need to point the transmitter straight to the receiver and there should be a clear path for the IR waves to travel.

How it works?

The IR transmitter consists of the LED that emits the IR(Infra Red) radiation.This is received by the photo diode, which acts as IR receiver at the receiving end. Since the IR radiation is invisible to human eye it is perfect for using in wireless communication. A electronic remote device mainly consists of this IR transmitter and receiver. A remote control patterns a flash of invisible light which is turned into an instruction and is received by the receiver module.

Using the IR communication with Arduino:

1. you will be needing an IR receiver.

Link :https://www.amazon.com/uxcell-CHT-0038K-Infrared-C...

2. you will need a basic IR remote similar to your TV remote.

3. Install the IR library from the link: .http://z3t0.github.io/Arduino-IRremote/

A basic example of the IR communication is given below,

Step 5: IR Example (LED ON)

In this example we will be making an led glow while the desired button is pressed on the IR remote.

1. First make the connections for the IR receiver as shown in the image above.

2. Then upload the code given below using the arduino IDE.

3. open the serial monitor on the IDE .

4. Then the desired button on the remote is pressed focusing the IR receiver, you will be getting a code corresponding to the button you have pressed.

5. Thus different codes will be obtained for different buttons which is based on the frequency of the Ir waves.

6. Now to make the led on copy the code from the serial monitor and compare it using the if condition , then the digitalWrite is put inside the loop.

7. Thus you can use the data received to do any type of projects.

Some of my projects using IR :

1. CONVERT PHONE INTO TV VOICE REMOTE(SIMPLE ARDUINO) https://www.instructables.com/id/Convert-Phone-In...

Step 6: Radio Frequency (RF)

The radio frequency can penetrate through walls and doors thus it is highly advantageous.

It is almost used in most of the applications like

* wireless mouse and keyboard

* chordless phones.

* central locking of car.

* Toy cars......

How it works ?

A radio frequency (RF) signal refers to a wireless electromagnetic signal used as a form of communication, if one is discussing wireless electronics. Radio waves are a form of electromagnetic radiation with identified radio frequencies that range from 3kHz to 300 GHz.

Using Rf with arduino:

1. 2 x Arduino UNO or compatible boards

2. RF Module (433 Mhz) - Transmitter and Receiver pair

https://www.amazon.com/SMAKN%C2%AE-433Mhz-Transmit...

A basic example is given below,

Step 7: RF Example:

1. make the connections as shown in the image for both the transmitter and receiver.

2. Upload the code for the transmitter and the receiver correspondingly which is given below.

3. When a HIGH signal is transmitted to the other Arduino. It will produce an AnalogRead = 0.When a LOW signal is transmitted, it will produce an AnalogRead = 400. This may vary depending on on your module, and voltage used.The signals received can be viewed using the Serial Monitor.

Step 8: CONCLUSION

Thus i hope that the info would be helpful to you and if you have anything to ask please use the comment section i am happy to hear from you.

I have not forgotten the last topic IOT-Internet of things which is a gigantic topic so i have planned to make a separate instructable for the IOT which i will be publishing shortly.

Thus if you are interested in my feeds click the follow button so that we will be always in touch.

THANK YOU!!!

Share

    Recommendations

    • Big and Small Contest

      Big and Small Contest
    • Make it Glow Contest 2018

      Make it Glow Contest 2018
    • Toys Contest

      Toys Contest

    Discussions