Posts

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.

555 Timer IC and Light Detector Circuit using 555 IC

Image
The 555 Integrated Circuit (IC) is an easy to use timer that has many applications.  It is widely used in electronic circuits. it is a 8 pin ic..and also available as a dual timer ic which is 16 pin ic. pin configuration of 555 ic.                                                      Astable - free running mode: the 555 can operate as an oscillator. Uses include LED and lamp flashers, pulse generation, logic clocks, tone generation, security alarms, pulse position modulation, etc. Monostable mode: in this mode, the 555 functions as a "one-shot". Applications include timers, missing pulse detection, bouncefree switches, touch switches, frequency divider, capacitance measurement, pulse-width modulation (PWM) etc this ic has 3 operating mode. Bistable mode or Schmitt trigger: the 555 can operate as a flip-flop, if the DIS pin is not connected and no capacitor is used. Uses include bouncefree latched switches, etc. Astable mode   An  Astable Circuit  has

Electronic Dice using 4026ic, 555 timer ic and logic gates..

Image
  I HAVE MADE DIGITAL ELECTRONIC DICE  USING LOGIC GATES AND BOOLEAN ALGEBRA IN VARIOUS COMBINATION TO DEVELOP LOGIC IN PURELY ANALOG CIRCUIT. WE HAVE USED DIFFERENT LOGIC GATES AND THEIR COMBINATIONS TO OBTAIN THE DESIRED RESULT FOR OUR PURPOSE. WE HAVE MADE AN ELECTRONIC DICE USING A 7-SEGMENT DISPLAY,4026 DECODER IC,555 TIMER,PULSE GENERATION IC AND SOME LOGIC GATES SUCH AS AND GATE AND NOT GATE       THE 4026 DECODER IC IS USED TO DISPLAY THE NUMBERS ON 7-SEGMENT DISPLAY FROM 0-9 ONE BY ONE. WHEN THE PULSE GENERATOR IC (555 TIMER IC) GIVES PULSES TO 4026.  FIRST OF ALL SOME LOGIC IS TO BE DEVELOPED SO THAT THE DECODER IC RESETS AFTER THE NUMBER 6 BECAUSE A DICE CONTAIN NUMBER UPTO 6.  WHEN THE LOGIC IS DEVELOPED WE WILL BE SUCCESSFULL IN MAKING THE 7-SEGMENT COUNT FROM 0-6 ONLY.       AFTER THAT IF WE HAVE TO STOP THE DISPLAY AT A PARTICULAR NUMBER SO THAT THE PLAYER GETS A NUMBER TO PLAY.          WORKING OF A SIMPLE 7-SEGMENT DISPLAY