Things used in this project

Hardware components:
A000066 iso both
Arduino UNO & Genuino UNO
×1
Bluetooth module hc05
×1
09590 01
LED (generic)
×1
Mfr 25fbf52 221r sml
Resistor 221 ohm
×1
1434509556 android phone color
Android phone
×1
Software apps and online services:
Ide web
Arduino IDE
Android Studio

Code

BlinkArduino
char data = 0;                //Variable for storing received data
void setup() 
{
  Serial.begin(9600);         //Sets the data rate in bits per second (baud) for serial data transmission
  pinMode(13, OUTPUT);        //Sets digital pin 13 as output pin
}
void loop()
{
  if(Serial.available() > 0)  // Send data only when you receive data:
  {
    data = Serial.read();      //Read the incoming data and store it into variable data
    Serial.print(data);        //Print Value inside data in Serial monitor
    Serial.print("\n");        //New line 
    if(data == '1')            //Checks whether value of data is equal to 1 
      digitalWrite(13, HIGH);  //If value is 1 then LED turns ON
    else if(data == '0')       //Checks whether value of data is equal to 0
      digitalWrite(13, LOW);   //If value is 0 then LED turns OFF
  }                            
 
}
Upload the given sketch to Arduino using the Arduino IDE software, you can also get it from here: Github

ST

Credits

Qqc9bqszcnazzcqrlmfs
ADAM PHILIP

STUDENT Beginner Level

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

16x2 LCD backpack with enclosure for the Onion Omega
Intermediate
  • 354
  • 5

Work in progress

This is a 3D printable backpack module using ATmega328 that includes an enclosure for all the components. It allows the LCD to be online.

Arduino Traffic light controller
Intermediate
  • 481
  • 10

Protip

Green yellow red LED controller using arduino

Arduino alarm system
Intermediate
  • 666
  • 12

Protip

A simple alarm system using arduino

NeoMatrix Arduino Pong
Intermediate
  • 658
  • 10

Full instructions

Use an Arduino NeoPixel matrix to create a simple 1 player pong game!

Spideruino
Intermediate
  • 2,973
  • 25

A Lego arachnid controlled by your smartphone.

Robotics LED Strip
Intermediate
  • 23
  • 1

Full instructions

Use an LED strip with a custom Arduino Nano controller to control a strip of WS812 LEDs.

ProjectsCommunitiesContestsLiveJobsBetaFree StoreBlogAdd projectSign up / Login
Respect project