Featured Post

High CMRR Instrumentation Amplifier (Schematic and Layout) design for biomedical applications

Instrumentation amplifiers are intended to be used whenever acquisition of a useful signal is difficult. IA’s must have extremely high input impedances because source impedances may be high and/or unbalanced. bias and offset currents are low and relatively stable so that the source impedance need not be constant. Balanced differential inputs are provided so that the signal source may be referenced to any reasonable level independent of the IA output load reference. Common mode rejection, a measure of input balance, is very high so that noise pickup and ground drops, characteristic of remote sensor applications, are minimized.Care is taken to provide high, well characterized stability of critical parameters under varying conditions, such as changing temperatures and supply voltages. Finally, all components that are critical to the performance of the IA are internal to the device. The precision of an IA is provided at the expense of flexibility. By committing to the one specific task of

Basic PICAXE parameters

Here are some of the most useful parameters of the PICAXE:
• The PICAXE requires 5 volts DC, regulated.

• The inputs and outputs of the PICAXE are compatible
with 5-volt logic chips. You can attach them directly.
• Each PICAXE pin can sink or source up to 20mA. The
whole chip can deliver up to 90mA. This means that
you can run LEDs directly from the pins, or a piezo
noisemaker (which draws very little current), or a
transistor.
• You can use a chip such as the ULN2001A Darlington
array (mentioned in the previous experiment) to amplify
the output from the PICAXE and drive something
such as a relay or a motor.
• The chip executes each line of your program in about
0.1 milliseconds.
• The 08M chip has enough flash memory for about 80
lines of program code. Other PICAXE chips have more
memory.
• The PICAXE provides 14 variables named b0 through
b13. The “b” stands for “byte,” as each variable occupies
a single byte. Each can hold a value ranging from 0
through 255.
• No negative or fractional values are allowed in
variables.
• You also have 7 double-byte variables, named w0
through w6. The “w” stands for “word.” Each can hold a
value ranging from 0 through 65535.
• The “b” variables share the same memory space as the
“w” variables. Thus:
• b0 and b1 use the same bytes as w0.
• b2 and b3 use the same bytes as w1.
• b3 and b4 use the same bytes as w2.
• b5 and b6 use the same bytes as w3.
• b7 and b8 use the same bytes as w4.
• b9 and b10 use the same bytes as w5.
• b11 and b12 use the same bytes as w6.
• b13 and b14 use the same bytes as w7.
Therefore, if you use w0 as a variable, do not use b0 or
b1. If you use b6 as a variable, do not use w3, and so on.
• Variable values are stored in RAM, and disappear when
the power is switched off.
• The program is stored in nonvolatile memory, and
remains intact when the power is off.
• The manufacturer’s specification claims that the
nonvolatile memory is rewritable up to about 100,000
times.
• If you want to attach a switch or pushbutton to a pin
and use it as an input, you should add a 10K pull-down
resistor between the pin and the negative side of the
power supply to hold the pin in a low state when the
switch is open. Figure 5-143 shows how pull-down
resistors should be used in conjunction with a SPST
switch or a pushbutton.
• On the 08M chip, if you apply a varying resistance
between Logic Pins 1, 2, or 4, and the negative side of
the power supply, the chip can measure it and “decide”
what to do. This is the “Analog-Digital Conversion”
feature—which leads to our next experiment.