Smart Cycle

Aabhas Senapati

Smart Cycle

                            Smart Cycle

SummaryThis is our idea and work on smart cycle.

In today’s world everything is being revolutionised and technological advancements are made everyday to day objects smarter so why not our cycles?
 Cyclists and motorists are the most likely to be killed or injured on the road as fatality rates are higher due to lesser protection and slow timing of emergency services as, cyclists and motorists are likely to get flung into the air and at a distance away from the crash site or into the vegetation(if any present) around the crash site. About 102 cyclists were killed on British roads in 2016. Around 3,400 were seriously injured, and there were approximately about 15,000 other casualties.So to change this our goal was not only focused on making cycles smarter but also in making it more safer for the rider in many various ways.With some simple microcontroller Arduino and some code and succeeded in making cycles not only smarter but also safer.
We know that cycling is gaining popularity due to climate change and also to prevent global warming by using an alternative cost effective and eco-friendly method ,but at the same time accident rates related to it are also increasing due to reckless riding of both a vehicle driver and also a cycle rider in some minor cases as when the road are slippery due to a wet tarmac or because of unexpected rain. In the five years between 2011 and 2015, about 25,435 cyclists have been killed in India. Despite all the positive things about cycling, today it is one of the most dangerous modes of transportation in India ,and has put riders to great risk. In our country (India) cycling has become dangerous but with innovation such as ours and better implementation of road safety and laws regarding motorised vehicles the risk can be significantly reduced. But still even though all of us have experienced such gruesome events or witnessed them. For example I know a person who was involved in an hit and run incident, the person received minor injuries but only because the driver was not driving st a high speed. This could have been much worse if the driver was driving fast. So to see a change and to help cyclists around the globe we have made a cycle which has the following feature :
We have made fall detection, brake light, anti-theft detection , attention alert(based on speed and distance of the rider and surrounding vehicles) as well as an ability to access the location of the cycle via the Internet all in one circuit. It has become smarter by having built in speedometer and odometer and showing the weather features such as temperature,wind speed,humidity and also time.
Fall detection is made using accelerometer and will detect fall of cycle when it is in motion and will immediately send a message to specified contacts and/or emergency services.This will help the loved ones to know if the cyclists has met with an accident.This helps to take immediate action.The fall detection will reduce the risk of the the injury manifesting into something that may lead to further complications and possibly even death of the rider.
Brake lights will alert the vehicles behind the cycle that the cycle is slowing down.
R.F.I.D. will be used as a lock. It will be embedded into the helmet so that only the rider who has the helmet is the only person who is able to unlock the cycle. Without which if the lock is being forcibly opened a buzzer will make pound noises to attract the attention of anyone nearby, also alerting the rider and this will force the thief to run away or risk getting caught, for many people a cycle is their only mode of transportation. I for one commute on my cycle too and have narrowly avoided such incidents but have suffered from a few as well I have friends who have been injured just as well due to reckless driving of others. At one point of time cycling was awesome as you rode with your friends with the wind blowing in your hair, without a care in the world but now it’s very dangerous. Sometimes you just miss the old times and want to bring those memories back for others to experience. 
The main 
goal is to apply this idea and help the cyclists making their rides  safer and smarter.
This project will solve following problems faced by riders by having following features:-

  • It adds speedometer and odometer to the cycle thus making cycle smarter.Along with it also provides weather data to rider like temperature and humidity.
  • It has the helmet as the key for cycle thus making the rider mandatory to wear the helmet.
  • It has accident alert system which would directly send sms to house whenever the rider falls off the cycle along with the location .
  • It has feature to connect the cycle to internet and help us access our cycle over internet when it is also connected to any network and give access to the location , lock and other required data at fingertips.
  • It also has feature of rider attention seeker which would beep a horn based on distance of cycle from obstacle/vehicle and speed of cycle.
  • It also has the feature of brake lights thus whenever brake is pressed it would turn the lights at the back of the cycle of cycle on just like in bikes.
  • It also has a cycle security notifier which would notify the owner of cycle whenever there is someone’s movement near his cycle when the cycle is locked and beep a buzzer so that the person goes away by getting afraid thus prevent any damage to cycle.

This would thus solve the problems of  absent mindedness while riding, immediate help in case of accident by notification ,mandatory helmet wearing , and also make the ride smart.

    Research

    I thought of making this project as I myself  mostly ride by cycle and thought  that i should try to make my own cycle smart and safe .First in thought of  making speedometer for my cycle and i searched online for and got projects mostly using reed switch which i did not have then i  thought of using ir transmitter and receiver along with Arduino Mega for making the speedometer and odometer, then i tried to make the code for this and faced many errors especially in making speedometer .Then i displayed these on 16*2 lcd display then i added fall detection using accelerometer , followed by adding the motion detection using pir,then i also added the distance measuring using ultrasonic for rider attention seeker and then i added the helmet as a key using rfid.Then i used the ESP32 to have communication to internet , send sms and get location via Blynk  and IFTTT .The feature of brake lights is a simple switch connection to control the strip led.

    *Note – Presently this project is ready but it is not connected to the cycle and instead of strip led only a led is used.The location tracking part is done using a smartphone having blynk but using geolocation api the support to esp32 is still not added so i will buy a gps module and then add it later.The helmet lock status is displayed on the arduino ide serial monitor as i am unable to find any electronic cycle lock but will try to modify a lock . 

    Working

    The following hardware is used to make the project 
    • Arduino Mega
    • Arduino Nano
    • Esp32
    • MFRC552 Rfid Module
    • Pir Motion Sensor
    • ADXL335 Accelerometer
    • HC-SR-04 Ultrasonic Sensor
    • IR Transmitter and Receiver
    • Switch
    • LED
    • Buzzer
    • I2C  Bus
    • 16 * 2 LCD display

    The following software is used to make the project

    • Arduino IDE
    • Blynk
    • IFTTT
    • Webhooks

    The project works in following manner

    • The Helmet is having the rfid(Radio Frequency Identification) card embedded on it thus whenever the helmet is shown arduino nano is coded to identify that card as the key and give this data to arduino mega , thus displaying status of  lock on the serial monitor.
    • The ir transmitter is to be fit on the spoke of the wheel and the ir receiver in such a way that it comes in line of ir transmitter one time during one rotation , thus when wheel completes one rotation the arduino takes this data to calculate the distance (circumference * no of rotation) and difference between two rotation is taken to calculate instantaneous speed by(circumference / time difference).
    • The accelerometer gives the tilt of the device by giving x , y , z axis values as analog values.Thus by finding the values at different tilt the conditions of cycle fall can be detected and used to give the data to esp32 and it would then send data to ifttt via blynk which will then send sms.
    • The ultrasonic sensor would detect the safe distance for ringing the buzzer and get attention of rider by doing (constant*speed<=distance)
    • The Pir motion sensor detects the ir rays emitted by humans and detects their motion and thus give data to Arduino.Thus finding the presence of any person.
    • the Esp32 would be connected to blynk, and ifttt and also receive data from the arduino and act as bridge for connecting arduino to internet.
    • The Switch would be placed in such a way between handle and brake that led turns on when brake is pressed.

    Code

    This is the link to the code and schematics
    https://github.com/aabhassenapati/smart-cycle-/tree/master
    Conclusion
    I made this project so that this can help cyclists experience a safer and smarter ride and by making this project i learnt a lot and just waiting to work in such a project again .I ually applied and help people  , this project is built in less than 5000 rupees.I hope to add solar panel  to power this entire project on the cycles.
    I would thank my parents and my friends helped me to make this project successfully.


    PROJECT MADE BY AABHAS SENAPATI ALONG WITH HELP OF ADITYARAJ MOHTA AND AYAAN SHAIKH

    PICTURES OF PROJECT



    About Me – I am a young maker from Ahmedabad in India and i love tinkering with new things and making new projects .I am also community member of element14 community and hackster .
    Links to profile are
    I also love Maths and Physics along with Robotics and Playing .
    • My other projects include 

    • Home Automation with Emergency Guidance
    • Plant watering and Monitoring System
    • Thing Finder
    • Industry Monitoring

        

    The blog to these projects would be uploaded soon.
    AABHAS SENAPATI

    Leave a Reply

    Your email address will not be published.