Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: testing uart using atmega16

2005-12-12 by David Kelly

On Mon, Dec 12, 2005 at 10:00:43AM -0600, Zack Widup wrote:
> OK, thanks.  Is there any way you can hook up the mega16 directly to the 
> computer with an RS-232 level converter or some such?
> 
> On Mon, 12 Dec 2005, spotwl8 wrote:
> 
> > hello thanks for the reply! yes I'm using an RF transceiver operates
> > at 433MHz specifically BIM2 of radiometrix. I verified it already and
> > its working.. I just used com port toolkit for sending data from pc.
> > also yes I make sure that baud rate/parity/ stopbits are the same.

As Zack says, only test one thing at a time. Make the async serial work,
*then* attach the RF.

The BIM2 is typical of low cost data transceivers in that it simply
tries to replicate the logic state on its local RxD pin as found on the
distant TxD pin. It knows nothing of what is trying to be transmitted.
It doesn't attempt to reclock the data. As a result your data can be
skewed beyond the ability of a hardware UART to recover.

At the very least you will need robust error detection in your data
packets.

Serious RF data transmission is done with synchronous bit protocols
rather than asynchronous.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.