LoRa Bluetooth Chat

by saso140 in Circuits > Arduino

33 Views, 0 Favorites, 0 Comments

LoRa Bluetooth Chat

Untitled.png

Have you ever wanted to chat without paying or if cell towers aren't working as planned? That's where the LoRa Bluetooth chat comes in. It uses LoRa waves to communicate with other devices that have the same device. The device is very simple; it only has a LoRa module, Bluetooth module, and an Arduino Uno (can be used with Arduino boards or Espressif boards as well). The project is simple but powerful; it is good for beginners who want to know more about wireless communication, and the tutorial below shows how to do it step by step and how it works.

Supplies

-LoRa Module (UART Pins) 2x

-Arduino Uno 2x

-HM-10 Bluetooth Module 2x

-Female-to-Female Jumper wires 8x

-Male-to-Female Jumper wires 6x

-Power Rails(From Medium size Bread Board) 1x

-Usb-B cable(optional if doesn't come with Arduino) 2x

-Antenna (only optional if LoRa doesn't come with a built-in but needed if there is no built-in antenna its needed to get ) 2x

-Square Plastic-box (so to put the components inside) 2x

Coding

Setup_arduino_board.jpg
Setup_arduino_port.jpg

First Open Arduino IDE with the attached code.


1-Open tools

2- Then press Board

3- Choose Arduino Uno


4- Open tools again

5- Press Port

6- Then choose the port that has the Arduino uno


Make Sure the Arduino isn't wired to anything else except the PC


7- Press Upload

Wiring the Circuit

Power Rails.png

1-Wire the LoRa and Bluetooth Module Vcc by wiring them to the power rails and then to the 3.3v pin of the Arduino (make sure that they use 3.3v only).

2-Secondly, wire the LoRa and Bluetooth Module GND by wiring them to the power rails and then to the GND pin of the Arduino.

3- Wire the LoRa module TX pin with the RX pin of the Arduino and also LoRa RX pin with the TX pin of the Arduino.

4- Wire the Bluetooth module TX pin with pin 9 of the Arduino and also Bluetooth RX pin with pin 10 of the Arduino.

Repeat Process

Repeat it again with the other same components

Test the Project

To Be able to test it, First Download any app with a Bluetooth Terminal Like "BLE Serial Tiny " on the App Store in IOS.

1- After uploading the code connect the phone to the Bluetooth Module with the Ble app

2- The board Should automatically setup the Device.

3- Now do the same thing with another phone and another pair of the project (Because we need 2 pieces of the device).

4- now if you sent a message in the terminal, you should receive it in the other pair.


Putting It in a Box

IMG_2473.jpeg

The best way is to use a zip-tie, soldering iron and a small square lunchbox.

Troubleshooting

If there is any problem with the project or need help write in the comments and will reply as soon as possible