BSCB Example Programs:


Download All BSCB Programs

BS2 Programs

Program Name Description Required Boards/Parts
24C04_EEPROM.zip Reads/writes 512 bytes from/to 24C04 EEPROM on the BSCB-02 board BSCB-02
24C04_EEPROM_BLOCK.zip Reads/writes 512 bytes from/to 24C04 EEPROM using PAGE WRITE and CURRENT ADDRESS READ operations in order to speed up transactions BSCB-02
adc.zip Reads voltage values from the 5 channels of analog inputs on the BSCB-02 BSCB-02
I2C_PIC_ID.zip Reads the Device Identifier of PIC16F818 Secondary Microcontroller on the BSCB-02 BSCB-02
Key3x5.zip Scans a 3x5 keypad from the keypad connector BSCB-02,
KP1-3X5 or any 3X5 matrix keypad
Key4x4.zip Scans a 4x4 keypad from the keypad connector BSCB-02, KP1-4X4 or any 4X4 matrix keypad
LCD.zip Demonstrates how to program an LCD Display such as LCD242-BK in 4-bit mode with BASIC Stamp using a demo BSCB-01 or BSCB-02, LCD242-BK or any LCD
MMC.zip Reads/writes 512 bytes from/to a MultiMedia Card (MMC) using the 24C04 EEPROM as a temporary write block buffer. BSCB-02, MMC-RTC-1
PIC_EEPROM.zip Reads/writes from/to the 128 bytes of EEPROM in the PIC16F818 Secondary Microcontroller on the BSCB-02 BSCB-02
PIC_FIFO_RAM.zip Reads/writes from/to the 128 bytes of FIFO RAM in the PIC16F818 Secondary Microcontroller on the BSCB-02 BSCB-02
PIC_RAM.zip Reads/writes from/to the 128 bytes of RAM in the PIC16F818 Secondary Microcontroller on the BSCB-02 BSCB-02
PWM.zip Control 10-bit pulse width modulated DAC output ( as a generic analog output or to adjust the contrast of LCD ) BSCB-02
ReadlPortA.zip Configures and reads the 8-bit PORT A of PIC16F818 Secondary Microcontroller on the BSCB-02 as digital inputs BSCB-02
ReadVirtualPort.zip Configures and reads the status of 8-bit keypad connector on the BSCB-02 as a virtual port BSCB-02
RTC.zip Demonstrates how to use the DS1307 Real Time Clock with BASIC Stamp BSCB-01 or BSCB-02, MMC-RTC-1
TB-1.zip Demonstrates playing music and controlling LED’s with BASIC Stamp using the buzzer on the TB-1 board BSCB-01 or BSCB-02,TB-1
WritePortA.zip Configures and writes to the 8-bit PORT A of PIC16F818 Secondary Microcontroller on the BSCB-02 as digital outputs BSCB-02
WriteVirtualPort.zip Configures and writes to keypad connector on the BSCB-02 as a virtual port ( only 7 lines can be controlled, not VirtualPort.5 ) BSCB-02


BSP Programs


Program Name Description Required Boards/Parts
Adcpic.zip Reads voltage values from the 5 channels of analog inputs on the BSCB-02 BSCB-02
ADC0834.zip Reads voltage values from the 4 channels of analog inputs on the TB-1 peripheral board BSCB-01 or BSCB-02, TB-1
bscbiotest.zip Toggles all the I/O ports of BASIC Stamp every 100 milliseconds BSCB-01 or BSCB-02
LCDOUT.zip Demonstrates initialization and printing on a 2 x 16 character LCD display BSCB-01 or BSCB-02, LCD242-BK or any LCD
Relay_2.zip Demonstrates relay control with the BASIC Stamp by energizing a relay on the RELAY-2 board BSCB-01 or BSCB-02, RELAY-2
Relay_Reed.zip Demonstrates relay control with the BASIC Stamp by energizing reed relays on the RELAY-4REED board BSCB-01 or BSCB-02, RELAY-4REED
TB1.zip Demonstrates sound generation, LED flashing and switch polling with the BASIC Stamp using the TB-1 board BSCB-01 or BSCB-02, TB-1
X10.zip Demonstrates controlling X-10 devices with the BASIC Stamp BSCB-01 or BSCB-02, X10-1, TW-523