NCT - National Certificate in Technology

Video of the Day

Latest Post

Monday, April 6, 2020

0

Inexpensive and Open-Source Ventilator Developed By MIT Engineers

The rapid increase of infectious disease cases and lack of adequate medical equipment to counter them can put the entire medical infrastructure at standstill. In times like these, it is up to engineers and technicians to come up with innovative solutions and provide extraordinary assistance.   

Ventilator Developed By MIT Engineers

Healthcare workers are very busy people who have to attend to the sick round the clock. And due to the widespread transmission of the highly contagious COVID-19 around the world,  a record number of infected cases have been reported. This has made their job of improving a patient’s life strenuous. Adding to that, a general shortage of ventilation machines has put the entire medical infrastructure, including the support staff in a state of helplessness.

Several efforts have been made by various organisations and institutions across the globe to overcome this severe imbalance of demand and supply. One such cross-disciplinary team constituting of engineers, physicians, computer scientists and others from MIT has devised a ventilator that is highly efficient, portable and inexpensive.

Brief introduction about ventilator

When a person is hospitalised due to a respiratory illness (accompanied by shortness of breath), then that patient is put under a ventilator. It is a machine that provides mechanical ventilation, or artificially assisted air supply to support the patient’s respiratory organs such as lungs.

While a normal breathing rate is about 15 breaths a minute (BPM), an inability to respire properly can increase this rate to about 28 BPM. In such a scenario, a ventilator can play a crucial role in ensuring survivability.

Emergency ventilator

The inexpensive ventilator unit termed as MIT E-Vent (short for emergency ventilator) has been designed around a manual resuscitator, also known as an Ambu bag. This hand-held equipment is present in large quantities in several hospitals. With the help of manual compression, air is pumped into the lungs via the patient’s airway. Read more Click Here



Friday, March 27, 2020

0

100W Inverter Schematic Diagram

100W Inverter Schematic Diagram. An inverter will convert the DC voltage to an AC voltage. In most cases, the input DC voltage is usually lower than the output voltage of the inverter while the output AC is equal to the grid supply voltage 120 volts, or 240 Volts. Lets start it.

Simple 100W Inverter Schematic Diagram


Simple%2B100W%2BInverter%2BSchematic%2BDiagram


Circuit Part List

Resistors
22K Resistor 3x
220 Ohm Resistor 2x
100 Ohm Resistor 1x

Diode
4007 Diode 1x
10V Zener 1x

IC
4047 IC + 14 Pin IC socket 1x

Capacitor
0.01uf capacitor 1x
100uf capacitor 1x

MOSFETS
IRF 3205 mosfet 2x

Varo Board

Transformer
Center Tap (CT) Transformer. Input 12-0-12, while the output refer to your standard home electricity (every county may different).

In the tutorial, it use 12-6-0-6-12 5 amp Transformer you can call it 120 VA transformer. You can use any kind of 12 -0-12 transformer.

Please take a note that this inverter can handle up to 100w of load but be careful, on the 100w of load you should use Heatsinks with those mosfets.

Sourced by :  Link


Saturday, March 21, 2020

0

Study Says, Android Auto and Apple CarPlay are more dangerous than texting

In recent years, mobile operating systems such as Android or iOS have gone from being simple phone systems to becoming the center of our digital lives, reaching devices such as television, watches or even the car itself.


Android Auto and Apple CarPlay are more dangerous than texting

Tools like Android Auto or Apple CarPlay promised to be a solution to avoid using the phone while driving, but it seems that the solution would not be much better than the original problem. Or, at least, is what this study suggests.

Android Auto and CarPlay are more distracting than driving using a mobile

Today it is prohibited to use the mobile phone while driving, as well as driving under the influence of alcohol or other substances. The objective of these prohibitions is none other than to avoid any cause that prevents us from losing concentration behind the wheel.

A new study could set a precedent against the systems that project the information from our mobile to the dashboard since they have shown very interesting information that shows that Android Auto and Apple Carplay could be one more danger behind the wheel.

In the IAM RoadSmart study, they compared reaction times, considering that the reaction time of a typical driver is one second.

Exceeding the alcohol rate, the reaction time was 12% slower, while after consuming cannabis the time increase to 21% more. And then we find mobile operating systems:

Smartphone:

  •     Hands-free: 27% slower.
  •     Typing: 35% slower.
  •     Holding the mobile phone with your hands: 46% slower.

  •     Hands-free: 30% slower.
  •     Touching touchscreen: 53% slower.

CarPlay:

  •     Hands-free: 36% slower.
  •     Touching the touch screen: 57%

The one that comes out worse in the comparison is Apple’s CarPlay.
Is this type of study valid?

Given this type of study, it is reasonable that we have several thoughts. There will be those who directly think that these systems are a danger and should disappear, while there will be people who do not feel that these systems become so distracting.

In the end it is something that depends a lot on the driver. These statistics should be a signal to the interface designers of these car systems. As much as there are users that the use of technology does not penalize their ability to react, there is a group of people who do, something that should serve as a warning to simplify these systems before it can lead to something worse.

Remember that the most important thing when driving is getting there, and that there is no message important enough to be misled behind the wheel. You will read it when you can make a stop or reach your destination.


Source :IAMroadSmart


Monday, March 2, 2020

0

Simple Automatic Anchor Light Circuit Diagram

This is a Simple Automatic Anchor Light Circuit Diagram.Most of the cruisers do not use a masthead anchor light because the light is too high above the water level and actually makes it difficult to judge the position of the boat from just the anchor light, especially in a pitch-dark anchorage. That is why many people have devised their own forms of anchor lights that they stick lower to the deck on both sides of their boat.



Here is the circuit of a compact yet inexpensive automatic anchor light integrated with an ambient light sensor that turns it on and off automatically. This 12-volt LED light can be used as a traditional masthead anchor light and/or as an optional pretty clever custom-built anchor light. A typical commercial anchor light is shown in Fig. 2.



The circuit described here (refer Fig. 3) lets you control an electromagnetic relay so that it turns on a white LED light when the preset light level is reached and turns it off when a different preset level is reached. The circuit is built around NE555 IC (IC1). The 5mm light dependent resistor (LDR1) in the circuit triggers the 12V electromagnetic relay (RL1) as per the ambient light level. RL1 drives the 10mm white LED light source (LED2). Series resistor (R2) is included to limit the white LED current.

Automatic Anchor Light Circuit Diagram
 Fig. 3: Circuit diagram of the anchor light

Note that switching threshold is determined by a 470k potentiometer (VR1) that causes the output to toggle with the preset threshold values. The light source (LED2) automatically switches on when it gets dark and switches off when there is sufficient ambient light. The 100µF capacitor (C1) provides a bit of hysteresis to prevent the circuit from jittering near the threshold level. The circuit is optimised for use with a nominal DC voltage of 12V drawn from any standard accumulator commonly used in boats.

Construction and testing

A single-side PCB pattern for the anchor light circuit is shown in Fig. 4 and its component layout in Fig. 5.

PCB pattern of the anchor light circuit

Fig. 4: PCB pattern of the anchor light circuit

Component layout of the PCB
Fig. 5: Component layout of the PCB

The circuit assembled on the small PCB can fit easily inside most prototype/custom enclosures, which should be waterproof for mounting on the masthead.

Suggested enclosure layout
 Fig. 6: Suggested enclosure layout

 If possible, try to add some optics (lens and reflector) with the white LED (LED2) to spread the light outward. The 12V power supply input wires can then be connected to corresponding wires extending from the existing electric-points of the anchor light. Fig. 6 shows how the prototype may be assembled. Author’s prototype is shown in Fig. 7.

 Author’s prototype
 Fig. 7: Author’s prototype


 Sourced By EFY : Authors name :T.K. Hareendran


Friday, February 21, 2020

0

Power Supply For Adjustable Voltage And Current

How to make a Power Supply For Adjustable Voltage And Current, The circuit diagram of the power supply is shown in Fig. 1. It is built around bridge rectifier (BR1), adjustable voltage regulator LM350 (IC1), transistors BC327(T1) and BC337(T2), and a few other components.

Circuit diagram of the simple power supply with adjustable voltage and current with LM350

Fig. 1: Circuit diagram of the simple power supply with adjustable voltage and current with LM350

Input to connector CON1 can be AC or DC. If you use an 18 to 20Vrms transformer with 2A current ratings, you can have output voltage VOUT1 from 1.2V up to around 16.5V available at CON3, and VOUT2 from 0V to 15V available at CON2. Input is protected with 2A fuse F1. Capacitors C3 and C5 (2200µF) are the main filtering capacitors.

Input voltage is limited by maximum input voltage of IC LM350. Maximum power dissipation of LM350 is around 25W.


According to the data sheet, input voltage of LM350 can be from around 4.5V to 35V, and output voltage can be adjusted from 1.2V to 33V; however, we need output voltage lower than 17V.

Output voltage VOUT1 can be calculated using the following relationship:
VOUT1=1.25V (1+(VR2+VR3)/R7))

Output voltage VOUT2 is around 1.5V lower than VOUT1, and can consequently start from 0V.

Transistors T1 and T2 are implemented for adjustable current-limiting function along with potentiometer VR3. Minimum output current is around 0.35A, and depends on resistors R2 and VR3.

Wiper of VR3 should be at the right-most position to get minimum output current, and at the left-most position for maximum output current. Maximum output current is around 2A. When VR1 is adjusted for maximum output current, T1 and T2 will be on, and LED2 will glow. Otherwise, T1 and T2 will be off, and the LED2 will also be off.



Capacitors C4 and C9 prevent oscillations of T1 and T2 during transitional phases. Output voltage is adjusted with VR1 and VR3. VR2 is used for coarse adjustment, while VR3 is used for more precise output voltage adjustment.
Construction and testing

A PCB layout for this power supply circuit is shown in Fig. 2 and its component layout in Fig. 3. Assemble the circuit on the designed PCB or veroboard. Connect around 18 to 20Vrms input to CON1. Glowing of LED1 indicates the presence of power supply in the circuit. LED2 glows when higher current is taken from the load. LED3 glows when outputs are available at CON2 and CON3.

PCB layout of the simple voltage adjustable power supply

Fig. 2: PCB layout of the simple voltage adjustable power supply

Components layout for the PCB

Fig. 3: Components layout for the PCB


Measure outputs across CON2 and CON3 using a voltmeter. You should be able to get output voltage VOUT1 from 1.2V up to around 16.5V, and VOUT2 from 0V to 15V depending on positions of VR2 and VR3.






Author : Petre Tzv Petrov Sourced By EFY


Tuesday, November 19, 2019

0

PWM Dimmer/Motor Speed Controller

This is yet another project born of necessity. It's a simple circuit, but does exactly what it's designed to do - dim LED lights or control the speed of 12V DC motors. The circuit uses PWM to regulate the effective or average current through the LED array, 12V incandescent lamp (such as a car headlight bulb) or DC motor. The only difference between the two modes of operation is the addition of a power diode for motor speed control, although a small diode should be used for dimmers too, in case long leads are used which will create an inductive back EMF when the MOSFET switches off.

 
Photo of Completed PWM Dimmer/Speed Control

The photo shows what a completed board looks like. Dimensions are 53 x 37mm, so it's possible to install it into quite small spaces. The parts used are readily available, and many subsitiutions are available for both the MOSFET and power diode (the latter is only needed for motor speed control). The opamps should not be substituted, because the ones used were chosen for low power and their ability to swing the output to the negative supply rail. Note that if used as a motor speed controller, there is no feedback, so motor speed will change with load. For many applications where DC motors are used, constant speed regardless of load is not needed or desirable, but it is up to you to decide if this will suit your needs.

Description
First, a description of PWM is warranted. As the pot is rotated clockwise, the input voltage changes linearly with rotation. At first, the voltage is such that the comparator output is just narrow spikes, which turn the MOSFET on for a very short period. Average current is low, so connected LEDs will be quite dim, or a motor will run (relatively) slowly. As the input voltage coming from the pot increases, the MOSFET is on for longer and longer, so increasing power to the load.


figure 1 - PWM Waveform Generation

Figure 1 shows how the PWM principle works. The red trace is the triangle wave reference voltage, and the green trace is the voltage from the pot. When the input voltage is greater than the reference voltage, the MOSFET turns on, and current flows in the load. Because the frequency is relatively high (about 600Hz), we don't see any flicker from the LEDs, but the tone is audible from a motor that's PWM controlled. The PWM signal is shown in blue. The average current through the load is determined by the ratio of on-time to off-time, and when both are equal, the average current is exactly half of that which would be drawn with DC.

Dimmer/Speed Controller Schematic

Figure 2 - Dimmer/Speed Controller Schematic

The circuit is shown in Figure 2. U1 is the oscillator, and generates a triangular waveform. R4 and R5 simply set a half voltage reference, so the opamps can function around a 6V centre voltage. U2A is an amplifier, and its output is a 10V peak to peak triangle wave that is used by the comparator based on U2B. This circuit compares the voltage from the pot with the triangle wave. If the input voltage is at zero, the comparator's output remains low, and the MOSFET is off. This is the zero setting. In reality, the reference triangle waveform is from a minimum of about 1.5V to a maximum of 9.5V, so there is a small section at each end of the pot's rotation where nothing happens. 

This is normal and practical, since we want a well defined off and maximum setting. Because of this range, for lighting applications, an industry standard 0-10V DC control signal can be used to set the light level. C-BUS (as well as many other home automation systems) can provide 0-10V modules that can control the dimmer. While a 1N4004 diode is shown for D2, this is only suitable if the unit is used as a dimmer. For motor speed control, a high-current fast recovery diode is needed, such as a HFA15TB60PBF ultra-fast HEXFRED diode. There are many possibilities for the diode, so you can use whatever is readily available that has suitable ratings. The diode should be rated for at least half the full load current of the motor, and the HFA15TB60PBF suggested is good for 15A continuous, so is fine with motors drawing up to 30A.

Construction
While it's certainly possible to build the dimmer on veroboard or similar, it's rather fiddly to make and mistakes are easily made. Also, be aware that because of the current the circuit can handle, you will need to use thick wires to reinforce some of the thin tracks. This is even necessary for the PCB version. Naturally, I recommend the PCB, and this is available from ESP. The board is small - 53 x 37mm, and it carries everything, including the screw terminals. The PCB is double-sided with plated-through holes, and has solder masks on both sides. The MOSFET will need a heatsink unless you are using the dimmer for light loads only. It is necessary to insulate the MOSFET from the heatsink in most cases, since the case of the transistor is the drain (PWM output).

For use at high current and possible high temperatures, the heatsink may need to be larger than expected. Although the MOSFET should normally only dissipate about 2W or so at 10A, it will dissipate a lot more if it's allowed to get hot. Switching MOSFETs will cheerfully go into thermal runaway and self destruct if they have inadequate heatsinking. You may also use an IGBT (insulated gate bipolar transistor) - most should have the same pinouts, and they do not suffer from the same thermal runaway problem as MOSFETs. As noted above, there are many different MOSFETs (or IGBTs) and fast diodes that are usable. The IRF540 MOSFET is a good choice, and being rated 27A it has a generous safety margin. There are many others that are equally suitable - in fact any switching MOSFET rated at 10A or more, and with a maximum voltage of more than 20V is quite ok.

Testing

Connect to a suitable 12V power supply. When powering up for the first time, use a 100 ohm "safety" resisor in series with the positive supply to limit the current if you have made a mistake in the wiring. The total current drain is about 2.5mA with the pot fully off, rising to 12.5mA when fully on. Most of this current is in the LED, which is also fed from the PWM supply so you can see that everything is working without having to connect a load. Make sure that the pot is fully anti-clockwise (minimum), and apply power. You should measure no more than 0.25V across the safety resistor, rising to 1.25V with the pot at maximum. If satisfactory, remove the safety resistor and install a load. High intensity LED strip lights can draw up to ~1.5A each, and this dimmer should be able to drive up to 10 of them, depending on the capabilities of the power supply and the size of the heatsink for the MOSFET.

source: sound.westhost


Friday, November 1, 2019

0

Filter and Polarity Guard for AC/DC Adaptors

The circuit diagram of the filter and polarity guard for the wall AC/DC adaptor is shown in the figure. It is built around a bridge rectifier (BR1), two inductors (L1 and L2), three LEDs, and a few capacitors and resistors.

The circuit has input polarity indicators LED1 and LED2, input fuse F1, input high frequency filter, bridge rectifier BR1, output LC filter and output voltage indicator LED3. Input polarity indicators show the polarities of input AC or DC power connections at connector CON1.

LED1 indicates reverse polarity, whereas LED2 indicates correct polarity of the input signal. Irrespective of input connections, polarities of output voltage at CON2 will not change. LED3 is on when output voltage is present at CON2.

Input filter is built around capacitors C1, C2 and C3 to stop the high frequency noise at input of the device. BR1 is used to ensure that output voltage does not depend on input polarity and, consequently, has fixed polarity. At output of BR1, there is a set of capacitors for reducing ripples and noise coming from the wall adaptor. After that, L1 and L2 further reduce the ripples and noise.

Filter and Polarity Guard for AC/DC Adaptors circuits diagram
Filter and Polarity Guard for AC/DC Adaptors circuits diagram

Output capacitor C9 provides good filtration at low frequencies and high output peak current. You can calculate the current capacity of this capacitor with the following relationship:

I=C×(dV/dT)

Here, I is the instantaneous current through the capacitor in amperes. C is capacitance in Farads. dV is change in voltage of capacitor in volts. dT is time interval or duration of the pulse applied on the capacitor in seconds. dV/dT is the instantaneous rate of voltage change over the capacitor as volts/second.

L1 and L2 are selected according to required output current and suppression of noise and ripples. All capacitors should be rated for at least 35V because most are designed for 19V and above.
Construction and testing

It is easy to assemble the circuit on a Veroboard. The circuit does not require any adjustments to work properly. Input fuse F1 is selected according to the wall adaptor output rating.

Using the circuit is simple. Connect output of the adaptor to CON1. Then, connect output voltage from CON2 to the load or target device.



The circuit is simple but useful for wall AC/DC adaptors where it is important to reduce ripples and noise, and improve transient response of the adaptors. It can also be used in a wide range of switching and analogue power supplies.

The circuit has been developed for 26V and 19V wall adaptors, but by replacing some components, it can be used for other wall adaptors with output voltage starting from 5V. When input polarity is fixed, the bridge can be replaced with simple diodes depending on requirement.

Sourced By : EFY Author : Petre Tzv Petrov


Thursday, July 4, 2019

0

Balanced Preamp Electret Microphone Circuit Diagram

Among the tasks solved with the help of electret microphones, one can distinguish the sound of large rooms (for example, conference rooms, temples, etc.) with a relatively large distance from the sound source, which requires high sensitivity and noise immunity. Industrial microphones for such purposes are quite expensive and, in addition, require an autonomous power source for the preamp.

The purpose of this development was to reduce the cost of manufacturing a highly sensitive and noise-proof microphone, without significant loss of playback quality.

The basis is the scheme [1] of a balanced preamplifier, powered directly from phantom power (+48 V) of a mixing console:

Balanced Preamp Electret Microphone Circuit Diagram

Its main disadvantage is excessive amplification, leading to clipping of the microphone-sensitive microphone inputs of the console. In addition, the electret microphone supply [2] is not rational enough, as well as the temperature-dependent displacement of the transistor bases on six diodes included as stabistors. The presence of these diodes, as well as electrolytic capacitors, increases the size of the board and does not contribute to miniaturization.

An attempt to replace diode stabilization with a reverse-shifted base-emitter junction of a planar transistor (KT315) was unsuccessful due to the increased noise (hiss) in the useful signal.



Therefore, in the subsequent stabilization was applied on the shunt regulator TL431, which demonstrated the practical absence of extraneous noise and high thermal stability of the bias voltage.

The final circuit of the electret microphone preamp is shown below.



Its features were additional collector resistors R7 and R9, about 4.5 times lowering the amplitude of the signal at the connector pins compared to the collectors of transistors VT1 and VT2, as well as setting the bias base VT2 directly from the divider connected to the control electrode of the shunt DA1 (+2.5 V). The electret microphone is powered from the cathode DA1 through the divider R3R6, so that the constant voltage on it is half the power supply (ie, +2.5 V from +5 V) and becomes equal to the voltage on the control electrode DA1. Such a microphone connection provides maximum sensitivity. It was tested in the project [3] and demonstrated its practical applicability.

The diagram is made on surface-mounted components (SMD) on a printed circuit board with dimensions 37 x 15 mm (drawing in * .lay7 format is given in the attachment):


The setting is reduced to equalizing the potentials between the contact points (shown by an arrow), which are displayed on the front side of the board by rotating the trimming resistor slider.






 Search Related:

electret microphone preamp
electret microphone preamp circuit
electret condenser microphone preamp
electret condenser microphone preamp circuit
electret microphone preamp ic
electret microphone preamp kit
best electret microphone preamp
preamp mic electret
diy electret microphone preamp
preamp for electret microphone
electret microphone preamp schematic




Saturday, May 25, 2019

0

Dual-tone multiple frequency Based Food Dispenser for Aquarium

Presented here is an Arduino-based automatic fish feeding system for an aquarium. Feeding the fish is a daily task, which can become a problem if you are out of station for more than a day. This dispenser just needs to call a cellphone number followed by another number to perform a particular task, like turning on the motor to feed the fish in the aquarium. This project requires two cellphones, one for making the call and another for receiving it.


Circuit and working

The block diagram of the automatic food dispenser for an aquarium is shown in Fig. 1. The circuit diagram of the same is shown in Fig. 2. It consists of Arduino Uno board (Board1), DTMF decoder MT8870 (IC1), 5V voltage regulator 7805 (IC2), npn transistors BC547 (T1) and 2N2222 (T2), 5V relay (RL1), 12V DC motor and a few other components.


Fig. 1: Block diagram of automatic food dispensing system


Fig. 2: Circuit diagram of automatic food dispenser for aquarium

DTMF

Dual-tone multiple frequency (DTMF) is a signalling system for identifying the key or number dialed on a DTMF keypad. Generally, the keypad used is of 4×4 matrix type. Basically, DTMF is a sinusoidal tone, which is a combination of row and column frequencies, as shown in Table I.


In this project, DTMF decoder MT8870 (IC1) is used, which is powered by 5V DC supply. It is connected with an audio jack through a single transistor (T1) amplifier stage. The jack is connected to the audio port of the cellphone.

Arduino Uno

Arduino board (Board1) is connected to IC1 and RL1, as shown in the circuit diagram. Here, pins 11 through 14 of IC1 are connected with digital I/O pins 2 through 5 of Arduino. Input signals received from IC1 are processed by Arduino.

DC motor

A geared DC motor is connected to Arduino through RL1. A single-changeover relay is used here for controlling the geared DC motor.

A special arrangement is made on the shaft of the DC geared motor, which works as the dispensing unit. The food container is placed above the aquarium tank and contains sufficient food for the fish. A hole/slot is made at the bottom of the container. A suitable bottom lid for the container is attached to the shaft of the motor. A suitable slot is made in the lid, too.

Both the slots (container and lid) are of the same size. These slots are off-centred. The dispenser unit, which includes motor shaft, lid, container and slots, should be properly aligned. The proposed food dispenser assembly unit is shown in Fig. 3.


Fig. 3: Proposed food dispenser assembly unit

When the lid rotates along the motor’s shaft, the slot gets aligned with the slot of the container. As soon as the two slots are aligned, food reserved in the container falls into the aquarium tank due to self-weight.

The sequence of operations to activate the dispensing unit is shown in the block diagram.

Two cellphones are needed in this project. The receiver cellphone must be set on auto-answering mode, so that when the caller calls, it should automatically receive the call.

After a call is established, a predefined sequence of numbers on the keypad are to be pressed on the caller’s phone. This sequence is defined in Arduino program. IC1 decoder receives key-pressed DTMF signals from the caller’s cellphone and decodes it. These decoded signals are obtained on pins 11 through 14 of IC1. These input signals are processed as per Arduino program and the mathematical equations of calculation of decibel and binary values. Binary value is calculated in the program from input signals using the arithmetic equation given below.

Binary value=1000×v4+100×v3 +10×v2+v1
where, v1-v4 are outputs from MT8870 DTMF IC.

Here, keys 2 and 5 on the caller’s cellphone are used for starting and stopping the DC geared motor, respectively. The program can be modified as per requirement. Table II shows the binary value for each key.

Software

Arduino program (Aquarium_food_disp.ino) was used for this prototype. It must be uploaded to Arduino Uno. For this, Arduino IDE, which is an open source software, is needed. In the program, Arduino digital pins 2 through 5 are defined as input.

Main functions of Arduino code are explained below.

pinMode()

This configures the specified pin to behave either as input or output. (See the description of digital pins in Arduino manual for details on the functionality of pins.)
digitalWrite()

If the pin has been configured as output with pinMode(), its voltage will be set to the corresponding value, which is 5V (or 3.3V on 3.3V boards) for high, and 0V (ground) for low.
digitalRead()

This reads the value from a specified digital pin, as either high or low.
begin(). This sets the data rate in bits per second (baud) for serial data transmission. For communicating with the computer, use one of these rates: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600 or 115200. You can also specify other rates.


For example, to communicate with an external component over pins 0 and 1 of Arduino, a particular baud rate may be required.

Construction and testing

An actual-size PCB layout of the food dispenser is shown in Fig. 4 and its components layout in Fig. 5. Use a geared DC motor for rotating the lid. A 12V battery (BATT.1) is used to power the transistor amplifier stage, 7805 and Arduino board. Another 12V battery (BATT.2) is used to power the geared DC motor.


Fig. 4: PCB layout of automatic food dispenser


Fig. 5: Components layout for the PCB


Connect the DTMF module and receiver phone using a 3.5mm audio jack. Make sure that the receiver phone is on auto-answering mode. Now, make a call on the receiver phone. After the call is received, press 2 on the caller phone. If communication is established successfully, RL1 will be energised and motor M1 will start rotating its shaft. The lid will rotate along with the shaft. For stopping the motor, press 5 on the caller phone.
Author: Tej Vijaykumar Patel sourced by : EFY


Tuesday, May 21, 2019

0

DC / DC converter for USB connections

This converter is inexpensive and quick to build, it is nothing more than a DC / DC converter, its use is for USB sockets or any other device that needs a stabilized voltage 5 Volts and a maximum current of 2 amps.

With this power converter, you insert a voltage from 6 Volts to 24 Volts and have a regulated output of 5 Volts per 2 Amperes. That is, you can use a car or motorcycle battery or your vehicle's cigarette lighter as power, and you will have an outlet to charge your cell phone, camera, etc.

DC / DC converter for USB jacks


The circuit is very simple, and you may have already seen it in some project here on the site, the circuit uses only five components, a 7805 positive voltage regulator integrated circuit, a TIP42 transistor, a 5 Ohm resistor and two disk capacitors or polyester, one of .33 and the other of .1 or 330 and 100 nF.

The capacitors are filters and accompany the voltage regulator 7805. This converter works perfectly, as long as you respect a number of devices connected to it. The creator himself says it's ideal for a small USB hub that does not have large, connected devices.

DC / DC converter for USB connections Circuit

Above the electronic circuit diagram and the integrated circuit board of the converter, but because the circuit is compact, one can build the circuit without printed circuit board, ie using other ways of construction.

If you need more current, you will need to modify the circuit by adding a larger heat sink and even a more powerful transistor. The voltage regulator can be maintained since it only does the job of regulating the voltage at the base of the transistor and only a small current passes through it, requiring neither the installation of a heatsink on the 7805.

According to the creator of the project, any regulator integrated circuit of the line 78xx, 5, 6, 8 or 9 Volts can be used from a source of 12Volts.

The TIP42 was left with enough spacing around it to fit the small heat sink. The R1 resistor was calculated to maintain the maximum current through the TIP42, ie, about 2 Amperes.


Tuesday, October 23, 2018

0

Low-Cost GPS Clock

Real-time clock (RTC) integrated circuits (ICs) are used for reasonably accurate time displays. The accuracy of RTCs mostly depends on the crystal. In a long run, a small-time deviation will be observed in the RTC circuit due to seasonal and atmospheric temperature changes. In case of a Global Positioning System (GPS) clock, the time/time stamp is received from the satellite(s) and is highly accurate. This project is based on a low-cost GPS clock using AVR ATmega8A microcontroller (MCU).

Circuit and working of Low-Cost GPS Clock

Circuit diagram of the simple and low-cost GPS clock is shown in Fig. 1. It is built around ATmega8A (IC1), NEO 6M GPS receiver module (GPS1) along with an antenna, 16×1 LCD (LCD1) and a few other components.

Circuit diagram of GPS clock

Fig. 1: Circuit diagram of GPS clock

NEO 6M GPS receiver module receives National Marine Electronics Association (NMEA) data continuously and transfers the same to ATmega8A MCU. The MCU processes the data and picks the date stamp from the received data string. The following data format is searched in the received data, which is used to pick the time stamp:

$GPGGA, 143621, .

The MCU checks for the keyword $GPGGA and reads the next six characters of the received string and displays it on LCD1. This process repeats in a cyclic process, and the latest time is displayed.

The time stamp received is always in Universal Time Coordinated (UTC) format, which matches with Greenwich Mean Time (GMT). To convert it to local time, add proper time constant to UTC time, which will depend on the country and city. In the program, the local time constant for Indian time is set to +5:30, but you can modify it to set a different value.

The local time constant is declared in C program as:

int ADJ[2] = {5,30};

Initial setup
After connecting the circuit, upload GPSclock.hex file to ATmega8A MCU using any AVR programmer through ISP port. Once the program is loaded, blinker LED1 will glow for one second followed by ‘NEO 6M GPS Clock’ message on LCD1. By default, it will display in UTC format.

To change to local time constant, press any switch (S2 or S3) to display the existing value. By pressing hours and minutes switch, the local time constant changes. If no switch is pressed for more than four seconds, the value is saved in EEPROM of the MCU.

The GPS module will initialise and try to connect to the satellite for data reception. This may take some time, say, three to five minutes. LCD1 will display “Connecting..” till the data is received from the satellite. Once the data is received, the time will be displayed on LCD1 in HH:MM:SS format continuously. In case GPS module is not connected, or is giving a connection error, ‘NO GPS MODULE’ message will be displayed on LCD1.

Use shorting jumpers SJ1 for 12/24-hour format and SJ2 for local/UTC time to be displayed. LED1 will indicate that the MCU is processing the received data. Potmeter VR1 is used for adjusting the contrast for LCD1.



Construction and testing
An actual-size PCB layout of low-cost GPS clock circuit is shown in Fig. 2 and its components layout is shown in Fig. 3.

Fig. 2: PCB layout of GPS clock

Fig. 3: Components layout for the PCB

Assemble the circuit on the PCB and connect 5V across CON1 to operate the circuit. Enclose the circuit in a suitable box and connect GPS1 across CON2. Connect the antenna to GPS1. Place the unit at a suitable location along with LCD1. Jumpers J1 and J2 shown in the PCB can be any conductor wires. Connect these before switching on the circuit.

Jumper setting
Connect SJ1 in 12-hour format, otherwise it will be set in 24-hour format by default. Connect SJ2 for UTC time, otherwise it will be set in local time (UTC+5.30).

For example, the time stamp received by the GPS module is 14:15:16, which is in UTC time in 24-hour format by default. Now, LCD1 will display the time as per the settings for SJ1 and SJ2, as shown in the table, assuming the local time constant as +05:30:00.


To change the local time, press minutes and hours switches (S2 and S3, respectively) during initialisation of the system when NEO 6M GPS message appears on LCD1. Change local time constant only once.



Sourced: EFU Author : Fayaz Hassan


0

Two Channel RC Car Receiver

Someone anonymous left me a comment in this post asking that, since I had analyzed the transmitter, I also described the receiver. The comment I deleted, for the lack of care of its editor, but the request seemed right. A typical receiver of a cheap car made in China does not have much crumb. This I present is one that cost me between 3 and 4 euros (for those who are more familiar, about 4.5 USD).

Current Radio Control circuits

  There are three types of low-end radio controlled cars. Of course they do not have to be cars, the external form can be any. What matters is the circuit. Of course we talk about radio control at 27MHz, there are other controls that work with infrared but I will not talk about that.

  As I say, in RC models today we find only three types of circuits. Because the manufacturers are the same and barely change the schemes. The scheme depends on the channels that the car has. Channels are the independent actions you can perform.

  Diagram of a channel: These are the most basic and only have a button on the remote. They are the typical ones that nothing else turn them on the car goes forward. When we press the button it goes backwards and at the same time it rotates, to continue advancing as soon as we release the button. The circuit is very simple: a transmitter in the control and a receiver tuned in the car. As soon as the receiver picks up the command signal, it switches the address. Often the signal is not even modulated.

  Scheme of two channels: These have three states: forward, backward and stopped. They have two push buttons, one for forward and one for backward that can be independent or joined in a lever. The transmitter is an oscillator that can emit two tones of different frequencies (250Hz and 1000Hz), we already described the operation in this input. As for the receiver, the scheme is usually based on the integrated RX-3 from Silan. That is going to be the one we describe today.

  Scheme of five channels: They are the cars with functions of back-forward-turbo and left-right. In this case it is no longer comfortable to use different frequencies for each option, so digital modulation is used. Both the transmitter and the receiver use dedicated integrated. The TX-2B and the RX-2B respectively. We are not going to talk about them today

  Of course there are many more schemes. But these and their variants are the most common you will find in the bazaars. For the mid-range and modeling, especially in airplanes, other not so simple circuits are already used.

Two-channel receiver

This is the receiver of an RC car with two channels: forward / backward and stopped in the absence of signal. First let's look at the plate to get an idea:

Two Channel RC Car Receiver

Two Channel RC Car Receiver

Two Channel RC Car Receiver


We could reproduce the circuit from the tracks, as we did with the transmitter. But it is very boring, in addition in the datasheet of the RX-3 comes a scheme proposed by the integrated manufacturer. It is to be hoped that ours does not deviate too much and in fact it is very similar, deleting some components to save costs.

Two Channel RC Car Receiver


I have colored some sections so you can see them better (click to enlarge). Let's see how it works.

Section A: Radio frequency stage.

It seems that it is a regenerative receptor. The feedback is done through the 5.6kΩ resistance. These circuits apply positive feedback almost to the point of oscillating with the input signal. For how simple they are, they have very good sensitivity and selectivity characteristics. They have known each other since the earliest days of radio. The first patent is from 1914, with valves, of course.

The transmission reaches the antenna, passes through the tuned tank circuit and is amplified with the transistor. One of the diodes of the transistor also acts as an AM detector. Detecting and re-amplifying the tone with which the carrier is modulated. This type of design was used much earlier, when the cost of the transistors was very high. And that cost less than valves. The first transistor radios that came out proudly announced 6 transistors. Today the remote control that we analyze has 7, and the computer with which I write and read has several millions of miniature transistors inside.

The extracted audio tone goes to section B to be amplified

Section B: Audio amplification.

The integrated RX-3 incorporates two inverting amplifiers ready to use. The outer pins connect with what would be the equivalent of the inverter inputs.

The resistors and capacitors that make up this section are the feedback networks of both amplifiers. The first of them has an amplification of about 30dB which is greatly reduced for high frequencies by the effect of the 500pF capacitor in parallel with the resistance.

The second stage is configured with a gain of 10dB. All this grossly without counting the losses by the coupling capacitors, in series with the input resistors, which separate the direct current and only let the alternating current pass through.

The entire amplifier stage has a gain of 40dB. The detected tone is applied to pin 4 of the integrated. This is the demodulated signal input. When a 1000Hz tone arrives at this pin, pin 11 will be set high -forward- and the car will move forward. On the other hand when a tone of 250Hz arrives, the pin 9 -backward- will turn on and roll backwards

Section C: Bridge H.

When we apply tension to an engine it turns in a certain direction. If what we want is that we rotate one way or another at will we have to use a special arrangement of transistors to feed it. This circuit is called bridge H.

When the integrated applies voltage to the pin 11 -speed- the transistor Q9 goes to conduction. With it as a cascade reaction they also switch Q11 and Q13, grounding the left terminal of the motor and supplying positive voltage to the right one. And the engine will turn in one direction.

On the other hand, when pin 8 is activated -return- transistor Q8 is activated which in turn activates Q12 and Q10. Under these conditions, the left terminal of the motor would receive positive voltage while the right terminal is connected to ground. Just the reverse of the previous situation, and the engine will turn in the opposite direction.

There are variants of this scheme. In the scheme there are 5 NPN and 1 PNP transistors. However on the plate we have there are 4 NPN and 2 PNP. There are multiple possibilities but the idea is the same.

Section D: Food.

Finally, section D is the circuit power. There is not much to emphasize here. There are components that are missing in the commercial plate, for example the diode D1, which prevents against inversion of the batteries, they have saved it. As well as some filtering capacitors.

We see that the part that feeds the stage A is decoupled by a resistance of 100Ω and a capacitor. It serves so that no residual RF signal can leak into the power line and interfere with the integrated one.

In some circuits this part is not well designed, and the RF is coupled with the power supply, it can also pass through the parasitic capabilities between the tracks for example. In many cases of erratic behavior, especially with micro controllers this is the problem


Wednesday, August 1, 2018

0

A Doorbell for the Deaf

This circuit provides a delayed visual indication when a door bell switch is pressed. In addition, a DPDT switch can be moved from within the house which will light a lamp in the door bell switch. The lamp can illuminate the words "Please Wait" for anyone with walking difficulties. 


A Doorbell for the Deaf Circuit Diagram :

A Doorbell for the Deaf Circuit Diagram



Notes :
The circuit uses standard 2 wire doorbell cable or loudspeaker wire. In parallel with the doorbell switch, S1, is a 1N4001 diode and a 12 volt 60mA bulb. The bulb is optional, it may be useful for anyone who is slow to answer the door, all you need to do is flick a switch inside the house, and the bulb will illuminate a label saying Please Wait inside the doorbell switch or close to it. The double pole double throw switch sends the doorbell supply to the lamp, the 22 ohm resistor is there to reduce current flow, should the doorbell switch, S1 be pressed while the lamp is on. The resistor needs to be rated 10 watts, the 0.5 Amp fuse protects against short circuits.

When S2 is in the up position (shown as brown contacts), this will illuminate the remote doorbell lamp. When down, (blue contacts) this is the normal position and will illuminate the lamp inside the house. Switch S1 will then charge the 47u capacitor and operate the transistor which lights the lamp. As a door bell switch is only pressed momentarily, then the charge on the capacitor decays slowly, resulting in the lamp being left on for several seconds. If a longer period is needed then the capacitor may be increased in value.


0

Voltage Inverter using IC NE 555

In many circuits we need to generate an internal adjustable voltage. This circuit shows how it is possible to use a trusty old NE555 timer IC and a bit of external circuitry to create a voltage inverter and doubler. The input voltage to be doubled is fed in at connector K1. To generate the stepped-up output at connector K2 the timer IC drives a two-stage inverting charge pump circuit.

The NE555 is configured as an astable multivibrator and produces a rectangular wave at its output, with variable mark-space ratio and variable frequency. This results in timing capacitor C3 (see circuit diagram) being alternately charged and discharged; the voltage at pin 2 (THR) of the NE555 swings between one-third of the supply voltage and two-thirds of the supply voltage.

Voltage Inverter Circuit Using IC NE555 

Voltage Inverter using IC NE 555


The output of the NE555 is connected to two voltage inverters. The first inverter comprises C1, C2, D1 and D2. These components convert the rectangular wave signal into a nega-tive DC level at the upper pin of K2. The second inverter, comprising C4, C5, D3 and D4, is also driven from the output of IC1, but uses the negative output voltage present on diode D3 as its reference potential. The consequence is that at the lower pin of output connector K2 we obtain a negative volt-age double that on the upper pin.

Now let us look at the voltage feedback arrangement, which lets us adjust this doubled negative output voltage down to the level we want. The NE555 has a control voltage input on pin 5 (CV). Normally the voltage level on this pin is maintained at two-thirds of the supply voltage by internal circuitry. The voltage provides a reference for one of the comparators inside the device. If the reference voltage on the CV pin is raised towards the supply voltage by an external circuit, the timing capacitor C3 in the astable multivibrator will take longer to charge and to discharge. As a result the frequency of the rectangle wave output from IC1 will fall, and its mark-space ratio will also fall.

The source for the CV reference voltage in this circuit is the base-emitter junction of PNP transistor T1. If the base volt-age of T1 is approximately 500 mV lower than its emitter voltage, T1 will start to conduct and thus pull the voltage on the CV pin towards the positive supply.

In the feedback path NPN transistor T2 has the function of a voltage level shifter, being wired in common-base configuration. The threshold is set by the resistance of the feedback chain comprising resistor R3 and potentiometer P1. When the emitter voltage of transistor T2 is more than approximately 500 mV lower than its base voltage it will start to conduct. Its collector then acts as a current sink. Potentiometer P1 can be used to adjust the sensitivity of the negative feedback circuit and hence the final output voltage level.Using T1 as a voltage reference means that the circuit will adjust itself to compensate not only for changes in load at K2, but also for changes in the input supply voltage. If K2 is disconnected from the load the desired output voltage will be maintained, with the oscillation frequency falling to around 150 Hz.

A particular feature of this circuit is the somewhat unconventional way that the NE555’s discharge pin (pin 7) is connected to its output (pin 3). To understand how this trick works we need to inspect the innards of the IC. Both pins are outputs, driven by internal transistors with bases both connected (via separate base resistors) to the emitter of a further transistor. The collectors of the output transistors are thus isolated from one another [1].

The external wiring connecting pins 3 and 7 together means that the two transistors are operating in parallel: this roughly doubles the current that can be switched to ground.The two oscilloscope traces show how the output voltage behaves under different circumstances. The left-hand figure shows the behaviour of the circuit with an input voltage of 9 V and a resistive load of 470 Ω connected to the lower pin of output connector K2. The figure on the right shows the situation with an input voltage of 10 V and a load of 1 kΩ on the lower pin of output connector K2. The pulse width and frequency of the rectangle wave at the output of IC1 are automatically adjusted to compensate for the differing conditions by the feedback mechanism built around T1 and T2.

Because of the voltage drops across the Darlington out-put stage in the IC (2.5 V maximum) and the four diodes (700 mV each) the circuit achieves an efficiency at full load (470 Ω between the output and ground) of approximately 50 %; at lower loads (1 kΩ) the efficiency is about 65 %.

Author : Peter Krueger -  Copyright : Elektor


Wednesday, June 27, 2018

0

Simple Little Nightlight Circuit Diagram

Here we describe a very simple, economical and light-weight automatic nightlight that runs on 230V AC mains and can be used as a deluxe gizmo in the sleeping room of your kids. The arrangement proposed by the author is shown in Fig. 1.



Circuit diagram for the nightlight is shown in Fig. 2. It is built around three resistors (R1 through R3), two light-emitting diodes (LED1 and LED2), a light-dependent resistor (LDR1), a BC548 transistor (T1) and a capacitor (C1). Here LED1 is blue and LED2 is RGB with rainbow effect.

 Little Nightlight Circuit Diagram
  Little Nightlight Circuit Diagram

The circuit operates off 230V AC, consuming very little current. The generic 5mm LDR drives the rainbow LED (LED2) through npn transistor T1. Series resistor R3 (150-ohm) limits the current through LED2. The sensor circuit ensures that the rainbow light switches on when it gets dark and off when there is ambient light. If desired, you can change its detection threshold by varying the value of 47-kilo-ohm resistor R2.



Resistor R1 (100-kilo-ohm), 1N4007 diode D1, and 4.7µF, 16V electrolytic capacitor C1 are used to down-convert the 230V AC input supply to a very low-value DC supply. The 5mm blue LED (LED1) not only works as an always-on pilot lamp but also keeps the voltage across buffer capacitor C1 close to around 3V. When the circuit is in active state (that is, in darkness), LED1 also produces a waving effect in tune with the current consumption of the entire circuitry.

The rainbow LED is a low-cost flashing LED with inbuilt driver chip. When power is applied, it flashes red, blue and green colours each for several seconds, then it slowly mixes these colours together to form other colours. Fig. 3 shows the author’s lab experiments.


Construction and testing

An actual-size PCB layout for the little nightlight is shown in Fig. 4 and its components layout in Fig. 5. After assembling the circuit, enclose it in a suitable box.

PCB layout of little nightlight
 PCB layout of little nightlight
Components side of the PCB
 Components side of the PCB

Construction and testing

An actual-size PCB layout for the little nightlight is shown in Fig. 4 and its components layout in Fig. 5. After assembling the circuit, enclose it in a suitable box.

Fix CON1 so that you can connect 230V AC easily. Connect LDR1 such that light from LED1 and LED2 doesn’t fall on it. After proper assembly and connections, your little nightlight circuit is ready to use. Proposed enclosure is shown in Fig. 6.






Social Time

Google Plus
Follow Us
Pinterest
Follow Us

Subscribe to our newsletter

(Get fresh updates in your inbox. Unsubscribe at anytime)