RadarCloudSync is a radar system project that transmits data to the cloud and supports real-time data fetching for instant analysis and monitoring. This repository provides instructions on setting up the environment, adding the necessary code, and linking it with ThingSpeak for cloud integration.
- Ubuntu 20.04 or later
- ROS Noetic
- Git
- Python 3
- ThingSpeak account
-
Create a thingspeak account
-
Click on new channel
-
Add field and other information
-
Click on save channel
-
You get a screen as this
-
Click on API Keys
-
Replace your read and write api key and the channel id at the sketch.ino code and ros code.
-
Create an account on workwi if not there visit 👉 Workwi Dashboard
-
Click on new Project
-
Click on blank project
-
Copy paste the sketch.ino code the diagram.json code and add the libraries as in this repository
-
To start the simulation click on run button
-
Wait until WiFi is connected if not connecting within 30 seconds recheck the previous steps
-
Click on the Ultrasonic sensor and drag the slider to change the distance value
-
Check the Thingspeak channel the data is recieved
-
Open a terminal and create a new directory for your catkin workspace:
mkdir RadarCloudSync cd RadarCloudSync mkdir src catkin_make
-
Source the workspace:
source devel/setup.bash
-
Creating new package:
cd src catkin_create_pkg new_pkg rospy roscpp
-
Adding the code:
gedit ROS_Publisher.py
paste the code make changes and Ctrl S
- Running the code:
chmod +x ROS_Publisher.py cd ../.. source devel/setup.bash rosrun new_pkg ROS_Publisher.py
Contributions are welcome! Please fork this repository and submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License. See the LICENSE file for details.