Showing posts with label in. Show all posts
Showing posts with label in. Show all posts

Thursday, November 13, 2014

Circuit design tutorial in CircuitMaker 5

In this tutorial we are going to learn how to design and simulate a circuit schematic in CircuitMaker 5. For example we are going to design a 12V to 5V  dc-dc converter circuit diagram.  This is the circuit below that we are going to design. 

Fig-1: 12V to 5V  dc-dc converter circuit diagram


Let’s start design the circuit in circuitmaker 5.



Step-1: Open a new document.
Go to “File>New” as shown below or simply press “CTRL+N” 




 
This will opened a new workspace named as "UNTITLED.CKT(1)".As shown below...




Step-2: Device Selection.

Click on  “Parts”-(Use to display and select device) tool icon form tool bar. See below…

Or, simply hit on “x” from keyboard.This will bring up  “Device Selection” window.From this window select a 12V DC voltage soure by “Sources>Linear>V source” and change the voltage 10V to 12V as shown below.



After that click on “Select” or press “Enter”.

Now place the symbol where you like by left click on mouse .I placed here..



In the same way add a 78L05 regulator IC symbol. See below… 



And place it in workspace.


 
As same as add a Diode(shortcut key “d”), Capacitor(shortcut key “c”),and Ground(shortcut key “0”) symbol one after one in the same way and place in workspace(see below). To rotate  any device click on device and press “ALT+R”once or two times or as needed.


 
To see the circuit in zoom view press F2 . Then you see “Circuit Scale” window, enter a value between 10 to 2000 % that you want to scale (I’m entered 150%). And press “ENTER”.

Now the circuit symbol will larger, now we can design the circuit in circuitmaker 5 easily.



Back to adding schematic symbol.

Now add two “Terminal” (see below...)


Do that two times and then rotate as shown below.




Step-3: Connect the circuit.

Select the “Wire tool” (see below…) 


To connect two pins of two device click to pin(1) and drag until to pin(2). See below…

 
Connect all the pins that are necessary (see Fig:1).

After connect the circuit its looks something like this…



 
Step-4: Simulate the circuit using circuitmaker simulator.


Don’t worry, this is a simple task. But simulation is necessary for a circuit. To determine that it have any error or it giving us the expected output or not.

Before simulate the circuit we have to confirm that the simulation mode is Analog. To select Analog mode click once on “Digital/Analog” button from toolbar. And then the icon will change. See below...


  
Now click on “Run/Stop” button from toolbar. See below...


If a confirmation massages box come then select “Yes”.

Then you will see the simulation window. See below...

Showing input value of 12V to 5V  dc-dc converter circuit diagram
Showing output value of 12V to 5V  dc-dc converter circuit diagram
 
Note: If you want to change any parts/device/source value in the circuit, double click on the parts/device/source and enter your value.
Read More..

Monday, October 13, 2014

Infrared Light Photo Detector Circuit This is a basic infrared light photo detector circuit In this circuit the light falling on the phototransistor

Infrared Light Photo-Detector Circuit

This is a basic infrared light photo detector circuit. In this circuit the light falling on the phototransistor will be from an Infrared Light Emitting Diode (IrLED) but otherwise it is the same as the phototransistor circuit shown above.

 When the light falling on the phototransistor (Q1) is blocked, its conductance will decrease and the voltage across Q1 will rise. When the voltage rises above 1/2 of the supply voltage the output of the comparator will turn ON and the LED will be lit.


Source: Infrared Light Photo-Detector  
Read More..

Saturday, August 23, 2014

Creating virtual serial port in laptop

serial ports are almost vanishing from laptops and PCs.
This post is about to create a virtual serial port where needed, for easy communication.
First we have to download a software named VSPE (Virtual Serial Port Emulator)
You can download the software from this link virtual serial port emulator.
 
 

After downloading the VSPE install it.
Then open the software.

Then click to Create New device icon marked below by red circle.


Then this window will come.Click next,


Next window is showing the name of serial port,here is COM1


Then click finish.A virtual serial port named COM1 is created. Now run the serial port by clicking Start Simulation icon marked below by red circle.


Now a virtual serial port COM1 is running.
But why you need virtual port or what will be the application?
Well actually it was needed by me for simulation of serial port in MATLAB and Proteus.
The communication between MATLAB and Proteus was done by this virtual serial port.
Read More..