Friday, November 11, 2011

List of Books- softcopy available

Books available click here to see the list:

PS:Don't request a book in Mail.

Wednesday, October 12, 2011

Online passwords how and where?

         I was hearing an incident of hacking of email password of one of my colleagues in the office.He used his email password as his account password with a music site. The hacker hacked his email password.I thought to write about it as many people also not aware of some facts in online surfing. 

In on-line browsing your email id is your identity. It is unique.Never trust an email id unless you have exchanged id  physically or any other secure communication. 

In online world, we have two kinds of accounts. One is account with mail service providers and one with other service providers. The gmail,yahoomail,hotmail...etc are email accounts, where as accounts with ebay,railway booking,ksrtc booking,any music site account...etc  are service accounts. The service account is not at all to give an email id which you can share with your friends/colleagues or add to office data. However, they allow specific communication with respect their service is concerned.

Generally, service accounts ask you to register first time. You need to have email id and and other info. Along with this info, you need to enter password. Which one will you enter ? or email password or something new password?.

Never ,ever enter your email account password. I hope,we hope,every one hope that email accounts providers will not cheat us. They will not take our account data.Hence,email id are unique identity in the virtual world of INTERNET.

Since we are registering same email id with many service accounts and (with email)password, if any fake service account provider hack our email we can not access email account and or any service account any more.

The lose of  your email account is not a simple lose ! In order to make you clear,please note that email account creation needs more information than your service accounts. If your account is used by any one for illegal activities, you will be liable. So,we need to give importance to email accounts as same as we give it to SIM cards.

No bank can ask you any information through email.Such kind of mails are considered as spam. Just delete them or inform to your bank. but never respond.

Another big scandals of this day are online lottery announcement/fund transfer email.These kind of emails are very interesting to read and if you give attention to them you will loose lakhs of rupees.Always believe that  " No one can give you money freely in this world".

I hope this info is good to you.  


Friday, September 23, 2011

Udayavani Download-Perl Script

I always read Udayavani. I read Udayvani to understand the cultural and social face of Udupi. It is almost "pakka" that my permanent nest will be in Udupi. (extra to main topic)..

I read the paper online in the link: http://epaper.udayavani.com/. I had a problem here:After reading first page, I needed to wait sometime to download second page and so on. Most of the time I got irritate with this. In order to solve the problem, I used a small script which download the whole paper to the desktop directory.

Nb: There is nothing special in this code. Just(Junk) do it(JDI).

The perl code is here
#### New udayavani, with self date and directory of download.
###date 10/09/2011.

print "===================================\n
Welcome to Udayavani e-paper
\n===================================\n";

($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time);
$dd=$mday;
$mm=$mon+1;
$yy=$year+1900;
print "Date:",$dd,"-",$mm,"-",$yy,"\n";
print "\n===================================\n";

#=====Date conversion
if ($dd<10){
@day[0]=0;
@day[1]=$dd;
}
else{
@sdd=split(//,$dd);
@day[0]=@sdd[0];
@day[1]=@sdd[1];
}
#=== @day;

#==========month conversion;
if ($mm<10){
@month[0]=0;
@month[1]=$mm;
}
else{
@smm=split(//,$mm);
@month[0]=@smm[0];
@month[1]=@smm[1];
}
#===@month;
#=================year conversion;
@syy=split(//,$yy);
shift(@syy);
shift(@syy);
$date=@day[0].@day[1].@month[0].@month[1].@syy[0].@syy[1];
#print "\n\n", $date,"\n\n"; converted value.


#========download converion for links
@letters=split(//,$date);
$date_part="2011-".@letters[2].@letters[3]."-".@letters[0].@letters[1];
$j=0;
for($i=1;$i<17;$i++){
if($i<10){
@letters[9]=0;
@letters[10]=$i;
}
else{
@letters[9]=1;
@letters[10]=$j;
$j=$j+1;
}
#print @letters,"\n";
$pageName=join("",@letters);
$pageName="Man".$pageName."M.pdf";
$link="http://epaper.udayavani.com/PDF/MANIPAL/".$date_part."\/".$pageName;
print $link,"\n";
#print $pageName;
system("wget --directory-prefix=/home/venkat/Desktop/Udayavani $link");
}

====end of the code =====

Thursday, September 8, 2011

Audio Volume-In noisy environments

Hello,
While roaming with Motorola s305 stereo headset, I conceived an idea!
Many times, we need to be in different environments/surroundings where noise level is not constant. If we are listening music in the cool surroundings the volume of the audio may be 5% of the maximum, however, if we are in market area we may need to raise it to 100%.

Since surrounding noise(also called as ambient noise) greatly influence on the volume of audio we like to have. My idea is why we should not design a volume controller such that volume of audio automatically increases or decreased depending on the ambient noise level ?  

There is some kind of technique called ANC-Active Noise Cancellations (http://en.wikipedia.org/wiki/Active_noise_control). But I failed to understand whether I am talking is ANC in different way?

Friday, September 2, 2011

Bluetooth and Wifi

Hello, welcome to wire'less' world. I recently bought Motorola S305 bluetooth stereo headset. It is good one..!Enjoying.

   I have android G-i5801,samsung galaxy 3 mobile. Interesting thing is that it has wifi,bluetooth and lots of application (available in android market). 

My head cracked yesterday..! You know why, battery is 60% in  half an hour!! Before having headset I was to use only wifi and now adding bluetooth stereo headset, the mobile is more power hungry. 

I am thinking, if  wifi and bluetooth are of operating at  same frequency(with different protocols:it is a group of software programs which controls the hardware) why can not both share the same hardware? If we are able to share the hardware,whatever, complexity within the protocols can be compromised in the coding. I believe that if we make some changes in design, wifi can acts a bluetooth or wifi with a single hardware. Power will be saved, silicon area will be saved, $s will be saved.

Anybody have counter argument for this? Your suggestions are most welcomed.

Wednesday, June 8, 2011

Power on reset

Power on reset is an essential requirement for sequential circuit based modules. We consider a simple example, consider a remote controlled tube light or fan system, the circuit of interest is shown in below image.

The IR Rx is a infrared Receiver which trigger the DFF and switch ON/OFF the fan depending previous state of the DFF. The circuit is practically laid down on the PCB and is working fine. However, when the power is turned on some time the fan ON and some time OFF. It has happened that when supply  line is goes off, and supply arrive later the fan can turn on automatically. The problem is the DFF can attain logic high or low state and was unpredictable. 

In order to solve the problem, we need power on reset. Here R and C in the circuit do the job.

Whenever power is turned ON, while charging the capacitor, there is a current passing through the resistor and hence voltage across the resistor. This voltage uphold the reset pin of the DFF. The by selecting proper R and C values we can meet the reset condition of the DFF.After charging the capacitor C completely, reset pin is  grounded as there is no current through resistor. 

Very simple!

Thursday, May 26, 2011

Communication within 10cm!

Who will not laugh at me if I say "There is a system which communicate in the range less than 10cm..!" Do we need a system or device to communicate within 10cm? what a stupid idea...!?

Sorry, I am confident and don't mistaken me. I am talking about the communication within 10cm only. Oh...that is new wireless communication called NFC. 

Before talking about NFC, I will give an example. You go to a  city and looking for roadside candy for Rs.7. You have 500/-  and no change. You have to roam here and there to have change for 500/- or candywala needs to give change for you. I have experienced that both the ways are difficult.

You believe me, you have one more choice now.  "Just hold your mobile very near to candywala's mobile..and take candy in your hand..that's all".

Yes, that is possible in few years. The new wireless communication system called Near field communication(NFC) is developed for mobile and alike devices for secure transactions, business card exchange and may be for identity as well.

The NFC is not made for file sharing and huge data transfer protocol like wifi or bluetooth. Since the range is less than 10cm, inherently secure than other wireless technology. 

NFC is a extension of RFID. An RFID system operate in wide range of frequencies. However, an NFC system is standardized to 13.56MHz.Since many frequency bands are already allocated to different functions in different countries by FCC, only 13.56MHz is freely available band.It is also noted that this band of frequency is also good enough to meet VLSI design standards(lower the frequencies bulkier is the systems and higher the frequencies power will be high).

Recently released android mobile Nexus -S has NFC. The NFC usage is not yet grown enough to build trust in the society.Tech news sites have reported that 6 out 10 multimedia sets will have NFC by 2015. 

I will happily welcome you NFC..! 

Wednesday, May 25, 2011

Trainer is not a 'train' but a Teacher

"Teaching is the best way to learn". I too believe this statement. If we read the books,paper or INTERNET pages any subject is felt like so simple!!!. I believe that knowledge of a person is valuable if he practically makes a material out of it and able to transfer the same to the next people. In order to maintain richness of knowledge base industry every one needs to be trainer and trainee. I am good trainee and wanted to be a good trainer....i.e, BOTH.

I was to much enthusiast to become a trainer and I did many kind of testings at the beginning itself. The test cases which I did and aftermath of them are listed below:
  1. I wanted every one to be on time to classes(punctuality).
  2. The trainees need to be happy and comfortable.
  3. The technical matter should be discussed in way that enthrall the class, however, the technicality of any concept should not be wrongly taught.
  4. Do mistakes, but agree to mistakes rather than some one forces us to agree.
  5. In technical discussions, no matter who/what/where/when talks, if something is wrong raise the doubt and question it for clarifications.
  6. Have a good friendship with trainees.
  7. Explain the subject with examples where everyone can understand the things well.
  8. Be a free teacher, who is available all the time-in messages, chats, emails, class or lunch or dinner table.
  9. If the class is not going in the directions as expected, entertain the trainees by asking their hobbies and presenting them(like singing..jokes...shayirees...)Come back to technical with relaxed mind.
  10. Not to be strict on assignments, but convince the trainees about their responsibility.
However, I failed in some of the things-
  • Some time, we need to stop questioning the people even if they are doing wrong as their ego may hurt and it may start bleeding.
  • Very critical-never have friendship with trainees. We can not teach friends,but be friendly.
  • Not to be available freely. There is no respect for things which comes free..!
  • Technical classes, needs to be completely technical(for point-9), I did not understand, why people separate technical stuff from other stuffs?
  • Assignment-we needs to be strict.
Any way, every day is a new learning assignment and I use past history for betterment of self and surroundings. I am confident for training once again with modifying wrongs things of past training.

I would like to take an opportunity here to thanks all the trainees, who have enjoyed my training and those who suffered because of my tests.

Noise about "NOISE" in circuits

Hello, who never heard of noise in integrated circuits(IC)..!...white noise,Gaussian noise, flicker noise, 1/f noise and so many different terminologies. I can talk about NOISE and make some noise and I agree that I don't know exactly about what are these dirty noise in my systems is. However, there are noise in systems which are internal to the system and some which are influenced by the external world like-another circuit besides it, environmental radiations etc.

I have a confusion -whether noise is positive or negative with respect to ground?

We operate circuits with positive supply(with respect to ground).NB:ground is decided by the battery and not by circuit). However, it is important to have proper ground and supply connection to a circuit.

If we operate a circuit (say CMOS inverter) with following topology(shown in image right side one),do we get any advantage over the noise performance?
No doubt, the input of for the new topology also be need to change with respect new reference.However, are we achieving any thing good here. It is one of  the thought in opposite to classical definition of reference and ground.

Let me know your views. Comment please.

Friday, May 20, 2011

Ubuntu:What is special about it?

Every engineer, whatever his/her branch of studies, will aware of computers.When there is a computer, there will be  windows OS. But now the situation is changing. People are moving towards free software/open source softwares. Ubuntu is one of such free OS and almost graphically look like windows.I can say good competitor for windows.  

All people are biased with windows and say linux is not user friendly. I believe that Ubuntu is exceptional with respect to user friendliness and with engineers view- it  is far.. far.. better than windows. 

What are the advantages of ubunut?

  1. No virus(Every OS can be hacked, but it very less chance for linux OS systems).
  2. Completely free.In 2010, Ubuntu has freely provided the OS cds. Now any one can download from here.(10.04 is good one. recently 11.04 stable version released).
  3. One time installation; you will get all softwares-No separate installation for drivers, adobe reader,open office,audio players, video players, games,.....never ending list. If you need any software jut search in "Ubuntu Software Center".
  4. Engineers have very good deals with Ubuntu. We can change the systems the way we wanted it to be.All kind of languages-Perl, C ...etc are inherently inbuilt. Also for circuit enthusiasts-PCB design, VLSI design, SPICE simulation tools are also available.
  5. Recently computers are coming with higher memory hard disk and RAMs and hence no trouble with speed or OS size.

Demerits:

  1. We all have background of windows and we refrain ourselves from looking an OS other than windows angle.
  2. Installations of software is little bit tricky in linux- No simple click !
  3. I suggest the beginners to talk about basics of linux with anybody who knows about linux.
  4. For property devices - for mobile, ipod, mp3 players no drivers available in linux. This is the only one worry that will make us to keep a copy of windows in our systems.

Some facts about Ubuntu:

  1. Brazil is completely linux-ised.
  2. Kerala government school supports linux(Read here)
  3. 100% on line supporting community.
  4. Live CD boot-able options.
  5. If your windows got "viral infection and died", then Ubuntu live CD is only way (As I know)to recover your data.

I welcome you all for Ubuntu OS.Ubuntu is made for human beings..!

Idle time in office != free time

Most of the time, we need to be idle state in the office. Either it may be waiting for inputs from senior colleagues,waiting for some one to finish their work as my work is linked to their work, network is down, my computer is taking lot of time and I need to refrain from interacting with it or may be most dangerous situation when I need to wait for next task to be assigned. In such situation, I always think, I need to use the time for reading at least a page of technical stuff.

However,I felt like, it is impossible to use the idle time for any fruitful activity.The reality  is we will not be aware of when we will be idle and how much time we will be idle.Hence, there will not be any planned activity. When I come to know that I need to be idle state, I will be confused what to do, what to read, so many things. Later,having lots of alternatives,nothing will be selected and completely in confusion through out the idle time. Idle time is most boring and unhappy situation in the office.

Idle time forces many people to roam here and there and talk about not related to office subjects like-crickets, PJs(Poor Jokes) and long lasting tea breaks. At the end of the day, conclusion is only one:day is passed without using the time economically. 

I don't know how many people have felt in this way. Unfortunately I had/have faced this vicious situations. Can anybody advise me how to use idle time? 

Thursday, May 19, 2011

Pumpset electricity bill-'HOW TO' for rented houses?

Day by day energy(petrol, electricity) related bill per month are increasing in huge amount.Every one is trying to reduce the power consumption as well as very cautious about the energy bills. 

Many people are  staying in rented houses and many people are giving there houses for rent.Now each rented house also has an electricity meter, however,owner and renters needed to share common pump set and  share electricity bill at the end of the month. Many times, the renters may be single(like me...!) or big families. Hence, it is difficult to calculate who used more water or(indirectly) who used more electricity.

My colleague Chetu (Chetan G) had trouble in renting his house in his native  with a single water pump. "Venky, namamaneyaga water pump set problem ide...enadru madala...!". The problem given by chetu is exciting one. 

After scratching my head for few hours, I came up with control circuit which can share the single water pump and directly energy consumption is recorded in respective meter of the house/rented rooms. The overview of the system is shown in below image:


I need few components, which related to mechanical assemblies, looking forward from some dealers in Bangalore.The microelectronics components are very costly in udupi and many of them are not available here.

I hope, I will be able to release the complete system as simple product for every house hold where everyone share the same water pump without fighting for electricity bill.

I thank our Chetu for bringing such problem in front of me. 

Wednesday, May 18, 2011

Anode or Cathode?

This is a confusing thing to talk... isn't it? Ya..

The cathode is the terminal where the current always flowing out of it. For example, the electrode of the battery (while discharging ) acts as a cathode as it is giving out the current and a positive terminal. However, same electrode acts as a anode while recharging the battery. Cathode and Anode terminologies need to use very carefully. 

In normal diode (P-N junctions) the P acts an anode and N acts as a cathode.Here, we believe that forward current is considered. However, in case of zenner or solar cell, there is no significance for forward currents. They working principle is  reversed junctions.But, still we use the terminologies of the normal diodes. 

I am thinking, which terminal is anode and cathode of schotkky diode...?  'Art of analog layout' says "Metal acts as anode and silicon acts as cathode".Is it same for both P-type and metal junction and N-type and metal junction? 

Finally, I am confused..! bye.

Saturday, May 14, 2011

LTSPICE: A tool for Electronics engineer

Hello, I think most of the engineers know the tool called LT-SPICE. LT-SPICE is a free electronic schematic capture and SPICE simulation tool.This tool is developed for analysis of switching regulators by Linear Technology Inc.

LTSPICE is originally windows OS based tool, however,in linux under wine support it works fine.Very important thing about LTSPICE is not only a free tool but also ability to modify the things(not software) in a way that we needed. We can add external components to existing default library. Under simulation we can process the data files with ngspice as a background tool. We can add our own models.The option to make unlimited sub circuits hierarchy is appreciable.The help content is available in help file, yahoo forum, and LT-SPICE user guide.

If we compare other electronics tools-electronics workbench, circuit simulator,microcap,TINA...etc, we have very less options or more constrains imposed by the software vendors.

I hope everyone will enjoy this tool for their electronic simulations.Some extent,I can also help you out on LT-SPICE.

Friday, May 13, 2011

Audio amplifier:inverting or non-inverting ?

Hello dear friends.
We know that op-amp can be used as inverting or non-inverting configuration. The basic configuration is shown in figure 1.The only difference between the two operation is change in phase between the input to output signal.

Figure 1:Op-Amp basic inverting and non-inverting configurations.

I have one question about these op-amp configurations:
If we give input audio signal (Example:in figure 2), with both are designed for same gain, what would be the quality impact on your ears? Which would be better configuration?

Figure :2 audio signal

Many people have given me very crazy answers. Some one told me that your words will be reversed?(impossible one!). Some one argued that signal will be delayed, and many more argued it is immaterial with respect effect on ears but design-wise we may have one configuration better than other.

Finally, conclusion not yet reached. Any one can post me if you have good answers. I will place the components on breadboard and test one day and result will be declared here.

Tuesday, May 10, 2011

NMOS @GND and Weak "1" transfer

We always use PMOS connected to VDD (or vdd side) and NMOS connected to gnd(or gnd side).
Example, in the inverter circuit PMOS is always connected to VDD and NMOS connected to GND.

Now,
1.What happens if we change NMOS and PMOS positions?
2.What is the problem in digital design with new topology(example: inverter)?
3.What is the problem in analog design with new topology(example:amplifier or current mirror)?

A pdf written by me is available on this subject in the link here

Monday, May 9, 2011

Ubuntu:Audio converter

Audio converter is tool which more often used by me for conversion of audio for mobile,iPOD and so on. Here is a link for ubuntu OS, explained very well.

http://ubuntuforums.org/showthread.php?t=712064

It is good to post here, at least for my reference in the future.

MOSFET amplifies the signals ONLY in Saturation Region Part-1

Yes, mosfet can be used as amplifier in saturation region. It is should not be forget that transistor shows highest gain in sub-threshold conduction. However, sub threshold conduction operation is not yet practical. 

We can show the amplification property of transistor in saturation region by two ways:1).Analytical method and 2).Graphical method. In this post, we discuss about the analytical method. 



Lab Assistant Chart

This is a good chart to have on the laboratory wall.....!




Saturday, May 7, 2011

How to increase the clock frequency?

It is one of the interesting circuit which I found made me to thinking little more. Only a delay element and a xor gate does this complex job.

Let us say we have 100Hz clock and we need 200Hz clock from it. The block diagram is shown below:


fig:1 Block diagram
The design of delay element is one of the trick here. It can be a R-C delay element or series of logical gates(inverters) to achieve required delays. However,if RC is used, the output of XOR may be distorted or deviated from required shape. Hence we may need of extra invert/buffers at the output side.

It is also need to understand that, the delay element has impact on the duty cycle of the output waveform.We will discuss the delay elements in some other posts.

If we design the delay element with 50% delay of the period of the original wave form, we will have 50% duty cycle wave form at the output of XOR with frequency double the input CLK. The resulting waveform is shown in figure 2.

Fig:2 waveform

Finally, in digital circuits, we can decrease or increase frequency of the wave CLK signals. We can do the same kind of operations on analog signals. We will talk about them in coming posts...Till then bye...



Thursday, May 5, 2011

How to decrease the frequency of a CLK?

In digital circuits, we have heard of circuit called divided by circuit. However, when I asked a question in interview -"If we have 100Hz clock,how can we get 50Hz clock?"- the candidate failed to answer. Even the candidate did not understand the clock means. Generally, many people have confusion between a clock signal and a square wave. Clock signal is a square pulses. The clock and square wave is shown in below image.



The square wave has negative excursion but that is not the case with square pulses(=clock).
The digital circuit elements- flip flops- help us to implement divided by circuits. The circuit for above said question is shown below.


The frequency is divide by 2 in this case. However, the period (in time ) it is doubled. Any odd number of divided by circuit can be implemented by having appropriate mod-x counters(where x is a integer).The wave form is shown below:


By using DFF, we can divide the clock frequency.

In the next post, I will discuss -how to increase clock frequency by digital technique..

Wednesday, May 4, 2011

Android mobile..!

I have an android os based samsung's galaxy 3 mobile.It is a capacitive touch screen based multimedia set with Eclair OS(android OS 2.1). Android is an OS developed for mobile device by Google Inc. in order to disrupt the mobile market by providing free software against proprietary softwares. It is a good OS with ability providing OS source code.

Android uses basic linux kernal and on which it runs java Davlik virtual machine. It seems to be fastest as compared to java's inherent virtual machine as it is based on register stack. 

I am not a programmer, but I am desperately looking into the android application development.I am trying to build a simple system for mobile(I will not able to write about it) and struck  in the java oops,inheritance, classes, objects, polymorphism...etc.

I think,java is a vast subject and there are different versions or application based on java. Example:java JDK and java JR something...something..any way I am confused in java.

One thing the android users need to aware about -android mobiles are not secure enough. The application are developed by hobbyist and there is a possibility of hacking applications. I suggest not to store credit card numbers,bank account details or passwords and any valuable information in the mobile.

However, android has millions of applications,games and so enjoyable as electronics toy...! 

Let us enjoy...!


Tuesday, May 3, 2011

Laptop usage tips and circuit for power.

These are all known issues to everyone.But many people are negligent about them.

  1. Never keep laptop on softmaterials like bed or on any clothes. The reason is that processor fan will not get ventilation which results in processor failure as well as battery life will be reduced.All ways keep laptop on hard surface..
  2. Never put your laptop into the bags without turn it off completely(standby is also not allowed).
  3. Do not bend the laptop power cable and also always keep the battery charger in ventilated place while charging.
These suggestions may be ridiculous but very important for long life of your system.

===>For circuit enthusiasts :

Automatic Laptop Power dis-connector.

It is really good practice to disconnect the laptop power cable after the use. However many times we (I) forget to do so. Here is a simple circuit which automatically connect or disconnect the laptop to main AC plug.

The automatic circuit shown in the below image needs hardly few electronic components. Please make sure that proper terminals are connected from USB cable to relay coil. Any wrong connection can destroy the laptop USB PORT.


The details of connection is shown in above image. I am using this circuit from last 6-months. If you are interested do this one and if you need any assistance please contact any time.

Oh I am taking interview...!

It is boasting news for me to say that I have taken interview four times for incoming engineers in my company. 

Taking interview is not at all simple one. Some time I got shock,some time laughed at answers;some time I was sad to see the sad faces and some times it was ridiculous situations. Any way, my aim here is not to explain what happened to me in interview. 

I have observed that many students from engineering colleges coming out with big projects names.My thinking is that,at engineering college level, however big and good may be a project the basics of it is must be clear.Many times student presented their projects as OFDM,QPSK modulation,motors,regulator-related projects. 

I shocked to see,many are not able to tell about the requirements of modulations,they don't know how the motor works,they don't know why regulation required though their projects stands on these principles. If some one not aware of basics how to trust the project itself? 

Another big trouble that I saw was lack of standards in drawing basic electronic symbols. There is a standard symbol for BJT, MOSFET, AND gate,OR gate,MUX, DFF etc.




Even if  we understand what the candidate is trying to say,we need to more concentrate on what s/he writes on paper.Because ultimately what s/he writes on the paper is going to be practical knowledge used in the companies or any organizations. 

Ultimately what I want to say is any engineering student needs to give very good attention to basic knowledge.The standards of electronics symbols/equations needs to be preserved.The lectures need to stress on in these lines. I hope, next interview will be happy one...!

Monday, May 2, 2011

Working in the Laboratory :Why it is not simple?

Oh..!

Working in laboratory is not at all simple. There are technical and non-technical problems which make me stay away from touching real physical elements.

The most difficult problem is when I leave the paper,pencil and computer the thinking mood changes and some time I confused to see what i need to do.The searching of wanted component in lab shelf is always a difficult task. If the last lab task had finished in hurry way it is likely that old lab set may be in place and need to shift the component back to shelf.

Once I was working on pcb in hurried way and the ferric chloride spread out in the room. The whole room tiles were shining(waw..!) with yellow patches.Ferric chloride is a acid and needs to be careful while handling.

Computer work can be saved and done in any time. However lab task can not be stopped in between and continuous time availability is very important. I am recalling now that digital clock pcb soldering in my engineering college days which had taken continuous 30 hours to finish it.

Working in the lab is interesting if our intended circuit works in 2 or 3 approaches. However, even simple circuits will not work single shots. The problems may be wrong connections,loose connections, wrong concepts,wrong testing methodologies, or any other "wrongs". 

I find another difficult when a circuit or project involve mechanical parts. Most of the times the circuits end up with controlling few mechanical parts.Example: Water tap controller is circuit need to have some mechanical arrangements in order to place in practical use. I am fed up with how to go ahead with mechanical assembly of things.A grain shutter circuits(a circuit detect the rain and cover the grains which are kept under the sun) is still on breadboard and not able to transfer as practical idea as there is difficulty to fix the motor to mechanical parts.

However, working in a electronics lab is a happiest moment.Electronics engineer can give life to inanimate things and make magic out of it.I am proud to say I am a hobbyist in electronics.

Lovely SPICE and Stupid SPICE

All electronic engineers know the marvelous CAD tool called “SPICE“ for circuit simulation. The SPICE is only one tool that provide the accurate values for simulation PROVIDED THAT WE HAVE ACCURATELY SPICED AND CONTROLLED...!

SPICE is a inbuilt mathematical tool which uses matrix of circuit nodes and perform the mathematical solution like numerical integration differentiation ...etc. The details like how it works can be googled for further reading.

My aim of this post is to tell wrong and right things with SPICE usage. Generally, people say if some one able to generate some waveforms using SPICE, he is a designer. In reality good designer never use SPICE . He uses his head, pencil and paper. SPICE is like any C program, if you give something as input, it always gives you some output. That is the reason why some designers says spice is a “Garbage in- Garbage out” program. But if you feed good things to it, definitely,it provides fruitful things.

Before proceeding with spice simulation it is better to understand the basic spice syntax. We need to know do's and don'ts . For example, the first line of the spice deck should be a comment,another example,to indicate 1E+6 symbolically we need to use MEG and not M(M stands for 1E-3). This kind of small mistakes can leads to waste of time and wrong results.

Presence of mind is very important. If we need to measure any parameter,we need to have proper set up. The set up can be done iff we are aware of what are expected results. For example, in order to measure set up or hold time of a circuit we need to give enough time in spice .tran command, and another example may be, the spice .tran run time should be greater than the time period of the clock if clock is exist in the design. This kind of awareness towards the spice deck is possible if we are well aware of what the circuit does. So I can say that SPICE helps us in the design of circuits if we are aware of circuit design.

My suggestion is, don't go to the computer unless you know what you are expecting. You need to have command over the circuit analysis, then test you abilities with spice.

Sunday, May 1, 2011

QR code.

I think many of you have seen the barcode. Barcode is representation of data in computer readable format.In industrial production of any product,it is necessary to count each product in various stages of processing.Usually serial number of a product is coded in barcodes.There are around 200 and odd number of barcode formats.However, only few formats are universally excepted.

A simple linear barcode is shown in image below.


This barcode helps in reading the data by automated computer systems. You might have seen the usage of this code in Big bazzare or alike stores.

Another interesting code a 2-d version of barcode is a QR code(Quick Response code). It is very famous in Japan. The QR code can encode not only number but also data in large amount compared to linear barcode.



This code can be read by barcode readers. Now there is an option in android mobile to read the data. If you have android mobile you can data hidden /coded in the above QR code.(The above QR code has my personal information).

To generate QR code there are softwares as well on line links. Example: http://qrcode.kaywa.com/

I love this symbolic language of coding the information.