EEE World

EEE World ♦ (EEE World) Electrical & Electronic Engineering World
♦ Page creator:www.facebook.com/biddut
?

📌 Download PDf on Working of Braking System:
25/10/2021

📌 Download PDf on Working of Braking System:

Following are the types of braking system used in automobiles: 1. Mechanical braking system 2. Power braking system 3. Vacuum braking system

19/02/2018
*****Arduino Project For Beginners******What is Arduino?        Arduino is a programmable circuit board that is used in ...
05/02/2018

*****Arduino Project For Beginners******

What is Arduino?

Arduino is a programmable circuit board that is used in many electronics and DIY projects worldwide. The company that sells Arduino says this is what Arduino is: "An open-source electronics prototyping platform based on flexible easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments."

The Project

This projects is sometimes called "blink." The object of the project is to make the built in LED of the Arduino to rapidly turn on and off. All you need for your project is your Arduino, a cord to connect the Arduino to the computer, and the Arduino software installed onto your PC.

Here Are the steps:

Connect your Arduino to your computer and open the Arduino Software.Go to "Tools" and then "Serial Port." Select the port your Arduino is plugged into.Type this code into the Arduino Software.void setup()

{

pinMode(13, OUTPUT);



}

void loop ()

{

digitalWrite(13, HIGH);

delay(1000);

digitalWrite(13, LOW);

delay(1000);



}

4. Select "Save" and call the project "blink."

5. Select "Verify." If it comes up all clear, skip to step 6. If it does not work, check the code for any mistakes.

6. Once you get it verified, select "Upload." A light on the Arduino should start blinking every second.

What The Code Means
The "void setup()" is telling the arduino that whatever is between the two curly brackets ( {} ), only preform the task once. The "pinMode(13, OUTPUT);" tells the Arduino to give an electric signal to pin 13 on the Arduino board. Pin 13 is the pin on your Arduino with the built in LED. The "void loop ()" tells the Arduino to preform the task between the two curly brackets over and over again. The "digitalWrite(13, HIGH);" tells the Arduino to turn on pin 13. The "delay(1000);" tells The Arduino to wait for one second. The "digitalWrite(13, LOW);" tells the Arduino to turn off pin 13. Then the "delay(1000);" tells the Arduino to wait for another second.

Have fun with this project!

04/02/2018

Next
Arduino Project For Beginners
Get ready guys..........

WATER LEVEL INDICATOR (Part 5)Step 5: Output :And after you have completed the project you should see the arduino displa...
04/02/2018

WATER LEVEL INDICATOR (Part 5)

Step 5: Output :

And after you have completed the project you should see the arduino display the water level on the LCD. You can an additional buzzer to let you know then the the water level reaches after certain threshold.

WATER LEVEL INDICATOR ( Part 4)Step 4: CodingThe code is quite simple and is quite similar to that as shown in the step ...
04/02/2018

WATER LEVEL INDICATOR ( Part 4)

Step 4: Coding

The code is quite simple and is quite similar to that as shown in the step 3 of this project, in addition we are now adding some more libraries to get the I2C LCD working. You can download the libraries form here. Make sure you have entered the right I2C address in the code, the default address of the I2C is 0x3f.

Copy and paste the below code into the arduino IDE and select the arduino nano and the right port and then hit upload.

ntered the right I2C address in the code, the default address of the I2C is 0x3f.

Copy and paste the below code into the arduino IDE and select the arduino nano and the right port and then hit upload.

"Wire.h" // For I2C
"LCD.h" // For LCD "LiquidCrystal_I2C.h" // Added library* //Set the pins on the I2C chip used for LCD connections //ADDR,EN,R/W,RS,D4,D5,D6,D7 LiquidCrystal_I2C lcd(0x3f,2,1,0,4,5,6,7); // 0x27 is the default I2C bus address of the backpack-see article

echoPin 3 // Echo Pin (OUTPUT pin in RB URF02) trigPin 2 // Trigger Pin (INPUT pin in RB URF02)

int led = 5; int maximumRange = 350; // Maximum range needed int minimumRange = 0; // Minimum range needed long duration, distance; // Duration used to calculate distance int brightness;

void setup() { lcd.begin (16,2); // 16 x 2 LCD module lcd.setBacklightPin(3,POSITIVE); // BL, BL_POL lcd.setBacklight(HIGH); Serial.begin (9600); pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); pinMode(led, OUTPUT); }

void loop() { // The following trigPin/echoPin cycle is used to determine the distance of the nearest object by bouncing soundwaves off of it. digitalWrite(trigPin, LOW); delayMicroseconds(2); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); duration = pulseIn(echoPin, HIGH); distance = duration/58.2; //Calculate the distance (in cm) based on the speed of sound. lcd.home (); // Set cursor to 0,0 lcd.print("The Water Level is"); lcd.setCursor (0,1); lcd.print(distance); // Custom text lcd.print("cm"); Serial.println(distance); // distance in cm brightness= map(distance,1,100,0,255); analogWrite(led, brightness); delay(1000); //Delay 50 ms }

04/02/2018

WATER LEVEL INDICATOR (Part 3)

Step 3: Connection of LCD:

The 16x2 LCD of Arduino is first soldered to I2C. I'm using an I2C driver this just to eliminate the messy and large number of jumper wire making a way to connect more sensors and output devices.The I2c got 4 pin to get the function of LCD done,where as the traditional LCD is having 12 pins.The brief description of the I2C pins are

Data line(SDA):This line or the transmission line of the I2C is used to transmit data from transmitter to the receiver.The character needed to be displayed on the LCD are transmitted through this line.

Clock line(SCL): This is a control line of the I2C which decides the rate at which the characters are transmitted just like the clock pulse in traditional flip flops.

I2C are connected as follows:

SDA pin is connected to the analog pin A5.

SCL pin is connected to the analog pin A4.

VCC pin is connected to the positive railing of the breadboard.

GND pin is connected to the negative railing of the breadboard.

we are done with the hardware, let's now get started with the Coding.

04/02/2018

Step 1: Tools and Components

For this project you'll need:

Arduino Nano
HC-SR04 Ultrasonic Module
LCD Display
LCD i2c
Bread Board
Hook-Up Wires
A container to hold water

Today l,ll show How to make WATER LEVEL INDICATOR .Introduction: Water Level IndicatorThe Arduino Nano is a small, compl...
04/02/2018

Today l,ll show How to make WATER LEVEL INDICATOR .

Introduction: Water Level Indicator

The Arduino Nano is a small, complete, and breadboard-friendly board based on the ATmega328 (Arduino Nano 3.x). It has more or less the same functionality of the Arduino Duemilanove, but in a different package.

This is a project which is based on the Arduino Nano and it's interfacing with other sensors. In this Instructable, I'll show you how to make a Water Level Indicator that measures the level of water in the tank and Displays it on an LCD screen.

So in this project I'll be using the HC-SR04 Ultrasonic Module to measure the Water Level and an I2C LCD to see the water level in cm.

Address

Dhaka
1320

Telephone

+8801856662323

Website

Alerts

Be the first to know and let us send you an email when EEE World posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The University

Send a message to EEE World:

Share