Skip to content

A acoustic radar system that seamlessly transmits data to ThingsPeak Cloud and supports real-time data fetching on ROS Ubuntu for instant analysis and monitoring.

License

Notifications You must be signed in to change notification settings

anasjawed283/RadarCloudSync

Repository files navigation

RadarCloudSync

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.

Prerequisites

  • Ubuntu 20.04 or later
  • ROS Noetic
  • Git
  • Python 3
  • ThingSpeak account

Setting up ThingSpeak

  • Create a thingspeak account

    image

  • Click on new channel

    image

  • Add field and other information

    image

  • Click on save channel

    image

  • You get a screen as this

    image

  • Click on API Keys

    image

  • Replace your read and write api key and the channel id at the sketch.ino code and ros code.

Setting up the simulation

  • Create an account on workwi if not there visit 👉 Workwi Dashboard

  • Click on new Project

    image

  • Click on blank project

    image

  • Copy paste the sketch.ino code the diagram.json code and add the libraries as in this repository

    image

  • To start the simulation click on run button

    image

  • Wait until WiFi is connected if not connecting within 30 seconds recheck the previous steps

    image

  • Click on the Ultrasonic sensor and drag the slider to change the distance value

    image

  • Check the Thingspeak channel the data is recieved

    image

ROS Environment setup

Creating a Catkin Workspace

  1. Open a terminal and create a new directory for your catkin workspace:

    mkdir RadarCloudSync
    cd RadarCloudSync
    mkdir src
    catkin_make
  2. Source the workspace:

    source devel/setup.bash
  3. Creating new package:

    cd src
    catkin_create_pkg new_pkg rospy roscpp
  4. Adding the code:

    gedit ROS_Publisher.py

paste the code make changes and Ctrl S

  1. Running the code:
    chmod +x ROS_Publisher.py
    cd ../..
    source devel/setup.bash
    rosrun new_pkg ROS_Publisher.py

Contributing

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.

License

This project is licensed under the MIT License. See the LICENSE file for details.


About

A acoustic radar system that seamlessly transmits data to ThingsPeak Cloud and supports real-time data fetching on ROS Ubuntu for instant analysis and monitoring.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published