Friday 5 August 2016

Ultrasonic Range Meter

                                  Ultrasonic Range Meter

     
                  In this project, a Portable Ultrasonic Range Meter is designed which can be used to measure distance of a target in non-contact fashion. The project is based on Arduino, Ultrasonic Sensor and an LCD display.

Description: In this technique, a high frequency sound wave is transmitted by a transmitter and the reflected echo from a target is captured by a receiver.

As the velocity of the sound wave is known, by measuring the time of travel, the distance between the source and the target can be calculated.
Depending on the frequency of the sound wave, the SONAR can be either Infrasonic or Ultrasonic. Ultrasonic sensors produce sound waves with frequencies higher than the audible range (20Hz to 20 KHz) i.e. greater than 20 KHz. In case of an infrasonic sensor, the frequency of sound wave is less than 20Hz.

Hardware Required:

  • Arduino Uno
  • Ultrasonic Sensor HC-SR04
  • 16X2 LCD Display
  • 10KΩ POT

Circuit Diagram:


Code:


 #include <LiquidCrystal.h>
#define trigPin 10
#define echoPin 13
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
  pinMode(trigPin, OUTPUT);

  pinMode(echoPin, INPUT);

}
void loop() {
  float duration, distance;
  digitalWrite(trigPin, LOW);
  delayMicroseconds(2);

  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);

  duration = pulseIn(echoPin, HIGH);
  distance = (duration / 2) * 0.0344;

  if (distance >= 400 || distance <= 2){
    lcd.print("Out of range");
    delay(500);
  }
  else {
    lcd.print(distance);
    lcd.print(" cm");
    delay(500);
  }
  delay(500);
  lcd.clear();
}



That's the end of this cool project session. Hope you liked it. If you think it was good, then do comment and share this post and do post your pictures if you have made them. Do not forget to comment or ask any questions if you have any doubt.And stay tuned for my next cool posts on electronics ;)
Thanks for watching :)

Bubye...take care and all the very best to all.

Friday 25 March 2016

How to make a led VU meter..!!!!!



                                            LED VU METER

This is a cool LED project I am undertaking. The heart of this project is using the LM3915N (or similar) LED driver. Once completed this can be connected to your sound card or can be connected via a 3.5mm jack for some really cool effects to light up your room. I connected this via 2x4.5v rechargeable battery.
                   Lets 1st get to know more about this cool projects,that what exactly is this vu meter and how does it works.

DESCRIPTION:We can consider the Volume Meter as an Equalizer, which is present in the Music systems. In which we can see the dancing of lights (LEDs) according to the music, if the music is loud, equalizer reaches to its peak and in low music it remains Low. We have built a Volume Meter or VU meter, with the help of LM3915, which glows the LEDs as per strength of the sound, if sound is low, lesser LEDs will glow, and if sound is High more LEDs will glow, check the Video at the end ,I will provide you the link. VU meter also serves as a volume measurement device.

COMPONENTS REQUIRED:

1. 20LED'S(red,blue,green,yellow)
2. LM3915 IC
3.10K pot
4.1k resistor
5. Power supply 5v or 9v(battery)

Leds VU meter





PIN CONFIGUARATION(LM3915):

CIRCUIT DIADRAM:



AFTER COMPLETION:



So you're done making your own music reactive color changing lights! Now you just have to connect it to an audio device, play some good music and watch the lights glowing in the dark changing their colors with every beat.Your friends would surely be jealous with such a cool thing!
This makes the end of this post. Hope you liked it. Please share if you think it was awesome. Don't forget to follow for more cool projects!
You can even follow my facebook page https://www.facebook.com/technoboticss/?ref=bookmarks 
And for the video demonstration you can subscribe to my youtube channel https://www.youtube.com/channel/UCW4PLi-ObJt3m6YTSEQY3gw

THANKYOU..!!!!!
Bubye take care and STAY CREATIVE ;)

Wednesday 24 February 2016

How to make your own homemade amplifier by using LM386

                        PORTABLE SPEAKER

uuhhmm....an amplifier,i think is quite interesting while making an amplifier which gives us maximum output.


so why not we all should make it by our own :)


Speakers can be a better and awesome option to listen together. But the problem comes when you have to carry those large, bulky speakers in your suitcase or backpack which should not be a good idea. They are expensive and need to be plugged to an external power supply which is not available everywhere. Portable speakers can be a better option but they are too expensive and some of them do not have that loud and clear sound. Why don't make your own portable- battery operated and solar powered speakers that has sound much louder and better quality than normal portable speakers? This post will guide you the same thing.

So i will show you all the steps that required to make an amplifierby using LM386.


SO LET'S GET STARTED.......................


First of all you all must know about the IC which we are going to use for making the amplifier.


LM386 is a low voltage audio amplifier and frequently used in battery powered music devices like radios, guitars, toys etc. The gain range is 20 to 200, gain is internally set to 20 (without using external component) but can be increased to 200 by using resistor and capacitor between PIN 1 and 8, or just with a capacitor. Voltage gain simply means that Voltage out is 200 times the Voltage IN. LM386 has a wide supply voltage range 4-12v. Below is the Pin diagram of LM386.


3.5mm audio jack.

Audio Amplifier LM386 Pinout

Parts:

  1. 1xLM386
  2. 1x10k pot
  3. 1x220 or 250uf capacitor
  4. 0.05uf capacitor
  5. 1x10uf capacitor
  6. 1x10ohm resistor
  7. 1x3.5mm jack
  8. speaker (4 to 16ohm)


Circuit Diagram:



The input is given to the audio jack wire.
The 10k pot is used to control the volmume.



NOTE: Do not increase the value of capacitor more than 10uf which is connected between 1 and 8


Finally this brings this post to an end. Enjoy the sound of your own do it yourself speakers while traveling or camping. Use it to watch movies on your laptop or your mobile at night with high quality and loud sound.
If you have any doubt related to this project or found an error, feel free to comment or ask a question. Do post your pictures if you've made one yourself or did some modifications.
So that's it for today,hope you all like it.
Stay tuned for my next post.
Thankyou very much:)
good bye take care :) 

Sunday 21 February 2016

Led name plate using 4017 and 555timer ic



https://www.youtube.com/channel/UCW4PLi-ObJt3m6YTSEQY3gw

How to get started with electronics..!!!!

            5 BREADBOARD PROJECTS FOR BEGINNERS


Here are the parts required for all the mentioned projects. Some of them can be removed if you don't want to attempt all the projects. The total cost of all the parts is around $5 or 300 INR which varies according to the store of website you buy the parts from.If you live in mumbai then you may buy it from lamington ;)
STEP1:PARTS:

1) ICs:

• 1x UM66
• 1x 555 timer
• 1x 4026
• 1x 4060

2) Transistors:

• 3x bc547 or 2n2222 or 2n3904
• 1x bc557

3) Resistors:

• 1x 220 ohm
• 1x 33K
• 1x 47K
• 2x 1M
• 1x 100K
• 1x 4.7K
• 1x 680 ohm
• 1x 470 ohm
• 1x 2.2K
• 2x 1K

4) Capacitors:
• 2x 10uf (electrolytic)
• 1x 100uf (electrolytic)
• 1x 100nf (non- electrolytic)
• 1x 10nf (non- electrolytic)
• 2x 1nf (non- electrolytic)

5) Miscellaneous:

• 2x 1.5v AA or AAA batteries
• 1x Battery holder
• 1x 9v battery
• 1x 9v battery holder
• 1x Toggle switch
• 1x 8 ohm speaker
• 1x IR receiver (TSOP)
• 6x LEDs
• 1x LDR
• 2x 1n4148 or 1n4001 diodes
• 1x 50K or 47K potentiometer
• 1x Momentary push button
• 1x 7 segment display
• 1x Breadboard
• Hookup or jumper wire

TOOLS:
  • Wire cutter/stripper
  • Pliers
  • Breadboard power supply  


STEP 2:KNOW YOUR BREADBOARD.


breadboard is a construction base for prototyping of electronics. Originally it was literally a bread board, a polished piece of wood used for slicing bread. In the 1970s the solderless breadboard (AKA plugboard, a terminal array board) became available and nowadays the term "breadboard" is commonly used to refer to these. "Breadboard" is also a synonym for "prototype".
Because the solderless breadboard does not require soldering, it is reusable. This makes it easy to use for creating temporary prototypes and experimenting with circuit design. For this reason, solderless breadboards are also extremely popular with students and in technological education. Older breadboard types did not have this property. A stripboard (veroboard) and similar prototyping printed circuit boards, which are used to build semi-permanent soldered prototypes or one-offs, cannot easily be reused. A variety of electronic systems may be prototyped by using breadboards, from small analog and digital circuits to complete central processing units (CPUs).
Remember the top rows and bottom to rows are veryically shorted.The middle one's are vertically shorted.Please refer to the diagram.

STEP 3:MAKE A PERMENANT POWER SUPPLY THROUGHT THE PROJECT


The black wire connection is for ground and redone is for +vcc(supply)

STEP 4: MAKE A SIMPLE LED CIRCUIT


Make the connection as per the circuit.And remember the shorter leg of led is cathode and longer one is anode.
Always use a resistor in led circuitary,if you don't then the led will blow up :(
so in our case we use 1k resister across led and supply.

STEP 5: PROJECT NO-1 MUSICAL BELL


Parts List:

• 1x UM66 ic
• 1x bc547
• 1x 1K resistor
• 1x 8 ohm speaker
• 2x AA or AAA batteries
• 1x Battery holder
This project can be easily done in 5minutes.The ic UM66 is a melody ic.It has abuilt in oscillator and amplifer which can drive a buzzer.
NOTE:Do not exceed power supply more than 5volts.So you can use 2 AA battries.

STEP 6: PROJECT 2-IR REMOTE TESTER
UUmmm a remote tester...haa..I hope you all find this one more intresting.
so lets get started......

Parts List:

• 1x IR receiver (TSOP) 
• 1x bc557 transistor 
• 1x 10uf capacitor 
• 1x 1K resistor 
• 1x 220 ohm resistor 
• 1x LEDPicture of Project 2: IR Remote Tester
Ir remote tester_schem.pngDSC04169.JPG
DSC04161.JPG

NOTE:Use a 6v battery instead of 9v,as TSOP can handle only 6v.If you use 9v then you may damage your TSOP ;(

STEP 7:PROJECT 3-THE FADING LED

As the name already tells, this project fades an led high and low. This is done through the capacitor that is added on pin 3 which repeatedly charges and discharges producing a fading effect which is quite pleasing to see than to think.
SO LETS GET STARTED.......;)


Parts List:
  • 1x 555 timer ic
  • 1x bc547 transistor
  • 1x 33K resistor
  • 1x 220 ohm resistor
  • 1x 100uf capacitor
  • 1x LED
Picture of Project 5: The Fading LED
up down fading led_schem.png
Description:The 555 timer IC is an integrated circuit (chip) used in a variety of timer, pulse generation, and oscillator applications. The 555 can be used to provide time delays, as an oscillator, and as a flip-flop element. Derivatives provide up to four timing circuits in one package.

NOTE:Use a 470 ohm instead of 220 ohm connected to the LED for better results.



STEP 8:PROJECT 4-KNIGHT RIDER

This project is one of my favourite,as by using this I have made a LED HEART CHASER for my nephew.I will provide you that video demonstration down the project.
You can even make a name plate of your own by using this circuitry.
SO LET'S GET STARTED.....

Parts List:
  • 1x 555 timer ic
  • 1xCD4017 ic
  • 1x0.1uf capacitor
  • 1x2.2uf capacitor
  • 1x1k resistor
  • 1x33k resistor
  • 1x47k potentiometer(pot)
  • 10leds 
DESCRIPTION:4017 is a CMOS decade counter cum decoder circuit which can work out of the box for most of our low range counting applications. It can count from zero to ten and its outputs are decoded. This saves a lot of board space and time required to build our circuits when our application demands using a counter followed by a decoder IC.This IC also simplifies the design and makes debugging easy.

In this circuit the output of the 555timer ic goes to the clock of the 4017ic due to which pulse is generated at the pins 3,2,4,7,10,1,5,6,9,11 respectively.
The 47k resistor is use to control the speed of the led
NOTE:Connect the 10 leds carefully as shown in the diagram.
GOTO THIS LINK TO SEE HOW THE LED HEART CHASER WILL LOOK:     https://www.youtube.com/watch?v=_v3wi-c2cxc 
GOTO THIS LINK TO SEE HOW THE NAME PLATE LOOKS LIKE: https://www.youtube.com/watch?v=St72-txslzE

STEP 9:PROJECT 5-DARK ACTIVATED LED

In this project you will learn how does a led glow automatically in darkness.
In this project we use a LDR(Light Dependent Resistance) which detects the darkness and make led glow ;) .I thing its really cool to do that....
SO LET'S GET STARTED..............

Parts List:
  • 1x 555 timer ic
  • 1x 10K resistor
  • 1x 100K resistor
  • 1x 220 ohm resistor
  • 1x 100nf capacitor
  • 1x 10nf capacitor
  • 1x LDR
  • 1x LED

Picture of Project 7: Dark Activated LED
dark led_schem.png


DESCRIPTION:The 555 timer is triggered when ldr receives low light making the output high and switching on the led while when more light is detected, the output becomes low switching off the led. This type of circuit is used in automatic street lights that switch on automatically when it turns dark.

LDR: A photoresistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity.



That's the end of this cool project session. Hope you liked it. I had no idea about the response of people to this post. I assure you if it will be good, I would make another post on it. If you think it was good, then do comment and share this post and do post your pictures if you have made them. Do not forget to comment or ask any questions if you have any doubt. And stay tuned for my next cool posts on electronics ;)
Thanks for watching :)
Bubye...take care and all the very best to all.