WIFI connection between 2 boards without router or internet

I have an Arduino Giga R1 with a Giga display attached to it which will be used as the control and an Arduino Uno R4 WIFI that will receive commands to control relays. Is there a way to connect the 2 together wirelessly? Either blue tooth or WIFI, only problem is the setup is in a remote area without internet. The 2 boards will be within 30 feet of each other. I have been using Arduino boards for projects for about a year now so I am relatively new to Arduino and MCU boards and coding in general but I have never experimented with wireless communication before. I have connected boards wired via serial.

That's a lot of horsepower for a n00b.
There are client-server via SoftAP arrangements for ESP-type applications.
There are probably equivalents for Giga-Uno_R4, but I don't have a cut&paste for you - just some buzzwords to initiate your research with.

Hi @mikedalli ,

you have to create an access point at one of the two devices that the other device can connect to. For the Uno you can find an example here:

https://docs.arduino.cc/tutorials/uno-r4-wifi/wifi-examples/

Search the page for "access point".

The easiest way might be to create this access point and use a Web server application to control the relays.

It is also possible to create a UDP or TCIP connection but that requires a little bit more development effort.

Good luck!
ev2021

1 Like

Bluetooth might work, but that is about the limit of its range. Try it and see.

However, there are plenty of radio modules that emulate a serial port connection and have much larger range. The HC-12 is cheap and very easy to use. Example tutorial.

Set up each board as an access point with a static IP address. Call each other by IP.

Thanks a lot for the replies. I am going to give @ec2021 suggestion a shot and if I dont manager I will go with blue tooth as @jremington suggested. I did make a project a while back with blue tooth and it was fairly easy. In my line of work (industrial maintenance I have to tackle and trouble shoot profibus so I do have a slight understanding of serial communication and blue tooth isnt that much different .It should work pretty good for this project. But I still want to learn how to communicate with WIFI for future projects.

For an easy solution you may just use the bluetooth serial library

Here an example:

bluetooth-serial/examples/Boiler_Plate/Boiler_Plate.ino at master · hen1227/bluetooth-serial (github.com)

WiFi is probably an "overkill" ... :wink:

Good luck!
ec2021

It is possible to connect your Arduino Giga R1 and Arduino Uno R4 WIFI wirelessly https://www.tp-link.com/ph/home-networking/wifi-router/archer-ax53/ , even if you are in a remote area without internet. Both Bluetooth and Wi-Fi can be used since the two boards are less than 30 feet away from each other.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.