The HamLoraChat project use the power of LoRa protocol and bluetooth module to exchange messages between two or more radio amateurs, this version contain an basic aprs tracker.
![](https://private-user-images.githubusercontent.com/39775345/249801925-582d3b5a-77dc-4620-ad63-e17684a3b4f3.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjI0MDUsIm5iZiI6MTczOTE2MjEwNSwicGF0aCI6Ii8zOTc3NTM0NS8yNDk4MDE5MjUtNTgyZDNiNWEtNzdkYy00NjIwLWFkNjMtZTE3Njg0YTNiNGYzLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0MzUwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE2ZjdiNTQ5NWI5YjczMDFhMDU0ZjM3YzVkNGM2MWJmM2UxMWIwOTY2MDZlYTEwZDliOWEwNDlmM2QyYjg5ZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._-hWkjZ9fhj26guZTVxZsFMmR_BciZyQZWh_KFmS5j4)
In this mode, our device will exchange messages with other radio amateurs through repeaters/gateways (a device can be configured as both a gateway and a repeater) Which through the MQTT protocol communicate with other gateways. With this mode, the Internet is used to convey messages from one zone to another. Messages will also be displayed on the telegram channel HamLoraChat Italia
![](https://private-user-images.githubusercontent.com/39775345/249790448-a9f9f851-0a49-42b6-a925-73d6926b045d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjI0MDUsIm5iZiI6MTczOTE2MjEwNSwicGF0aCI6Ii8zOTc3NTM0NS8yNDk3OTA0NDgtYTlmOWY4NTEtMGE0OS00MmI2LWE5MjUtNzNkNjkyNmIwNDVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0MzUwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBkZDlhOTlkOTU2MzNmMjlmODhkOGVjZDBlNjExOTMyNzI4OTUwMTI2ODNlYjAzNWYxYTg5YTM5ZDgxNmI0M2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Cri45N8To6lK0vK6ks-8p_Oz3gfA5Bli3RcNjRumg64)
In this mode each device will exchange messages with other radio amateurs without taking advantage of the repeater/gateway network, so each device communicates directly with other devices even if they are not in the same mode.
![](https://private-user-images.githubusercontent.com/39775345/249797796-868c9625-4a95-4940-a852-cbaf6529b098.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjI0MDUsIm5iZiI6MTczOTE2MjEwNSwicGF0aCI6Ii8zOTc3NTM0NS8yNDk3OTc3OTYtODY4Yzk2MjUtNGE5NS00OTQwLWE4NTItY2JhZjY1MjliMDk4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0MzUwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVjMmExOTZlNjZhNTIyNzUxNDA1MTY4ZTZiMWM4MDEyMzI1MzIzMmEwZGE2YTcwODYyNjcxZGY4MzJiMjhkOTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8wW7WU8aK6mCZTcWoOAQpH6QneINwYlpZmxb2RkPh7M)
This project use PlatformIO.
- Go to PlatformIO download and install the IDE.
- If installed open the IDE, go to the left side and click on 'extensions' then search for 'PlatformIO' and install.
- When installed click 'the ant head' on the left and choose import the project on the right.
- Just open the folder and you can compile the Firmware.
To configure the node, modify these parameters in main.cpp
String qrz = "IU7IGU-10";
const char* beacon_message = "HamLoraChat info: www.github.com/iu7igu/HamLoraChat";
const bool beacon = false; //Enable or disable beacon aprs
const int beacon_time = 5; // Beacon delay in minute
const bool gps = true; //Enable or disable gps
const long lora_freq = 433775000; //Frequency
const int lora_power = 20; //Lora output power level
const int lora_spread = 12; //Lora spreading factor
const float lora_bandw = 125000; //Lora bandwith
const bool oled = true; //Enable or disable OLED
const char* locatore = "JN70BN"; //Maidenhead Locator
const bool diretta = false; //Enable or disable direct mode
After the configuration change, the Flash must be deleted through Erase Flash command in Platformio Section of Visual Studio Code.
Afterwards, the firmware can be loaded via Upload command in Platformio Section.
For use HamLoraChat system you must need a smartphone with bluetooth and an app like Serial Bluetooth Terminal. Download link for Android or for Apple
WARNING! I could not try iPhone App
Once paired device (you should see HamLoraChat on list of bluetooth devices) you can connect them with Serial Bluetooth Terminal like this:
![](https://private-user-images.githubusercontent.com/39775345/250265318-15893e5a-da43-4d75-a0bf-19c75769e0a6.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjI0MDUsIm5iZiI6MTczOTE2MjEwNSwicGF0aCI6Ii8zOTc3NTM0NS8yNTAyNjUzMTgtMTU4OTNlNWEtZGE0My00ZDc1LWEwYmYtMTljNzU3NjllMGE2LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0MzUwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllZDRmYTY5MDk0MTFjYmVlYTNmYzM3ZDQxNTkyZDQ2NjQzMDllNDkzZjUwZGZkNGY5MTI5NTFkYzg0N2Y5ZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3F1NKzkf-y8IjgM1LpAug6kvsVtHN9P01PdDdNpysjo)
When you are in this mode the node are working yet. If you write a message and send it, it will be sent via Lora protocol to GW/RPT or Node.
From Serial Bluetooth Terminal is possible to modify some parameter throught command listed below
/menu -> Print list of command
/stato -> Print to terminal a list of information about HamLoraNode
/gps on/off -> Enable or disable gps
/beacon on/off -> Enable or disable beacon
/beacontime 5 -> Modify beacon delay
/freq 433775000 -> Modify frequency of node
/locatore JK85ND -> Modify locator
/direct on/off -> Enable or disable Direct Mode