Posts

Showing posts from 2014

Adding two images on MATLab

Image
Adding two images on matlab by developing a GUI. 1. Selecting an image in the GUI. 2. Adding the two images in GUI. In this program a GUI is developed in which the user can choose pictures, of the predefined formats like '*.jpg', from the computer libraries. 2 different pictures are chosen from libraries on two different axes and then these two pictures are added in the third axes by clicking on ADD push buttons. . GUI components used:- Push Buttons Axes The string property of the push buttons are changed by double clicking on the push button and making the desired changes in the properties from the list. The size of the axes can be changed accordingly. The GUI developed is given below: Selecting the images from the computer libraries. Adding the two images: the commands in editor window: <kkr>

Automatic night lamp using 555 timer ic and LDR

Image
I have made an automatic night lamp using a 555 timer ic and LDR. the circuit diagram is shown below. the components values are- R1= 1k ohm                                         C1=104 pf R2=100k ohm(pot)                               C2=60 microfarad R3=100k ohm the output of timer ic is connected to a bulb through a relay. As there is darkness over the LDR, the relay is switched on and the bulb glows. but when there is light/day the bulb is off.