3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Using Parallax Basic Stamp II to ring a doorbell remotely

Step 3The code

The code is pretty simple - Basic Stamps are programmed in Basic, as the name would suggest.

The program has buttons 1&3 switch one relay, buttons 2&4 switch the other relay, and button 5 starts switching the relays randomly, between five and fifteen minutes apart.

You'll notice two commented-out sections. I used to have buttons 3&4 latch the relays - press them once and they'd close, press them again and they'd open. That's not appropriate for a doorbell, but I left the code in the file in case I use the box for something else.
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
58
Followers
4
Author:jdege