I'm trying to create a project wherein I'll be placing sensor A (Ultrasonic Sensor) to detect the water level in a certain location of a river.
I'll also use a Sensor B (Tipping bucket rain gauge) placed in another area 10km away. And somehow, I need to let these two communicate and let it be the basis for an SMS text.
can someone give me an idea on how to achieve this and what technology should I use?
P.S. I've done my own research and I'm intending use the following steps:
Sensor A: Solar Powered Arduino+GSM Shield to connect to the internet+Ultrasonic sensor
This will send data to thingspeak. From my understanding, the gsm shield will allow me to connect to the internet since I'm gonna put it in a remote location
Sensor B: ESP 32+ Tipping Bucket Rain Gauge
This will also send data to thingspeak
And based from the two data that will be sent, the sms will be triggered.
All of this is all in theory and I haven't tried simulating or anything but I just want to know if this project is viable. Thank you
I'm having a hard time understanding how to let both Arduinos communicate. I've researched Rf modules and it has limited range. Both sensors are separated by 10km and most rf module can't suuport it
It's because of the distance. Most tutorials only feature wireless communication but less than a kilometer range. it would be a great help if you can provide me insights on how to proceed
Plenty of tutorials feature SMS communication (which is wireless). You simply have not looked.
For arduino to arduino radio communications over 10 km, clear line of sight is absolutely required. If you do have clear line of sight, LoRa radios with decent antennas should work.
I'm going to integrate SMS API to thingspeak to enable SMS features.
So far, I've understood that there are multiple technologies such as Lo-Ra, RF, but it also has limitations such as the range or line of sight which I think is not really dependable since I'm going to put one near the urban area and one in a remote place.
"Wireless" generally means radio, which includes AM/FM/TV public broadcast stations, police/fire/emergency radio, SW radio, HAM or amateur radio, SMS, 2G, 3G, 4G and 5G cell phones, radar, WiFi, Bluetooth, BLE, satellite transmission (GPS) etc.
The topic is very broad . Apologies if I'm mistaken about some things. I just want both sensors to send thingspeak and there, I will integrate the SMS API.
I'm only trying to let both sensor data become the conditions for the SMS text hence what I've posted.
I've used GSM Shield because it said that it enables internet to the arduino so it can send the data it reads to thingspeak
I've used ESP 32 because it has wifi connectivity and can send the data to thingspeak
It sounds like your ideas about how the system should work should be reconsidered after you have a better understanding of what is possible, easy to implement and affordable.
For example, there is no obvious reason that the two Arduinos should to talk to each other. They can each communicate with a third party (your home computer, or a web server) to upload data, while the server coordinates data storage and messaging.
Do more research before you decide on the final system configuration.
I don't need both arduinos to communicates which is why I'm using a third party which is thingspeak as a medium to store the data from both microcontrollers and I'll integrate an SMS API so I can send the sms text.
Of course it is . Thingspeak is merely a convenient third party intermediary, accessible by anybody at any time from anywhere, it may be just what you need if both Arduinos are remote, but you may deem it unnecessary.
The bleeding obvious reason for having the Arduinos talk to each other is that you then need only one Thingspeak account, and that shows the data from both (remote) stations. Much the same convenience probably applies if you are talking to a home PC.
Sensor A: Solar Powered Arduino+GSM Shield to connect to the internet+Ultrasonic sensor
This will send data to thingspeak. From my understanding, the gsm shield will allow me to connect to the internet since I'm gonna put it in a remote location
Sensor B: ESP 32 with Wi-Fi+ Tipping Bucket Rain Gauge
This will also send data to thingspeak and I'm gonna use wi-fi in a local office
I will integrate an SMS API to thingspeak and based on certain values of the 2 sensors, a sms text will be sent to pre-determined numbers
Is there anything wrong this outline? because I'll write it up on my methodology on my thesis
Yes, there is. Because you intend to put stuff in a remote location, you need to include the status of that equipment in each sms text so you can anticipate failure.
Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
Repeated cross-posting can result in a suspension from the forum.
In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.