Project Story: RF Shield

Inspiration

The inspiration for RF Shield stemmed from a deep concern for the potential health risks associated with prolonged exposure to RF radiation from nearby communication towers. Recognizing the lack of accessible tools for individuals to assess their exposure risk, we were driven to develop a solution that empowers people to make informed decisions about their living environment.

Learning Journey

Throughout the development of RF Shield, we delved into various domains, including data collection, geospatial analysis, natural language processing (NLP), and web development. We learned the intricacies of RF radiation, the importance of accurate geolocation data, and the nuances of summarizing news articles effectively. Embracing emerging technologies like Gemini Pro LLM, we explored innovative ways to deliver insights to our users.

Getting Started

Starting with RF-Shield is simple. Just input your address, and we'll determine whether the area is shielded from radiation or exposed to it.

What it does

Discover the capabilities of RF-Shield:

  1. Cellular Tower Locations: We provide cellular tower locations on map which are represented with red circles
  2. Cellular Towers Proximity: We're displaying a map that highlights all cellular towers in your vicinity.
  3. Locational Mapping and Radius Highlighting of Cellular Towers: In another map, we're specifically targeting the entered address and delineating a circular area according to scientific measurements to determine whether the area is an RF-Free zone or not.
  4. Identify RF-Shielded/RF-Exposed Area: We're indicating whether your entered address falls within an RF-Shielded area or an RF-Exposed area.
  5. Color-Coded Representation of RF-Shielded and RF-Exposed Areas:If the entered area is an RF-Shielded area, it will be designated with a blue circular border, otherwise, the same territory border will be marked in red.
  6. Latest Trending News on Relevant Issues: It's crucial to stay informed about developments in your area, particularly regarding plans for installing cellular towers or related news. Currently, we're providing the top 5 most relevant articles to help our customers stay informed about these issues.

How we built it

Part 1: Check Tower Proximity:

  1. Our project began with extensive research, compiling a comprehensive dataset of RF tower locations across the US by utilizing publicly available sources.
  2. We established the Python environment, integrating Streamlit and its libraries such as Folium, Geodesic, Nominatim, and Google.generativeai.
  3. The cellular tower dataset underwent cleaning, where we converted the current tower locations represented in degrees, minutes, and seconds into decimal form for convenient usage in the Folium map.
  4. Subsequently, the tower locations' latitude and longitude coordinates were incorporated into the Folium map.
  5. Utilizing Nominatim, we accessed the latitude and longitude of the entered location.
  6. We calculated the distances between the entered location and tower locations using latitude and longitude coordinates.
  7. A scientific threshold was established, with distances less than 400 meters deemed significant.
  8. If the distance fell below 400 meters, the area was labeled RF-Exposed, indicated by a circular proximity marked in red along with a corresponding notification. Otherwise, the area was designated RF-Shielded, featuring a circular proximity marked in green accompanied by a relevant message.

Part 2: Access News and Nearby Tower Developments

  1. Data Acquisition with Serp API and Web Scraping: Employing the Serp API, we meticulously gathered the latest news articles from the Google Search Engine, ensuring a comprehensive dataset for analysis. Subsequently, leveraging the capabilities of Beautiful Soup, a Python library renowned for its web scraping proficiency, we refined our data collection process, enhancing its accuracy and efficiency.
  2. Content Extraction and Storage: With a repository of URLs procured through our initial data acquisition phase, we meticulously extracted the content of news articles. This content was meticulously stored in separate files, establishing a structured foundation for subsequent analysis and processing.
  3. Advanced Summarization Techniques with Retrieval Augmented Generation (RAG): Leveraging cutting-edge methodologies, we employed the Retrieval Augmented Generation (RAG) technique to distill key insights from the amassed news content. By interfacing the scraped content with state-of-the-art language models, notably Google's Gemini Pro model tailored for news article summarization, we facilitated the generation of concise and informative summaries. This approach ensured not only the efficiency of summarization but also the preservation of contextual relevance and factual accuracy.

Part 3: Deployment to AWS

  1. We created an ubuntu EC2 instance on AWS and then used ssh to deploy our application on the EC2 instance.

Part 4: Domain Tech

  1. We created the domain name for our application: http://rf-shield.rf-secure.tech/ and linked it to the public IP of our EC2 instance. Luckily DNS entries seem to have been updated so our application is live and you can check it out at the url above.

Challenges Faced

Building RF Shield presented several challenges, including: -Initially, we began by utilizing st.map, the Streamlit map functionality, particularly for drawing circular areas on the map. However, we soon encountered limitations and realized it wasn't conducive to achieving our desired outcomes. -We delved into other map libraries and discovered Folium, which met our expectations. -We needed to familiarize ourselves with Folium and its associated libraries, encountering some challenges during the environment setup process.

  • Ensuring data accuracy and completeness in the tower dataset.
  • Optimizing geospatial calculations for efficient real-time analysis.
  • Fine-tuning the NLP model to generate concise and informative article summaries.
  • Designing an intuitive user interface for seamless interaction.
  • We had to use an ubuntu instance and not aws linux 2 because it was impossible to ssh into the instance no matter how hard we tried. It worked for the first 5 minutes after the instance was created and then refused to work after that.
  • We also couldn't use the API keys for script access to AWS, hence we had to make our deployments manually.

Despite these challenges, our team remained dedicated to delivering a robust and user-friendly solution.

What we learned

Our journey with RF-Shield has been a learning experience filled with valuable insights:

  1. User-Centric Development: Our project's user-centered approach ensures that safety and convenience are at the forefront of our design.
  2. Data-Driven Decision-Making: We've harnessed data analytics to make area safety recommendations based on actual cellular tower locations, promoting informed choices.
  3. Maps Integration: We successfully integrated Maps into Streamlit, broadening our technical skills.
  4. Versatile Functionalities: We delved into the diverse capabilities of Maps within the Streamlit platform, including the use of folium.CircleMarker and folium.Circle and more.
  5. Collaboration and Innovation: Our experience demonstrates the power of collaboration and innovation in addressing real-world issues and making a positive impact.

Accomplishments that we're proud of

RF-Shield, a platform that displays cellular tower locations on a map and identifies whether an area is RF-Shielded or RF-Exposed, is distinguished for several key reasons:

Safety-Centric: Our project prioritizes population safety from mental and cancer-related disorders, which are critical global concerns. By offering information on RF-prone areas and safety recommendations, we prioritize your health and well-being.
Data-Driven: Our project relies on data and technology to analyze and present pertinent information. This data-driven approach enables users to make informed decisions based on real-time or historical accident data.
User Empowerment: Our project empowers users by equipping them with tools and knowledge to make informed choices when buying or renting homes, selecting schools for their children, or choosing office locations. It places safety decisions directly in the hands of individuals.
Preventative Measures: Instead of reacting to mental disorder or cancer-related issues after they've occurred, our project adopts a proactive stance. By identifying potential danger zones beforehand, users can avoid residing, working, or studying in hazardous areas.
Promoting Awareness: Our project raises awareness about mental health issues and cancers caused by cellular towers and underscores the importance of informed decision-making. It encourages users to take proactive steps toward their safety.
Community Impact: By safeguarding communities from hazardous RF radiations, we anticipate positive effects on the health insurance and real estate industries. Our project has the potential to positively impact local communities and alleviate the strain on health services.

What's next for Safe-Roads

  1. Color the map according to the proximity of the towers.
  2. Bringing safety on the go with our upcoming mobile app.
  3. Real-time alerts for cellular tower registrations within your area.
  4. Guidelines for raising objections to such registrations.

Conclusion

RF Shield embodies our commitment to leveraging technology for the betterment of society. By providing users with actionable insights into RF radiation exposure and government initiatives, we aim to empower individuals to safeguard their health and well-being. As we continue to iterate and improve RF Shield, we look forward to making a meaningful impact on public awareness and safety.

https://www.youtube.com/watch?si=BdcvwEyXS_hpyS2v&v=mPSZmWMbUgM&feature=youtu.be

Built With

Share this project:

Updates