Introduction

I wanted to control 8 LEDs from a VB6 program.This guide explains how I started experimenting with a Parallax Basic Stamp* 2 in conjunction with Visual Basic 6 to achieve this.

First, I wired my Stamp 2 Super Carrier Board to a separate LED carrier. The LEDs are low-current type with their anodes connected via 5K8 resistors to PIN0, PIN1 etc on the Stamp 2. They are mounted in a piece of plastic edging strip and held in place with a dab of glue from a hot glue gun. A common Vss cable connects all LED cathodes to Vss on the Super Carrier Board. (I should have used a different-coloured fly-lead for this, but red was all I had to hand!)

Caution! Do not overload your Basic Stamp! I am using low-current LEDs with large-value resistors and am also taking pains not to have more than two or three LEDs on simultaneously.

To connect the ribbon cable to the Super Carrier Board I soldered a 40-pin socket on to the prototype area, then pushed a single-row pin strip into one side of it. The ribbon cable’s header is plugged on to this.

Note that the Super Carrier Board uses its on-board 9–pin serial connector to connect to the PC. This conn- ection can be used to (a) program the Stamp 2 from the Parallax Basic Editor / Development System, or (b) run a VB6 program to communicate with the Stamp 2.

ledstrip1
ledstrip2
supercarrierwithsocket
[Home] [Know The Notes] [TuneFinder for Windows] [VuChord] [Subtitle Synchroniser] [VB6 to Basic Stamp 2] [Introduction] [First Test Program] [Second Test Program] [The Application] [Perfect Binding] [Repair an Addis Mop] [Letterbox Alert] [Feedback]