help needed please - still serial cable - update
Archiver
Posts: 46,084
Hi all
sorry for the bombardment of messages but i found something strange
in my circuit.
When the BS2OEM has nothing in its memory, the attachment of the
serial cable CHANGES the values on my pins
Now correct values appear on the pins (voltmeter) with the cable off
(and no program in memory) that is 15 is HIGH, and 14 is low, 13 is
DNC still.
Now when i connect the serial cable (still no program in memory) the
values on the pin14,15 change: PIN 15 is no LOW, and pin14 while
still LOW does not change (go HIGH) as required when a ring arrives.
Could it be a connection problem?
thank you in advance
sorry for the bombardment of messages but i found something strange
in my circuit.
When the BS2OEM has nothing in its memory, the attachment of the
serial cable CHANGES the values on my pins
Now correct values appear on the pins (voltmeter) with the cable off
(and no program in memory) that is 15 is HIGH, and 14 is low, 13 is
DNC still.
Now when i connect the serial cable (still no program in memory) the
values on the pin14,15 change: PIN 15 is no LOW, and pin14 while
still LOW does not change (go HIGH) as required when a ring arrives.
Could it be a connection problem?
thank you in advance
Comments
Sounds like the serial cable you are using is either wired with minimal
wires, has an intermittent wire
contact (broken wire), or it may be an old video cable instead of a serial
cable. Try a different cable and see
if this solves the problem. Make sure it is a serial cable not a old video
cable, they look the same from the
outside but are wired differently.
Have Fun !!
Dale Fleischmann
raducu80 wrote:
> Hi all
> sorry for the bombardment of messages but i found something strange
> in my circuit.
> When the BS2OEM has nothing in its memory, the attachment of the
> serial cable CHANGES the values on my pins
>
> Now correct values appear on the pins (voltmeter) with the cable off
> (and no program in memory) that is 15 is HIGH, and 14 is low, 13 is
> DNC still.
> Now when i connect the serial cable (still no program in memory) the
> values on the pin14,15 change: PIN 15 is no LOW, and pin14 while
> still LOW does not change (go HIGH) as required when a ring arrives.
>
> Could it be a connection problem?
> thank you in advance
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Sorry, I had to find my BS2OEM.
Have you written a simple routine to determine if the stamp can work with
your computer in DEBUG mode?
Something that poles an input and reports that value in a DEBUG statement,
then loops?
'{$STAMP BS2}
x VAR BYTE
y VAR BYTE
z VAR BYTE
readpins
x=in15:y=in14:z=in13
pause 5
debug bin1 x," ",bin1 y,cr
if x=1 then readpins
if y=0 then readpins
debug " DATA=",bin1 z,cr
goto readpins
This works fine on my BS2OEM.
Mike
At 06:23 PM 3/15/2002 +0000, you wrote:
>Now correct values appear on the pins (voltmeter) with the cable off
>(and no program in memory) that is 15 is HIGH, and 14 is low, 13 is
>DNC still.
>Now when i connect the serial cable (still no program in memory) the
>values on the pin14,15 change: PIN 15 is no LOW, and pin14 while
>still LOW does not change (go HIGH) as required when a ring arrives.
>
>Could it be a connection problem?
>thank you in advance
_________________________________
Mike Walsh
walsh@c...
California Institute of Technology
Biology Electronics Shop
MS 216-76
Pasadena, CA 91125
626-395-6825 , FAX 626-584-1654
237 Beckman Behavioral Biology Bldg.
[noparse][[/noparse]Non-text portions of this message have been removed]
something. If you have a serial break out box (or get one of those
two-ended DB connectors with jumper wires inside that are common at
computer stores) it would be interesting to attach one of the 4 DB9
wires one at a time until the problem shows up. Connect ground first. If
everything is OK, then connect each or SIN SOUT and ATN until you see
the problem. That would narrow things down.
Al Williams
AWC
* Floating point math for the Stamp, PIC, SX, or any microcontroller
http://www.al-williams.com/awce/pak1.htm
>
Original Message
> From: raducu80 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=cauXLZiDtA54P3haLkUYvkOzfpf8j3SBZgRP_oeE5WC2D1DXAwESmYUbC_7DT3-7qf0u_obzafvF]raducu80@y...[/url
> Sent: Friday, March 15, 2002 12:24 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] help needed please - still serial
> cable - update
>
>
> Hi all
> sorry for the bombardment of messages but i found something strange
> in my circuit.
> When the BS2OEM has nothing in its memory, the attachment of the
> serial cable CHANGES the values on my pins
>
> Now correct values appear on the pins (voltmeter) with the cable off
> (and no program in memory) that is 15 is HIGH, and 14 is low, 13 is
> DNC still.
> Now when i connect the serial cable (still no program in memory) the
> values on the pin14,15 change: PIN 15 is no LOW, and pin14 while
> still LOW does not change (go HIGH) as required when a ring arrives.
>
> Could it be a connection problem?
> thank you in advance
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
> Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
Your program works fine on my bs2
> '{$STAMP BS2}
> x VAR BYTE
> y VAR BYTE
.....
However i tried what Al suggested:..connecting the
serial pins towards the PC one by one. Well i
connected the gnd....everything was fine, but when i
connected the Rx-pin2 the changes occured. your
program indicates this as well
1 0
1 0
0 1 DATA=1 when i plug the phone line in the socket
with the seerial cable attached.
I checked all the transistors they behave
well...connections between them are good (from RN1 to
RN2)...i'm running out of ideas [noparse]:)[/noparse]
Radu
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
Your problem might be that the transmit and receive lines of the serial cable
may need to be crossed, or the need
to be uncrossed, I would look up the serial protocol to to see which is correct.
I think that they are to be
crossed as shown in the following diagram;
? ________________________________ ?
Tx _______________ _______________ Rc
Rc _______________ X _______________ Tx
Gnd ________________________________ Gnd
It has been awhile since I had to make a serial cable that I need to look it up
now if I need to make one.
Have Fun !!
Dale Fleischmann
Radu Gheorghe wrote:
> Hi Mike
> Your program works fine on my bs2
> > '{$STAMP BS2}
> > x VAR BYTE
> > y VAR BYTE
> .....
> However i tried what Al suggested:..connecting the
> serial pins towards the PC one by one. Well i
> connected the gnd....everything was fine, but when i
> connected the Rx-pin2 the changes occured. your
> program indicates this as well
> 1 0
> 1 0
> 0 1 DATA=1 when i plug the phone line in the socket
> with the seerial cable attached.
> I checked all the transistors they behave
> well...connections between them are good (from RN1 to
> RN2)...i'm running out of ideas [noparse]:)[/noparse]
> Radu
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
[noparse][[/noparse]Non-text portions of this message have been removed]