The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
Subject: Re: RS232 newbie - in need of assistance!
Date: Thu, 2 Jan 2003 17:20:31 -0500
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
"Matt Foster" wrote in message
> I've googled all day and night and I'm at the point now where i just want
> someone to tell me the answer!
> Could you just run through what happens, say I had a programmed PIC, and a
> MAX232, 4 ptm switches and a serial cable. Here's what I understand..
> I press a switch, which sends one of the pins on the PIC high, the program
> on the PIC says "ok you pressed switch 1, i'm gonna send 'A' to the
> Does this go along and into a pin of the max232, and then the max232 does
> everything else?
It's a little more complex. You gotta send a stream of 1s and 0s with a
specific timing. Some PICs (I'm an AVR person) will have a watered down
UART. They work great. Hook that up to the RS232 TX and RX lines.
> Also, I have heard of these UARTs - are they simpler/do I need extra
> equipment to use them (like something to program them with)
No. True there are UARTs but with a SoC you probably don't need it. For your
application a PIC processor may have a built in UART. You can even use a
software UART. Microchip probably have a few application notes on this. I
know the Atmel's AVR has a software UART application note.
> Thanks so much,
> "PCS Electronics" wrote in
> message news:J41R9.2258$tQ1.email@example.com...
> > Hey, it won't happen over night.
> > I'm not using PIC so I can't give you specific advice. There are chips
> > out there that have full hardware UARTs and its really easy to make
> > a RS232 connection with them. If not, it takes a little more effort.
> > In either case, the code is out there. Just use google to search for it.
> > Than read through the comments and descriptions to understand what
> > the code does.
> > --
> > Best regards,
> > Marko - PCS Electronics
> > ---------------------------------------------------------
> > Turn your PC into a FM radio station
> > http://www.pcs-electronics.com
> > "Matt Foster" wrote in message
> > news:l11R9.firstname.lastname@example.org...
> > > Thanks alot - don't worry I'm armed to the teeth with the Pro version
> > > in my opinion, a bit of a pro ;))
> > >
> > > I have a thing called "Chip factory" at school which lets me write to
> > > .. but I'm not sure of the model of the PICs that we have.
> > >
> > > I'm looking at the stuff you showed me but I'm not convinced it'll all
> > > in!
> > >
> > > Thanks.
> > > Matt
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.434 / Virus Database: 243 - Release Date: 25/12/2002
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup