Recent Post

Tampilkan postingan dengan label Microcontroller. Tampilkan semua postingan
Tampilkan postingan dengan label Microcontroller. Tampilkan semua postingan

MIC 640 Acquisition System Analog Versatile Circuit

The 640 MIC circuit

This tour, available in Stainless DIL 8 legs, can measure 4 analog voltage independent between 0 and 5 volts, and send the result of this measure in the form of four characters on a standard asynchronous serial link. Its serial output is directly TTL or CMOS compatible and can be connected to a serial input RS 232 by simply adding a resistor.

The MIC 640 can operate in automatic mode, thus sending the result of four steps every second, or in command mode, in which case it sends the result of four measures under the control of external logic signal. In this latter method that we use here.

Its consumption is extremely low, it is possible to feed signals from the unused serial port RS 232, subject of course not to waste the little energy available in external circuits involved too greedy.

This circuit, easily available in France, costs less than 18 euro which makes it an ideal candidate for this achievement we will find the schema without tarder.Si you want more information about the MIC 640;'s complete data sheet entirely in French, is available for download by clicking this link.

Schematic acquisition module

MIC 640 Acquisition System Analog Versatile Circuit
MIC 640 Acquisition System Analog Versatile Circuit

The heart of the module is obviously the MIC 640, spotted IC1 on the figure below. It is directly connected to the serial input RS 232 PC via limiting resistor R1 current.

His entry called CTRL to define its mode of operation. Left to the body, it makes it automatically perform a conversion on each input per second, whereas if it is reduced to levels as high as in this case, it triggers a conversion of each entry at each grounding.

These earthed take place through the transistor Q1 controlled by the serial data output TXD of RS 232, via the diode D4. This same output is through the diode D3 and this time the capacitor C3, to produce the negative supply voltage of the input stage that we discover in a moment.

The control lines DTR and RTS serial interface they provide for the positive supply via diodes D1 and D2. This voltage is unregulated, is the positive power of the input stage. By cons, it is regulated to 5 volts through IC2 so that it feeds a voltage very stable MIC 640.

As the current and available for both the positive supply for the negative supply is still low (10 mA max), I had to carefully choose the components used and they will not be replaced under any pretext. IC2 is indeed a regulator 5 volts 3 feet very low: in one case in 2936 SM Z5 which absorbs only 500 uA. For information, its "equivalent" the 78L05 consumes 3 mA in the same situation!

The input stage meanwhile was achieved using four operational amplifiers effect transistor field-mounted voltage followers. This confers to the module input impedance greater than 100 MW. All four amplifiers are combined in one box, referenced LF 444 at National Semiconductor, whose total consumption does not exceed 800 uA for the four amplifiers! Again, no question of putting such a TL 084 which face voracious with its 5.6 mA!

This input stage is protected from excessive voltages through resistors R7 to R10 and diodes D6 to D13. If you precede the various stages of converting physical quantities / voltage, you can possibly do without protection diodes that degrade somewhat the very high input impedance of 444 MQ due to their leakage current. It is in fact only 50 pA maximum input of 444 LF while a diode, even small leaks, easily misses 1 nA or 20 times more!
Read More → MIC 640 Acquisition System Analog Versatile Circuit

PIC Universal Programmer Schematic

PIC Universal Programmer Schematic
PIC Universal Programmer Schematic
The signals from a parallel port is standard TTL and being "abused" by their journey on the cable connections, they are reshaped by inverters contained in IC1. As this circuit has open collector outputs it allows easy control of three transistors T1, T2 and T3. T1 and T2 allow the application of high programming voltage VPP legs adequate support universal programmer. T3 controls the normal supply voltage VDD applied also to the universal support.

This can only supply circuit to program only when really necessary and thus avoid any problems during its insertion or extraction of its programming support. Two red LEDs, D1 and D2 indicate the presence of tension on the support. D3 for its light just when the timer is turned to signal the proper functioning of the food.

Data to be programmed by IC1A pass while they go through IC1b at a replay of the circuit. The clock programming through IC1c. Support for receiving circuits to program is a model 40 feet a bit special so they can receive the PIC cases: 8, 18, 20, 28 and 40 feet. The wiring of different supplies, the data line and clock line is made in accordance with the pinouts of the various circuits.

The feeding program is simple but very tolerant. Two stabilized voltages are required: 5 volts to 13 volts and VDD for programming voltage VPP. IC2 is a 78L05 loads of 5 volts while IC3, which is a 78L08, produces 13 volts because it is not referenced to ground but the output of IC2 and product and 5 + 8 or 13 volts! To accept any external source, regulators are preceded by a generous filter and bridge rectifier. You can apply any J1 AC voltage between 12 volts and 20 or between 16 and 30 volts. The flow required is only about 100 mA.
Read More → PIC Universal Programmer Schematic

Figure Programmer Circuit Of AVR Atmel Microcontroller

Figure Programmer Circuit Of AVR Atmel MicrocontrollerFigure Programmer Circuit Of AVR Atmel Microcontroller


That said, the diagram of a timer circuit controlled by PC comes down to very little. Indeed, it is mainly the PC side software to generate the proper timing on the line SCK, MISO and MOSI and, of course, a minimum of circuitry for adjusting the level so you can use a standard PC ports.

The scheme of my program boils down to what you can find below. It is intended to be connected to the PC parallel port lines which are easy to fly by the program to generate the necessary timing.

It comprises all in all an integrated circuit IC1, which is a simple 74HC244 or 74HCT244, that is still a buffer for six times to reformat the signals transmitted on the PC printer output before applying the circuit to program in April. It is safe and to have a rectangular shape and signals to avoid any hazard of programming.

This circuit is wired to "amplify" signals SCK, MOSI and RESET the one hand, since these are the PC to the microcontroller, and the only signal MISO, in another sense, since it will the microcontroller to the PC.

Note that a section of IC1 LED driver from the PC which allows to report, by the ignition, the microcontroller is being programmed and it must not touch it! Power to the programmer is supplied directly to the application supporting the microcontroller via the diode D1.
Read More → Figure Programmer Circuit Of AVR Atmel Microcontroller

MIC 702 Mictronics Schematic Diagram

To convert a standard LCD interface parallel to serial interface model, use a microcontroller or a dedicated circuit such as the MIC 702 Mictronics you can download the complete data sheet and French by clicking this link. This is a circuit specially designed to transform the parallel interface and LCD display logic integrated asynchronous serial interface standard. Its implementation is very simple as shown in the diagram below.

The MIC 702 is connected directly to the display with which it is perfectly compatible. Notice the connection with only 4 data bits of high weight since the MIC 702 operates in the display mode twice 4 bits.
PC side, the connection with the serial output of the PC does not involve any level converter for RS 232 TTL, this role being played by the only resistor R1 22 ohm whose presence is essential.

BAUD The tab allows you to choose the operating speed of the circuit between two speeds: 9600 bps up with S1 or S2 with 2400 baud up. The leg POL allows the circuit to interpret the serial data as direct or inverted. As it is in direct RS232 link should be link this foot to ground to indicate the MIC 702 that receives data reversed. Linkage to +5 volts it would receive direct evidence as would be the case if we wanted to use this circuit with a Basic Stamp example.

Subject to use a display not backlit, the total consumption of the circuit is low enough that it can take its power directly from the output control signals to the RS 232. It is the role of diodes D2 and D3 associated with IC1, which is a regulator with low dropout voltage and low consumption.

If you insist on using a backlit display, it is possible that consumption of its single backlight exceeds the possibilities of the PC's serial port. You can use an external power supply via the diode D1. A voltage of 9 volts at a flow rate of a hundred mA appropriate.
Read More → MIC 702 Mictronics Schematic Diagram

SPI Flash Programmer Circuit Diagram

SPI Flash Programmer Circuit DiagramSPI Flash Programmer Circuit Diagram

The Picture beneath is shows the ambit diagram of the SPI Flash programmer accouterments interface, the ability to the interface is provided either by a 9V dc adapter or a 9V battery. The 74HCT367 IC absorber the alongside anchorage signals. It is all-important to use the HCT blazon IC in adjustment to accomplish abiding the programmer should additionally assignment with the 3V blazon alongside port. The 74HCT04 is acclimated to accomplish the alarm arresting for the u-controller back programming the accessory in stand-alone mode.
Read More → SPI Flash Programmer Circuit Diagram

Photo Timer Circuit Using 555 Microchip

Photo Timer Circuit Using 555 Microchip
Photo Timer Circuit Using 555 Microchip


Time is set by potentiometer R2 which provides a range or 1 sec. To 100 seconds with timing capacitor C1 of 100uF. The output at pin 3 is normally low and the relay is held off. A momentary push on switch S1 energies the relay which is held closed for a time 1.1 X (R1+R2). C1 and then released. The exact length of the timing interval will depend on the actual capacitance of C1. Most electrolytic capacitors are rated on the basis of minimum guaranteed value and the actual value may be higher. The circuit should be calibrated for various positions of the control knob of R2 after the timing capacitor has had a chance to age. Once the capacitor has reached its stable value, the timings provided should be well within the photographic requirements.

Photo Timer Circuit Using 555 Microchip Parts List :

C1 - 100uF, 25V electrolytic
C2 - 0.01uF, disc ceramic
D1, D2 - DR50 or 1N4001
R!,R2 - 10K ohms, ¼ watts
R3 - 1 M ohms, potentiometer
RLY1 - 12V, DC relay, operating current less than 200mA
S1 - Push-to-on switch
U1 - NE555 timer IC

P1 & P2 are for exposure lamp ckt.

Taken From
Read More → Photo Timer Circuit Using 555 Microchip

Automatic Solar Tracking System CIRCUIT

AUTOMATIC SOLAR TRACKER starts following the SUN right from dawn, throughout the day, till evening, and starts all over again from dawn next day. On cloudy weathers, it remains still and catches the SUN again as it slips out of clouds. It does all this automatically, employs cheap and inexpensive components, and is very accurate.Let us see how it does all this.

There are three Electronic Modules to be explained. First one is the HORIZONTAL SENSOR MODULE. It employs the timer 555 in the MONOSTABLE MODE. PIN 2(Trigger Pin of 555) is hooked up with a VOLTAGE DIVIDER NETWORK(PLEASE see FIGURE 2). PIN 4(Reset) is hooked up with ANOTHER VOLTAGE DIVIDER NETWORK.

Fig 1: Block diagram of the tracker following the sun all through

Fig 1: Block diagram of the tracker following the sun all through

Fig 2: Horizontal sensor electronic circuit

Fig 2: Horizontal sensor electronic circuit

The LDR(SAY LDR A) which is always illuminated by light through FRESNEL LENS ARRAY, has Low Resistance(in presence of light resistance of LDR decreases and vice-versa). We know V(OUT)=V(IN)*[R(bottom)]/[R(bottom)+R(top)], where R stands For Resitance. So in SUNLIGHT, when LDR A’s resistance Decreases, VOLTAGE AT PIN 4 Increases. TIMER is no more RESET. PIN 2 is now lower than 1/3 rd Vcc(as the horizontal LDR 1, say LDR B does not initially receive light through its rectangular slit, so its resistance is high(Rtop=8 K ohms), consequently V(OUT) is low). This triggers the timer which gives a pulse to Decade Counter’s Clock(14) PIN and triggers it. The Decade Counter CD 4017 gives a NORMAL STEP DRIVE pulse to the Horizontal Unipolar Stepper Motor 1(coupled to the tracker unit) to rotate the tracker position so as to receive sunlight(STEP ANGLE of 2 DEGREES). This goes on till the horizontal LDR 1 is fully in SUNLIGHT(resistance low, so PIN 2’S VOLTAGE HIGH). Thus the tracker has followed the SUN Horizontally.

Fig 3: Horizontal Sensor electronic circuit

Fig 3: Horizontal Sensor electronic circuit

We will come to the Vertical Sensor Module, but first let us see what the DAWN LDR(SAY LDR C) does. At night the horizontal Module timer 555 remains Reset(as LDR A is in darkness so its resistance is high, thus pin 4 voltage is low, and the TRACKER points at WEST(where SUN has set). Next day when SUN rises again in the EAST, the DAWN LDR which is located at the back of the TRACKER, points at EAST. So when it receives sunlight its Resistance goes low, thus Voltage at pin 4 is high and the timer triggers the Decade Counter which in turn switches the Motor on, thus the TRACKER again moves towards the EAST. Then the TRACKER functions as previously.

Now placed with the Horizontal Sensor LDR 1 is another similar LDR 2 which receives the sunlight as and when does LDR 1. SEE FIGURE 3. So now, as LDR B(THE 1st horizontal one) receives sunlight, so does Horizontal LDR 2(SEE FIGURE 1, THESE 2 LDRs are placed together with same alignment properties and separated by an optically insulated coating(from each other).Thus when Motor 1 comes to rest, and as the second horizontal LDR (SAY LDR D),is same way coupled to the second timer’s(of Vertical Module) Reset pin as was the ALWAYS ILLUMINATED LDR A, it brings the second timer out of its Reset mode) by the previously discussed VOLTAGE RELATIONSHIP). EYE SENSOR LDR(SAY LDR E) of the tracker receives sunlight by an Anti-Reflection Coated, small Rectangular Slit, so reacts only when SUN directly points at it. The second 555’s PIN 2 is same way connected to this LDR as was the first 555’s to Horizontal LDR 1. So now that it still not receives sunlight (resistance high, so Vout low) and pin 4 is no more Reset, the second CD 4017 MAKES THE SECOND STEPPER MOTOR 2 Rotate(Coupled so as to only rotate VERTICAL SENSING BLOCK/EYE BLOCK ). This movement continues till the SUN directly points at the EYE of our TRACKER. Then the TRACKER STOPS, pointing very accurately at the SUN.FIG 2 and FIG 3 follows.

fig 4: Stepper motor control board

fig 4: Stepper motor control board

In figure 4 I have only shown the Horizontal Motor Control Circuit. The Vertical One uses a similar Decade Counter, NPN Transistors, Diodes(to encounter BACK EMF of Power Transistors due to Fast Switching). I chose for a Step Angle of 2 Degrees for the Unipolar Steppers. They are driven in a Normal 4 Step Sequence, first coil A is energised simultaneously with coil B ,then coil C with coil D. Thus the Motors rotate by 2 degrees each time. The Charging Interval(how long pin 3 of 555’s remains high) is almost in synchronism with the steps/second speed of the motors(here 600 steps/sec.), to avoid FALSE TRIGGERING.

NOTE:

  1. For 555 in MONOSTABLE MODE, T=1.1*R*C.
  2. For the FRESNEL LENS ARRAY , the standard FL 40(Focal Length=0.4 inches) Or FL 65(Focal Length=0.65 inches) FRESNEL LENSES could be used (with the Grooves facing the LDRs).
  3. For the ANTI-REFLECTION COATING, MULTI-LAYER COATING could be used to minimize loss due to REFLECTION. By using alternating layers of a Low-Index material like SILICA and a Higher-Index material, it is possible to obtain Reflectivities as low as 0.1% at Single Wavelength.

CONCLUSION:
We Conclude with the ADVANTAGES of the TRACKER MODULE SYSTEM:

  1. Uses SIMPLE, INEXPENSIVE ,EASY TO GET 555 timers and LDRs.
  2. The whole System draws only 25 MicroAmperes of Current when the Motors are not rotating.(555 timer’s off-state current req. is very less).BATTERY POWER IS SAVED.
  3. The TRACKER not only follows SUN from EAST to WEST and back to EAST in a cyclic manner(Horizontal Motor Module),but also tracks the Angular Movement of the SUN with respect to its ZENITH ANGLE to the Horizon(Vertical Motor Module and EYE).This is a VERSATILE quality for which the TRACKER could easily be used in conjunction with Solar Panels to derive maximum Solar Energy. Fast Motor Response(600 steps/sec.),no FALSE TRIGGERING, a Very ACCURATE System, it requires no Programming Devices(MICROPROCESSORS or MICROCONTROLLERS), so is NOT COMPLICATED.
VIA: electrofriends.com
Read More → Automatic Solar Tracking System CIRCUIT

Remote Control using PIC16F84A Microcontroller

Remote Control using PIC16F84A Microcontroller
Remote Control using PIC16F84A Microcontroller


design controls up to 8 devices using a PIC microcontroller (PIC16F84A) connected to the phone line. The unique feature here is that unlike other telephone line based remote control, this device does not need the call to be answered at the remote end so the call will not be charged. This device depends on number of rings given on the telephone line to activate/deactivate devices.

1. Circuit diagram (designed by www.tronicszone.com)
2. Parts List
3. C source code complied using HT-Soft PIC C compiler
4. Compiler Hex code file to be directly programmed into the PIC

Instructions for the telephone operated remote switch:

A) While constructing the main circuit, make sure you use 18pin sockets (base) for the PIC16F84A. Do not solder the IC directly to the board since you may have to remove it for programming. Before you use the PIC on the main circuit, you have to first program it.

B) To program the PIC16F84A microcontroller:

There are lots of programmers on the Internet available to program PIC microncontrollers. Given below are links to some free PIC programmer hardware/software:

* http://www.covingtoninnovations.com/noppp/
* http://www.picallw.com/
* http://www.lpilsley.uklinux.net/software.htm

Note: Programm the chip with the hex file attached above and remember to set the fuse bits to use "EXTERNAL HS OSCILLATOR" mode!

C) Remove the PIC from the programmer socket and put it into the main circuit socket.

Set the DIP SWITCH as follows:

Switch3 Switch4 No. of initial rings to Switch ON(activate half of the board)

OFF OFF 5

ON OFF 4

OFF ON 3

ON ON 2

The number of initial rings to Switch OFF is one more than the number of rings to switch ON. For example, if you have set switch3 OFF & Switch4 ON then number of initial rings to activate half of the board to switch ON the relays is 3 and number of initial rings to activate half of the board to switch OFF the relays is 3+1 = 4

Switch1 Swtich2 Delay before making the second set of rings

OFF OFF 20sec

ON OFF 15sec

OFF ON 10sec

ON ON 5sec

This is the maximum delay the board can take after it is half activated. It will reset after this delay.

D) Now connect the circuit to the phone line and switch on its power supply.

E) You can test the board now. For example set the DIP switch to Switch1 ON, Switch2 OFF (15 sec delay) & switch3 ON, switch4 OFF (4 rings to activate half for switching ON). If you want to switch ON relay 1 (connected to RB0 of main circuit) then you have to do the following:

1. Give 4 rings and put down the receiver
2. Wait 5 seconds (this 5 seconds wait is required to prevent the board from detecting continous rings)
3. then within 15 seconds give 1 ring (1 ring for relay1, 2 rings for relay2 and so on) and put down the receiver
4. then within 5 sec the relay1 will switch ON

To switch off relay1:

1. Give 5 rings and put down the receiver
2. Wait 5 seconds (this 5 seconds wait is required to prevent the board from detecting continous rings)
3. then within 15 seconds give 1 ring (1 ring for relay1, 2 rings for relay2 and so on) and put down the receiver
4. then within 5 sec the relay1 will switch OFF

IMPORTANT: This circuit has been tested by me and found to work correctly. I cannot guarantee that the circuit will work at your end since it depends on error free construction and usage. Please do not contact for any support and requests, any such requests will not be entertained.
Read More → Remote Control using PIC16F84A Microcontroller