Problem with usb basic stamp1
Ernesto
Posts: 1
Hello there!
I have a problem with my usb basic stamp1. I'm using SERIN to receive a serial communication at 1200 bauds.· The problem is that when I receive something I put it in a variable and when I Debug it the result is not what I transmit to it.
·I'm trying to make a wireless communication with RF transmitters and one RF receiver. The RF receiver is now connected with the usb basic stamp1. The transmitter is connected with a PIC which makes the serial output.
When I use a simple serial connection to the computer I obtain perfect characters into the HyperTerminal, so I think that the Transmitter is transmitting very well.
The code I'm using is this
' SERIN.BS1
' {$STAMP BS1}
' {$PBASIC 1.0}
SYMBOL· SIn············ = 7
SYMBOL· Baud··········· = N1200
SYMBOL· result········· = W1
Main:
· SERIN SIn, Baud, #result
· DEBUG #result, CR
· GOTO Main
· END
THANKS!!!
SORRY FOR MY BAD ENGLISH
I have a problem with my usb basic stamp1. I'm using SERIN to receive a serial communication at 1200 bauds.· The problem is that when I receive something I put it in a variable and when I Debug it the result is not what I transmit to it.
·I'm trying to make a wireless communication with RF transmitters and one RF receiver. The RF receiver is now connected with the usb basic stamp1. The transmitter is connected with a PIC which makes the serial output.
When I use a simple serial connection to the computer I obtain perfect characters into the HyperTerminal, so I think that the Transmitter is transmitting very well.
The code I'm using is this
' SERIN.BS1
' {$STAMP BS1}
' {$PBASIC 1.0}
SYMBOL· SIn············ = 7
SYMBOL· Baud··········· = N1200
SYMBOL· result········· = W1
Main:
· SERIN SIn, Baud, #result
· DEBUG #result, CR
· GOTO Main
· END
THANKS!!!
SORRY FOR MY BAD ENGLISH
Comments
and what about max232CPE?
Are thel all same ??
can we use them as a substitute of one-another?
plzz inform me about opinion......
i will be very much thankful...
·
The specs for different numbers and from different manufacturers are slightly different, but any Iv'e ever used have all worked.
the main performance difference is Maximum data rate, but even the ones with the lowest specs are fast enough for a Stamp.
E and N parts seem to have enhanced ESD protection for harsh environments, like in automobiles.
The main "gotcha" is the size of the caps you need to use with each variant. Even then, I've used the wrong caps and the things still worked.(probably degraded the max data rate)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔