# Electronics Projects

View:
Sorted by:

### Electronics Projects: How to Use Variables in PBASIC Code

The BASIC Stamp 2 microprocessor has a whopping 32 bytes of RAM memory that's available for processing for your electronics project. To use RAM memory in PBASIC, you create variables. A

### Electronics Projects: How to Do Math in PBASIC Code

A little programming is in order for your electronics project when you use programmable microprocessors like the BASIC Stamp. The BASIC Stamp uses Parallax BASIC

### Electronics Projects: How to Use IF Statements in PBASIC Code

When you use programmable microprocessors like the BASIC Stamp in your electronics project, a little programming is in order. The BASIC Stamp uses Parallax BASIC

### Electronics Projects: How to Use ENDIF and ELSE in PBASIC Code

Programming in PBASIC is a necessary evil when you use programmable microprocessors like the BASIC Stamp in your electronics projects. PBASIC lets you perform logic in your program through the use of

### Electronics Projects: How to Use DO Loops in PBASIC Code

The DO loop in PBASIC can make programming of the BASIC Stamp in your electronics project a bit more compact. The DO loop is a special PBASIC statement that performs essentially the same function as a

### Electronics Projects: How to Use FOR Loops in PBASIC Code

The PBASIC FOR loop will make the BASIC Stamp in your electronics project execute a loop a certain number of times. It is also a great programming tool for performing an action on multiple I/O pins. Thus

### Electronics Projects: How to Connect a Push Button to a BASIC Stamp

If you want the BASIC Stamp to react to the status of an external electronic circuit, connect a pushbutton to an I/O pin. Then, you can add commands to your PBASIC program to detect whether the pushbutton

### Electronics Projects: How to Check the Status of a Switch in PBASIC

Once you’ve connected a switch to a BASIC Stamp I/O pin in your electronics project, you need to know how to determine whether the switch is open or closed from a PBASIC program. The easiest way to do

### Electronics Projects: How to Read a Value from a Potentiometer

A potentiometer (often called a pot) is an electronic variable resistor with a knob you can turn to vary the resistance. Pots of various types are often used as input devices for BASIC Stamp projects.

### Electronics Projects: How to Program PBASIC Subroutines

PBASIC subroutines are invaluable in your electronics projects using a BASIC Stamp processor. A subroutine is a section of a program that can be called from any location in the program. When the subroutine

### Electronics Projects: How to Create Sound Effects

With creative use of PBASIC commands, you can create some interesting and at times annoying sound effects in your electronics projects. The idea is to use short durations in the

### Electronics Projects: How to Program Music on a BASIC Stamp

With your BASIC Stamp processor, PBASIC commands and a piezo speaker, you can make your electronics projects sing. Here is a sample program that plays two songs on a piezo speaker:

### Electronics Projects: How to Connect a Servo to a BASIC Stamp

To create motion, you can add a very useful device, called a servo, to your electronics project. A servo is a special type of motor that is designed to rotate to a particular position and hold that position

### Electronics Projects: How to Program a Servo in PBASIC

To create motion in your electronics project, you can add a very useful device, called a servo, which lets you control mechanical motion with a BASIC Stamp program. A

### Electronics Projects: How to Use a Piezo Speaker with a BASIC Stamp

You can add interesting sound effects and simple music to your electronics projects using the BASIC Stamp Activity Kit. The kit comes with a small piezoelectric speaker, which you can connect directly

### Electronics Projects: How to Use Comments in PBASIC Code

If you are using a BASIC Stamp to control functions of an electronics project, you will be writing code in Parallax BASIC (PBASIC). Using comments in your code will help you to remember what each little

### Digital Electronics: Vixen for Parallel-Port Control

If you want to create elaborate scripts for controlling devices connected via a computer’s parallel port, you should look into Vixen, a free software program that makes it easy to sequence your parallel

### Control Your Electronics through a Parallel Port

Don’t throw away that old computer! If it has a parallel port, you can use it to control your electronic gadgets. Until a few years ago, all computers came equipped with a

### Digital Electronics: Pinout Assignments for a Parallel Port

The pins on a parallel port that you’re most interested in for your electronics projects are pins 2 through 9 — the eight data pins that are collectively called the

### Digital Electronics: How to Design a Parallel-Port Circuit

Each of the eight data output pins on a parallel port provides 5 V DC to your electronic circuit. That amount of voltage can source about 10 mA or 12 mA — enough to drive an LED directly. Alternatively

### Digital Electronics: DB25 Connectors in a Parallel-Port Circuit

To build your own electronic circuits that interface with a parallel port, you need to use a DB25 connector that attaches to your electronic circuit. The standard parallel port on a computer uses a DB25

### Digital Electronics: Control Parallel-Port Output from an MS-DOS Prompt

You need some special software on the computer to send data to the parallel port to control the functions of your electronic circuit. Fortunately, you don’t have to be a programmer to create this software

### Digital Electronics: Kit 74 DOS Commands

When controlling your electronic projects through a parallel port, the Kit 74 DOS software consists of three commands — RELAY, DELAY, and WAITFOR — that you can run from a command prompt.

### Digital Electronics: How to Create a Command Script in Kit 74 DOS

Kit 74 DOS software, used to control your electronic projects through a parallel port, consists of three commands — RELAY, DELAY, and WAITFOR. You can easily create command scripts that can execute a series

### Digital Electronics: Seven-Segment Displays

A seven-segment display is an electronic array of seven LEDs arranged in a way that can display numerals as well as some alphabetic characters. You can purchase an inexpensive

Listings:1-2526-5051-7576-97