Saturday, July 7, 2018



RESISTOR
                  

  Hello friends, today in this article I will explain what is resistor and how to use them in your circuits and we will also discuss about the Resistive loads and some practical examples which we use them in our day today life.

Resistor are used everywhere starting form the small circuits to integrated circuits like IC’s even our computers processor has thousands of resistors. Even the wire which we use for connection purpose has resistance of 0.001 ohms its actually depends on the length and the radius of the wire but super conductors there are special they have zero resistance under suitable conditions.




What is a resistor?
           The word resistor means it resist something ,i.e not allowing to pass through or blocking the passage. In electronics its used to limit the current. Resistor is a current limiting device.it has two terminals, it limits the flow of current by dissipating excess energy in the form of heat. They are often use in electronics for current limiting, Transistor biasing, feedback loops, potential divider etc.

This is the image of a virtual resistor.






Various types of resistor which I have collected so far

 Making your own resistor (DIY resistor):
                   Friends we can make our own resistor by simply wounding a copper string or any other type of conductor over a non-conducting core (insulator). I have tried to make on but finally I found it’s a total waste of time. It’s better to buy a new one.

  DIY (do it yourself) resistors have several disadvantage.
     It consumes our precious time. (1 kilo ohm resistor would requires nearly 100-1000 turns or more depending up on the wires diameter and conductivity of the material)
     By making one DIY resistor you are not gone save money. Material cost will be much        
higher than actual resistor.(In India 1 resistor is lesser than 1 rupees).
But you can make resistors with 10-30 ohm with high wattage (10-50).

I had a 2.2ohm 10 watt resistor when I break it I got this





The broken one consist of 14 windings of conducting wire, conductor type and diameter of wire is very important while designing a resistor. You can use old stuff to make resistor of your own for high watt resistor you need a conductor which has large diameter but for that u have to wind 50 turns.
This DIY resistor is only recommended in case u cannot get certain wattage resistor in your local 
shop. Know a day’s you can get all you want through online stores. At low cost.

Types of load:

Loads are broadly classified into inductive load, capacitive load, last but not the least resistive load. 
Today our topic is resistor so lest see what is resistive load.

Resistive load:

Know a day’s resistive loads are not used because of its poor efficiency. Resistive loads just consist of a resistor. If you are not familiar with a resistive load here some example which shows what are the 
resistive load which we use in our house.

Example 1:
Light bulb

 We are familiar with a light bulb and where it is used but have you ever imagined how efficient it is. Well I will show how efficient they are before that lets have a look at the old style light bulb.


It this type of light bulb electricity is made to flow through the thin wire which is called the filament.


When current flows through the resistor energy is dissipated in the form of heat. When a metal becomes hot its start to glow.


This principle is used in this electric bulb but another question arises when metals like iron, silver, Gold will melt at high temperature. Because this drawback they use tungsten material because they can handle high temperature without melting. This thin wire are protected under a glass shell in order to protect the filament and to prevent it from reacting with air. Generally they are less reactive when compared with copper and other metals.

Example 2:
          Old style water heater, iron box hair dryer etc. Still most of the iron box uses the same principle. They use Nichrome wire as heating element.


this contains nichrome wire which gets hot and so hot air comes out of it.

Nichrome wire are unique they have high resistance when compared to other metals. This image shows the resistance of a Nichrome wire of 1 meter length. (1 meter = 100 cm).






If you want to check the resistance of any conducting wire use your multimeter and adjust it for measuring resistance. As shown in this image.

Example 3:
     If you really love electronics you might have some soldering irons lying around I got three of them and tried to make one DIY soldering iron. Look at this image. My DIY soldering iron is not good but its works.



Even this irons uses nichrome wire.

How to use a resistor?

 As we know resistor is used to limit current. If I want to add a current limiting resistor to a led circuit. Then I have to do some calculations for inserting a proper resistor if your resistor value is too high then your led will not glow sometime it will glow dim. Similarly when resistor value is low then   led will be destroyed.

I had a 1 watt led which is operated at

V = 3.6 volt (led voltage)

 Power = 1 watt




We know voltage and power consumption of this led, but still current value is unknown let’s make use of ohms law to determine the current consumption of the SMD led.

Current    I = power/volt
              
                  = 1/3.6
              
                  = 0.2777 Amp

To determine the resistance which to be added when the supply (source is 5 volt)

5 V (power source) – 3.6 V (led voltage) = 1.4 V

1.4 volt is the excess voltage which we have to remove by adding suitable resistor.

Using ohms law

                  V=I*R

Where,
             
                        V = excess voltage (1.4 volt according our problem)
          
                         I = led current (0.277 Amp)
            
                       R = unknown

Let’s get started

              V = I*R
         
            1.4 = 0.277(This flows through the resistor)*R
          
              R = V/I = 1.4/0.277
                    
                  = 5.05 ohms

This 5 ohm resistor will remove the excess 1.4 volt which is not required but actually they limit the current but due to the proportionality voltage reduces.

Note: standard resistor can handle load of around 0.25 watt but our led is 1watt. Or simply we must use a resistor which can allow 0.277 amps to pass through standard resistors can only allow 0.25 amps its recommended to go for 1 watt resistor or even higher.

Resistance of a resistor depended on colour code.



When you see a resistor they have some ribbons with different colour. Each colour determined its resistance value if we know the colour chat of the resistor then it will be easy for us to determine the resistance of a given resister

Schematic of a simple led circuit is given.


Here is the bread board circuit

In this image I used a white led with proper resistor. Similarly we can design resistor for our circuits.

In this above images I have used some other components like led, regulator, Push button. I will make a separate blog/video to explain they basic operating principle.

In my breadboard circuit I used a 5 volt regulator to regulate the output voltage to 5 volt which is obtained from 9 volt battery. 5 ohm resistor is not a standard resistor so I used two 10 ohm resistor in parallel ( In many cases we much use standard resistors because resistors like 8.2 ohm,69 kilo ohms are possible so we have to buy approximate standard resistor)
 In future I will explain the series and parallel connection of resistors, capacitor, inductors, power supply batteries etc.




First you must learn to how to calculate the resistance of a resistor from the resistor colour code that information is not available here but my youtube video will help you to understand this stay cool I will explain everything in my youtube video.
So friends I hope my blog was useful keep supporting me so I can make awesome videos/blog post for you.

What’s next?
  In my next blog I will explain what is a capacitor, workings, and there applications in practical circuits.



DOWNLOAD SIMULATION FILE






Watch my youtube channel ”ANK LABS”



you can learn the basic of electronics and there components, labview software, some awesome electronic project .additionally I will upload some videos some the internships and implant training which I have attended so far.











Tuesday, June 5, 2018




LabVIEW – BOOLEAN CONTROL AND INDICATOR

In my previous blog I gave a short intro about LabVIEW and how make our own program using LabVIEW.

Today we are going to learn “how to make front panel attractive by changing the colour of Boolean control and indicator.

It’s necessary to understand what is control and indicator and how to identify.

 Let’s get started.


CONTROL - INPUT
Controls are used to control the functions, by providing input  to the controls in case of a push button(Boolean control) only two type of signal or command can be provided as input to the functions “ON”and”OFF”(HIGH and LOW)





If you see deep inside the LabVIEW control icon in Block diagram window the arrow mark on the icon moves outward.
This image shows the control icon, well I tried to present in the best way as I can.
LabVIEW has disadvantage regarding Enlargement of functions in Block diagram window. That means we cannot zoom functions in Block diagram window.




Similar to a Transmitting Antenna (half duplex mode) LabVIEW controls is used to send data to the functions.


INDICATOR – OUTPUT
Indicators are used to display the output of a function.
Boolean control uses led for Indication. When the output signal is 1 or HIGH the Led glows. Or else led is in OFF state.





Indicators are only for Indication (Boolean) where as other indicator such as Numeric, Array, String. They display Numeric values, Array elements, and strings.
If you see deep inside the LabVIEW indicator icon in block diagram window the arrow mark on the icon moves inside.




Know we are clear with controls and indicator. I would like show all controls and indicator present in Boolean function




In this above image all controls and indicators are attractive and colour full well you can also use this trick for your LabVIEW project.

Steps to Change Colour for Boolean controls & indicators

Let’s use Boolean controls and indicator. We can also use the same for other types or control and indicators.

Step 1 : Place your Boolean control (push button).




Step 2 : Right click on your target control or indicator (push button).
   


Step 3 : Left click on properties.



Step 4 : A Boolean properties window appears on the screen.



Step 5 : We can see the coloring option which contain two empty boxes
On color  and
Off color
Left click “On color” a color pallet appears choose one of them. For example I choose red color so when button is ON it’s appears in red color.



Step 6 : Suppose I am changing the state of the button from ON to OFF condition. Button comes to its original colour because no colour assigned for off state.



Step 7 : Left click “OFF colour” a colour pallet appears which assigns colour for the button when it’s in off state. Here I choose blue colour.



Step 8 : In Boolean property window “show Boolean text “check box is available. Which displays the present state of the push button/led. Text colour can also be changed.


Boolean indicators can also be color by following above procedure.

Well friends this tutorial ends here if you still have problem in understanding watch videos in my youTube channel “ANK LAB”.my channel link is given below.
  
If you like my blog and my youtube videos don’t forget to like share comment and subscribe. Support my blog and my channel so that I can come up with new ideas.

What’s next?

In my next blog/youtube video I will explain different type of Boolean functions and how to use then (practical demonstrations also included)
Well some time in my blog/ videos I may split up in two or more sub-topic to make content sort and simple. Stay with me and support me. Feel free to ask questions.


LabVIEW program file
 Download






 Friends don’t forget to like, share and subscribe.

Saturday, May 26, 2018



                                               
LABVIEW


What is LabVIEW?
LABVIEW ⇛   Laboratory Virtual Instrument Engineering  workbench.                       
Ø  LabVIEW is a graphical programming language that uses icons instead of lines of text to create applications.
Ø  When compared with text-based programming languages that use instructions to determine the order of program execution, LabVIEW uses dataflow programming.
Ø  In data flow programming, the flow of data through the nodes on the block diagram determines the execution order of the VIs and functions.
Ø  VIs, or virtual instruments, are LabVIEW programs that imitate physical instruments.
Ø  LabVIEW code files have extension “.vi’’, which stands for “virtual instrument”.
Ø  They also offer additional Add-ons and toolkits.
Ø  The graphical program is names “G” .Originally lunched for the Apple Macintosh in 1986.
Let’s have a look at LabVIEW image.

⇔ Integrate Hardware            Visualize Data     ⇔   Accelerate Engineering.
LabVIEW is commonly used for
ü Data Acquisition (Acquire data from instruments)
ü Instrument Control (Control instruments and equipment)
ü Industrial Automation

LabVIEW for Engineers:
§  LabVIEW makes it possible to bring the data /information Form the outside world and to perform calculations based on the acquired data.
§  The processed data is sent back to the real world so that equipment/device produces favourable output, with respect to the given input.

   Cool features of labVIEW:
v  People with limited coding experience can develop labVIEW program. (for example take me, I am not a LabVIEW professional but I help others by sharing my knowledge.)
v  Fast and extensive hardware integration.
v  Graphical approach of programing.
v  Parallel programing.
v  Add-ons to improve and simplify your task.
v  LabVIEW programing software is easily available.
v  Examples program help us to understand programs and there functions.

LabVIEW Versions:
Base package                                  ♧       Reduced mathematical functionality.
Full package                                   ♧      Complete set of mathemathical functions.
  Student Edition                  ♧    Full package with a watermark in the lower right corner.
Professional package         ♧   we can create stand-alone applications.
NI Developer suit               ♧   Include extra add-ons and toolkit.

 Construct a simple program using Labview:
Ø 
Start your labVIEW using start menu.
Ø  Start menu      ↠     All programs       ↠    National instruments LabVIEW.
Ø  Now a days people use windows 10 which makes easy to lunch LabVIEW you have to just search it or just use the shortcut icon which is available on your desktop.

Ø  This image shows how to lunch LabVIEW
Ø  Once u open LabVIEW you can either create a new project or open the existing project which you might program in future.



Ø  LabVIEW programs are called VI’s.
Ø  Let’s start, use shortcut “Ctrl + N” to create a new project.


Ø  While programing I prefer to split your screen into two as shown.
Ø  Use “CTRL + T” to make both the windows parallel.

Ø A LabVIEW VI has two main parts:
                                I.            Front panel – which displays the control ( Knob, Button, graph, etc.) and represents the Graphical interface for VI.
                              II.            Block diagram – holds the programming elements called Blocks functions or sub Vis, there are wired together to build the Graphical program.
Ø  Right click inside the front panel to open control palette.

Ø  Next click numeric to place Numeric control and Numeric indicator.

Ø  Control – input.
Ø  Indicator – output.
Ø  Right click inside the Block diagram.

Ø  Next click numeric and place “add” (for adding two number) icon.

Ø  For addition we need two integers for adding so you need to place another control.


Ø  Finally wire them all to make your own program which can add two numbers.

Ø  There is no need to compile you have to just run it using “run button”.



Ø  If your program contains error you will see a broken arrow.


Ø  When your program is free from error desired out will be obtained.
Ø  Indicator will display your output.
Ø  Press “Ctrl + U” to make the program sketch cleaned up I mean to make it Professional.

      I would like to finish this tutorial. Wait for my next blog, In my next post I will
Teach you how to use Boolean function. For simplicity I will upload the same on youtube.


LabVIEW program file
 Download


 Friends don’t forget to like, share and subscribe.