Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] testing uart using atmega16

2005-12-12 by Zack Widup

First off, I'm not sure about your configuration.  When you say the 
transmitter is connected to the computer's serial port and the receiver is 
connected to the AVR, what kind of transmitter and receiver are you 
using? Do you mean RF transmitter and receiver?  What frequency? Have you 
verified that they are working together? What kind of program are you 
using in the computer to generate the baud rate? Are the sending and 
receiving ends both set for the same baud rate/parity/stop bits?

Zack

On Mon, 12 Dec 2005, spotwl8 wrote:

> hi!
> 
> i'm new here. i need your help. i'm currently having a project on
> avr. i would like to communicate data from pc to microcontroller.
> the transmitter is connected to the pc through serial port. and the
> receiver is connected to the microcontroller. I used atmega16.
> 
> when i programmed the atmega16, I tested it. when i applied source
> to it, after a while, the leds light up..it formed different
> combination.so i assumed that the receiver receive data. however the
> problem is there is no transmitter yet. here's the link for my code:
> 
> http://h1.ripway.com/greenadik_101/uarttest16.c
> 
> so i edited my program. i added an end character. here's the code:
> 
> http://h1.ripway.com/greenadik_101/uart16.c
> 
> after that, leds doesnt light up. so i send data from pc. the
> problem is it doesn't work at all.
> 
> is my program the problem?
>

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.