RS232 Interface (the end of this thread...)
Archiver
Posts: 46,084
And the answer is... SEROUT!
Set up the interface, config the UART to 38400,8,1,O then start
chatting with the Sony VCR through the remote control box I just
created!!
Thanks again, Tracy!
Jim
--- In basicstamps@y..., "Jim Cambron" <nehsoft@h...> wrote:
> As per usual, DUHHH!
>
> I took a quick look at the Stamp Manual V2.0 and the 3100 data
sheet
> but could not find info on SPI/Microwire interfacing.
>
> I think I remember somewhere in previous research that a Stamp can
> interface using SPI/Microwire (or maybe not...) Any idea where I
> might find that info? I shall continue the search from this end...
>
> Even if the Stamp is not microwire compatible, I bet that there is
a
> suitable UART with a parallel input interface that can do the job
> (although I may run low on I/O pins)!
>
>
> Thanks, Tracy!
>
>
> Jim
>
>
> --- In basicstamps@y..., Tracy Allen <tracy@e...> wrote:
> > >3) This is the tough one...
> > >Sony uses the baudrate of 38400,1 stop and odd parity to
> communicate
> > >with most of their commercial broadcast equipment (in my case, a
> Sony
> > >portable Beta VCR). Your baudrate may be different... not
enough
> > >information provided by you...
> > >The problem I have is the odd parity. Which brings me to my
> question:
> > >What can you all suggest about getting around this by simulating
> odd
> > >parity at 38400 on a BS2?
> > >Jim "Ack" Cambron
> >
> > How many data bits? If 7 + odd parity, you can select 8 data
bits
> > and fill in the 8th bit with your own parity calc. If 8 + odd
> > parity, then I'm afraid you will have to tack on an external
UART,
> > like the MAX3100.
> >
> > -- Tracy
Set up the interface, config the UART to 38400,8,1,O then start
chatting with the Sony VCR through the remote control box I just
created!!
Thanks again, Tracy!
Jim
--- In basicstamps@y..., "Jim Cambron" <nehsoft@h...> wrote:
> As per usual, DUHHH!
>
> I took a quick look at the Stamp Manual V2.0 and the 3100 data
sheet
> but could not find info on SPI/Microwire interfacing.
>
> I think I remember somewhere in previous research that a Stamp can
> interface using SPI/Microwire (or maybe not...) Any idea where I
> might find that info? I shall continue the search from this end...
>
> Even if the Stamp is not microwire compatible, I bet that there is
a
> suitable UART with a parallel input interface that can do the job
> (although I may run low on I/O pins)!
>
>
> Thanks, Tracy!
>
>
> Jim
>
>
> --- In basicstamps@y..., Tracy Allen <tracy@e...> wrote:
> > >3) This is the tough one...
> > >Sony uses the baudrate of 38400,1 stop and odd parity to
> communicate
> > >with most of their commercial broadcast equipment (in my case, a
> Sony
> > >portable Beta VCR). Your baudrate may be different... not
enough
> > >information provided by you...
> > >The problem I have is the odd parity. Which brings me to my
> question:
> > >What can you all suggest about getting around this by simulating
> odd
> > >parity at 38400 on a BS2?
> > >Jim "Ack" Cambron
> >
> > How many data bits? If 7 + odd parity, you can select 8 data
bits
> > and fill in the 8th bit with your own parity calc. If 8 + odd
> > parity, then I'm afraid you will have to tack on an external
UART,
> > like the MAX3100.
> >
> > -- Tracy
Comments
>
>Set up the interface, config the UART to 38400,8,1,O then start
>chatting with the Sony VCR through the remote control box I just
>created!!
>
>Thanks again, Tracy!
>
>Jim
Well, SHIFTOUT, not SEROUT.
I have some demo Stamp code for the MAX3100 posted at this URL:
http://www.emesys.com/BS2IrDA.htm
It talks specifically about the IrDA capabilities of the chip, but
with a simple change of the configuration register, it works
hardwired.
Change the configuration word to, say, $E04D, instead of $C08D. Thas
sets wired connection (instead of IrDA), 2 stop bits (instead of 1)
and 8-byte FIFO enabled. Oh, that is 2400 baud. But you can figure
it out.
You do need inverters for standard RS232, or, I think the MAX3110 has
RS232 inverter/drivers built in.
-- Tracy
Original Message
From: "Tracy Allen" <tracy@e...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, October 02, 2002 2:31 PM
Subject: [noparse][[/noparse]basicstamps] Re: RS232 Interface (the end of this thread...)
> >And the answer is... SEROUT!
> >
> >Set up the interface, config the UART to 38400,8,1,O then start
> >chatting with the Sony VCR through the remote control box I just
> >created!!
> >
> >Thanks again, Tracy!
> >
> >Jim
>
> Well, SHIFTOUT, not SEROUT.
>
> I have some demo Stamp code for the MAX3100 posted at this URL:
> http://www.emesys.com/BS2IrDA.htm
> It talks specifically about the IrDA capabilities of the chip, but
> with a simple change of the configuration register, it works
> hardwired.
>
> Change the configuration word to, say, $E04D, instead of $C08D. Thas
> sets wired connection (instead of IrDA), 2 stop bits (instead of 1)
> and 8-byte FIFO enabled. Oh, that is 2400 baud. But you can figure
> it out.
>
> You do need inverters for standard RS232, or, I think the MAX3110 has
> RS232 inverter/drivers built in.
>
> -- Tracy
>
> 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/
>
>
>