The BASIC Stamp is a microcontroller with a small, specialized BASIC interpreter ( PBASIC ) built into ROM . It is made by Parallax, Inc. and has been popular with electronics hobbyists since the early 1990s.
44-518: Although the BASIC Stamp 2 has the form of a 24 pin DIP chip , it is in fact a small printed circuit board (PCB) that contains the essential elements of a microprocessor system: The end result is that a hobbyist can connect a 9 V battery to a BASIC Stamp and have a complete system. A serial connection to a personal computer allows the programmer to download software to the BASIC Stamp, which
88-598: A QIL package , has the same dimensions as a DIL package, but the leads on each side are bent into an alternating zigzag configuration so as to fit four lines of solder pads (instead of two with a DIL). The QIL design increased the spacing between solder pads without increasing package size, for two reasons: Commonly found DIP packages that conform to JEDEC standards use an inter-lead spacing (lead pitch) of 0.1 inches (2.54 mm) (JEDEC MS-001BA). Row spacing varies depending on lead counts, with 0.3 in. (7.62 mm) (JEDEC MS-001) or 0.6 inch (15.24 mm) (JEDEC MS-011)
132-463: A dual in-line package ( DIP or DIL ) is an electronic component package with a rectangular housing and two parallel rows of electrical connecting pins. The package may be through-hole mounted to a printed circuit board (PCB) or inserted in a socket. The dual-inline format was invented by Don Forbes, Rex Rice and Bryant Rogers at Fairchild R&D in 1964, when the restricted number of leads available on circular transistor-style packages became
176-399: A circular window of clear quartz over the chip die to allow the part to be erased by ultraviolet light . Often, the same chips were also sold in less expensive windowless PDIP or CERDIP packages as one-time programmable (OTP) versions. Windowed and windowless packages were also used for microcontrollers, and other devices, containing EPROM memory. Windowed CERDIP-packaged EPROMs were used for
220-429: A die paddle, where the die sits in the leadframe, and the leads. The leadframe is made of an alloy the molding compound can adhere to, a thermal expansion coefficient that is as close as possible to that of the die and compound, has good thermal and electrical conductivity, is strong enough and has high formability. The die is glued or soldered to the die pad inside the lead frame, and then bond wires are attached between
264-548: A hollow plastic box with the bottom/back open, filled (around the contained electronic components) with a hard translucent epoxy material from which the leads emerge. Others, such as DIP switches, are composed of two (or more) plastic housing parts snapped, welded, or glued together around a set of contacts and tiny mechanical parts, with the leads emerging through molded-in holes or notches in the plastic. Several DIP variants for ICs exist, mostly distinguished by packaging material: EPROMs were sold in ceramic DIPs manufactured with
308-476: A limitation in the use of integrated circuits . Increasingly complex circuits required more signal and power supply leads (as observed in Rent's rule ); eventually microprocessors and similar complex devices required more leads than could be put on a DIP package, leading to development of higher-density chip carriers . Furthermore, square and rectangular packages made it easier to route printed-circuit traces beneath
352-553: A non-replaceable 10-year lithium battery. DIP header blocks on to which discrete components could be soldered were used where groups of components needed to be easily removed, for configuration changes, optional features or calibration. The original dual-in-line package was invented by Bryant "Buck" Rogers in 1964 while working for Fairchild Semiconductor. The first devices had 14 pins and looked much like they do today. The rectangular shape allowed integrated circuits to be packaged more densely than previous round packages. The package
396-570: A second bend in the leads to flatten them parallel to the bottom plane of the plastic housing. The SOJ (Small Outline J-lead) and other SMT packages with "SOP" (for "Small Outline Package") in their names can be considered further relatives of the DIP, their original ancestor. SOIC packages tend to have half the pitch of DIP, and SOP are half that, a fourth of DIP. (0.1"/2.54 mm, 0.05"/1.27 mm, and 0.025"/0.635 mm, respectively) Pin grid array (PGA) packages may be considered to have evolved from
440-422: A tin-, silver-, or gold-plated lead frame that supports the device die and provides connection pins. Some types of IC are made in ceramic DIP packages, where high temperature or high reliability is required, or where the device has an optical window to the interior of the package. Most DIP packages are secured to a PCB by inserting the pins through holes in the board and soldering them in place. Where replacement of
484-421: A year and a week number), sometimes where it was made, and other proprietary information (perhaps revision numbers, manufacturing plant codes, or stepping ID codes.) The necessity of laying out all of the leads in a basically radial pattern in a single plane from the die perimeter to two rows on the periphery of the package is the main reason that DIP packages with higher lead counts must have wider spacing between
SECTION 10
#1732798534650528-434: Is always even. For 0.3 inch spacing, typical lead counts are 8, 14, 16, and 20; less common are 4, 6, 18, 24, and 28 lead counts. To have an even number of leads some DIPs have unused not connected (NC) leads to the internal chip, or are duplicated, e.g. two ground pins. For 0.6 inch spacing, typical lead counts are 24, 28, 32, and 40; less common are 36, 42, 48, 52, and 64 lead counts. Some microprocessors, such as
572-473: Is not as popular as the DIP, but has been used for packaging RAM chips and multiple resistors with a common pin. As compared to DIPs with a typical maximum pin count of 64, SIPs have a typical maximum pin count of 24 with lower package costs. One variant of the single in-line package uses part of the lead frame for a heat sink tab. This multi-leaded power package is useful for such applications as audio power amplifiers, for example. The QIP, sometimes called
616-648: Is stored in the onboard non-volatile memory device: it remains programmed until it is erased or reprogrammed, even when the power of the stamp is removed. If the power is reconnected the stamp immediately starts executing the program in slot 0 (of 8, numbered 0..7). The BASIC Stamp is programmed in a variant of the BASIC language, called PBASIC . PBASIC incorporates common microcontroller functions, including PWM , serial communications, IĀ²C and 1-Wire communications, communications with common LCD driver circuits, hobby servo pulse trains, pseudo-sine wave frequencies, and
660-470: The BIOS ROM of many early IBM PC clones with an adhesive label covering the window to prevent inadvertent erasure through exposure to ambient light. Molded plastic DIPs are much lower in cost than ceramic packages; one 1979 study showed that a plastic 14 pin DIP cost around US$ 0.063 and a ceramic package cost US$ 0.82. A single in-line package ( SIP or SIL package ) has one row of connecting pins. It
704-467: The Motorola 68000 and Zilog Z180 , used lead counts as high as 64; this is typically the maximum number of leads for a DIP package. As shown in the diagram, leads are numbered consecutively from Pin 1. When the identifying notch in the package is at the top, Pin 1 is the top left corner of the device. Sometimes Pin 1 is identified with an indent or paint dot mark. For example, for a 14-lead DIP, with
748-572: The SPIN programming language instead of PBASIC. A number of companies now make "clones" of the BASIC Stamp with additional features, such as faster execution, analog-to-digital converters and hardware-based PWM which can run in the background. The Parallax Propeller is gradually accumulating software libraries which give it functionality similar to the BASIC Stamp; however, there is no uniform list of which PBASIC facilities now have Spin equivalents. Dual in-line package In microelectronics ,
792-447: The 1990s, and still continue to be used today. Because some modern chips are available only in surface-mount package types, a number of companies sell various prototyping adapters to allow those surface-mount devices (SMD) to be used like DIP devices with through-hole breadboards and soldered prototyping boards (such as stripboard and perfboard ). (SMT can pose quite a problem, at least an inconvenience, for prototyping in general; most of
836-456: The DIP. PGAs with the same 0.1 inches (2.54 mm) pin centers as most DIPs were popular for microprocessors from the early to mid-1980s through the 1990s. Owners of personal computers containing Intel 80286 through P5 Pentium processors may be most familiar with these PGA packages, which were often inserted into ZIF sockets on motherboards . The similarity is such that a PGA socket may be physically compatible with some DIP devices, though
880-461: The DIP64 used for the Motorola 68000 CPU) has long leads inside the package between pins and the die, making such a package unsuitable for high speed devices. Some other types of DIP devices are built very differently. Most of these have molded plastic housings and straight leads or leads that extend directly out of the bottom of the package. For some, LED displays particularly, the housing is usually
924-482: The IC die inside. Plastic DIP (PDIP) packages are usually sealed by fusing or cementing the plastic halves around the leads, but a high degree of hermeticity is not achieved because the plastic itself is usually somewhat porous to moisture and the process cannot ensure a good microscopic seal between the leads and the plastic at all points around the perimeter. However, contaminants are usually still kept out well enough that
SECTION 20
#1732798534650968-457: The SMT package that most resembles a typical DIP, appears essentially the same, notwithstanding size scale, except that after being bent down the leads are bent upward again by an equal angle to become parallel with the bottom plane of the package.) In ceramic (CERDIP) packages, an epoxy or grout is used to hermetically seal the two halves together, providing an air and moisture tight seal to protect
1012-575: The ability to time an RC circuit which may be used to detect an analog value. Once a program has been written in the 'Stamp Editor', an integrated development environment (IDE) in Windows, the syntax can be checked, tokenized and sent to the chip through a serial / USB Mini-B cable, where it will run. There are currently four variants of the interpreter: The BS2 sub-variants feature more memory, higher execution speed , additional specialized PBASIC commands, extra I/O pins, etc., in comparison to
1056-531: The art, this advantage of DIPs is rapidly losing importance as well. Through the 1990s, devices with fewer than 20 leads were manufactured in a DIP format in addition to the newer formats. Since about 2000, newer devices are often unavailable in the DIP format. DIPs can be mounted either by through-hole soldering or in sockets. Sockets allow easy replacement of a device and eliminates the risk of damage from overheating during soldering. Generally sockets were used for high-value or large ICs, which cost much more than
1100-411: The characteristics of SMT that are advantages for mass production are difficulties for prototyping.) For programmable devices like EPROMs and GALs , DIPs remained popular for many years due to their easy handling with external programming circuitry (i.e., the DIP devices could be simply plugged into a socket on the programming device.) However, with In-System Programming (ISP) technology now state of
1144-423: The converse is rarely true. Lead frame A lead frame (pronounced / l i d / LEED ) is a metal structure inside a chip package that carries signals from the die to the outside, used in DIP, QFP and other packages where connections to the chip are made on its edges. The lead frame consists of a central die pad, where the die is placed, surrounded by leads, metal conductors leading away from
1188-431: The device can operate reliably for decades with reasonable care in a controlled environment. Inside the package, the lower half has the leads embedded, and at the center of the package is a rectangular space, chamber, or void into which the IC die is cemented. The leads of the package extend diagonally inside the package from their positions of emergence along the periphery to points along a rectangular perimeter surrounding
1232-406: The device. Typical cure cycles for the resins are less than 2 minutes and a single cycle may produce hundreds of devices. The leads emerge from the longer sides of the package along the seam, parallel to the top and bottom planes of the package, and are bent downward approximately 90 degrees (or slightly less, leaving them angled slightly outward from the centerline of the package body). (The SOIC ,
1276-416: The die and the bond pads to connect the die to the leads in a process called wire bonding. In a process called encapsulation, a plastic case is moulded around the lead frame and die, exposing only the leads. The leads are cut off outside the plastic body and any exposed supporting structures are cut away. The external leads are then bent to the desired shape. Amongst others, lead frames are used to manufacture
1320-632: The die to the outside world. The end of each lead closest to the die ends in a bond pad. Small bond wires connect the die to each bond pad. Mechanical connections fix all these parts into a rigid structure, which makes the whole lead frame easy to handle automatically. Lead frames are manufactured by removing material from a flat plate of copper, copper-alloy, or iron-nickel alloy like alloy 42. Two processes used for this are etching (suitable for high density of leads), or stamping (suitable for low density of leads). The mechanical bending process can be applied after both techniques. A lead frame has two sections:
1364-450: The die, tapering as they go to become fine contacts at the die. Ultra-fine bond wires (barely visible to the naked human eye) are welded between these die periphery contacts and bond pads on the die itself, connecting one lead to each bond pad, and making the final connection between the microcircuits and the external DIP leads. The bond wires are not usually taut but loop upward slightly to allow slack for thermal expansion and contraction of
BASIC Stamp - Misplaced Pages Continue
1408-416: The informal term "dead bug style" for the method. The body (housing) of a DIP containing an IC chip is usually made from molded plastic or ceramic. The hermetic nature of a ceramic housing is preferred for extremely high reliability devices. However, the vast majority of DIPs are manufactured via a thermoset molding process in which an epoxy mold compound is heated and transferred under pressure to encapsulate
1452-443: The lead rows, and it effectively limits the number of leads which a practical DIP package may have. Even for a very small die with many bond pads (e.g. a chip with 15 inverters, requiring 32 leads), a wider DIP would still be required to accommodate the radiating leads internally. This is one of the reasons that four-sided and multiple rowed packages, such as PGAs , were introduced (around the early 1980s). A large DIP package (such as
1496-408: The materials; if a single bond wire breaks or detaches, the entire IC may become useless. The top of the package covers all of this delicate assemblage without crushing the bond wires, protecting it from contamination by foreign materials. Usually, a company logo, alphanumeric codes and sometimes words are printed on top of the package to identify its manufacturer and type, when it was made (usually as
1540-456: The most common. Less common standardized row spacings include 0.4 inch (10.16 mm) (JEDEC MS-010) and 0.9 inch (22.86 mm), as well as a row spacing of 0.3 inch, 0.6 inch or 0.75 inch with a 0.07 inch (1.778 mm) lead pitch. The former Soviet Union and Eastern bloc countries used similar packages, but with a metric pin-to-pin spacing of 2.5 mm rather than 0.1 inches (2.54 mm). The number of leads
1584-401: The notch at the top, the left leads are numbered from 1 to 7 (top to bottom) and the right row of leads are numbered 8 to 14 (bottom to top). Leads are skipped on some DIP devices (e.g. segmented LED displays , relays, or devices that replace leads with a heat sink fin). The remaining leads are numbered as if all positions had leads. In addition to providing for human visual identification of
1628-421: The orientation of the package, the notch allows automated chip-insertion machinery to confirm correct orientation of the chip by mechanical sensing. The SOIC (Small Outline IC), a surface-mount package which is currently very popular, particularly in consumer electronics and personal computers, is essentially a shrunk version of the standard IC PDIP, the fundamental difference which makes it an SMT device being
1672-670: The original BS2 model. While the BS1 and BS2 use a PIC , the remaining BASIC Stamp 2 variants use a Parallax SX processor. The third variant is the Javelin Stamp. This module uses a subset of Sun Microsystems ' Java programming language instead of Parallax's PBASIC. It does not include any networking facilities. The fourth variant is the Spin Stamp. The module is based on the Parallax Propeller and therefore uses
1716-602: The package. DIP packages have been mostly displaced by surface-mount package types, which avoid the expense of drilling holes in a PCB and which allow higher density of interconnections. DIPs are commonly used for integrated circuits (ICs). Other devices in DIP packages include resistor networks, DIP switches , LED segmented and bar graph displays, and electromechanical relays . DIP connector plugs for ribbon cables are common in computers and other electronic equipment. Dallas Semiconductor manufactured integrated DIP real-time clock (RTC) modules which contained an IC chip and
1760-729: The packages. A DIP is usually referred to as a DIP n , where n is the total number of pins, and sometimes appended with the row-to-row package width "N" for narrow (0.3") or "W" for wide (0.6"). For example, a microcircuit package with two rows of seven vertical leads would be a DIP14 or DIP14N. The photograph at the upper right shows three DIP14 ICs. Common packages have as few as three and as many as 64 leads. Many analog and digital integrated circuit types are available in DIP packages, as are arrays of transistors, switches, light emitting diodes, and resistors. DIP plugs for ribbon cables can be used with standard IC sockets. DIP packages are usually made from an opaque molded epoxy plastic pressed around
1804-437: The parts is necessary, such as in test fixtures or where programmable devices must be removed for changes, a DIP socket is used. Some sockets include a zero insertion force (ZIF) mechanism. Variations of the DIP package include those with only a single row of pins, e.g. a resistor array , possibly including a heat sink tab in place of the second row of pins, and types with four rows of pins, two rows, staggered, on each side of
BASIC Stamp - Misplaced Pages Continue
1848-512: The size and weight of systems. DIP chips are still popular for circuit prototyping on a breadboard because of how easily they can be inserted and used there. DIPs were the mainstream of the microelectronics industry in the 1970s and 1980s. Their use has declined in the first decade of the 21st century due to the emerging new surface-mount technology (SMT) packages such as plastic leaded chip carrier (PLCC) and small-outline integrated circuit (SOIC), though DIPs continued in extensive use through
1892-471: The socket. Where devices would be frequently inserted and removed, such as in test equipment or EPROM programmers, a zero insertion force socket would be used. DIPs are also used with breadboards, a temporary mounting arrangement for education, design development or device testing. Some hobbyists, for one-off construction or permanent prototyping, use point-to-point wiring with DIPs, and their appearance when physically inverted as part of this method inspires
1936-463: Was well-suited to automated assembly equipment; a PCB could be populated with scores or hundreds of ICs, then all the components on the circuit board could be soldered at one time on a wave soldering machine and passed on to automated testing machines, with very little human labor required. DIP packages were still large with respect to the integrated circuits within them. By the end of the 20th century, surface-mount packages allowed further reduction in
#649350