Smart Pedestrian Anti-Collision System (SPACS)

Smart Pedestrian Anti-Collision System (SPACS) © MIT

SPACS is an invisible shield for pedestrians designed as an extra safety measure in case of collision or vehicle malfunction.

  • 5,727 views
  • 3 comments
  • 15 respects

Components and supplies

About this project

Definitely we must do something about car incidents. Currently 90% of collisions are caused by human errors and this is why car crashes kill more than 3,000 people a day. As we're heading into a car driverless world, incidents will occur on a higher rate if we will not build up a more smarter and safer environment.

Intelligent cars will have cameras and sonars but unfortunately have also many limitations that cannot fully detect all pedestrians or cyclists. 


Spacs (Smart Pedestrian Anti-Collision System) will add an extra safely layer for pedestrians and will continuously send their position parameters so vehicles can be warned and automatically stop, avoiding unwanted collisions. 

Spacs could be integrated into wearable devices but also into the traffic lights systems. In case of unwanted situations, any incident will be automatically reported to the nearest doctor, using the Azure Cloud and city's emergency system integration. 

 CASE SCENARIO:

PEDESTRIAN:  wear a device that will measure the distance between him and other objects around it. We used an ultrasound sensor but more can be added in order to get an 360* degree shield. Compass sensors can measure any interaction.

VEHICLE: have a communication protocol that will get real-time distance of these SPACS devices and warned / stopped automatically in order to avoid collisions. 

TRAFFIC LIGHTS: by extending SPACS into the traffic lights systems vehicles can be automatically warned / stopped on demand but also people will be notified not to cross the street if RED light, for instance. 


HOW TO BUILD IT:

PEDESTRIAN DEVICE  - must continuously stream their distance and position, relative to the other moving objects using a communication protocol. 

On this example we used:

  • ARDUINO UNO 
  • HC SR04 - Ultrasound  * ECHO - digital pin 6 / TRIG digital pin 7 * (GND/ VCC +5V)
  • GY 271 Compas  * SCL analog pin A5 * SDA analog pin A4 * (GND/ VCC +5V) 
  • Ethernet ENC28J60  * SCK digital pin 13
 * SO digital pin 12
 * SI digital pin 11
 * CS digital pin 8 * (GND 
/ VCC +3.3V)


VEHICLE - must receive values from any SPACS pedestrian device being on their path. Based on the distance the vehicle will be warned and then automatically stopped in order to avoid collision. 

Get any remote controlled vehicle and put the motor - battery (brake) connection in between the relay.

  • MKR1000  
  • Grove relay to digital pin 12  
  • Blue LED is on digital pin 6 
  • VCC 3.3V / GND to 3.7 battery

Be sure to strongly fix MKR1000 board on the car, so it can handle all sort of collisions and external USB charging. 

By using the Arduino IDE, upload the MKR1000 Wifi-Firmata code and easily control it from the Windows 10 application.  Don't forget to modify the wifiConfig.h with your wireless network details. 


WINDOWS 10 Universal Applications

Spacs10 - is like a communication hub between devices and also IoT Azure, where will store all the events from the application, if this option is ON.  

On the Spacs GitHub you'll find other available C#/ Vb.net plus arduino code samples.


For application development you could use Visual Studio 2015 - Community Edition and you have to follow these steps in order to communicate with your MKR1000 device, using firmata protocol.

NOTES: there are two versions on the repository, one that communicate via web server and other using socket connections. Feel free to improve and play with it. We used fixed IPs but it be can be adapted based on other Ethernet shields and libraries.

MORE PROJECT PICS: http://spacs.space/ 

Happy programming!

Code

Smart Pedestrian Anti-Collision System

Schematics

Spacs - Circuit Scheme
Connections plan and components link
Spacs - Concept
Concept overview presentation
MKR1000
Connections picture of the MKR1000
Spacs 1

Comments

Similar projects you might like

RF BASED SMART HOME AUTOMATION SYSTEM

by Dennis Mwanza

  • 28,738 views
  • 4 comments
  • 45 respects

Arduino-based Collision Detection Warning System

Project tutorial by vijendra kumar

  • 10,443 views
  • 3 comments
  • 29 respects

Smart Parking System

Project in progress by Md. Khairul Alam

  • 43,062 views
  • 32 comments
  • 104 respects

Control your Light System Using Smart Phone

Project tutorial by Ahmed Yassin

  • 35,372 views
  • 4 comments
  • 55 respects

DAS Access Control System (DASACS)

Project showcase by Team DasData

  • 4,067 views
  • 1 comment
  • 23 respects

The hydroMazing Smart Garden System

Project tutorial by Cory Potter

  • 24,982 views
  • 14 comments
  • 115 respects
Add projectSign up / Login