Bs2p24/40 with demo board info
tomxx
Posts: 8
FOR ANYONE THAT HAS A BS2P24/40 WITH DEMO BOARD (#45187) MIGHT BE INTERESTED TO KNOW(IF YOU DON'T ALREADY KNOW) THAT X3 IS NOT BUSSED AND IS DEAD AS IS.· IT MUST BE JUMP WIRED FROM X2 IN ORDER TO USE IT. THE DOCUMENTATION THAT COMES WITH THE BS2P24/40 AND DEMO BOARD "DOES NOT MENTION THIS". AS A NOVICE IT TOOK ME A WHILE TO FIGURE THIS OUT SO I E-MAILED PARALLAX AND SUGGESTED THEY AMMEND THEIR DOCUMENTATION TO SHOW THAT X3 NEEDS TO BE JUMP WIRED FROM X2.
TOM
Post Edited By Moderator (Joshua Donelson (Parallax)) : 10/23/2009 4:02:15 AM GMT
TOM
Post Edited By Moderator (Joshua Donelson (Parallax)) : 10/23/2009 4:02:15 AM GMT
Comments
ALL CAPS is generally considered shouting, and I suspect that was not your intention.
I trust you realize that X2 and X3 are mirror images of one another from a straight-on view. If you're not sure what I'm saying, take a look at the schematic for that board, which I have attached to this message.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
·· If you look under the board you will see that in fact they are connected.· Bruce has provided you with the schematic and there is a Silk-Screen clearly showing the connections.· As such your message gives the impression of a fault in which there is not one.· Whereas I would generally ask you to post a descriptive subject for your message in this case it seems inappropriate now.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 2/17/2006 3:41:09 PM GMT
CAPS was shouting. all i'm saying is that when·i power up the board and check x3 with a voltmeter i get no reading. why is that?
tom
here's another question i need help with concerning the bs2p/40
i'm using windows me - a·desktop - bs2p24/40 - pbasic-2.5 - demoboard(#45187).
problem:
i cannot make the motor mind b (enhanced) work with the bs2p/40.. using the same code
and same pins (14 & 15) i can plug the motor mind b into a bs2 and it works perfectly.
i'm using the following code:
' {$stamp bs2p/40}
' {pbasic 2,5}
speed· var· byte
high 14
pause 100
speed = 100
gosub train
pause 20
loop1:
· goto loop1
**************************************************
train:
· serout 14,396,[noparse][[/noparse]85,3,speed]
· pause 20
· return
what am i doing wrong?
thanks
tom
Your baudmode parameter will need to be changed to reflect that you are using a BS2P. The baudmode you presently have of 396 needs to be changed to 1021.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Thanks a lot
Tom
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
···
I have two more·questions as follows:
(1) I need the adjustment of parameters from the bs2 to the bs2/40 for the infrared emitter and detector using these bs2 commands:
freqout 8,1,38500
irdetect = in9
(2) Also I need the adjustment of parameters for cascading a pair of 74hc595's using the following code with the bs2.
'· {$stamp bs2}
'· {$pbasic 2.5)
clock··········· con········· 0
dataout······· con········· 1
latch··········· con········· 2
pattern1······ var······ byte
pattern2······ var······ byte
low latch
loop1:
·· pattern1 = %11111111
·· pattern2 = %00000000
·· gosub out_595
·· goto loop1
************************
out_595:
··
·· SHIFTOUT dataout, clock, MSBFIRST, [noparse][[/noparse]pattern2]
·· SHIFTOUT dataout, clock, MSBFIRST, [noparse][[/noparse]pattern1]
···PULSOUT latch, 5
·· return
·
·· You may have switched themes or something as your text is showing up black on black.· Basically all I see is a bunch a black bars.· Anyone else?· From highlighting your message I gather you want the code changed to work with the BS2p40.· What you can do is go into the help file or the BASIC Stamp manual.· For each command affected by the timing differences between the different Stamp Models there is a table that tells the differences and gives examples of the parameters.· You will definately want to look into this so you can make adjustments in the future.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Welcome to the club, I can't read it either.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->