Showing posts with label digital. Show all posts
Showing posts with label digital. Show all posts

Monday, December 23, 2013

4 Bit Analogue to Digital Converter

The operation of the converter is based on the weighted adding and transferring of the analogue input levels and the digital output levels. It consists of comparators and resistors. In theory, the number of bits is unlimited, but each bit needs a comparator and several coupling resistors. The diagram shows a 4-bit version. The value of the resistors must meet the following criteria:
  • R1:R2 = 1:2;
  • R3:R4:R5 = 1:2:4;
  • R6:R7:R8:R9 = 1:2:4:8.
The linearity of the converter depends on the degree of precision of the value of the resistors with respect to the resolution of the converter, and on the accuracy of the threshold voltage of the comparators. This threshold level must be equal, or nearly so, to half the supply voltage. Moreover, the comparators must have as low an output resistance as possible and as high an input resistance with respect to the load resistors as feasible. Any deviation from these requirements affects the linearity of the converter adversely.

4-Bit Analogue to Digital Converter Circuit diagram :



If the value of the resistors is not too low, the use of inverters with an FET (field-effect transistor) input leads to a near-ideal situation. In the present converter, complementary metal-oxide semiconductor (CMOS) inverters are used, which, in spite of their low gain, give a reasonably good performance. If standard comparators are used, take into account the output voltage range and make sure that the potential at their non-inverting inputs is set to half the supply voltage. If high accuracy is a must, comparators Type TLC3074 or similar should be used. This type has a totem-pole output.

The non-inverting inputs should be interlinked and connected to the tap of a a divider consisting of two 10 kΩ resistors across the supply lines. It is essential that the converter is driven by a low-resistance source. If necessary, this can be arranged via a suitable op amp input buffer. The converter draws a current not exceeding 5 mA.

Source :http://www.ecircuitslab.com/2011/07/4-bit-analogue-to-digital-converter.html
Read More..

Wednesday, December 18, 2013

Build a Digital Theremin Circuit Diagram

Theremin circuit shown in this schematic diagram uses digital component, so we can call it a digital Theremin. This circuit employs  logic inverter 74C04 or CD4069 hex inverter and CD4046 phase-locked-loop (PLL) IC. 

The CD4069 logic inverter is operated as a fixed-frequency oscillator with  frequency around 100kHz. The CD4046 is operated as a variable frequency oscillator which is adjustable around 100kHz. The exact center frequency of the on-chip oscillator is determined by R4, C2 and R3. Here is the schematic diagram of the circuit. 

Digital Theremin Circuit Diagram

The frequency of variable oscillator frequency circuit can be shifted several kilohertz by moving your hand approaching the antenna since the C2 and the antenna form an equivalent parallel capacitance. The frequency of the variable oscillator should be set to the same frequency of fixed oscillator when there is no hand or human body close to the antenna. 

This  calibration is done by adjusting the  zero control R4 pot with this simple rule: If  both oscillators (the fixed and the variable) are set to the same frequency then the Theremin will produce no output (silent). This Theremin circuit will start  producing audible tone if you move your hand approaching the antenna since it will shift the frequency of the variable oscillator. You can play this Theremin circuit by moving your right hand around the antenna and at the same time turning the volume knob R5 with your left hand.
Read More..

Digital Remote Thermometer

Remote sensor sends data via mains supply, Temperature range: 00.0 to 99.9 °C

This circuit is intended for precision centigrade temperature measurement, with a transmitter section converting to frequency the sensors output voltage, which is proportional to the measured temperature. The output frequency bursts are conveyed into the mains supply cables. The receiver section counts the bursts coming from mains supply and shows the counting on three 7-segment LED displays. The least significant digit displays tenths of degree and then a 00.0 to 99.9 °C range is obtained. Transmitter-receiver distance can reach hundred meters, provided both units are connected to the mains supply within the control of the same light-meter.

Transmitter circuit operation:

IC1 is a precision centigrade temperature sensor with a linear output of 10mV/°C driving IC2, a voltage-frequency converter. At its output pin (3), an input of 10mV is converted to 100Hz frequency pulses. Thus, for example, a temperature of 20°C is converted by IC1 to 200mV and then by IC2 to 2KHz. Q1 is the driver of the power output transistor Q2, coupled to the mains supply by L1 and C7, C8.

Transmitter Circuit diagram :

digital_remote_thermometer_reciever_schematic_circuit diagram 

Transmitter Parts :

R1 = 100K 1/4W Resistors
R2 = 47R 1/4W Resistor
R3 = 100K 1/4W Resistors
R4 = 5K 1/2W Trimmer Cermet
R5 = 12K 1/4W Resistor
R6 = 10K 1/4W Resistor
R7 = 6K8 1/4W Resistor
R8 = 1K 1/4W Resistors
R9 = 1K 1/4W Resistors
C1 = 220nF 63V Polyester Capacitor
C2 = 10nF 63V Polyester Capacitor
C3 = 1µF 63V Polyester Capacitor
C4 = 1nF 63V Polyester Capacitors
C5 = 2n2 63V Polyester Capacitor
C6 = 1nF 63V Polyester Capacitors
C7 = 47nF 400V Polyester Capacitors
C8 = 47nF 400V Polyester Capacitors
C9 = 1000µF 25V Electrolytic Capacitor
D1 = 1N4148 75V 150mA Diode
D2 = 1N4002 100V 1A Diodes
D3 = 1N4002 100V 1A Diodes
D4 = 5mm. Red LED
IC1 = LM35 Linear temperature sensor IC
IC2 = LM331 Voltage-frequency converter IC
IC3 = 78L06 6V 100mA Voltage regulator IC
Q1 = BC238 25V 100mA NPN Transistor
Q2 = BD139 80V 1.5A NPN Transistor
T1 = 220V Primary, 12+12V Secondary 3VA Mains transformer
PL = Male Mains plug & cable
L1 = Primary (Connected to Q2 Collector): 100 turns
Secondary: 10 turns
Wire diameter: O.2mm. enameled
Plastic former with ferrite core. Outer diameter: 4mm.

Receiver circuit operation :

The frequency pulses coming from mains supply and safely insulated by C1, C2 & L1 are amplified by Q1; diodes D1 and D2 limiting peaks at its input. Pulses are filtered by C5, squared by IC1B, divided by 10 in IC2B and sent for the final count to the clock input of IC5. IC4 is the time-base generator: it provides reset pulses for IC1B and IC5 and enables latches and gate-time of IC5 at 1Hz frequency. It is driven by a 5Hz square wave obtained from 50Hz mains frequency picked-up from T1 secondary, squared by IC1C and divided by 10 in IC2A. IC5 drives the displays cathodes via Q2, Q3 & Q4 at a multiplexing rate frequency fixed by C7. It drives also the 3 displays paralleled anodes via the BCD-to-7 segment decoder IC6. Summing up, input pulses from mains supply at, say, 2KHz frequency, are divided by 10 and displayed as 20.0°C. 

Receiver Circuit diagram :

digital_remote_thermometer_transmitter_schematic circuit_diagram

Receiver Parts :

R1 = 100K 1/4W Resistor
R2 = 1K 1/4W Resistor
R3 = 12K 1/4W Resistors
R4 = 12K 1/4W Resistors
R5 = 47K 1/4W Resistor
R6 = 12K 1/4W Resistors
R8 = 12K 1/4W Resistors
R9-R15=470R 1/4W Resistors
R16 = 680R 1/4W Resistor
C1 = 47nF 400V Polyester Capacitors
C2 = 47nF 400V Polyester Capacitors
C3 = 1nF 63V Polyester Capacitors
C4 = 10nF 63V Polyester Capacitor
C7 = 1nF 63V Polyester Capacitors
C5 = 220nF 63V Polyester Capacitors
C6 = 220nF 63V Polyester Capacitors
C8 = 1000µF 25V Electrolytic Capacitor
C9 = 100pF 63V Ceramic Capacitor
C10 = 220nF 63V Polyester Capacitors
D1 = 1N4148 75V 150mA Diodes
D2 = 1N4148 75V 150mA Diodes
D3 = 1N4002 100V 1A Diodes
D4 = 1N4002 100V 1A Diodes
D5 = 1N4148 75V 150mA Diodes
D6 = Common-cathode 7-segment LED mini-displays
D7 = Common-cathode 7-segment LED mini-displays
D8 = Common-cathode 7-segment LED mini-displays
IC1 = 4093 Quad 2 input Schmitt NAND Gate IC
IC2 = 4518 Dual BCD Up-Counter IC
IC3 = 78L12 12V 100mA Voltage regulator IC
IC4 = 4017 Decade Counter with 10 decoded outputs IC
IC5 = 4553 Three-digit BCD Counter IC
IC6 = 4511 BCD-to-7-Segment Latch/Decoder/Driver IC
Q1 = BC239C 25V 100mA NPN Transistor
Q2 = BC327 45V 800mA PNP Transistors
Q3 = BC327 45V 800mA PNP Transistors
Q4 = BC327 45V 800mA PNP Transistors
PL = Male Mains plug & cable
T1 = 220V Primary, 12+12V Secondary 3VA Mains transformer
L1 = Primary (Connected to C1 & C2): 10 turns
Secondary: 100 turns
Wire diameter: O.2mm. enameled
Plastic former with ferrite core. Outer diameter: 4mm.

Notes:
  • D6 is the Most Significant Digit and D8 is the Least Significant Digit.
  • R16 is connected to the Dot anode of D7 to illuminate permanently the decimal point.
  • Set the ferrite cores of both inductors for maximum output (best measured with an oscilloscope, but not critical).
  • Set trimmer R4 in the transmitter to obtain a frequency of 5KHz at pin 3 of IC2 with an input of 0.5Vcc at pin 7 (a digital frequency meter is required).
  • More simple setup: place a thermometer close to IC1 sensor, then set R4 to obtain the same reading of the thermometer in the receivers display.
  • Keep the sensor (IC1) well away from heating sources (e.g. Mains Transformer T1).
  • Linearity is very good.
  • Warning! Both circuits are connected to 230Vac mains, then some parts in the circuit boards are subjected to lethal potential! Avoid touching the circuits when plugged and enclose them in plastic boxes.
Source :  http://www.ecircuitslab.com/2011/05/digital-remote-thermometer.html
Read More..

Tuesday, August 6, 2013

Digital Bike Tachometer SP

This digital SP tachometer for bikes uses 2 reed switches to urge the speed data of the bicycle. The reed switches are put in close to the rim of the wheel where permanent magnets pass by. The permanent magnets are connected to the wheelspokes and activate the reed switches everytime they pass by it. The speed is digitally displayed.

The tachometer circuit works in step with this principle; the pulses created by the reed contacts are counted inside an explicit time interval. The ensuing count is then displayed and represents the speed of the bike. 2 4026 ICs are used to count the pulses, decode the counter and management 2 7-segment LED show. RS flip-flops U3 and U4 perform as anti-bounce.

Electronic bicycle SP tachometer circuit diagram



The pulses arrive at the counter’s input through gate U7. The measuring amount is set by monostable multivibrator U5/U6 and might be adjusted through potentiometer P1 so the tacho are often calibrated. The circuit U1/U2 resets the counters.

Since batteries are used to power the circuit, its not sensible to support the continual show of speed data. This circuit isnt continuously active. The circuit is activated solely once a button is pressed. a minimum of 3 permanent magnets should be put in on the wheel. The circuit are often calibrated with the assistance of another pre-calibrated tachometer.
 
 
Streampowers
Read More..

Saturday, April 13, 2013

SW Converter for Digital AM Car Radio

This circuit is purposely offered with many bathroomse ends (not actually, of course) to stimulate experimenting with RF circuitry at a small outlay. Looking at the circuit diagram you could additionally recognize a modified model of the SW Converter for AM Radios described in different situations in that issue. The changes had been necessary to make the circuit compatible with a digital quite than analogue AM car radio. The main distinction between digital AM radios and their all-analogue predecessors is that tuning is in 9 kHz (some-times 4.5 kHz steps) in compliance with the international frequency allocation for the band. Obviously, that exact step dimension, fascinating as it can be on MW, is a stumbling block if you want to use a digital AM receiver together with a frequency step-up converter for SW, where chaos reigns and there isn't any fastened step dimension. The first try was once to make the crystal oscillator variable through about 5 kHz each and every approach.
 
Circuit diagram :
SW Converter for Digital AM Car Radio Circuit Diagram
 
Unfortunately, regardless of serious efforts, the crystal could not be pulled more than 1 or 2 kHz so some different resolution had to be found. After finding out the NE/SA602/612 informationsheet, it was once found that a variable LC based totally oscillator was once one of the best different. The circuit labored after winding a resonant LC circuit and including a zero.1 µF sequence capacitor to dam the DC element on pin 6 of the NE602 (612). When the tuning used to be found to be a bit sharp with the original capacitor, a simple bandspread (or advantageous tuning) characteristic used to be added via shunting the LC resonant circuit with a lightly loaded 365 pF tuning capacitor (C10) which, like the principle tuning counterpart, C8, was once ratted from an outdated transistor radio. The tuning coil, L1, consists of 8 to 10 turns of 0.6-0.8mm dia. enamelled copper wire (ECW) on a 6-8 mm dia. former with out a core. With this coil, frequency protection shall be from about 4 MHz to 12 MHz or so. Details on Tr1 may be discovered in the referring article.
 
Note that no tuning capacitor is used on the secondary — the input stray capacitance of the NE602 (612) does the trick. A BFO (beat frequency oscillator) was once delivered to let SSB (single sideband) signals to be received. The BFO built round T1 is inconspicuous, has a heap of output and that is steady enough to automobilery an SSB signal for a few minutes with out adjustment. The BFO frequency is tuned with C3. Tr2 is a ready-made four55 kHz IF transformer whose inner capacitor was once first crushed after which eliminated with pliers. When S2 is closed the BFO output sign is solely superimposed on the NE602 (612) IF output to the MW radio. The converter will have to be built into a steel box for shielding. If you in finding that the BFO provides too much output, disconnect it as steered in the circuit diagram and let stray coupling do the work. Sensitivity, even on a 1-metre size of automotive radio aerial, is quite superb. Bearing in mind that many of the main international SW broadcasting stations like Radio NHK Japan, Moscow, BBC and many others.) generate enough power to ensure that you are going to hear them, it's nonetheless kind of thrilling to pay attention to such signals for the first time in your automobile radio. 


http://www.ecircuitslab.com/2012/02/sw-converter-for-digital-am-car-radio.html
Read More..

Thursday, April 11, 2013

Digital Step Km Counter

This circuit measures the distance covered during a walk. Hardware is located in a small box slipped in pants pocket and the display is conceived in the following manner: the leftmost display D2 (the most significant digit) shows 0 to 9 Km. and its dot is always on to separate Km. from hm. The rightmost display D1 (the least significant digit) shows hundreds meters and its dot illuminates after every 50 meters of walking. A beeper (excludable), signals each count unit, occurring every two steps. A normal step was calculated to span around 78 centimeters, thus the LED signaling 50 meters illuminates after 64 steps (or 32 operations of the mercury switch), the display indicates 100 meters after 128 steps and so on.

For low battery consumption the display illuminates only on request, pushing on P2. Accidental reset of the counters is avoided because to reset the circuit both pushbuttons must be operated together. Obviously, this is not a precision meter, but its approximation degree was found good for this kind of device. In any case, the most critical thing to do is the correct placement of the mercury switch inside of the box and the setting of its sloping degree.

Circuit diagram:
digital_step_km_counter_circuit_diagram
Digital Step-Km Counter Circuit Diagram

Parts:
R1 = 22K 1/4W Resistor
R2 = 2.2M 1/4W Resistor
R3 = 22K 1/4W Resistor
R4 = 1M 1/4W Resistor
R5 = 4.7K 1/4W Resistor
R6 = 47R 1/4W Resistor
R7 = 4.7K 1/4W Resistor
R8 = 4.7K 1/4W Resistor
R9 = 1K 1/4W Resistor
C1 = 47nF 63V Polyester Capacitor
C2 = 100nF 63V Polyester Capacitor
C3 = 10nF 63V Polyester Capacitor
C4 = 10µF 25V Electrolytic Capacitor
D1 = Common-cathode 7-segment LED mini-display (Hundreds meters)
D2 = Common-cathode 7-segment LED mini-display (Kilometers)
Q1 = BC327 45V 800mA PNP Transistors
Q2 = BC327 45V 800mA PNP Transistors
P1 = SPST Pushbutton (Reset)
P2 = SPST Pushbutton (Display)
IC1 = 4093 Quad 2 input Schmitt NAND Gate IC
IC2 = 4024 7 stage ripple counter IC
IC3 = 4026 Decade counter with decoded 7-segment display outputs IC
IC4 = 4026 Decade counter with decoded 7-segment display outputs IC
SW1 = SPST Mercury Switch, called also Tilt Switch
SW2 = SPST Slider Switch (Sound on-off)
SW3 = SPST Slider Switch (Power on-off)
BZ = Piezo sounder
B1 = 3V Battery (2 AA 1.5V Cells in series)

Circuit operation:

IC 1A & IC 1B form a monostable multi vibrator providing some degree of freedom from excessive bouncing of the mercury switch. Therefore a clean square pulse enters IC2 that divides by 64. Q2 drives the LED dot-segment of D1 every 32 pulses counted by IC2. Either IC3 & IC4 divide by 10 and drive the displays. P1 resets the counters and P2 enables the displays. IC1C generates an audio frequency square wave that is enabled for a short time at each monostable count. Q1 drives the piezo sounder and SW2 allows disabling the beep.

Notes:
  • Experiment with placement and sloping degree of mercury switch inside the box: this is very critical.
  • Try to obtain a pulse every two walking steps. Listening to the beeper is extremely useful during setup.
  • Trim R6 value to change beeper sound power.
  • Push P1 and P2 to reset.
  • This circuit is primarily intended for walking purposes. For jogging, further great care must be used with mercury switch placement to avoid undesired counts.
  • When the display is disabled current consumption is negligible, therefore SW3 can be omitted.

Streampowers
Read More..

Sunday, April 7, 2013

Digital Thermometer with data processing of a microcontroller AT89C4051

digital thermometer
Digital Thermometer 0-100.0°C is a digital thermometer that operates in modetemperature measurement in Celsius (° C). Digital Thermometer 0-100.0 ° C in this article uses data processor in the form of a microcontroller AT89C4051.



Temperature sensors used in Digital Thermometer 0-100.0 ° C. This temperature sensor LM35D. Digital Thermometer 0-100.0 ° C. It uses the temperature measurement data viewer in the form of 1 line LCD viewer. Digital Thermometer 0-100.0 ° C. It can display the temperature measurement data with a resolution of 0.1 ° C.

Digital Thermometer with data processing
Digital Thermometer Circuit Diagram


Digital Thermometer 0-100.0 ° C. These temperature sensors make use of LM35D as temperature sensing. In Digital Thermometer 0-100.0 ° C. This temperature sensor measurement data this LM35D (Level Voltage) is then converted into 4-bit binary data using the ADC CA3162.

Then the 4-bit data from ADC CA3162 which is a measurement of data if the temperature is in the AT89C4951 microcontroller so that it becomes an operating principle of temperature measurement based on digital thermometers. In the final stage of the Digital Thermometer 0-100.0 ° C. This is the appearance of digital data temperature measurement, using digital data viewer of the LCD 1 line.
Read More..