how send and received string characters on UART (8515 on STK 500)???

Started by torvech in AVRclub15 years ago

Hi everebody, and sorry for my English ( I'm French), I'm a beginner in the world of the AVR GCC, and when I study the GCCTEST7...

Hi everebody, and sorry for my English ( I'm French), I'm a beginner in the world of the AVR GCC, and when I study the GCCTEST7 (avrfreaks) on my PC, I can't send or received few characters on the UART. I know that I modify few routines on UART.C but I don't know what ??? So , I want send few datas via UART in push sw


UART AVR

Started by taufiq_tqr in AVRclub8 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... ------------------------------------


HELP ON INTERRUPT DRIVER SRIAL FOR MEGA162

Started by abdullahmansoor_hotmail in AVRclub12 years ago 2 replies

HI I want to use interrupt driven serial programing. I have made program=20 for polled based uart. But I am facing lot of difficulties...

HI I want to use interrupt driven serial programing. I have made program=20 for polled based uart. But I am facing lot of difficulties in=20 understanding the concept of interrupt buffered uart program. Do any one provide with sample code so that help me in getting started. Regards Abdullah ------------------------ Yahoo! Groups Sponsor --------------------~--> =20 Home is just a c


Need help with Serial Port

Started by Rakesh Kumar in AVRclub11 years ago

Hey, I was wanting to do the serial communication with my atmega32. I am using the 1 MHz internal oscillator. The baud rate calculation gives...

Hey, I was wanting to do the serial communication with my atmega32. I am using the 1 MHz internal oscillator. The baud rate calculation gives up 2400 bps. Here's the code I am using for simply echoing back the character typed in the Hyper Terminal. /*this program is to test the microcontroller uart working or not by sending 0x99 to the uart and reading it using Rx and sending it to port...


uart problems with atmel 90s8515

Started by myemfthesis in AVRclub14 years ago 2 replies

hi guys! i'm eugene and i'm relatively a beginner in mcus and mcu programming. i would like to ask for your help regarding my simple ...

hi guys! i'm eugene and i'm relatively a beginner in mcus and mcu programming. i would like to ask for your help regarding my simple problem. i'm trying to program my atmel 90s8515 mcu to send data to the uart for every 5 seconds. i've set-up my timer/counter registers so that the mcu would raise an interrupt for every 5 seconds. but the problem is that when


data receive problem in uart

Started by knightbanana in AVRclub14 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 AVRclub8 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 ------------------------------------


C CODE

Started by pruchj1 in AVRclub13 years ago 2 replies

Hi! Don?t you have someone C code, which implement simple protocol on UART? I?ve Atmega128. I want to be sure, that recieve data are ok,...

Hi! Don?t you have someone C code, which implement simple protocol on UART? I?ve Atmega128. I want to be sure, that recieve data are ok, without mistakes. For example checksum after recieving message... Thank you! Honza.


ATMEGA with 2 UARTS

Started by Cleber Dantas in AVRclub8 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 ------------------------------------


Re: Re: RS232 Baud Rate questions

Started by David Jones in AVRclub13 years ago 1 reply

>>> normaxcite@norm... 18/08/2004 8:54:00 pm >>> >"If you need continuous processing but not very fast then you can go for >a slow...

>>> normaxcite@norm... 18/08/2004 8:54:00 pm >>> >"If you need continuous processing but not very fast then you can go for >a slow 32.768KHz crystal. You'll still be able to use the UART at say >300baud." >Dave, >If I stick with my internal RC for clocking and RS232 using 32.768kHz xtal, can I still ge


double UART code

Started by iijfet in AVRclub8 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? ------------------------------------


how to configure hardware to connect the Keyboard

Started by tzif69 in AVRclub14 years ago 1 reply

Hi I managed to perform a small program that will be able to verify which key has beeb pressed on the AT/PC keyboard. I managed to do...

Hi I managed to perform a small program that will be able to verify which key has beeb pressed on the AT/PC keyboard. I managed to do that using the UART interrupt using the 8515 and STK500. The ASCII code is beeing displayed on PORTB leds and i manage to see that using the CODEVISION terminal. It works fine! BUT.......... Now i


Timer Interrupt creates problem

Started by "Prashant D. Kharade" in AVRclub9 years ago 9 replies

Hello,=0D =0D =0D =0D I am a new to Embedded world. I have chosen AVR series to work=0D =0D I am doing a Datalogger project.=0D =0D ...

Hello,=0D =0D =0D =0D I am a new to Embedded world. I have chosen AVR series to work=0D =0D I am doing a Datalogger project.=0D =0D =0D =0D Facing a problem during the execution. =0D =0D I am sequentially switching the relays, measuring the ADC count & sending t= o UART for checking purpose.=0D =0D I have tried my best & step by step as suggested, but still there is proble= m.=0D...


Re: Off Topic - PIC Programming HELP!!! PIC16C63A CHIPwithICSP & Programmer from JAYCAR

Started by David Jones in AVRclub13 years ago

>>> w9sz@w9sz... 03/06/2004 2:19:21 pm >>> >Very true, I now tend to favor the flash versions of the Microchip parts. >The 16F88 has a...

>>> w9sz@w9sz... 03/06/2004 2:19:21 pm >>> >Very true, I now tend to favor the flash versions of the Microchip parts. >The 16F88 has a lot of features built in. >I've been finding the ATmega8 to be quite a versatile chip too, if you >need A/D converters on a microcontroller. The programming of the UART and


attiny2313 button handler [need help]

Started by "Marojahan M.T. Sigiro" in AVRclub9 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...


Relay Control

Started by Joe in AVRclub14 years ago 3 replies

I am using a Atmega16 running at 7.37Mhz. I am also using a LCDPlus. I talk to it with the Rs232 Hardware UART. It has a ULN2803A with...

I am using a Atmega16 running at 7.37Mhz. I am also using a LCDPlus. I talk to it with the Rs232 Hardware UART. It has a ULN2803A with 8 relay Darlington Drivers. This also includes blocking diodes. I am using 5v Relays with contacts rated at 250v 10a. The setup uses a momentary button to interrupt on Int0. The relays energise Mains contactors 1


multiple software uart...........

Started by ktucker8825 in AVRclub14 years ago

I am currently working on a project with bascom-avr, atmega16L. i am utiliizing the hardware usart to talk to a serial LCD display. i need...

I am currently working on a project with bascom-avr, atmega16L. i am utiliizing the hardware usart to talk to a serial LCD display. i need 2 additional ports. i can get both software uarts to work, but only one at a time. when i try to implement both software uarts only one will work properly. the other is putting out garbage (as seen on the terminal) my code


ending interrupt

Started by uzay1983 in AVRclub12 years ago

Hi everybody; I've written a code for uart but the problem is that when SIGNAL(SIG_UART_RECV) interrupt begins, it will never end ,and ...

Hi everybody; I've written a code for uart but the problem is that when SIGNAL(SIG_UART_RECV) interrupt begins, it will never end ,and microcontroller is remaining in SIGNAL(SIG_UART_RECV). The basic purpose is sending data and receving data. the key is sent which is obtained from return_key function. And any data gets but when data is received , I w


Using XON/XOFF

Started by Sven Haedel in AVRclub14 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


send data atmega 128l to pc

Started by mojahid seddig in AVRclub12 years ago 2 replies

i want to send data from =B5c 128l to pc using uart =09=09 --------------------------------- Yahoo! Cars NEW - sell your car and browse...

i want to send data from =B5c 128l to pc using uart =09=09 --------------------------------- Yahoo! Cars NEW - sell your car and browse thousands of new and used cars= online search now=20=20 --------------------------------- =20=20 ------------------------ Yahoo! Groups Sponsor --------------------~--> =20 Everything you need is one=A0click away.=A0 Make Yahoo! your home page=A0