Kristjan Berce
Published © GPL3+

Smartphone-Controlled Helmet with LED Turn Indicators

Connect your smartphone to your helmet over Bluetooth and use turn indicators on your helmet by tapping a button on the screen!

IntermediateShowcase (no instructions)3,938
Smartphone-Controlled Helmet with LED Turn Indicators

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
×2
Resistor 2.21k ohm
Resistor 2.21k ohm
×1
Resistor 1k ohm
Resistor 1k ohm
×1
LED strip with 3 segments
×2

Software apps and online services

HelmetApp

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

Schematics

Code

helmet_indicator.ino

C/C++
int value = 1;

void setup() {
  
  pinMode(3, OUTPUT);
  pinMode(11, OUTPUT);
  Serial.begin(9600);
}


void loop() {


  // Apk sends 0 if right button is pressed, 2 if left and 1 if stop
  if(Serial.available()){
    value = Serial.read();
  }
    
    if(value == 0){
       digitalWrite(11, HIGH);   
       delay(700);              
       digitalWrite(11, LOW);   
       delay(700); 
    }
    if(value == 2){
       digitalWrite(3, HIGH);   
       delay(700);              
       digitalWrite(3, LOW);    
       delay(700); 
    }
    if(value == 1){
      digitalWrite(3, LOW);
      digitalWrite(11, LOW);   
    }
  }

Credits

Kristjan Berce

Kristjan Berce

1 project • 1 follower

Comments