Basic Stamp General Questions
MR
Posts: 46
Hello,
I would like to personally thank Mike Green For all of his help over the last couple of weeks.
1. I have designed a successful circuit using the basic stamp and a very large solder-less bread board. Now I have designed a printed circuit board complete with sockets to wire everything up. How should I connect voltage? Should I use the VDD pin wired in parallel with the main voltage bus? Or Should I use VIN pin? Is it okay to wire either of these pins into the main voltage bus? I have not wired any power or ground connections in series, every power or ground is wired in parallel.
2. Is there any internal command i.e. PBASIC code, that can tell the stamp to reset it self? I need a way to reset the stamp automatically.
3. When multiplexing the displays from another project, I can still see flicker, is there anyway to attach an external clock to eliminate this flicker?
4. How do I determine the duty cycle for each display, i.e. how long it has to stay on to be bright enough without flicker? Will they all have the same amount of time?
I would like to personally thank Mike Green For all of his help over the last couple of weeks.
1. I have designed a successful circuit using the basic stamp and a very large solder-less bread board. Now I have designed a printed circuit board complete with sockets to wire everything up. How should I connect voltage? Should I use the VDD pin wired in parallel with the main voltage bus? Or Should I use VIN pin? Is it okay to wire either of these pins into the main voltage bus? I have not wired any power or ground connections in series, every power or ground is wired in parallel.
2. Is there any internal command i.e. PBASIC code, that can tell the stamp to reset it self? I need a way to reset the stamp automatically.
3. When multiplexing the displays from another project, I can still see flicker, is there anyway to attach an external clock to eliminate this flicker?
4. How do I determine the duty cycle for each display, i.e. how long it has to stay on to be bright enough without flicker? Will they all have the same amount of time?
Comments
2) There is no reset command although there is not much to reset. It's easy to reinitialize OUTS and DIRS and goto the beginning of your program. The call stack wraps around, so the current contents can just be discarded, and there are only a few variables to reinitialize.
3) No way to tell without more information from you (like schematics, code if applicable)
4) Generally a repetition rate of 25 to 30 times a second will be fast enough for persistence of vision. The on time needed will depend on the current and the efficiency of the diodes. Best thing to do is experiment. The LEDs don't all have to have the same on-time, but they'll probably appear with different brightness. It depends.