EmbeddedRelated.com

UART AVR

Started by taufiq_tqr in AVRclub14 years ago 4 replies

Hi all... I want to build communication between AVR ATMEGA8535 and my Personal Computer, but how to setting communication in that AVR...

Hi all... I want to build communication between AVR ATMEGA8535 and my Personal Computer, but how to setting communication in that AVR uC??? Can u help to make UART Communication with C language??? Pls help me, I hope somebody in this group can help me to solve my problem... Thanks all, Im waiting the answer... ------------------------------------


data receive problem in uart

Started by knightbanana in AVRclub20 years ago 1 reply

hi guys! im danka and i have a small problem with uarts. i'm developing a program that would receive characters from uart. the characters...

hi guys! im danka and i have a small problem with uarts. i'm developing a program that would receive characters from uart. the characters are placed in an array of unsigned characters with a certain size. what i would want to do is to receive characters until the size of the character array reaches its limit or until no more characters are received. the


UART in ATMEGA 8535

Started by taufiq_tqr in AVRclub14 years ago 1 reply

Dear all friend, Anybody help me to explain to me and give me a example how to communicate serial port between ATMEGA8535 and Personal Computer...

Dear all friend, Anybody help me to explain to me and give me a example how to communicate serial port between ATMEGA8535 and Personal Computer (PC). Pls the code use C language. Thanks all, I'm wait the answer ------------------------------------


ATMEGA with 2 UARTS

Started by Cleber Dantas in AVRclub15 years ago 6 replies

Hello! Greetings from Brazil! Can you recommend an ATMEGA with 2 UARTS? The reason that we will use UART is simple, its more reliable than...

Hello! Greetings from Brazil! Can you recommend an ATMEGA with 2 UARTS? The reason that we will use UART is simple, its more reliable than software serial. I don't know if everybody agree with that. Thanks! Cleber ------------------------------------


double UART code

Started by iijfet in AVRclub15 years ago 2 replies

hi,i want to read "8bit data,odd parrity,1stop bit" from a medical module & send it for a bluetooth module(capable of serial communication & has...

hi,i want to read "8bit data,odd parrity,1stop bit" from a medical module & send it for a bluetooth module(capable of serial communication & has RX,TX pins).bauderate is 4800bps. avr chip:atmega64 software:codevision are you have a sample code for me? ------------------------------------


attiny2313 button handler [need help]

Started by "Marojahan M.T. Sigiro" in AVRclub15 years ago 5 replies

hi all,, i have a small project using attiny2313, i'm trying to handle two buttons using pin change interrupt. the problem i got that,...

hi all,, i have a small project using attiny2313, i'm trying to handle two buttons using pin change interrupt. the problem i got that, sometime it gives a good output by send some byte using uart communication, but sometime its not working. i've read about debounce handling (i'm not sure if its correct) but i dont know it mutch yet. This is my first time make a program to handle external i...


Using XON/XOFF

Started by Sven Haedel in AVRclub21 years ago 2 replies

Hello, I programmed an application using the UART (interrupt driven) on a Mega8 with the STK500. Everything works fine, except I do not...

Hello, I programmed an application using the UART (interrupt driven) on a Mega8 with the STK500. Everything works fine, except I do not receive every byte I send to the AVR. It reads and executes the commands I send to it, but while executing, it misses some bytes. I tried to implement Xon/Xoff Handshaking but after I send Xoff to the Computer, Xon is neve


software uart and ischarwaiting

Started by ktucker8825 in AVRclub20 years ago 2 replies

I wanted to make 2 software uarts and ran into a strange situation. If I open a port and then close it in one sub routine, open a second ...

I wanted to make 2 software uarts and ran into a strange situation. If I open a port and then close it in one sub routine, open a second port and close it in another subroutine, the program does not work. If I open both ports in the same subroutine, use them and then close both ports the program works. I can program around this. I just thought it was strange.