Main Content

Spider Sense

An IoT project for preventing attacks from behind through Android app and Nucleo-board.

The idea
Our idea was to use an ultrasonic sensor attached to a servo motor to make possible an obstacle detection at 180 degrees and to implement from that an application capable of triggering and broadcasting an alarm to the users.

This was thought to be applicable in all the situations in which you cannot see what’s happening in a certain area. Suppose you are a private guard who has to keep watch without someone “watching your back.” Or suppose you want to have a way to see in your smartphone how much your car is near to the wall when you’re parking in your garage. Or even imagine a blind person that with a simple buzzer replacing radar animation or through vibration, can understand to be in front of an obstacle.

From this idea it was born “SpiderSense” project, recalling the famous power of Spiderman to understand if he’s in danger like a sixth sense.

So in the next lines you will find a detailed documentation on the hardware we used and the software we made, along with the Github page, in which you can find all the code: Nucleo board, Android and Telegram bot codes.

External resources
Github page: link
Slides presentation: link
Hardware Components
STM32 NUCLEO-F401RE

The STM32 Nucleo board provides an affordable and flexible way for users to try out new ideas and build prototypes with any STM32 microcontroller line, choosing from the various combinations of performance, power consumption and features.

Board features:

Two types of extension resources
Arduino Uno Revision 3 connectivity
STMicroelectronics Morpho extension pin headers for full access to all STM32 I/Os
On-board ST-LINK/V2-1 debugger/programmer with SWD connector
Selection-mode switch to use the kit as a standalone ST-LINK/V2-1
Flexible board power supply
USB VBUS or external source (3.3 V, 5 V, 7 - 12 V)
Power management access point
User LED (LD2)
Two push buttons: USER and RESET
USB re-enumeration capability: three different interfaces supported on USB
Virtual Com port
Mass storage (USB Disk drive) for drag’n’drop programming
Debug port”

Link to article