New Home

Recent Updates

New Home
Please visit us at our new home. All content has been moved there.














































































HB3x2 Dual 3 Amp H-Bridge for Robotics

How To Use the HB3x2 with a Basic Stamp 2

We are going to connect the Basic Stamp 2 to the HB3x2 with 2 standard I/O pins and 2 PWM outputs. We have chosen Pin1 and Pin3 as the standard I/O pins and Pin2 and Pin4 as the PWM outputs.

We will use Pin1 and Pin2 for Motor1, and Pin3 and Pin4 for Motor2.

We will consider Pin1 high as forward for motor1, and Pin1 low as reverse for motor1. Likewise we'll consider Pin3 high as forward for motor1, and Pin3 low as reverse for motor1. This may not be the same as your hardware so you may have to change this in your code.

Basic Stamp Hookup Diagram

For this code we are going to wire up the circuit as follows:

Basic Stamp 2 HB3x2
Pin1

1A

Pin2

1B

Pin3 2A
Pin4 2B

 

Basic Stamp 2 Source Code

You can get a copy of the source code here.

If you have any questions email me here: jason (at) efundies.com

* Free shipping offer valid only in the United States.

Free Shipping*

Purchase Options

Resources

This is an archive version of our old site. Our site has been permanently moved here: https://efundies.com.

 
Tuesday, 19-Nov-2024 08:34:54 PST