Coder Social home page Coder Social logo

cycl's Introduction

CYCL๐ŸŒณ๐Ÿšฒ

CYCL is an innovative application designed to facilitate the rental and usage of bicycles and electric scooters. The app integrates Firebase for authentication and real-time database interactions, providing a seamless experience for users to rent, ride, and return vehicles safely.

Table of Contents

Features

  • Splash Screen

    • Animated splash screen with rotating C's imitating bicycle wheels moving.
    • Duration: 1.5 seconds.
  • Login and Signup Screens

    • Firebase authentication for secure login and signup.
    • Validates user credentials and navigates to the homepage upon successful login.
  • Homepage

    • Animated swipe navigation using Motion Layout.
    • Options to hire a bike or scooter, view the map, and logout.
  • Maps Screen

    • Displays user location and nearby rental stations.
    • QR code scanner to start the trip.
  • Ride Screen

    • Active throughout the trip with a timer and animated ring.
    • Return vehicle button to end the trip and navigate to the park activity.
  • Park Screen

    • Uses ultrasonic sensor data to assist in parking.
    • Interactive feedback through colors, animations, vibrations, and text changes.
    • Navigate to the payment screen upon successful parking.
  • Payment Screen

    • Displays payment information and allows users to rate their experience.
    • Animated background and navigation back to the homepage.

Environmental Impact

CYCL aims to reduce the usage of cars and, consequently, decrease global warming. By promoting the use of bicycles and scooters, the app helps to:

  • Reduce Carbon Emissions: Bicycles and electric scooters produce zero emissions, making them environmentally friendly alternatives to cars.
  • Improve Air Quality: Less car usage leads to lower air pollution levels, contributing to healthier urban environments.
  • Promote Sustainable Transportation: Encourages a shift towards sustainable transportation methods, fostering a culture of environmental consciousness.

External Sensor Integration

ESP8266 and Ultrasonic Sensor

The CYCL app integrates an ESP8266 microcontroller with an ultrasonic sensor to assist users during the parking phase. This setup helps users avoid obstacles and park the vehicle safely by providing real-time feedback through the app.

How It Works

  1. Ultrasonic Sensor Setup:

    • The ultrasonic sensor is connected to the ESP8266 microcontroller.
    • The sensor measures the distance to the nearest obstacle behind the vehicle.
  2. Data Transmission:

    • The ESP8266 sends the distance data to Firebase Realtime Database.
    • The data is continuously updated to reflect the current distance.
  3. App Interaction:

    • The CYCL app retrieves the distance data from Firebase in real-time.
    • The app provides visual and haptic feedback based on the distance:
      • Visual: The parking screen displays the distance and changes color as the vehicle gets closer to an obstacle.
      • Haptic: The phone vibrates more intensely as the vehicle approaches an obstacle.

Screenshots

Splash Screen

Splash Screen

Login Screen

Login Screen

Signup Screen

Signup Screen

Homepage

Homepage

Maps Screen

Maps Screen

Ride Screen

Ride Screen

Park Screen

Park Screen

Payment Screen

Payment Screen

Video Demonstration

For a detailed overview of the CYCL app in action, watch our video demonstration.

Usage

  1. Open the application.
  2. Sign up or log in using your email and password.
  3. Navigate through the homepage to hire a bike or scooter.
  4. Use the maps to find and rent a vehicle.
  5. Start your ride and monitor your trip through the ride screen.
  6. Park the vehicle using the park screen guidance.
  7. Complete the trip and payment process.

Technologies Used

  • Firebase Authentication: Secure login and signup.
  • Firebase Realtime Database: Storing and retrieving real-time data.
  • Motion Layout: For animations and smooth UI transitions.
  • Android: The primary platform for development.
  • ESP8266: Microcontroller used for sensor data collection.
  • Ultrasonic Sensor: Measures distance to assist in parking.

Contributors

  • Bishoy Labib

cycl's People

Contributors

bishoylabib avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.