Fast and Easy PCB Prototyping with Vinyl!

Hello everybody !!!
One of the most aggravating things when creating DIY circuits is the making of the PCB. Up till now, DIY methods require alot of work and time on each board.
If you have struggled with other methods of DIY PCB prototyping you've likely figured out the hard way that they can be frustrating - provide spotty results - and require alot of steps and work.
Well here's another method to throw into the bag of tricks that might just work out for you! It's really only 3 steps and turns out perfect everytime!!!! This method has served me very well over and over for dozens of boards! It uses a vinyl cutter/plotter to create a mask in vinyl to resist the ferric chloride etchant.

WHAT YOU NEED:
- Prepared vinyl mask (if you don't have a vinyl cutter - sign shops and many hackerspaces do!)
- Etchant solution and glass or plastic tray
- Fingernail Polish remover and acetone safe container
- Blank copperclad PCB
- Standard chemical safety materials - gloves, eye protection, etc
- Pliers/Tongs

That's about it!

We will skim over how to design and cut the pcb design into vinyl and at this point assume that you have a cutter or know someone with access to one (local hackerspace or even a local sign shop!) It's the same as making any vinyl cut sticker. See the additional pictures in this intro for some educational pictures of the preparation of a vinyl sticker in this step. Next Step! - Placing the mask onto the PCB

Step 1: STEP ONE - PLACING THE MASK ONTO THE PCB

This only takes about one minute. Notice that I'm doing two boards at once!
This is much faster than the iron on method - you don't even have to clean the board or prepare it for the mask!
Place the vinyl mask paper side up and remove the wax paper backing by peeling it up and over.
The clear transfer tape holds the vinyl in place!
Line up the mask and lay it onto the blank PCB.
The clear transfer tape makes alignment as easy as it can be!
Once it's down - use a squeegee, plastic card, or just your fingernail to rub the top of the transfer tape thus pushing the vinyl to the board.
Starting from one corner - peel the transfer tape off and the vinyl mask will stay onto the copperclad PCB.

Step 2: STEP TWO - ETCHING THE PCB

STEP TWO - ETCHING THE PCB

FOLLOW ALL INSTRUCTIONS AND WARNINGS THAT APPLY TO YOUR PCB ETCHANT!

This step is the same with any method of DIY PCB etching!

CAUTION!   Regardless of how you make your mask - this is NASTY stuff if you are sloppy or careless.
again:

FOLLOW ALL INSTRUCTIONS AND WARNING THAT APPLY TO YOUR PCB ETCHANT!
Use gloves (stains and chemicals)
Etch in ventilated area (fumes)
Don't be CARELESS or SLOPPY (this can be serious stuff!)
Do not reuse the tray/bath for anything but etchant!
As far as how-to do this step - there are many instructables that cover it.
The best instructions are the ones that come with your etchant chemical.
You MUST ALWAYS follow instructions from your etchant manufacturer.

The basic steps are here in picture - and use paper towels to soak and wipe off any residual solution from your etched board when etching is done..
When doing the final rinse with water (not shown)  - again - observe precautions stated on your etchant manufacturer's directions.
DO NOT RINSE IN AN OUTDOOR AREA WHERE ANIMALS FREQUENT!

OK - that's enough BOLD and ITALICIZED warnings for you...

On to the rewards!

Step 3: STEP THREE - REMOVE THE MASK AND BE PROUD!

STEP THREE - REMOVE THE MASK

You can peel the vinyl off by hand - one piece at a time but that would make this method as painful and time consuming as the other DIY PCB methods.

This method requires no work or scrubbing off toner by hand.
You can do 100 PCB's as easy as doing one!
Imagine ironing and scrubbing 100 PCB's. EEK!

Here's the last trick -
Take some standard acetone based fingernail polish remover and soak the board for a minute or two.
The adhesive on the vinyl softens and the vinyl just slides into a nice bundle of synthetic "seaweed" to be scooped up.
The acetone in the polish remover can melt some plastics (notably ABS types) so make sure that your tub is acetone safe or just use a glass dish.
Do not reuse the container for anything but acetone.

Pull out the board... pat dry and rinse in water!

Yep - THAT'S IT!
I told you it was easy!

Read More ...

Acer X173 LCD Service Guide

Free Acer X173 manuals!

Read More ...

Electromagnetism for Electronic Engineers

Electromagnetism for Electronic Engineers

Read More ...

Basic Electronics Lecture Handouts

Basic Electronics Lecture Handouts
by

File Type :
Number of Pages :

Description
No Description available for this content


download : link

Read More ...

How to Create a Basic Wireless Door Release System


A wireless door release system works the same way a garage door opener works. As shown in the illustration at right, a radio frequency transmitter is used to signal a receiver. When the receiver receives the signal from the transmitter, it changes the state of a set of electrical contacts on board the receiver. These contacts are used to activate an appliance, such as a garage door opener, an electric strike or an electromagnetic lock.

In the basic electric strike system illustration above, a normally open switch is closed to allow power to flow to a fail secure electric strike. A wireless door release system substitutes a wireless receiver for the normally open switch in the illustration. One big difference is that, unlike a normally open switch, the wireless receiver requires power. Below is an illustration of the same electric strike system using a wireless receiver.

Notice in the illustration above that I have shown a power supply with separate outputs to power the receiver and the electric strike. I recommend this method to simplify wiring.

The biggest obstacle to having a completely wireless system is the electric locking device. At 12 volts DC, the receiver will probably draw less than 100mA during activation and less than half of that while on standby. It could certainly be powered by a couple of lantern batteries. Some electric strikes draw as little as 240mA at 12 volts DC, but even that will exhaust batteries quickly.

Wiring can be reduced by creating a battery operated wireless release system. To create a battery powered system, use a stand-alone electronic access control lock such as the Alarm Lock Trilogy that comes standard with remote release, or the Kaba-Ilco Eplex with optional remote release. These locks are battery operated independently of your wireless release system. See diagram below:
Troubleshooting

Wireless release system installations are more complicated these days because the system now must share the airwaves with a lot more stuff. Wireless routers, cellular and microwave towers, radio communications facilties and even computers can interfere with the wireless release system.

Notice on the illustrated wireless receivers in this article the bank of "dip switches." Dip switches are small rocker switches with two positions: on and off. Thinking of the dip switches in terms of computer logic, "on" would equal a one, while "off" would equal a zero. The ones and zeros you input via the dip switch bank communicate to the logic board the frequency at which to transmit or receive.

Many wireless receivers use dip switches to select the radio frequency that the system uses. Dip switch settings in the receiver and transmitter must match in order for the system to work. If your system is not working, make sure the frequency settings between the transmitter and receiver match. If they do, and the system still doesn't work, the problem may be radio interference. Select another frequency in both transmitter and receiver and try again. Repeat until the system works.

If this method does not work, the interference problem may be insurmountable and you may not be able to use a wireless system. In Rockefeller Center, in NYC, for example, the doppler radar system used to track local weather effectively prohibits use of wireless products (including cell phones) above a certain floor. If there is a radar installation or microwave antenna farm near your wireless release system installation, that might be the reason it does not work.

Read More ...

Metal Detector

The circuit described here is that of a metal detector. The opera- tion of the circuit is based on super heterodyning principle which is commonly used in superhet receivers. The circuit utilises two RF oscillators. The frequencies of both oscillators are fixed at 5.5 MHz. The first RF oscillator comprises transistor T1 (BF 494) and a 5.5MHz ceramic filter commonly used in TV sound-IF section.

The second oscillator is a Colpitt�s oscillator realised with the help of transistor T3 (BF494) and inductor L1 (whose construction details follow) shunted by trimmer capacitor VC1. These two oscillators� frequencies (say Fx and Fy) are mixed in the mixer transistor T2 (another BF 494) and the difference or the beat frequency (Fx-Fy) output from collector of transistor T2 is connected to detector stage comprising diodes D1 and D2 (both OA 79).

The output is a pulsating DC which is passed through a low-pass filter realised with the help of a 10k resistor R12 and two 15nF capacitors C6 and C10. It is then passed to AF amplifier IC1 (2822M) via volume control VR1 and the output is fed to an 8-ohm/1W speaker. The inductor L1 can be constructed using 15 turns of 25SWG wire on a 10cm (4-inch) diameter air-core former and then cementing it with insulating varnish. For proper operation of the circuit it is critical that frequencies of both the oscillators are the same so as to obtain zero beat in the absence of any metal in the near vicinity of the circuit. The alignment of oscillator 2 (to match oscillator 1 frequency) can be done with the help of trimmer capacitor VC1.

When the two frequencies are equal, the beat frequency is zero, i.e. beat frquency=Fx-Fy=0, and thus there is no sound from the loudspeaker. When search coil L1 passes over metal, the metal changes its inductance, thereby changing the second oscillator�s frequency. So now Fx-Fy is not zero and the loudspeaker sounds. Thus one is able to detect presence of metal.

Read More ...

Ultrasonic switch

Circuit of a new type of remote control switch is described here. This circuit functions with inaudible (ultrasonic) sound. Sound of frequency up to 20 kHz is audible to human beings. The sound of frequency above 20 kHz is called ultrasonic sound. The circuit described generates (transmits) ultrasonic sound of frequency between 40 and 50 kHz. As with any other remote control system this cirucit too comprises a mini transmitter and a receiver circuit. Transmitter generates ultrasonic sound and the receiver senses ultrasonic sound from the transmitter and switches on a relay.

The ultrasonic transmitter uses a 555 based astable multivibrator. It oscillates at a frequency of 40-50 kHz. An ultrasonic transmitter transducer is used here to transmit ultrasonic sound very effectively. The transmitter is powered from a 9-volt PP3 single cell. The ultrasonic receiver circuit uses an ultrasonic receiver transducer to sense ultrasonic signals. It also uses a two-stage amplifier, a rectifier stage, and an operational amplifier in inverting mode. Output of op-amp is connected to a relay through a complimentary relay driver stage. A 9-volt battery eliminator can be used for receiver circuit, if required. When switch S1 of transmitter is pressed, it generates ultrasonic sound. The sound is received by ultrasonic receiver transducer. It converts it to electrical variations of the same frequency.

These signals are amplified by transistors T3 and T4. The amplified signals are then rectified and filtered. The filtered DC voltage is given to inverting pin of op-amp IC2. The non- inverting pin of IC2 is connected to a variable DC voltage via preset VR2 which determines the threshold value of ultrasonic signal received by receiver for operation of relay RL1. The inverted output of IC2 is used to bias transistor T5. When transistor T5 conducts, it supplies base bias to transistor T6. When transistor T6 conducts, it actuates the relay. The relay can be used to control any electrical or electronic equipment. Important hints:

1. Frequency of ultrasonic sound generated can be varied from 40 to 50 kHz range by adjusting VR1. Adjust it for maximum performance.
2. Ultrasonic sounds are highly directional. So when you are operating the switch the ultrasonic transmitter transducer of transmitter should be placed towards ultrasonic receiver transducer of receiver circuit for proper functioning.
3. Use a 9-volt PP3 battery for transmitter. The receiver can be powered from a battery eliminator and is always kept in switched on position.
4. For latch facility use a DPDT relay if you want to switch on and switch off the load. A flip-flop can be inserted between IC2 and relay. If you want only an �ON-time delay� use a 555 only at output of IC2. The relay will be energised for the required period determined by the timing components of 555 monostable multivibrator.
5. Ultrasonic waves are emitted by many natural sources. Therefore, sometimes, the circuit might get falsely triggered, espically when a flip-flop is used with the circuit, and there is no remedy for that.

Read More ...

GUITAR AMPLIFIER ELECTRONIC 60 Watt CIRCUIT SCHEMATIC

This Guitar Amplifier electronic architecture adopts a able-bodied accustomed ambit cartography for the ability amplifier, application a single-rail accumulation of about 60V and capacitor-coupling for the speaker(s). The advantages for a guitar amplifier are the actual simple circuitry, alike for analogously aerial ability outputs, and a assertive congenital amount of loudspeaker protection, due to capacitor C8, preventing the voltage accumulation to be conveyed into loudspeakers in case of achievement transistors' failure. The preamp is powered by the aforementioned 60V balustrade as the ability amplifier, acceptance to apparatus a two-transistors gain-block able of carrying about 20V RMS output. This provides a actual aerial ascribe afflict capability.

AMPLIFIER ELECTRONIC 60 Watt diagram

R1__________________6K8 1W Resistor
R2,R4_____________470R 1/4W Resistors
R3__________________2K 1/2W Trimmer Cermet
R5,R6_______________4K7 1/2W Resistors
R7________________220R 1/2W Resistor
R8__________________2K2 1/2W Resistor
R9_________________50K 1/2W Trimmer Cermet
R10________________68K 1/4W Resistor
R11,R12______________R47 4W Wirewound Resistors
C1,C2,C4,C5________47΅F 63V Electrolytic Capacitors
C3________________100΅F 25V Electrolytic Capacitor
C6_________________33pF 63V Ceramic Capacitor
C7_______________1000΅F 50V Electrolytic Capacitor
C8_______________2200΅F 63V Electrolytic Capacitor (See Notes)
D1_________________LED Any type and color
D2________Diode bridge 200V 6A
Q1,Q2____________BD139 80V 1.5A NPN Transistors
Q3_____________MJ11016 120V 30A NPN Darlington Transistor (See Notes)
Q4_____________MJ11015 120V 30A PNP Darlington Transistor (See Notes)
SW1_______________SPST Mains switch
F1__________________4A Fuse with socket
T1________________220V Primary, 48-50V Secondary 75 to 150VA Mains transformer (See Notes)
PL1_______________Male Mains plug
SPKR______________One or more speakers wired in series or in parallel Total resulting impedance: 8 or 4 Ohm Minimum power handling: 75W

Technical data:

Sensitivity:
35mV input for 40W 8 Ohm output
42mV input for 60W 4 Ohm output
Frequency response:
50Hz to 20KHz -0.5dB; -1.5dB @ 40Hz; -3.5dB @ 30Hz
Total harmonic distortion @ 1KHz and 8 Ohm load:
Below 0.1% up to 10W; 0.2% @ 30W
Total harmonic distortion @ 10KHz and 8 Ohm load:
Below 0.15% up to 10W; 0.3% @ 30W
Total harmonic distortion @ 1KHz and 4 Ohm load:
Below 0.18% up to 10W; 0.4% @ 60W
Total harmonic distortion @ 10KHz and 4 Ohm load:
Below 0.3% up to 10W; 0.6% @ 60W
Treble control:
+9 / -16dB @ 1KHz; +12 / -24dB @ 10KHz
Brightness control:
+6.5dB @ 500Hz; +7dB @ 1KHz; +8.5dB @ 10KHz
Bass control:
-17.5dB @ 100Hz; -26dB @ 50Hz; -28dB @ 40Hz

Notes:

* The value listed for C8 is the minimum suggested value. A 3300΅F capacitor or two 2200΅F capacitors wired in parallel would be a better choice.
* The Darlington transistor types listed could be too oversized for such a design. You can substitute them with MJ11014 (Q3) and MJ11013 (Q4) or TIP142 (Q3) and TIP147 (Q4).
* T1 transformer can be also a 24 + 24V or 25 + 25V type (i.e. 48V or 50V center tapped). Obviously, the center-tap must be left unconnected.
* D1 and D2 can be any Schottky-barrier diode types. With these devices, the harmonic modifier operation will be hard. Using for D1 and D2 two common 1N4148 silicon diodes, the harmonic modifier operation will be softer.
* In all cases where Darlington transistors are used as the output devices it is essential that the sensing transistor (Q2) should be in as close thermal contact with the output transistors as possible. Therefore a TO126-case transistor type was chosen for easy bolting on the heatsink, very close to the output pair.
* R9 must be trimmed in order to measure about half the voltage supply from the positive lead of C7 and ground. A better setting can be done using an oscilloscope, in order to obtain a symmetrical clipping of the output waveform at maximum output power.
* To set quiescent current, remove temporarily the Fuse F1 and insert the probes of an Avo-meter in the two leads of the fuse holder.
* Set the volume control to the minimum and Trimmer R3 to its minimum resistance.
* Power-on the circuit and adjust R3 to read a current drawing of about 30 to 35mA.
* Wait about 15 minutes, watch if the current is varying and readjust if necessary.

source: free-circuits.com

Read More ...

AM Radio Transmitter using 555 IC, NPN Transistor, Mic

This AM transmitter is based on one 555 Timer IC and one NPN transistor. Using a condenser mic with 1.5V AA power source for the mic, I can transmit at a short distance to a
I tried to embed a demo video but was unable to, so if you click on link here http://youtu.be/j5-urx1tbXE you will see a video of my project setup to get an idea of the quality of audio being transmitted. I have turned the radio volume all the way up to be able to hear my voice.

CREDIT: This project is based on the AM transmitter by user RTTY21: http://www.instructables.com/id/Easy-AM-Transmitter

The above project got me interested in the 555 timer IC. I did a project with this nifty little IC which you can see here: http://www.instructables.com/id/555-Swiss-Army-Knife-with-a-pot-photoresistor-an

There are many suggestions out there on how to get a better quality audio such as grounding the circuit to earth and/or a longer antenna. Some readers suggested OpAmps. Personally, I think this is as far as I want to go with this project. It's a cute project but there are other RF projects in my DIY queue waiting for their turn.

There's no need for me to explain the theory behind this transmitter because it has been done in RTTY21's project page along with man useful readers' comments. You can refer to my very short video to get a feel of how weak the signal will be without the enhancements other readers have suggested.

Overall, it's a nice project and that's why I added it to my RF projects To-Do list. It's my first RF project ever and my second transistor project. So I am really excited about it.

My next project may incorporate an AM radio receiver IC such as the TA7642, or I might go for ATMEL's AM/FM receiver IC the T4258 which is commonly used in car radios. Whatever piques my interest.

I am indebted to the good work of so many folks who had already paved the way for the rest of us geeks to follow. Long live sharing :)

CIRCUIT PARTS :

- NE555P Timer IC (or any 555 Timer IC)
- BC547 transistor (or any NPN transistor)
- 2 X 0.01 uF ceramic capacitors (No. 103)
- 1 X 0.001 uF ceramic capacitor (No. 102)
- 2 X 1K Ohms resistors
- 1 X 10K Ohms resistor
- 5K Ohms potentiometer
- 1.2V X 6 AA NiMh battery brick
- Assorted breadboard wires
- Alligator cables

ADDITIONAL ITEMS :

- For the AM radio, I used a Panasonic portable radio. I was able to hear my voice when the volume was all the way up. This radio has a nice tuning feature. Once it senses a strong transmission on a given frequency, it lights up a red LED. There are audio signs that can clue you in such a sudden drop in noise at certain pot turns. This is how I knew my circuit was working even when there was something wrong with my audio transmission at the beginning. As soon as I powered up my AM transmitter and tuned in to 600Khz on the radio, I would tune in with the 5K pot on my transmitter circuit until the radio noise subsides significantly and the tuning red LED comes on. Once I fixed the audio problems, I could hear my voice on the radio. It's very lo-fi but it works. Check the video to see how it sounds on my radio.

- For audio input, I used a condenser microphone with 1.5V battery power supply. These mics come cheap. I bought one for $5 a while ago. I used the alligator clips to connect the mic's male plug to the circuit's audio pins.

- I also used cheap headphones to listen to signs of a successful transmission without any distracting external noises getting in the way. And unless there's no one around you, the noise coming out of the AM radio can be quite annoying, especially when you pump up the volume while hunting for signs of your AM transmission.

Please note this circuit is by no means an example of good circuit design, but it's an example of the resourcefulness of its original designer(s). There are far better circuit designs for AM/FM transmission. This is simply a fun project and it must be treated as such.

Read More ...

DC/AC Pure Sine Wave Inverter

ကိုေက်ာ္ဆန္းကိုကို ေမးထားတဲ့ Sine Wave Inverter Circuit အေၾကာင္းDownload Here.

Read More ...

0-30 VDC Stabilized power supply with current control 0.002-3 A


General Description

This is a high quality power supply with a continuously variable stabilised output adjustable at any value between 0 and 30VDC. The circuit also incorporates an electronic output current limiter that effectively controls the output current from a few milliamperes (2 mA) to the maximum output of three amperes that the circuit can deliver. This feature makes this power supply indispensable in the experimenters laboratory as it is possible to limit the current to the typical maximum that a circuit under test may require, and power it up then, without any fear that it may be damaged if something goes wrong.

There is also a visual indication that the current limiter is in operation so that you can see at a glance that your circuit is exceeding or not its preset limits.

Technical Specifications - Characteristics

Input Voltage: ................ 24 VAC
Input Current: ................ 3 A (max)
Output Voltage: ............. 0-30 V adjustable
Output Current: ............. 2 mA-3 A adjustable
Output Voltage Ripple: . 0.01 % maximum

FEATURES
  • Reduced dimensions, easy construction, simple operation.
  • Output voltage easily adjustable.
  • Output current limiting with visual indication.
  • Complete protection of the supplied device against over loads and malfunction.
How it Works

To start with, there is a step-down mains transformer with a secondary winding rated at 24 V/3 A, which is connected across the input points of the circuit at pins 1 & 2. (the quality of the supplies output will be directly proportional to the quality of the transformer). The AC voltage of the transformers secondary winding is rectified by the bridge formed by the four diodes D1-D4. The DC voltage taken across the output of the bridge is smoothed by the filter formed by the reservoir capacitor C1 and the resistor R1. The circuit incorporates some unique features which make it quite different from other power supplies of its class. Instead of using a variable feedback arrangement to control the output voltage, our circuit uses a constant gain amplifier to provide the reference voltage necessary for its stable operation. The reference voltage is generated at the output of U1. The circuit operates as follows: The diode D8 is a 5.6 V zener, which here operates at its zero temperature coefficient current. The voltage in the output of U1 gradually increases till the diode D8 is turned on. When this happens the circuit stabilises and the Zener reference voltage (5.6 V) appears across the resistor R5. The current which flows through the non inverting input of the op-amp is negligible, therefore the same current flows through R5 and R6, and as the two resistors have the same value the voltage across the two of them in series will be exactly twice the voltage across each one. Thus the voltage present at the output of the op-amp (pin 6 of U1) is 11.2 V, twice the zeners reference voltage. The integrated circuit U2 has a constant amplification factor of approximately 3 X, according to the formula A=(R11+R12)/R11, and raises the 11.2 V reference voltage to approximately 33 V. The trimmer RV1 and the resistor R10 are used for the adjustment of the output voltages limits so that it can be reduced to 0 V, despite any value tolerances of the other components in the circuit. Another very important feature of the circuit, is the possibility to preset the maximum output current which can be drawn from the p.s.u., effectively converting it from a constant voltage source to a constant current one. To make this possible the circuit detects the voltage drop across a resistor (R7) which is connected in series with the load. The IC responsible for this function of the circuit is U3. The inverting input of U3 is biased at 0 V via R21. At the same time the non inverting input of the same IC can be adjusted to any voltage by means of P2. Let us assume that for a given output of several volts, P2 is set so that the input of the IC is kept at 1 V. If the load is increased the output voltage will be kept constant by the voltage amplifier section of the circuit and the presence of R7 in series with the output will have a negligible effect because of its low value and because of its location outside the feedback loop of the voltage control circuit. While the load is kept constant and the output voltage is not changed the circuit is stable. If the load is increased so that the voltage drop across R7 is greater than 1 V, IC3 is forced into action and the circuit is shifted into the constant current mode. The output of U3 is coupled to the non inverting input of U2 by D9. U2 is responsible for the voltage control and as U3 is coupled to its input the latter can effectively override its function. What happens is that the voltage across R7 is monitored and is not allowed to increase above the preset value (1 V in our example) by reducing the output voltage of the circuit. This is in effect a means of maintaining the output current constant and is so accurate that it is possible to preset the current limit to as low as 2 mA. The capacitor C8 is there to increase the stability of the circuit. Q3 is used to drive the LED whenever the current limiter is activated in order to provide a visual indication of the limiters operation. In order to make it possible for U2 to control the output voltage down to 0 V, it is necessary to provide a negative supply rail and this is done by means of the circuit around C2 & C3. The same negative supply is also used for U3. As U1 is working under fixed conditions it can be run from the unregulated positive supply rail and the earth. The negative supply rail is produced by a simple voltage pump circuit which is stabilised by means of R3 and D7. In order to avoid uncontrolled situations at shut-down there is a protection circuit built around Q1. As soon as the negative supply rail collapses Q1 removes all drive to the output stage. This in effect brings the output voltage to zero as soon as the AC is removed protecting the circuit and the appliances connected to its output. During normal operation Q1 is kept off by means of R14 but when the negative supply rail collapses the transistor is turned on and brings the output of U2 low. The IC has internal protection and can not be damaged because of this effective short circuiting of its output. It is a great advantage in experimental work to be able to kill the output of a power supply without having to wait for the capacitors to discharge and there is also an added protection because the output of many stabilised power supplies tends to rise instantaneously at switch off with disastrous results.

Construction

First of all let us consider a few basics in building electronic circuits on a printed circuit board. The board is made of a thin insulating material clad with a thin layer of conductive copper that is shaped in such a way as to form the necessary conductors between the various components of the circuit. The use of a properly designed printed circuit board is very desirable as it speeds construction up considerably and reduces the possibility of making errors. To protect the board during storage from oxidation and assure it gets to you in perfect condition the copper is tinned during manufacturing and covered with a special varnish that protects it from getting oxidised and also makes soldering easier.

Soldering the components to the board is the only way to build your circuit and from the way you do it depends greatly your success or failure. This work is not very difficult and if you stick to a few rules you should have no problems. The soldering iron that you use must be light and its power should not exceed the 25 Watts. The tip should be fine and must be kept clean at all times. For this purpose come very handy specially made sponges that are kept wet and from time to time you can wipe the hot tip on them to remove all the residues that tend to accumulate on it.

DO NOT file or sandpaper a dirty or worn out tip. If the tip cannot be cleaned, replace it. There are many different types of solder in the market and you should choose a good quality one that contains the necessary flux in its core, to assure a perfect joint every time.

DO NOT use soldering flux apart from that which is already included in your solder. Too much flux can cause many problems and is one of the main causes of circuit malfunction. If nevertheless you have to use extra flux, as it is the case when you have to tin copper wires, clean it very thoroughly after you finish your work.

In order to solder a component correctly you should do the following:
  • Clean the component leads with a small piece of emery paper.
  • Bend them at the correct distance from the components body and insert he component in its place on the board.
  • You may find sometimes a component with heavier gauge leads than usual, that are too thick to enter in the holes of the p.c. board. In this case use a mini drill to enlarge the holes slightly. Do not make the holes too large as this is going to make soldering difficult afterwards.
  • Take the hot iron and place its tip on the component lead while holding the end of the solder wire at the point where the lead emerges from the board. The iron tip must touch the lead slightly above the p.c. board.
  • When the solder starts to melt and flow wait till it covers evenly the area around the hole and the flux boils and gets out from underneath the solder.
  • The whole operation should not take more than 5 seconds. Remove the iron and allow the solder to cool naturally without blowing on it or moving the component. If everything was done properly the surface of the joint must have a bright metallic finish and its edges should be smoothly ended on the component lead and the board track. If the solder looks dull, cracked, or has the shape of a blob then you have made a dry joint and you should remove the solder (with a pump, or a solder wick) and redo it. Take care not to overheat the tracks as it is very easy to lift them from the board and break them.
  • When you are soldering a sensitive component it is good practice to hold the lead from the component side of the board with a pair of long-nose pliers to divert any heat that could possibly damage the component.
  • Make sure that you do not use more solder than it is necessary as you are running the risk of short-circuiting adjacent tracks on the board, especially if they are very close together.
  • When you finish your work, cut off the excess of the component leads and clean the board thoroughly with a suitable solvent to remove all flux residues that may still remain on it.

connections.gif (17,8KB)

pcb.gif (60KB) (12,5cm x 8,7cm)


layout.gif (92KB)
As it is recommended start working by identifying the components and separating them in groups. Place first of all the sockets for the ICs and the pins for the external connections and solder them in their places. Continue with the resistors. Remember to mound R7 at a certain distance from the printed circuit board as it tends to become quite hot, especially when the circuit is supplying heavy currents, and this could possibly damage the board. It is also advisable to mount R1 at a certain distance from the surface of the PCB as well. Continue with the capacitors observing the polarity of the electrolytic and finally solder in place the diodes and the transistors taking care not to overheat them and being at the same time very careful to align them correctly.

Mount the power transistor on the heatsink. To do this follow the diagram and remember to use the mica insulator between the transistor body and the heatsink and the special fibber washers to insulate the screws from the heatsink. Remember to place the soldering tag on one of the screws from the side of the transistor body, this is going to be used as the collector lead of the transistor. Use a little amount of Heat Transfer Compound between the transistor and the heatsink to ensure the maximum transfer of heat between them, and tighten the screws as far as they will go.

Attach a piece of insulated wire to each lead taking care to make very good joints as the current that flows in this part of the circuit is quite heavy, especially between the emitter and the collector of the transistor.

It is convenient to know where you are going to place every thing inside the case that is going to accommodate your power supply, in order to calculate the length of the wires to use between the PCB and the potentiometers, the power transistor and for the input and output connections to the circuit. (It does not really matter if the wires are longer but it makes a much neater project if the wires are trimmed at exactly the length necessary).

Connect the potentiometers, the LED and the power transistor and attach two pairs of leads for the input and output connections. Make sure that you follow the circuit diagram very care fully for these connections as there are 15 external connections to the circuit in total and if you make a mistake it may be very difficult to find it afterwards. It is a good idea to use cables of different colours in order to make trouble shooting easier.

The external connections are:
  • 1 & 2 AC input, the secondary of the transformer.
  • 3 (+) & 4 (-) DC output.
  • 5, 10 & 12 to P1.
  • 6, 11 & 13 to P2.
  • 7 (E), 8 (B), 9 (E) to the power transistor Q4.
  • The LED should also be placed on the front panel of the case where it is always visible but the pins where it is connected at are not numbered.
When all the external connections have been finished make a very careful inspection of the board and clean it to remove soldering flux residues. Make sure that there are no bridges that may short circuit adjacent tracks and if everything seems to be all right connect the input of the circuit with the secondary of a suitable mains transformer. Connect a voltmeter across the output of the circuit and the primary of the transformer to the mains.
DO NOT TOUCH ANY PART OF THE CIRCUIT WHILE IT IS UNDER POWER.

The voltmeter should measure a voltage between 0 and 30 VDC depending on the setting of P1, and should follow any changes of this setting to indicate that the variable voltage control is working properly. Turning P2 counter-clockwise should turn the LED on, indicating that the current limiter is in operation.

Adjustments

If you want the output of your supply to be adjustable between 0 and 30 V you should adjust RV1 to make sure that when P1 is at its minimum setting the output of the supply is exactly 0 V. As it is not possible to measure very small values with a conventional panel meter it is better to use a digital meter for this adjustment, and to set it at a very low scale to increase its sensitivity.

Warning

While using electrical parts, handle power supply and equipment with great care, following safety standards as described by international specs and regulations.

CAUTION
This circuit works off the mains and there are 220 VAC present in some of its parts.
Voltages above 50 V are DANGEROUS and could even be LETHAL.
In order to avoid accidents that could be fatal to you or members of your family please observe the following rules:
  • DO NOT work if you are tired or in a hurry, double check every thing before connecting your circuit to the mains and be ready
  • to disconnect it if something looks wrong.
  • DO NOT touch any part of the circuit when it is under power.
  • DO NOT leave mains leads exposed. All mains leads should be well insulated.
  • DO NOT change the fuses with others of higher rating or replace them with wire or aluminium foil.
  • DO NOT work with wet hands.
  • If you are wearing a chain, necklace or anything that may be hanging and touch an exposed part of the circuit BE
CAREFUL.
  • ALWAYS use a proper mains lead with the correct plug and earth your circuit properly.
  • If the case of your project is made of metal make sure that it is properly earthen.
  • If it is possible use a mains transformer with a 1:1 ratio to isolate your circuit from the mains.
  • When you are testing a circuit that works off the mains wear shoes with rubber soles, stand on dry non conductive floor
  • and keep one hand in your pocket or behind your back.
  • If you take all the above precautions you are reducing the
  • risks you are taking to a minimum and this way you are protecting
  • yourself and those around you.
  • A carefully built and well insulated device does not constitute any danger for its user.
  • BEWARE: ELECTRICITY CAN KILL IF YOU ARE NOT CAREFUL.
If it does not work

Check your work for possible dry joints, bridges across adjacent tracks or soldering flux residues that usually cause problems.
Check again all the external connections to and from the circuit to see if there is a mistake there.
  • See that there are no components missing or inserted in the wrong places.
  • Make sure that all the polarised components have been soldered the right way round. - Make sure the supply has the correct voltage and is connected the right way round to your circuit.
  • Check your project for faulty or damaged components.
Electronic Diagram.

Parts List.
R1 = 2,2 KOhm 1W
R2 = 82 Ohm 1/4W
R3 = 220 Ohm 1/4W
R4 = 4,7 KOhm 1/4W
R5, R6, R13, R20, R21 = 10 KOhm 1/4W
R7 = 0,47 Ohm 5W
R8, R11 = 27 KOhm 1/4W
R9, R19 = 2,2 KOhm 1/4W
R10 = 270 KOhm 1/4W
R12, R18 = 56KOhm 1/4W
R14 = 1,5 KOhm 1/4W
R15, R16 = 1 KOhm 1/4W
R17 = 33 Ohm 1/4W
R22 = 3,9 KOhm 1/4W
RV1 = 100K trimmer
P1, P2 = 10KOhm linear pontesiometer
C1 = 3300 uF/50V electrolytic
C2, C3 = 47uF/50V electrolytic
C4 = 100nF polyester
C5 = 200nF polyester
C6 = 100pF ceramic
C7 = 10uF/50V electrolytic
C8 = 330pF ceramic
C9 = 100pF ceramic
D1, D2, D3, D4 = 1N5402,3,4 diode 2A - RAX GI837U
D5, D6 = 1N4148
D7, D8 = 5,6V Zener
D9, D10 = 1N4148
D11 = 1N4001 diode 1A
Q1 = BC548, NPN transistor or BC547
Q2 = 2N2219 NPN transistor
Q3 = BC557, PNP transistor or BC327
Q4 = 2N3055 NPN power transistor
U1, U2, U3 = TL081, operational amplifier
D12 = LED diode

Read More ...

Scrolling LED sign based on Atmel ATtiny2313 AVR microcontrolle

On this page you will find a scrolling LED sign based on the ATtiny2313 AVR microcontroller, which you can build yourself (when finished) Other names for this device can be: Moving message sign, Message crawler, Scrolling message, message display, etc.
The idea is to let a text scroll over the LED dot-matrix displays. A dot-matrix display is a display which contains 5x7 dots (LEDs) in one case, the LEDs are connected like a matrix, there are two types CC and CA, the LEDs are simply put the other way around, here the drawings (inside and front):
If you put 1.8 Volt e.g. at the lines 4 and 10, that LED (dot) will lit, the trick of multiplexing is to scan the columns (5) and set the data on the rows (7) (or visa-versa), the multiplex-frequency must be greater than approx. 40Hz else you will see the flickering of the LEDs to much (take about 5 msec per column, thats about 25 msec for one frame)
The scanning goes as follows, first set the rows data on the 7 rows e.g. 1010010, then activate (0 or 1 -> depends on which type CA = common cathode, or CC = common anode) the first column, now these LEDs (dots) will lit, wait 5 msec, then switch the column off, now load the next rows data, and set the second column on, wait 5 msecs again, and switch it off again, if you repeat this sequence very fast, you will see the data (character data) appear on the display (refresh frequency 40 - 70Hz is ok, don't take twice or half the artificial light-frequency of 50/60 Hz)
The rows data comes e.g. from the EEPROM or flash memory of the AVR, you can also take an external EEPROM/flash IC, the ATtiny2313 has 128 bytes EEPROM and 2k of flash memory, what you can do is put the character data (ASCII) into the flash memory (read below for more details) Next the test-diagram:


The 74HC595 is an 8-bit shift-register IC, with this IC you can shift 8 bits to the outputs with only 3 wires, that are Data (Ds), and 2 shift inputs (SHcp, STcp), connect like the diagram. How does the 74HC595 works? First shift the 8 bits into the stages with SHcp, then shift the stages to the outputs with STcp, this causes the outputs to switch in one go, with e.g. a 74HCT164 you can only shift the bits into the outputs, the advantage of the 74HC595 is the storage register. Don't forget that multiplexing causes the LEDs only lit up for a fraction, so if you want the same intensity you must put more current through them, this diagram is for practice and programming, wants you have it working you can put transistors and resistors on. Here I put the letter R on the display as you can see, using a little breadboard: (next: How the scrolling is done...)

How to scroll a character accross the display ? The trick is to build one character on the display by scanning the columns very fast, and let say each 20 times (20 frames) scroll it one position to the left, this will give the effect of a walking text accross the dot-matrix display. So first build one frame, repeat this 20 times, and after that, read the data one address later, if you do this 5 times (5 columns) the character scroll from right to left from the display. (the refresh goes so fast that your brain can't keep up, and what you see is the R scrolling over the display) Btw, I will take five 74HC595's shiftregisters IC's, that are 5 x 8 bit = 40 bits / 5 columns = 8 dot-matrix displays, making it a nice tiny message sign.

What I am going to do is putting ASCII data (thats 128 x 5 bytes = 640 bytes) into the 2k flash memory of the ATtiny2313, then I have 704 words left for my program, that can really be a huge program!, because I used only 69 lines (69 instructions) of program so far, and that scrolls characters fluently accross the dot-matrix display. I made the program so that you can set the scroll-speed, from 0 - 255, so 256 speeds, 25 fps (frames/second) is a nice speed. On one of my pages (this page) I am using a 2-bit Gray code rotary encoder, with this encoder I will make an edit function in the software, so you can edit messages, without a keyboard, this save space, this type of rotary encoder has a push-function in the shaft, so e.g. after you select a character you can store that in memory.

Read More ...

A Digital, Up / Down Counter


Origionally I designed this for use on my Metal Laithe to Aid in winding coils.
But it can be adapted for many other applications.

This Circuit uses a CD40110BE, Up/Down Counter IC's.
The CD40110BE is Available from Digi-Key
Digi-Key Part Number "296-3506-5-ND"

**** DO NOT CONFUSE THIS IC WITH A CD4011 ****

This IC is able to Source Each Segment with 25 mA, Giving a Very Nice Bright Display.
The 7 Segment Displays MUST be a Common Cathode Type, as I have used here

NOTE Also : All the UnMarked Resistors should be at least 680 Ohms for Up To 12 Volts Supply Voltage.

For Higher Supply Voltages up to 18 volts or Reduced Currents, I would suggest Increasing these Values to 1500 Ohms.

Or if you want "Reduced Power" and "Brightness", Adjust the resistor values as appropriate.
Basically the Approximate Current is Supply voltage Minus 2, Divided by the Resistor Value.

The Schematic posted here Only shows the First, Second, Third and Last Stages.
And This board is for a counter of up to 9999.

However: Since All Stages between the Third and Last, Would be the same,
So you could make a display with as many digits as you wish, by expanding the circuit board.

Additionally: You can just put in 1, 2, 3, or all 4 IC's and the Appropriate Displays.

Other Options:
  1. Adding a Clock Circuit with a Frequency of 1 Hz in place of the Reset Switch will create a Frequency counter in Hz/Sec.
  2. Adding a Clock Circuit with a Frequency of 1 Hz into one of the Inputs can create an up or down counter type of timer.
  3. Although Not Highly Accurate, a Simple 555 circuit will work as a Simple Clock.

Read More ...

Home security system

The security system application and program offers a simple demonstration of the BASIC Serial Interface. By adding only a few door and window switches, a transistor, a siren, (see schematic) and a few lines of BASIC program (see program listing) the interface can become a multi-function security system. Please note, however, that it is a "barebones" program. It is left to the reader to fancy it up to their liking.

Normally closed door and window switches can be attached to the interface "in" ports as shown in the schematic(all unused ports should be grounded). In this configuration with all the switches closed the "in" port is held "low". When any switch opens the port goes "high". The program recognizes this as an alarm condition for the zone associated with that port. If the program "detects" a high on "in" port number 1 it will delay sounding the alarm for a user defined length of time. This is done to allow the owner time to enter the secured area and reset the alarm before the siren is activated. If a "high" condition is detected on any of the other ports, 2 to 7, an alarm will be sounded immediately.

The alarm is sounded by bringing "out" port number 1 high. Connected to "out" port 1 is a NPN transistor which switches a 12 volt supply to a security siren or bell (figure 3) . The.alarm remains on until the system is reset or it reaches it's time out period.

In order for the BSI to transmit the status of it's "in" ports Data Strobe (pin. 23 of IC1) must be toggled. This toggling of the Data Strobe is done by program control. In this application Data Strobe is connected to "out" port 8 by a jumper. In order to trigger a transmission of the port conditions the program turns "out" port8 "on" then "off". This causes IC1 to transmit the status of it's "in" ports.

10 ' BASIC SERIAL INTERFACE
20 '
30 ' SECURITY SYSTEM DMONSTRATION PROGRAM
40 '
50 ' setup
60 KEY OFF:CLS:CLOSE'......................................... turn key off, clear screen, close
70 OPEN "COM1:1200,N,8,2" AS #1' .......................all files, open the serial port
80 PRINT#1,CHR$(NUL);'.........................................as com port #1, and transmit "0".
90 GOTO 310
100 '
110 FOR X=1 TO 8'.................................................. Subroutine to convert decimal number
120 B=C MOD 2:C=INT(C/2):R(X)=B'...................... received from the UART to binary
130 NEXT X'............................................................. and set array variables to represent
140 RETURN'.............................................................UART port conditions,R(1) to R(8)
150 REM
160 IF T(HP)=1 THEN 210'.......................................Subroutine to turn one UART port on
170 FOR X=1 TO 8'..................................................without changing the condition of
180 IF HP=X THEN OT=OT+2^(X-1):T(X)=1'...............any other UART port.---
190 NEXT X
200 PRINT #1,CHR$(OT);
210 RETURN
220 '
230 IF T(HP)=0 THEN 280'........................................Subroutine to turn one UART port off
240 FOR X=1 TO 8'...................................................without changing the condition of
250 IF HP=X THEN OT=OT-2^(X-1):T(X)=0'................any other port.---
260 NEXT X
270 PRINT #1,CHR$(OT);
280 RETURN
290 '********************* SECURITY SYSTEM MAIN PROGRAM *******
300 '
310 PRINT" Security System Program
320 '
330 PRINT:PRINT"Note:'OUT' port 8 of the UART (pin 5) must be connected to Data Strobe (pin 23)before running this program.":PRINT
340 INPUT"ENTER ALARM DELAY FOR ZONE #1 ENTRY ";DELAY
350 INPUT"ENTER ALARM TIMEOUT ";TIMEOUT
360 '
370 CLS:PRINT#1,CHR$(128);'.................................clear screen and turn UART port 8 on
380 PRINT "Ctrl E to reset"
390 HP=8 :GOSUB 220:HP=8:GOSUB 150'................Ask UART for 'in' port status.
400 IF LOC(1)=0 THEN 470'.......................................If transmission not received,skip.
410 IN$=INPUT$(1,#1):C=ASC(IN$):GOSUB 100'... read transmission and convert to
420 FOR X=1 TO 8'......................................................binary,assign each bit to array R(X)
430 LOCATE X+9,10
440 IF R(X)=1 THEN PRINT X;" ALARM !!!!!"' Print UART port status conditions
450 IF R(X)=0 THEN PRINT X;" ZONE SECURE"' as either 'alarm' or 'secure'
460 NEXT X
470 IF R(1)=1 THEN TIME=TIME+'.............................If zone 1 is high start delay time.
480 IF TIME=DELAY THEN ALARM=1'.......................if delay time is up set alarm.
490 FOR X=2 TO 8
500 IF R(X)=1 THEN ALARM=1'..................................if any zone,2-8,is high,set alarm.
510 NEXT X
520 IF ALARM=1 THEN HP=1:GOSUB 150'............... if alarm set,turn port 1 on.
530 IF ALARM=1 THEN RESETT=RESETT+1'............ if alarm is set start timeout.
540 IF RESETT=TIMEOUT THEN GOTO 580'............ If timeout is up then shutdown.
550 A$=INKEY$:IF A$="" THEN 570'........................ Check to see if Ctrl E was entered,
560 IF ASC(A$)=5 THEN 50'...................................... if it was then reset program.
570 GOTO 390
580 PRINT#1,CHR$(NUL);'.......................................Turn alarm off
590 PRINT:PRINT"SYSTEM SHUTDOWN AT "TIME$,DATE$ ' print shutdown
600 END

Read More ...

12 VOLT FLASHING BEACON

Note: The lamp shown is not supplied unless requested. A festoon bulb is supplied.

Note: Aligator clips may replace the auto plug.

Schematic Diagram
PCB Layout

Construction
1. Make a visual check of the PC board for damage in transit. Look for small breaks and/or other damage to tracks. The green coating on the tracks should be left in place as it protects the tracks from oxidation or corrosion, and it does not inhibit soldering in any way. A multi-meter or Electronic Circuit Tester can be used to test continuity of the tracks.

2. A Circuit Board Holder is useful in freeing both hands for mounting and soldering the components. A spring board clip can be screwed down and will hold the board securely. Wooden blocks with a suitable groove, and able to slide (say on two pieces of dowel) to adjust to the varying lengths of PC Board also work well. Commercially produced stands are available, with an alternative magnifying glass. (types and prices available).

3. Mounting the components is relatively easy. The resistors will have to have the legs bent to match their holes. They may either be mounted to stand vertically or flush on the PCB, except, please note that R5 must be mounted flat on the board to clear under the body of the power transistor.

4. The power diode has a band at the neg (K) end. Polarity must be observed. (This diode is there to protect the unit from the effects of connecting it to the battery in the wrong polarity). The Electrolytic Capacitor also is polarised. There is an arrow on the body pointing down the negative (K) leg. You will notice that the Trimpot has one outside and centre legs joined in the track. This is correct; the other outside leg goes to the other track as indicated.

5. The small Transistor (BC558) has a flat on the body. The transistor is mounted with the flat towards the large transistor. The Power Transistor (2N3055) will fit the holes perfectly, so it is unlikely you will mount it the wrong way round. Note that one hole in the track is drilled D3mm to match the hole in the metal body. The metal body is the Collector (C) of this transistor. Use the 3mm machine screw and two nuts to join it to the track. Feed the screw down through the transistor hole and put a nut top and bottom of the PCBoard. The legs can then be soldered.

6. The six pins can be pushed into their holes. Soldering Technique is most important.

7. If you are fitting a switch to allow the unit to be have a trouble light mode then this switch is connected (by wires) to Pins 2 and 3.

8. Test the unit and adjust the flash rate with the trimpot. N.B.: This unit will work only on FULLY RECTIFIED CURRENT. It will NOT work from a power-pak plugged into a power outlet. A car battery is best but a 9Volt battery will work. If the unit doesn't work, check polarity of all components (diode,capacitor,transistors). Check the colour bands to ensure resistors are in correct places. Check that the trimpot bridges across the tracks with one outside and centre legs. Visually check soldering; resolder any suspect joints. Check for bridges of solder between tracks and remove them. The circuit is reliable and robust. Exercise meticulous care in putting it together and it will fire up first time.

If you are electing to construct the Flashing Beacon via the template/insulator method, the template appears below

Read More ...

 

/* EOT ----------------------------------------- */