Saturday, March 30, 2013

Lighting a LED

-->

 1.) Click the “component” button on the left side toolbar then click the P button on the left side of Devices caption. This is where you get the components you need. See fig 1.



2.)    The keyword textbox is used to find the components that you need. For this tutorial we will use a resistor, switch, dc supply and a led.


We will first pick the resistor. In this tutorial we will use a 100 ohms resistor. In the keyword textbox type “100R” see fig. 2. 




In the category list click resistor See fig 3.




In the sub category click the “.6w metal film” see fig. 4.




 Then double click the result of the 100ohm resistor. This will automatically add to your devices list. See fig 5




3.) Next we will pick the switch. In the keyword textbox type switch.  From the Category list click “Switches and Relays. See fig. 6 



In the sub category list click “switches”. See fig. 7




In the Results list double click “SPST PUSH BUTTON”. The push button switch will automatically add to your devices list. See fig. 8



     4.)    Next we will pick the led. In the Keyword textbox type led. From the category list click “optoelectronics”. See fig. 9

-->



In the sub category list click leds. See fig. 10



In the results list double click “Led green active”.  Then click OK. See fig. 11




    5.)    Now let’s put all our devices in the drawing pad. From the devices list click button and then click anywhere in the drawing pad to place the device. Do the same to the other components. Your pad should look like in fig. 12.






1    6.)     Now we will place a dc supply. Click the “sinusoidal icon” on the left side. Then click “DC” in generators list then place it in the drawing pad. See fig. 13






Double click the DC supply icon in the drawing pad. In the voltage textbox type “5” so that the output of our DC supply is 5v then click OK. see fig. 14



     7.)    Now connect all the devices. Click the end pin of the component then click the end pin of the other component. Your circuit should look like fig. 15. 




     8.)    We must add a ground for our circuit to simulate. Click the pad button on the left side toolbar. From the terminals list click ground and place it on the drawing pad. Connect the ground to the led. See fig 16.
-->




    9.)    Our circuit is complete. To run the simulation click the play button on the bottom left corner. To light the led click the switch.  See fig 17






-->