Showing posts with label Medical Instruments Circuits. Show all posts
Showing posts with label Medical Instruments Circuits. Show all posts

How To Measure your stress level – Tension meter


If you, like so many other people in this day and age, arrive home from work stressed out and with the problems of the day still lingering,this simple little instrument will go a long way to relieving nervous tension. Of the various types of feedback devices, probably the best approach for the amateur experimenter is the Galvanograph, better known as the Galvanic Skin Response Monitor. The instrument described here relies for its operation on changes in skin resistance in sympathy with changes in emotional state. An increase in tension level reduces skin resistance and, conversely, a decrease in tension is accompanied by an increase in skin resistance.

The correlation between emotional stress and skin resistance is still not fully understood. What is known, though, is that minute changes in the permeability of the skin produce corresponding voltage variations across two electrode pads attached to two fingers on the same hand.


Fig.1. Tension Monitor meter circuit

These signal fluctuations are amplified and fed to an oscillator to produce an audible tone. A decrease in pitch therefore signifies a decrease in tension, and vice-versa. A visual indicator in the form of a panel meter also aids the user in monitoring tension levels. The monitor is quite sensitive to fluctuations. During use, a sudden moment of stress, even a deep sigh, will increase the pitch and cause a shift of the meter needle. Circuit Details In the circuit diagram of Fig.1, IC1 is configured as an astable multivibrator to drive an 8-ohm miniature speaker LS1 via capacitor C3, resistor R6 and volume control potentiometer VR2. The latter allows users to set a desired level and avoid it becoming a distraction.
Whereas the trigger input of IC1 is normally connected to the positive rail via a resistor in a conventional 555 oscillator, here it is connected via resistor R4 to the emitter of transistor TR1. The base of TR1 is connected between one electrode pad and the voltage divider formed by potentiometer VR1 and resistor R1. It will be seen that with the pads fitted to the fingers, the tone level will be dependent on the setting of VR1 and skin resistance. Resistor R2 in the transistor base is necessary should the pads be accidentally touched together. A 1mA meter is fitted in the collector line, along with R3, as a visual indicator. Although not essential or intended to measure current levels, it does help to emphasize fluctuations in emotional level.
The design of the pads is not critical. For the prototype, stripboard was used. The tracks were wired together at one end and connected to a 30cm length of twin lighting flex. The pads were then glued to Velcro straps. When the unit is first switched on, a highpitched tone should be heard, rapidly diminishing and ceasing. Turn the Sensitivity control VR1 to the minimum setting. Attach the electrodes to the fleshy pads of the first two fingers on the less-dominant hand with the Velcro straps, firmly but not tight. Rest the hand comfortably and keep it reasonably still, allowing half a minute for the pads to “bond”. Normally, at the minimum setting, the oscillator will hardly tick over, unless the user is in a high state of anxiety. Keep in mind that any form of stimulant, and that includes tea, coffee, alcohol and cigarettes, will reduce one’s capacity to relax. Rotate the control until a medium pitched tone is obtained and apply your relaxation technique. The monitor does not teach any method of meditation or relaxation; it only monitors the effectiveness of the technique applied. The tone should slowly diminish, with fluctuations as unconscious thoughts flit across the mind.When the sound ceases altogether, repeat the above procedure by increasing VR1. Twenty minutes is considered by therapists to be an adequate relaxation session.
Read More

Monitor Pulse Rate


This simple circuit enables you to listen to your heartbeat, for instance, while you are exercising. The transducer used for detecting the pulse is an electret microphone, X1 in the diagram. The model used has two (polarized) terminals. As usual with this type of microphone, it functions via a series resistor, R1. The potential drop across this resistor is applied to op amp IC1a via C1. The amplification of the op amp is set to between ´40 and ´1000 with preset P1. Network R4-C3 in the feedback loop of IC1a is a low-pass filter with a cut-off frequency of 34 Hz. Higher frequencies are not needed for the present application. A pulse rate of 180* is equivalent to a frequency of 3 Hz.

So as to cater for a wide range of pulse rates, the cut-off frequency is made just over 11 times as high as that representing the highest pulse rate. Operational amplifier IC1c, in conjunction with push-pull am-plifier T1-T2, creates a headphone amplifier, whose output resistance is equivalent to the value of R9, that is, 47 Ω. This makes the circuit usable for virtually any kind of headset. The output is short-circuit-proof. In case of certain headphones, such as that used with Sony Walkman™ sets, it is best to connect the two earphones in series. Operational amplifier IC1b is used as an active potential divider. The voltage across the actual divider, R5-R6, is half the supply voltage.
This voltage is buffered by IC1b, taken from the low-resistance output, pin 7, of this op amp and used as reference for IC1a, and as operating voltage for the electret microphone. The voltage is decoupled by C4 to remove any interference signals from it. The supply voltage for the pulse rate monitor is decoupled by capacitor C7, immediately after polarity protection diode D1. Owing to the use of CMOS op amps, the current drain does not exceed 10 mA, so that operation from a 9 V battery is perfectly feasible. A dry alkaline manganese battery will have a life of about 50 hours.

Unless you are a young super-fit top-class athlete, you should see your GP immediately when you find you have a pulse rate of 180. As a general guide, the absolute maximum pulse rate for a young, very fit person is 180, for a middle-aged person, 160, and for an elderly person, 140. When exercising, the pulse rate of a not very fit person should not exceed 60% of these maxima
Read More

How to make Sleeping Aid



Main Parts:

Symbol
Name
Descriptions
R1,R5
Resistors
1K   1/4W
R2
Resistor
10K   1/4W
R3,R6
Resistors
10M   1/4W
R4,R7
Resistors
2M2  1/4W
R8,R9
Resistors
4K7  1/4W
C1,C7
Electrolytic Capacitors
47µF   25V
C2
Polyester Capacitor
100nF   63V
C3,C4
Polyester Capacitors
330nF   63V
C5,C6
Polyester Capacitors
15nF   63V
D1,D3,D4,D5   
Diodes
1N4148 75V 150mA
D2
LED
any type
IC1
14 stage ripple counter and oscillator IC
4060
IC2
Quad 2 input Schmitt NAND Gate IC
4093
Q1
PNP Transistor
BC327   45V 800mA
L1
Radiator coil

P1
Pushbutton
SPST
SW1
rotary switch
2 poles 4 ways
SW2
Slider Switch
SPST
B1
Battery
9V PP3

Clip for PP3 Battery



Device purpose:
Many people experienced sleeping well in natural surroundings, into a tent or a wooden hut. This fact is due not only to the healthy atmosphere but also from our unconscious ability to perceive natural Earth's magnetic-fields.
The circuit generates this type of Geo-magnetic-fields and lets us perceive them: in this manner our brain is surrounded by an ideal environment for a sound sleep.
(N.B. Basic ideas for this circuit are coming from German papers).
How To Use:

  • Select a timing option by means of the rotary switch SW1.
  • Choose 15, 30 or 60 minutes operation.
  • Select "Stop" or "Alternate" mode operation by means of SW2.
  • With SW2 closed (Stop mode operation) the electromagnetic radiation stops after the pre-set time is elapsed.
  • With SW2 opened (Alternate mode operation) the device operates for the pre-set time, then pauses for the same amount of time: this cycle repeats indefinitely.
  • Place the unit under the pillow and sleep like a log.
  • To reset a cycle press P1 pushbutton.

Circuit operation:
IC2C and IC2D generate two square waves at about 1.2 and 5 Hz respectively. These wave-forms are converted into 60µS pulses at the same frequencies by means of C5 & C6 and mixed at Q1 Base. This transistor drives the Radiator coil with a scalar series of pulses of 60µS length and 9V amplitude.
IC1, IC2A & IC2B form the timer section. C1 & R2 provide auto-reset of IC1 at switch-on. The internal oscillator of IC1 drives the 14 stage ripple counter and, after about 15 minutes, output pin 1 goes high. Pin 3 of IC2A goes low and stops IC2C & IC2D oscillation.
If SW2 is left open (Alternate mode operation), after 15 minutes pin 1 of IC1 goes low, pin 3 of IC2A goes high and oscillators are enabled again.
If SW2 is closed (Stop mode operation), the first time output pin 1 of IC1 goes high, the internal oscillator of the IC is disabled by means of D1. Therefore the circuit remains off until a reset pulse is applied to pin 12 by means of P1 or when the whole device is switched-off and then restarted.
The same thing occurs when SW1 is switched on 30 or 60 minutes positions, obviously changing time length.
IC2B drives pilot LED D2 which operates in the following three modes:

flashes quickly and almost randomly when the Radiator coil is driven
flashes somewhat slowly and regularly when the Radiator coil is pausing during the Alternate mode operation
is off when the circuit auto-stops (Stop mode operation)
Notes:
  • L1 is obtained by winding randomly 600 turns of 0.2 mm. enameled wire on a 6 mm. diameter, 40 mm. long, steel bolt. Secure the winding with insulating tape.
  • Mean current drawing is about 7mA, decreasing to less than 4mA during pauses when in Alternate mode operation.
  • Battery life can be dramatically increased omitting LED D2 and its associated resistor R5.
  • Use a plastic box to enclose the circuit: metal cases can severely limit electromagnetic radiation.

Features:
  • Generates a natural electromagnetic-field
  • Makes easier to fall asleep
  • Induces a prolonged and sound sleep without drugs
  • No side effects


Disclaimer: we can't claim or prove any therapeutic effectiveness for this device.
Read More

How to make Simple Lie Detector

Here's a simple lie detector that can be built in a few minutes, but can be incredibly useful when you want to know if someone is really telling you the truth. It is not as sophisticated as the ones the professionals use, but it works. It works by measuring skin resistance, which goes down when you lie.

Main Parts:


Part
Total Qty.

Description

R1: Resistor
1
33K 1/4W
R2: Pot
1
5K
R3: Resistor
1
1.5K 1/4W
C1: Electrolytic Capacitor
1
1uF 16V          
Q1: NPN Transistor
1
2N3565
M1: Analog Meter
1
0-1 mA
MISC
1
Case, Wire, Electrodes


Schematic:

Notes
  • The electrodes can be alligator clips (although they can be painful), electrode pads (like the type they use in the hospital), or just wires and tape.
  • To use the circuit, attach the electrodes to the back of the subjects hand, about 1 inch apart. Then, adjust the meter for a reading of 0. Ask the questions. You know the subject is lying when the meter changes.

Read More

How to make Medical ECG Monitors

Medical ECG Monitors using the AD620 Instrumentation Amplifier
One of features of the AD620 instrumentation amplifier is low current noise, this benefit allows its use in the Electrocardiography (ECG) monitors. A medical ECG Monitor Circuit is shown in the following picture, please click to enlarge the picture.




The picture tells the use of AD620 in ECG monitors where high source resistances of 1 MOhm or higher are not uncommon. It can improve the dynamic range for better performance when low bias current and low current noise coupled with the low voltage noise of the AD620.

Capacitor C1 maintains the stability of right leg drive loop. An isolation addition to this circuit may protect the patient from possible danger. You may see the datasheet here (source: analog.com).
Read More

How To make Electronic Stethoscope




An electronic stethoscope is an easy and fun listening device to make. It only requires some basic knowledge of electronics, and can be built with some basic easy to find parts. I have been having a great time using it to crack saf... I mean listen to my heartbeat. Yes! I have been having a great time listening to my inner workings.


Step 1: Go get stuff

You will need:
- 1-1/2" flat round cabinet knob
- LM386 Low Voltage Audio Power Amplifier (Model: LM386 | Catalog #: 276-1731)
- MPF102 Transistors (Model: MPF102 FET | Catalog #: 276-2062)
- 1K Ohm 1/4-Watt Carbon Film Resistor (Model: 271-1321 | Catalog #: 271-1321)
- 1M Ohm 1/4-Watt Carbon Film Resistor (Model: 271-1356 | Catalog #: 271-1356)
- 10 ohm 1/4W 5% Carbon Film Resistor (Model: 271-1301 | Catalog #: 271-1301)
- 4.7K Ohm 1/4-Watt Carbon Film Resistor (Model: 271-1330 | Catalog #: 271-1330)
- (x2) 0.047µF 50V 10% PC-Mount Capacitor (Model: 272-1068 | Catalog #: 272-1068)
- 220µF 35V 20% Radial-lead Electrolytic Capacitor (Model: 272-1029 | Catalog #: 272-1029)
- 100µF 35V 20% Radial-lead Electrolytic Capacitor (Model: 272-1028 | Catalog #: 272-1028)
- 0.1µF 50V Hi-Q Ceramic Disc Capacitor (Model: 272-135 | Catalog #: 272-135)
- Project Enclosure (3x2x1") (Model: 270-1801 | Catalog #: 270-1801)
- Multipurpose PC Board with 417 Holes (Model: 276-150 | Catalog #: 276-150)
- JVC® Gumy Earbuds (Model: HAF150B | Catalog #: 55042619)
- 10K-Ohm Linear-Taper Potentiometer (Model: 271-1715 | Catalog #: 271-1715)
- Hexagonal Control Knob (Model: 274-407 | Catalog #: 274-407)
- 1/8" Mono Panel-Mount Audio Jack (Model: 274-251 | Catalog #: 274-251)
- 6-Ft. Mono 1/8" Plug to Mono 1/8" Jack with Shielded Cable (Model: 42-2472 | Catalog #: 42-2472)
- Fully Insulated 9V Battery Snap Connectors (Model: 270-325 | Catalog #: 270-325)
- Enercell® Alkaline 9 Volt Battery (Model: 23-853 | Catalog #: 23-853)
- 90dB Piezo Pulse (Model: 273-066 | Catalog #: 273-066)
Step 2: Cut

Using a sharp pair of scissors, trim your circuit board lengthwise so that only the center pads are left.

Note: You may want to use a dust mask while doing this, as circuit board dust is bad for you when inhaled. Cutting the board with scissors, greatly reduces, but does eliminate dust.

Step 3: Build

Build the circuit tightly and as close to one side of the board as possible.

For now, don't worry about including the power switch, audio jack, potentiometer or piezo. These will be handled later.

Step 4: Trim

Once the bulk of your circuit has been built. Trim the board as small as possible in such a way that it won't interfere with the circuit itself, and remember to leave a few solder pads for the parts that you still need to connect.

Step 5: Mark and drill


Flip your case on its side. Make two _ _ _ marks _ _ _

Drill these marks using a 1/4" drill bit.

Step 6: Mark and drill again

On the two smallest sides of the case make centered marks.
Drill an 3/16" hole on the side closest to the other holes that you have just made.
Drill a 1/4" hole where the mark is on the opposite side of the case.


Step 7: Wires


With the potentiometer knob facing towards you, solder a black wire to the left potentiometer pin.

Solder red wire to the other two pins.

Step 8: More wires
Solder a red wire to the center toggle switch pin.

Solder the red wire from the 9V battery clip to either of the other pins.

Step 9: Some more wires
Attach a single red wire to the two pins on the bottom of the audio jack.

Attach a black wire to the ground pin on the side.

Step 10: Install
Install the potentiometer and toggle switch right next to each other inside the case.

Install the audio jack into the 1/4" hole on the opposite end of the case.

Step 11: Drill




Drill and 1/8" hole near the edge of the cabinet handle.


Step 12: Mount
For our purposes, the flat side of the cabinet handle will be considered the front.

Pass the red and black wires of the piezo through the hole you just drilled from front to back.


Epoxy the piezo to the cabinet handle such that the flat side of the piezo is facing out.

Be careful to leave a tiny bit of space between the cabinet handle and the solder points on the piezo (just in case the handle is conductive).
Step 13: Trim
Take your audio cable and cut a 3 foot section of cable out of it.

Don't worry about preserving the ends. We just need the shielded cable.

Step 14: Expose


Peel back the cable and twist together the shielding to form one single wire and expose the signal wire to form another.

Step 15: Attach
Solder the red wire from the piezo to the signal wire of the cable.

Solder the black wire to the cable's shielding.

Epoxy it all to the back of the cabinet handle in such a way that the solder joints won't make contact with either each other or the handle itself.

Step 16: Passing through


Pass the other end of the audio cable through the remaining hole in the case.
Tie a single knot to prevent it from passing back through.
Strip back the cable and separate the wires as you did in Step 14.


Step 17: Solder it all up
Complete the circuit as specified in the schematic.

Note that the audio cable's shielding goes to ground and that the center pin from the toggle switch goes to +9V.

The power switch goes between the red wire on the battery connector and the +9V in connection on the circuit board.

Step 18: Power
Plug in your 9V battery and install it inside the case.

If all has been done right, it should fit snugly.

Step 19: Case closed

Put the lid on the case and screw it shut.

Step 20: Knob

Attach your knob to the potentiometer.

Step 21:
Plug in your ear buds or headphones.


I used a pair of headphones and ear protection to make passive noise canceling headphones (jackhammer headphones).








































Read More

How To make PC Thermometer using AVR Microcontroller


Description

With this project you can show the temperature on you PC. This thermometer plugs in on any free serial port. It gives temperature readings accurate to 0.5°C with no calibration.The project consists of the ATTiny2313 RS232 Project board and the DS1621 Thermometer board and software for the PC. It can display both indoor and outside temperature on the PC screen (see picture below).


Features:

  • Plugs in on any free PC com port.
  • Temperature range -20 ... +125°C (-4 ... 257°F).
  • Basic accuracy and resolution 0.5°C.
  • Centigrade (°C) or Farenheit (°F) scale.
  • Data logging on easily readable text file.
  • Sample interval 10 seconds, 1 minute, 5 minutes, 30 minutes or 60 minutes.
  • One or two temperature sensors.
  • No calibration required.

Hardware

The ATTiny RS232 project Board works as the interface between the DS1621 Temperature board and the PC. The DS1621 Temperature board is connected to PortB of the ATTiny2313 microcontroller. The DS1621 measures the temparature and the microcontroller contains the firmware for passing through the measured temparature to the serial port. The AVR Projects Board has an on board voltage converter, the MAX232, to convert the TTL signals of the microcontroller to the RS232 signals of the serial port. The ATTiny RS232 project board has a 9-pin DB connector to hook the board to the serial port of your PC.

The DS1621 uses the I2C interface also called Two Wire Interface (TWI) to communicate with the microcontroller. The DS1621 has three address pins up to in total adress eight devices. The eight devices can be connected in a daisy chain and the address of each device needs to be configured with the address pins.

Microcontroller Firmware


The software for the microcontroller is written with the AVR BASOM compiler. The ATTiny2313 microcontroller has to be programmed with this software. The output of the software can also be read out with a terminal program HyperTerminal.

PC Software

The PC software is written in Microsoft Visual Basic.Net 2003. Below you can see a screen dump of the Windows application. It shows the temperature of two DS1621devices. In the Settings menu you can choose the COM-port you use and open and close the COM-port. In the Logging menu you can choose the sample interval time. The logging samples will be stored in a text file, so you can easily import these files in MS-Word or in MS-Excel where you can make a graph of the data. The program needs the file PORT.DLL to acces the serial port in Windows. The PORT.DLL needs to be placed in the WINDOWS/system32folder, or in the same folder as the .exe file. The program is tested in Windows XP Home Edition, but should probably also work in previous versions of Windows. Below you see the screen dump of the program.


For Source Code:


Downloads
FileDescriptionFile size
PC Thermom~.basAVR BASCOM code for the ATTiny2313 microcontroller firmware2 Kb
PC THERMOM~.hexhex file for the ATTiny2313 firmware2 Kb
PC_RS232_T~.zipPC Thermometer Visual Basic.net PC software59 Kb
Port.dllport.dll file, put this file in your windows system folder45 Kb



Read More