soicalwork12
Published

Wireless Serial Monitor

We cannot use wire connection for Arduino to get data from sensor. for example any circuit from Arduino IC(ATmega328p)

IntermediateFull instructions provided4,708
Wireless Serial Monitor

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Male/Male Jumper Wires
×10
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Custom parts and enclosures

You can make on the bread board

You can make on the bread board.Because you have to remove it for making the different Project

On bread Board

Schematics

Ultrasonic sensor

Part-1

Bluetooth Module

Part-2

Final Circuit

Part-3

Code

Code

Arduino
Normally it is interfacing of Ultrasonic snesor
const int trigPin = 9;
const int echoPin = 8;
long duration;
int distance;
int HIGHT;
int Final_Hight;
int HIGHT_IN_FOOT;
void setup() 
{
pinMode(trigPin, OUTPUT); 
pinMode(echoPin, INPUT); 
Serial.begin(9600); 
}
void loop() {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance= duration*0.034/2;
Serial.print(" CM= ");
Serial.print(distance);
delay(1000);
}

Credits

soicalwork12
0 projects • 2 followers
Contact

Comments

Please log in or sign up to comment.