Proteus VSM
kelvin james
Posts: 531
I attempted to use the search to find info from previous posts, but didn't have much luck.
Anyway, after playing around with the demo, this is a great tool. Takes a bit to figure everything out, but the simulator part is worth the effort. Gives a good understanding on how to make circuits and to see them operating. I know the cost is high to actually purchase, but just running it in demo mode is good enough to use for experimenting. Worth a look for people to learn about circuit design, and has the support for stamps as well as other micros.
Anyone else have some impressions of this?
kelvin
Anyway, after playing around with the demo, this is a great tool. Takes a bit to figure everything out, but the simulator part is worth the effort. Gives a good understanding on how to make circuits and to see them operating. I know the cost is high to actually purchase, but just running it in demo mode is good enough to use for experimenting. Worth a look for people to learn about circuit design, and has the support for stamps as well as other micros.
Anyone else have some impressions of this?
kelvin
Comments
I picked one up the other week,· its fadulous to use but I·having problems using it with Basic Stamp code.· This is the simulation error log I get
DIRS = %1111
MAIN:
FOR OUTS = %1111 TO %0000
PAUSE 200
LOW 4
NEXT
GOTO MAIN
I'm still a little mess up about why I needed to include the low 4 part of the code but it worked
·· Perhaps Enable lines (G1 & G2)·on the 74154?· Without them low, it won't work.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
·· I don't have the Proteus software to see what you have connected to what, but if P4 was connected to the G1 & G2 lines that would explain why it wouldn't work without that LOW 4 in there.· As a side-note, you should use more descriptive labels that "A."· It will help you later.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
·· The effect this has is that each time the first output is activated, it resets the Stamp module...Why would you want to do that?· You can sequence the data back and forth just fine by code.· I guess I don't understand why you're trying to do it this way.· The GOTO at the end of your program will never be executed since the Stamp Module will reset once the count reaches 0.
·· Also, you said the code wouldn't work properly unless P4 was made low, but P4 isn't even connected to anything, so that makes no sense.· There must be something wrong with the simulation.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 5/31/2005 4:30:58 PM GMT
·· I'm sorry, there is something logically wrong with what's going on here.· According to the schematic & your source code, the Stamp should never see the GOTO, because at the completion of the FOR NEXT loop the Stamp will be reset.· If you tell me what you're trying to do I could explain it better.· But I've never really seen anyone do something like this.· There's no logic, especially with the HIGH/LOW 4 thing.· Nothing is connected to it, so why would that make any difference.· All I can think is there's something wrong with your simulator.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I checked the code agian and watched the code run and you are correct the code never reaches the Goto A thank you and I'm sorry for the confusion.
David