C & C++ Control Structure Statements



There are three types of control structures available in C and C++
1) Sequence structure (straight line paths)
2) Selection structure (one or many branches)
3)Loop structure (repetition of a set of activities)


All the 3 control structures and its flow of execution is represented in the flow charts given below.

The control statements are:-

Switch
If
If Else
While
Do While
For



Tip:-

Write Correct English Grammar without knowing tense.

MARKETING PROJECTS

1-GREEN MARKETING PROJECT.doc
Microsoft Word Document


http://sharecash.org/download.php?file=2701824

2-INFOSYSTEM PROJECT REPORT.doc
Microsoft Word Document


Automatic Street Light

Needs no manual operation for switching ON and OFF. When there is need of light. It detects itself weather there is need for light or not. When darkness rises to a certain value then automatically street light is switched ON and when there is other source of light i.e. day time, the street light gets OFF. The sensitiveness of the street light can also be adjusted. In our project we have used four L.E.D for indication of bulb but for high power switching one can connect Relay (electromagnetic switch) at the output of pin 3 of I.C 555. Then it will be possible to turn ON/OFF any electrical appliances connected all the way through relay. Principle : This circuit uses a popular timer I.C 555. I.C 555 is connected as comparator with pin-6 connected with positive rail, the output goes high(1) when the trigger pin 2 is at lower then 1/3rd level of the supply voltage. Conversely the output goes low (0) when it is above 1/3rd level. So small change in the voltage of pin-2 is enough to change the level of output (pin-3) from 1 to 0 and 0 to 1.

Heat Sensor

Here is a simple circuit which can be used as a heat sensor. In the following circuit diagram thermistor and 100 Ohms resistance is connected in series and makes a potential devider circuit . If thermistor is of N.T.C (Negative temperature Coefficient ) type then after heating the thermistor its resistance decreases so more current flows through the thermistor and 100 Ohms resistance and we get more voltage at junction of

Touch Switch

THEAFS ARE ATTRACTED TO EXPENSIVE THINGS WHEN THEY COME IN OUR HOUSES. WE CAN PROTECT OUR PRODUCT OR THING BY MAKING THEM TOUCH PROOF OR WE CAN STOP ANY UNIDENTIFIED PERSONS ENTRY IN OUR HOUSE BY MAKING DOOR AND WINDOW TOUCH PROOF.THIS CIRCUIT ALERT US WHEN ANY THEAF COME TO STOLE PRODUCTS FROM OUR HOUSE OR TOUCH ANY METALLIC THING AT DOOR / WINDOW OR IN SIDE . WE CAN USE THIS CERCUIT TO PROTECT OUR CAR OR BIKE BY MAKING THEM TOUCH PROOF. AS WE HAVE DISCRIBE ABOVE THIS PRODUCT GIVE ALARM WHEN ANY HUMAN BODY TOUCH ANY OF THE METTALIC THING WHICH ARE PROTECTED BY THIS CIRCUIT.

MICROSOFT VISUAL STUDIO 2010

DOWNLOAD
CLICK HERE

Turbo C++ 3.0 Compiler

DOWNLOAD
CLICK HERE
Installation Instructions

LTspice IV

LTspice IV is a high performance SPICE simulator, schematic capture and waveform viewer with enhancements and models for easing the simulation of switching regulators. Our enhancements to SPICE have made simulating switching regulators extremely fast compared to normal SPICE simulators, allowing the user to view waveforms for most switching regulators in just a few minutes. Included in this download are LTspice IV, Macro Models for 80% of Linear Technology's switching regulators, over 200 op amp models, as well as resistors, transistors and MOSFET models.
DOWNLOAD
CLICK HERE

Proteus Professional

Proteus Professional is a Virtual System Modelling (VSM) that combines circuit simulation, animated components and microprocessor models to co-simulate the complete microcontroller based designs. This is the perfect tool for engineers to test their microcontroller designs before constructing a physical prototype in real time. This program allows users to interact with the design using on-screen indicators and/or LED and LCD displays and, if attached to the PC, switches and buttons.

20 Watt Power Amplifier

This IC chip was designed specifically for use in power boosting applications in automobiles. It is self protecting against short circuits and thermal problems. In the bridge configuration shown it will deliver 20 watts of power into a 2 ohm speaker operating at 14.4 volts

FM Transmitters


Simple Audio Signal Injector

Here's a signal injector for those of us like me who don't have a bench full of nice test equipment. It can be used for tracing audio circuits for troubleshooting, or for working on audio circuits that require some kind of signal for testing.

Dark Detector

The dark detector circuit shown here can be used to produce an audible alarm when the light inside a room goes OFF. The circuit is build around timer IC NE555.A general purpose LDR is used for sensing the light. When proper light is falling on the LDR its resistance is very low. When there is no light the LDR resistance increases. At this time the IC is triggered and drives the buzzer to produce an alarm sound. If a transistor and relay is connected at the output (pin3) of IC1 instead of the buzzer, electrical appliances can be switched according to the light.

Light Activated Switch

The circuit is based on National Semiconductors comparator LM311 (IC1) and an LDR. The non inverting input of IC1 is given with a reference voltage of 6V using resistors R3 and R4. The input to the inverting input will be the voltage across the LDR that is light dependent. At darkness the resistance of the LDR will be high and so do the voltage across it. In this condition the voltage at the inverting input will be higher than the reference at non inverting pin and the output of the comparator will be low. When the LDR is illuminated, its resistance drops and so does the voltage across it. Now the voltage at the inverting input will be lower than that at non inverting input and the out put of the comparator goes high. This makes transistor Q1 on and drives the relay. As a result we get a relay switching according to the intensity of the light falling on the LDR.

Simple Black Line Follower

Infrared Proximity Detector

This proximity detector using an infrared detector (Fig. 1) can be used in various equipment like automatic door openers and burglar alarms. The circuit primarily consists of an infrared transmitter and an infrared receiver. The transmitter section consists of a 555 timer IC functioning in astable mode. It is wired as shown in the figure. The output from astable is fed to an infrared LED via resistor R4, which limits its operating current. This circuit provides a frequency output of 38 kHz at 50 per cent duty cycle, which is required for the infrared detector/receiver module. Siemens SFH5110-38 is a much better choice than SFH506-38. Siemens SFH5110-38 is turned on by a continuous frequency of 38 kHz with 50 per cent duty cycle, whereas SFH506 requires a burst frequency of 38k to sense. Hence, SFH5110-38 is used.

TV Remove Blocker

Theory of Operation

The 555 IC (see our 555 Timer guide) is wired as an astable multivibrator for a frequency of nearly 38 kHz. This is the frequency at which most of the modern TVs receive the IR beam. The transistor acts as a current source supplying roughly 25mA to the infra red LEDs. To increase the range of the circuit simply decrease the value of the 180 ohm resistor to not less than 100 ohm.

Solar Charged Remote Control Electric Lawn Mower




Binary to 7 Segment Decoder

This circuit displays the Hexadecimal equivalent of a 4 bit Binary Number. The number is displayed on a 7 Segment LED display.

There are many Binary to 7 Segment decoders out there, such as the CD4511, DM74LS47, SN7447 and the DM9368. All of which have attractive features, but none have all of them in one package. Another downside is many only display 0 - 9 with few displaying all Hexadecimal digits (0 - F). With many of these chips obsolete and hard to find, my Binary to 7 Segment Decoder is a versatile substiute.

Simple Serial LCD

Creating a serial LCD can be very useful for quick debugging; as well as projects requiring LCD support with minimal interface. The circuit presented here may not satisfy all needs, but it should serve as a good starting point for further work.

Digital Temerature Sensor

This circuit is a Digital Temerature Sensor using a Dallas '1-wire' DS18B20 Digital Thermometer
Firstly I would like to thank Pommie and Mike, K8LH from the Electro Tech Online Forum for their genourous help. This has been the most challenging project to date and they have helped immensely. They have tought me many valuable lessons about programming in Assembly language and it has really assitsted me in getting this project up and running.

Emergency Double Strobe Flip/Flop

Double flash flip/flop with a PIC12

water activated alarm

The circuit uses a 555 timer wired as an astable oscillator and powered by the emitter current of the BC109C. Under dry conditions, the transistor will have no bias current and be fully off. However as the probes get wet the transistor will conduct and sounding the alarm.

Quantization

quantization is the process of approximating ("mapping") a continuous range of values (or a very large set of possible discrete values) by a relatively small ("finite") set of ("values which can still take on continuous range") discrete symbols or integer values.

recurrsive least square filter(RLS)

recurrsive least square filter(RLS) in matlab



Image resizing project in matlab (GUI)

EZresize allows you to resize an image easily and quickly by way of a
bilinear interpolation algorithm. Before running, place the images that
you wish to resize with in the folder that contains the program.
 
;