World Library  
Flag as Inappropriate
Email this Article

BASIC Stamp

Article Id: WHEBN0000890313
Reproduction Date:

Title: BASIC Stamp  
Author: World Heritage Encyclopedia
Language: English
Subject: .NET Gadgeteer, BASIC Atom, IoBridge, Wiring (development platform), Comparison of integrated development environments
Collection: Basic Interpreters, Microcontrollers, Parallax Products
Publisher: World Heritage Encyclopedia
Publication
Date:
 

BASIC Stamp

Diagram of a BASIC Stamp 2

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 because of its low threshold of learning and ease of use due to its simple to understand BASIC language and excellent documentation.

Contents

  • Technical specifications 1
  • Programming 2
  • Versions 3
  • See also 4
  • External links 5

Technical specifications

Although the BASIC Stamp 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 connection to a personal computer allows the programmer to download software to the BASIC Stamp, which is stored in the onboard non-volatile memory device: it remains programmed until it is erased or reprogrammed, even when the power is removed.

Programming

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 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.

Versions

The BASIC Stamp 2

There are currently four variants of the interpreter:

  1. (1992) BASIC Stamp 1 (BS1)
  2. (1995) BASIC Stamp 2 (BS2), with six sub-variants:
  3. BS2e
  4. BS2sx
  5. BS2p24
  6. BS2p40
  7. BS2pe
  8. BS2px
  9. (2002) Javelin Stamp
  10. (2006) Propeller\Spin Stamp
  11. The BS2 sub-variants feature more memory, higher execution speed, additional specialized PBASIC commands, extra I/O pins, etc., in comparison to 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 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.

    See also

    External links

    • "Comparing PBASIC 2.5 control structures to the old PBASIC" – By Tracy Allen, EME Systems, 2003
    • Parallax Forums – Discussion Forum
    • Parallax, Inc. – Corporate website, home of the Basic Stamp and Basic Stamp 2
    • "Independent review of the Scribbler Robot, a programmable intelligent robot utilizing the BASIC Stamp 2 Microcontroller" – By Andy Kaiser
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.