Introduction: Brain Inside (Intel IoT)
Brain Inside is a smart helmet built within 24 hours using Intel Edison at Intel IOT Roadshow. It’s designed for Motorcyclist’s safety.
It has features like
• Auto Turn Indicator
• Alert on Accident
• Light sensing lamps
• Auto Brake Indicator
• Auto Navigation
Step 1: What You Need
To create the smart helmet you need:
- Intel Edison
- Breakout Board
- Accelerometer,
- LED strips or LED Bar
- Single LED
- Buzzer
- Light sensor,
- Proximity sensor
Connect these to the Edison and enable Wi-Fi on the Edison.
Next is the code...
Step 2: Running the Solution
Take the code in Step 3 and copy it to the Edison using vi or any other editor of your choice.
To run the code use NodeJS to execute the JavaScript file.
like
node SmartHelmet.js
Code dependencies:
- MRAA (included in Edison image)
- http
- fs
Adding Email alerts:
In the place where we detect accident, you can insert the Email sending code from SendGrid.
Step 3: Code (SmartHelmet.js)
Attached is the code for running the helmet solution.