Hello everyone!! Welcome to this post on Arduino Projects!!
Need a short introduction to what the Arduino is then click on LINK
Check out the breadboard intro right HERE
In this project I used the HC-05 Bluetooth Module to turn LED on/off. I made an App through MIT App Inventor too!! Wahhh!! So much awesomeness!!!
Demo:
This is how my project is like:
Things Required:
- Arduino UNO
- Jumper Wires
- LED
- 330 ohm resistor
- HC-05 Bluetooth Module
- Arduino IDE on computer
- MIT App Inventor (It’s superr cool!)
Reference Material:
- So I referred to this video for this project: (LINK)
Code:
View on/ Download from Github: (LINK)
char ins=0;
int led=8;
void setup() {
pinMode(led, OUTPUT);
Serial.begin(9600);
}
void loop() {
while(Serial.available()>0){
ins= Serial.read();
Serial.print(ins);
Serial.print("\n");
if(ins=='1'){
digitalWrite(led, HIGH);
}
else if(ins=='0'){
digitalWrite(led, LOW);
}
}
}
Stay Tuned for upcoming posts on Arduino Projects! Want to be the first to know when a new and amazing post comes up?? Then feel free to subscribe!
Happy Learning!!
