SEARCH THIS BLOG

Custom Search

Pages

Tuesday, August 2, 2011

DPDT Switch - Insight


DPDT stands for Double Pole Double Throw switch. By using this we can change the polarity of the applied voltage. It is used in situations where we need different outputs. It has 3 states ON, OFF, ON. The difference between the two ON states is that the polarity of both the states is opposite with respect to each other. That’s the reason why it can drive a DC motor in both the directions. It can also switch an AC motor but it can’t change the direction of the motor. Since, AC motor will run in the same direction irrespective of the polarity therefore, it can only be used for switching ON and OFF an AC motor but not for changing its direction.
 
DPDT Switch1
 
Above image shows a diagrammatic representation of DPDT switch.
 
 
Let’s take a closer look into the DPDT switch. The switch as a whole is enclosed in a metallic case as shown below.

 
There are 3 holes in the metallic case. These holes are used to hold the switch in a particular state. This is done by using a ball bearing and spring which is explained later. The state of the switch is changed by a slider whose image is shown below.
 
 
There is ball bearing coming out of the slider. This ball bearing along with the spring, which pushes it outwards fits itself into the holes of the metallic case.  So, by using them the switch attains different states. Hence, the ball remains in three different holes corresponding to three different states.
 

There are 8 pins provided in this DPDT switch. These 8 pins are engraved in a board like structure. These pins are connected inside to metallic plate like structure. These plates connection in different configurations results in change in the polarity. These 8 pins are engraved in the board which is shown below.
 
 
Inside this board these pins are connected to a thin metallic plate like structure. These plate like structures when connected to each other in different configuration changes the polarity. The image of these plates is shown below.
 

When the slider is moved from outside different connections of these plates are formed. The connections are formed by connecting these plates . For making different connections sliding clips are used which are shown below.
 
 
 
Image indicating how clips are used to make contacts between plates.
 
These clips are fitted into the space provided in the slider. These clips, when slide over the metallic plates, result in different configurations. These different configurations give different polarity.

Google open-sources LevelDB, a non-relational database


Non-relational databases are seeing a lot of interest these days as alternative to relational / SQL-based databases. While they are not exact equivalents, not replacements, non-relational databases are simply better suited for certain kinds of data, and today there is a plethora of options for those looking for a NoSQL solution. Google has just added yet another to this field.
LevelDB is a key-value storage engine written in C++, and its source code has now been released under a BSD-style license. Google designed LevelDB as a building block for a higher-level storage system, and it will in fact form the basis for the IndexedDB API – a new web standard for using apps that need a database – in future versions of Google Chrome.
Unlike MySQL or even non-relational databases such as MongoDB and CouchDB, LevelDB is not a server that multiple clients can connect to and operate remotely or even locally. It is a library included in your application to give it support for LevelDB as a data store, similar to SQLite.
You can find out more about LevelDB, and also download its source code from its project page on Google Code.