{"product_id":"basic-stamp-2p40-microcontroller-module","title":"BASIC Stamp 2p40 Microcontroller Module","description":"\u003cp\u003e\u003cspan style=\"color: #ff0000;\"\u003e\u003cstrong\u003eWe just found a small batch of BS2p40 Rev C units. Available online while supplies last.\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #ff4000;\"\u003e\u003cstrong\u003eDiscontinued. For new designs, see the Propeller 1 and Propeller 2 multicore microcontrollers.\u003cbr\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch5 class=\"ui-accordion-header ui-helper-reset ui-state-default ui-state-active ui-corner-top\" role=\"tab\"\u003eBASIC Stamp 2p40 Overview:\u003c\/h5\u003e\n\u003cdiv id=\"overview\" class=\"tabbed overview ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active\" role=\"tabpanel\"\u003e\n\u003cdiv class=\"field-body\"\u003e\n\u003cp\u003eThe 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.\u003c\/p\u003e\n\u003cp\u003eAll vital components (processor, clock source, memory, power regulator) are provided on the BS2p40's tiny PCB; just connect power and go!\u003c\/p\u003e\n\u003cp\u003eThe 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.\u003c\/p\u003e\n\u003cp\u003eFor customers that require a more powerful, multi-processing microcontroller, we recommend the \u003ca href=\"\/collections\/propeller?page=1\" rel=\"noopener\" target=\"_blank\"\u003ePropeller 1 or Propeller 2\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch5\u003e\u003cspan class=\"forte\"\u003eKey Features:\u003c\/span\u003e\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eSmall form factor requires little space\u003c\/li\u003e\n\u003cli\u003eNon-volatile memory holds up to 4,000 instructions even without power\u003c\/li\u003e\n\u003cli\u003ePBASIC commands are easy to learn and remember\u003c\/li\u003e\n\u003cli\u003eCommercial-rated since Rev C\u003c\/li\u003e\n\u003cli\u003ePCB assembled, programmed, tested, and completed in Rocklin, California, USA\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch5 class=\"ui-accordion-header ui-helper-reset ui-state-active ui-corner-top\" role=\"tab\"\u003eBASIC Stamp 2p40 Specifications:\u003c\/h5\u003e\n\u003cdiv id=\"details\" class=\"tabbed details ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active\" role=\"tabpanel\"\u003e\n\u003cdiv class=\"field-tech\"\u003e\n\u003cul\u003e\n\u003cli\u003eProcessor Speed: 20 MHz Turbo; ~12,000 PBASIC instructions\/sec\u003c\/li\u003e\n\u003cli\u003ePBASIC Commands: 61\u003c\/li\u003e\n\u003cli\u003ePackage: 40-pin DIP\u003c\/li\u003e\n\u003cli\u003eI\/O pins: 32 + 2 dedicated serial\u003c\/li\u003e\n\u003cli\u003eRAM Size: 38 Bytes (12 I\/O, 26 Variable)\u003c\/li\u003e\n\u003cli\u003eScratch Pad RAM: 128 bytes\u003c\/li\u003e\n\u003cli\u003eEEPROM (Program) Size: 8 x 2 KBytes; ~4,000 PBASIC instructions\u003c\/li\u003e\n\u003cli\u003eVoltage requirements: 5.5 to 12 VDC (Vin), or 5 VDC (Vdd)\u003c\/li\u003e\n\u003cli\u003eCurrent requirements: 40 mA Run, 350 μA Sleep\u003c\/li\u003e\n\u003cli\u003eSource\/Sink Current per I\/O: 30 mA \/ 30 mA\u003c\/li\u003e\n\u003cli\u003eSource\/Sink Current per unit: 60 mA \/ 60 mA per 8 I\/O pins\u003c\/li\u003e\n\u003cli\u003eCommunication: Serial (9600 baud for programming)\u003c\/li\u003e\n\u003cli\u003eDimensions: 2.20 x 0.63 x 0.15 in (55.9 x 16.0 x 3.81 mm)\u003c\/li\u003e\n\u003cli\u003eOperating temp range: +32 to +158 °F (0 to +70 °C)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch4\u003eResource Links\u003c\/h4\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/forums.parallax.com\/categories\/basic-stamp\/\" rel=\"noopener noreferrer\" target=\"_blank\"\u003eBASIC Stamp Forum\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003e(Parallax Forums)\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.muratnkonar.com\/otherstuff\/macbs2\/\" rel=\"noopener noreferrer\" target=\"_blank\"\u003eMac Based BASIC Stamp 2 Software provided by Murat Konar\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003e(off-site)\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"http:\/\/bstamp.sourceforge.net\/\" rel=\"noopener noreferrer\" target=\"_blank\"\u003eLinux-based BASIC Stamp 2 software provided by Francis Esmonde-White and SourceForge.net.\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003e(Not supported by Parallax) (off-site)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"My Store","offers":[{"title":"Default Title","offer_id":53397214626101,"sku":"BS2P40","price":89.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1015\/6307\/2821\/files\/6bdc6ea5-BS2P40.png?v=1787781806","url":"https:\/\/shop.parallax.com\/products\/basic-stamp-2p40-microcontroller-module","provider":"Parallax Inc","version":"1.0","type":"link"}