The basic stamp board doesnt work
PeterJiang
Posts: 9
I use several hall sensors on the bs2 board.When I test one sensor,it can run on the debug screen
,but when I connect several hall sensors,and run the program,my computer told me that NO BASIC STAMP FOUND,then I go back to test single sensor,and it cant run,either!!
I'm sure that the circuit connection is correct,and the battery is enough,and change the com port,change resistor,change the wire....etc,and even change another bs2 board,but still no use.
But after one day,I do the same test,without changing any circuit connection yesterday,and it can run! But after I test multiple sensors,NO BASIC STAMP FOUND,too!!
Is that the bs2 board too old?Or other reasons?Could someone tell me what is the problem??
,but when I connect several hall sensors,and run the program,my computer told me that NO BASIC STAMP FOUND,then I go back to test single sensor,and it cant run,either!!
I'm sure that the circuit connection is correct,and the battery is enough,and change the com port,change resistor,change the wire....etc,and even change another bs2 board,but still no use.
But after one day,I do the same test,without changing any circuit connection yesterday,and it can run! But after I test multiple sensors,NO BASIC STAMP FOUND,too!!
Is that the bs2 board too old?Or other reasons?Could someone tell me what is the problem??
Comments
Often this sort of thing is a power problem. With the additional drain of multiple sensors, there's not enough power for the Stamp to operate and the Stamp interpreter on the chip has to be running for the PC to see it.
Main:
DO
DEBUG BIN12 INS,CR
LOOP
END
And the circuit connection: http://www.floridaame.org/Plans/Kamran Nili/rpm/tachometer.html
the Diagram #7 and 8
And the board is the same on the diagram 7
As I said, it is very very unlikely that there is any problem with the BS2 Board. You have to look at what you've added and any assumptions you've made in putting it all together. The assumption that batteries last forever is one of those ... actually 9V batteries have very little capacity and their output voltage can drop quickly under load.
So I just using only several hall sensors on bs2,no other device! Do only the several hall sensors need so many voltage?
Providing the schematic also means that you will have taken the time to make sure that you understand all of the part symbols that are used and have gained further knowledge on how they are used and how they operate. There are a number of resources that can really help you with understanding electronics and microcontrollers. I recently posted a project I am working on and it pretty much explains the whole thing step-by-step while allowing the person taking on the project to work their own ideas into their own build.
I realize that this might seem like a thread hijack but I am trying to help. If you do not find this to be of help, then I apologize and you can continue along working. You can check out the project by looking up the term "Luna Mod Looper Basic Stamp 2 Version" on the Web. There is an Instructable.
Other great resources are:
1) Forest M. Mims books on electronics although I have never read one. He comes highly recommended and you can check out some current stuff in Make magazine,
2) Make magazine - and website,
3) Parallax's books - "What's a Microcontroller" and "StampWorks" among lots of other titles available for free as PDFs but also from the Parallax store as parts of kits. The "What's a Microcontroller" PDF is an excellent place to start when new to the BS2.
4) any Dummies, Idiot's Guide, or Evil Genius series or anything along those lines, and
5) Electronics_101 on Yahoo Groups - suggested reading is their FAQ or their equivalent on using the Forum/email group.
There are a number of other sites on the Web.
The StampWorks book is great for becoming well oriented with the BS2. There is even an experiment on how to use an MC14489. You can probably find out how to use a Hall Effect sensor somewhere on the Parallax website and make sure to check out the Nuts and Volts columns involving the BS2.
Two more things about micrcontrollers:
1) Every electronic device has limits. Make sure to examine the "Basic Stamp Syntax and Reference Manual" for current sink and supply limitations for the different versions of the BS2.
2) I had a project that had multiple devices connected to the same input. The readings taken from mutliple ADCs seemed to be a little buggy. It will probably take some time to figure out all the issues if you are using something like this. I used the StampWorks experiment #28 as the basis for this. Working out the issues would have taken a full schematic to ensure proper documentation and a full understanding of the situation.