Our office will be closed 12/24 through 12/26. Orders placed after 2 p.m. PST on 12/23 will not be processed until 12/29.

BASIC Stamp 2p40 Microcontroller Module

  • BS2P40
$89.00
In Stock: 357
Product ID BS2P40
1-1011-2425-99100-249250-9991000+
$89.00$80.10$75.65$71.20$66.75$46.28

Overview

The BASIC Stamp 2p40 serves as the brains inside of electronics projects and applications that require a programmable microcontroller.  It is able to control and monitor timers, keypads, motors, sensors, switches, relays, lights, and more. Programming is performed in an easy-to-learn language called PBASIC.

All vital components (processor, clock source, memory, power regulator) are provided on the BS2p40's tiny PCB; just connect power and go!  For lower-cost OEM solutions, the processor (PBASIC2p40 interpreter) and other components are available for integration into your PCB.

The BS2p40-IC is useful for those that have previous experience with the BS2 and would like more speed, variable space, program space, I/O pins, or built-in support for character LCDs and the I2C and 1-Wire protocols; for example, LCDIN / LCDOUT, I2CIN / I2COUT, OWIN / OWOUT and POLLIN / POLLOUT / POLLMODE / POLLRUN / POLLWAIT.

For customers that require a more powerful, multi-processing microcontroller, we recommend the Propeller microcontroller.

Key Features:

  • Small form factor requires little space
  • Non-volatile memory holds up to 4,000 instructions even without power
  • PBASIC commands are easy to learn and remember
  • Commercial-rated since Rev C

 

Details

  • Processor Speed: 20 MHz Turbo; ~12,000 PBASIC instructions/sec
  • PBASIC Commands: 61
  • Package: 40-pin DIP
  • I/O pins: 32 + 2 dedicated serial
  • RAM Size: 38 Bytes (12 I/O, 26 Variable)
  • Scratch Pad RAM: 128 bytes
  • EEPROM (Program) Size: 8 x 2 KBytes; ~4,000 PBASIC instructions
  • Voltage requirements: 5.5 to 12 VDC (Vin), or 5 VDC (Vdd)
  • Current requirements: 40 mA Run, 350 μA Sleep
  • Source/Sink Current per I/O: 30 mA / 30 mA
  • Source/Sink Current per unit: 60 mA / 60 mA per 8 I/O pins
  • Communication: Serial (9600 baud for programming)
  • Dimensions: 2.20 x 0.63 x 0.15 in (55.9 x 16.0 x 3.81 mm)
  • Operating temp range: +32 to +158 °F (0 to +70 °C)

Downloads & Documentation

Download Details More Info
BASIC Stamp Editor Software - 18.4 MB | updated: 02 Jul 2014 - 1:58 pm
BASIC Stamp Manual - 5.2 MB | updated: 24 Sep 2012 - 2:06 pm
BASIC Stamp Linux Solution - 50.31 KB | updated: 25 Sep 2012 - 2:02 pm
PBASIC Tokenizer - 546.3 KB | updated: 27 Sep 2012 - 9:58 am
BASIC Stamp Module Comparison Chart - 864.91 KB | updated: 23 Jan 2014 - 10:21 am
PBASIC Editor for Linux Part 1 - 1.65 MB | updated: 25 Sep 2012 - 2:04 pm
Nuts & Volts Stamp Applications 87 Multi Bank Programming - 300.58 KB | updated: 27 Sep 2012 - 12:04 pm
PBASIC Editor for Linux Part 2 - 2.42 MB | updated: 25 Sep 2012 - 2:05 pm
Nuts & Volts Stamp Applications 87 Multi Bank Programming Source Code - 4.17 KB | updated: 27 Sep 2012 - 12:20 pm
BASIC Stamp 2p40 Schematic - 38.98 KB | updated: 14 Mar 2013 - 1:50 pm

Additional Resources