EmbeddedRelated.com

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 ------------------------------------


wireless transmission using RF module interfaced to ATMEGA 8

Started by maheshnmys in AVRclub13 years ago 4 replies

We need to transmit digital data over a short range( 30 feet ) at a data rate of 8K bits/sec . please suggest me a RF module satisfying these...

We need to transmit digital data over a short range( 30 feet ) at a data rate of 8K bits/sec . please suggest me a RF module satisfying these conditions and also can be interfaced to ATMEGA 8 easily ------------------------------------


Atmega 128 USART TXD info

Started by al_martinez in AVRclub13 years ago 4 replies

I have an Atmega 128 and read the manual. On page 180 the information given does not include whether the transmission signal sent out of the TXD...

I have an Atmega 128 and read the manual. On page 180 the information given does not include whether the transmission signal sent out of the TXD pin (3) is inverted or non_inverted. I know the default transmission settings are 8N1 9600 baud, but I need to verify if it is inverted or non_inverted. Also, If I use the chip for only transmission, do I need to ground the receive RXD pin (2) or do...


4X DAC Design for Multiflex using Atmega16 and AD7528 DAC chip

Started by huiyangdoh in AVRclub16 years ago 1 reply

I am trying to develop DAC circuitry for Atmega 16 since Atmega16 doesn't have in-built feature of DAC. The circuitry design will be 4X DAC...

I am trying to develop DAC circuitry for Atmega 16 since Atmega16 doesn't have in-built feature of DAC. The circuitry design will be 4X DAC design using AD7528 DAC Chips To my understanding, PortC0-1 (SDA/SCL) of Atmega 16 will be used to drive the DAC circuit which will output variable voltage 0DVc - 10DVc at fix current 25mA using Op Amp. I am not trying to ask anyone to do homework ...


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 ------------------------------------


AVR MEGA 64 / 128 programer

Started by Diego in AVRclub14 years ago 2 replies

Hello, i am new in this world and i am looking schematics of atmega 64/128 programmer USB or serial, but USB will be better. And the software...

Hello, i am new in this world and i am looking schematics of atmega 64/128 programmer USB or serial, but USB will be better. And the software that i need to use it. Thank you very much to people that help me ------------------------------------


Audio recording

Started by Jake Vickers in AVRclub15 years ago 4 replies

I'm playing with an Atmega 640, and would like to know how to record audio with it. Low quality - "am radio" is fine. I'm going to record to a...

I'm playing with an Atmega 640, and would like to know how to record audio with it. Low quality - "am radio" is fine. I'm going to record to a SD card and will be grabbing some data from SPI devices. Any pointers in the right direction are appreciated! ------------------------------------


reading ccd

Started by Francois Rigaud in AVRclub20 years ago 5 replies

Hello, I'm looking samples about reading a linear CCD with ATMEGA - linear 1024 or 2048 pixel - 8-10 bits with the smalest...

Hello, I'm looking samples about reading a linear CCD with ATMEGA - linear 1024 or 2048 pixel - 8-10 bits with the smalest (if possible) electronics part/ circuit Somebody help me? Thank's Fran?ois


Recording audio with Atmel

Started by jakev6 in AVRclub15 years ago 1 reply

I'm playing with an Atmega 640 and want to record audio. "AM radio" quality is fine, even mono. I'm using a SD card via SPI and would like to...

I'm playing with an Atmega 640 and want to record audio. "AM radio" quality is fine, even mono. I'm using a SD card via SPI and would like to record the audio on the SD card. Can anyone point me in the right direction as to what I need to perform this? Thanks! ------------------------------------


Robostix (ATMega 128) and LCD

Started by "lon...@sbcglobal.net" in AVRclub15 years ago 2 replies

Hello all, I have a Robostix and when I go to their Wiki page it has the all of the C code and headers except the 'lcd.h' header file. Does...

Hello all, I have a Robostix and when I go to their Wiki page it has the all of the C code and headers except the 'lcd.h' header file. Does anybody know where I can get this file or at least a working package. I'm trying to learn how interface sensors to this thing and I can't tell if I'm getting good data. I also have an Olimex ATMega128 board that I think works. I just need to p...


Re: interfacing the ATMEGA16 with a camera

Started by Dave Hylands in AVRclub16 years ago 2 replies

Hi, On 10/24/07, mehulsoman2001 wrote: > does anyody know how can a general camera be interfaced with the > microcontroller like ATMEGA...

Hi, On 10/24/07, mehulsoman2001 wrote: > does anyody know how can a general camera be interfaced with the > microcontroller like ATMEGA 16 so that later it can e used for some > image processing by connecting it to a computer \. > I could not find any good interfACING circuit for the camera and uC > INTEFACE can anybody help with anything .any good idea can do. You migh


Serial Communication with Atmega 8535

Started by alex_seif0024 in AVRclub19 years ago 1 reply

I'm on a school project and the aim is to aquire data, so i'm supose to connect a MCU to the CPU so i'm using a RS232, MAX 232 and a cport...

I'm on a school project and the aim is to aquire data, so i'm supose to connect a MCU to the CPU so i'm using a RS232, MAX 232 and a cport lib i found however no matter how simple the code is on the Atmega8535 the computer will not recieve and i dont no why, i even used a serial loop back test on the computer and it worked and all mu atmel is doing is "U


ATMega and external RAM

Started by Patrick Urban in AVRclub21 years ago 1 reply

Hi all, my question is related to the use of an external RAM (32kx8) controlled by an ATMega162. Current situation: My old...

Hi all, my question is related to the use of an external RAM (32kx8) controlled by an ATMega162. Current situation: My old application with an at90s8515 works fine with an external RAM. Now I switched to the new 162er. I shifted all cseg commands as well as the SRAM locations and the stack-pointer in my existing code. Everything works fi


interfacing transceiver with AVR

Started by piyush_pandey_011 in AVRclub13 years ago 7 replies

hello guys I am using two atmega 16 avr boards and I want to intercommunicate between these two boards with the help of a transceiver. So...

hello guys I am using two atmega 16 avr boards and I want to intercommunicate between these two boards with the help of a transceiver. So can any body tell me any cheap transceiver which can be easily interfaced with the avr microcontroller and is easily available too. Thank you ------------------------------------


6 PWM, Serial Tx and Rx on Atmel ATmega8 or 16?

Started by macmen_seattle in AVRclub20 years ago 1 reply

I am struggling (newbie) with code that will do the following, say on an ATmega running at 8MHz: 1. PWM for six motors (not servos)...

I am struggling (newbie) with code that will do the following, say on an ATmega running at 8MHz: 1. PWM for six motors (not servos) running in one direction. 6-8 bit duty cycle resolution is fine. 2. Sample a few sensors. 3. Receive motor speed commands via serial. 4. Send sensor readings via serial. 5. Kill all motors if no commands a


PWM generation using ATmega 88 - LED brightness control

Started by nandak84 in AVRclub18 years ago

Hi guys, Finally I have written up a code to generate PWM, and by changing the output compare I am able to vary the brightness of my LED. I...

Hi guys, Finally I have written up a code to generate PWM, and by changing the output compare I am able to vary the brightness of my LED. I also went ahead to use interrupts so that everytime there is a match, the Interrupt Service routine could increment the output compare value, so that the LED can increase in brightness gradually. I had written t


POwer down mode and wake on INT0

Started by inpactmicro in AVRclub20 years ago 3 replies

I cant get my ATMEGA 128 to power down and wait for an interrupt on rising edge of d0 any ideas where I am going wrong? this is the code...

I cant get my ATMEGA 128 to power down and wait for an interrupt on rising edge of d0 any ideas where I am going wrong? this is the code Im using //enable PORTD:0 (INT0) as interrupt input level High EICRA = 0x03; //00000011 //rising edge on INT0 SREG = 1; //s-reg I flag EIMSK = 0x01; //00000001 // enables external interrupt //EIFR = 0x0


Problemas al programar el ATMega64

Started by aldanajaramillo in AVRclub21 years ago 2 replies

He programado los micros AT90S... AVR sin ningun tipo de problemas, y por motivos d ecapacidad, me cambien a la familia ATMega, que ...

He programado los micros AT90S... AVR sin ningun tipo de problemas, y por motivos d ecapacidad, me cambien a la familia ATMega, que supuestamente se programan de la misma forma. He tenido problemas al tratar de programar el Atmel ATMega64 con un programador ISP usando el CodeVisionAVR. Alguien ha programado este tipo de microcontroladores(los ATM


How to measure temperature.

Started by n.na...@gmail.com in AVRclub16 years ago 5 replies

Hi all. I am working with ATMEGA169 microcontroller. I am using a battery to provide supply to the board.I am uisng ISL6292 battery charger. A...

Hi all. I am working with ATMEGA169 microcontroller. I am using a battery to provide supply to the board.I am uisng ISL6292 battery charger. A TEMP pin of the charger monitors the battery temperature to ensure a safe charging temperature range. This TEMP pin is connected to ATMEGA. Some voltage is appearing on this pin from this voltage how to calculate the temperature. ---------------------...


[AVR club] kindly help in burning hex file to atmega attiny861v by arduino Duemilanove board

Started by "'sh...@gmail.com [avrclub]" in AVRclub10 years ago 3 replies

hi , i have a hex file of a program which i would like to burn in atmel attiny861v microcontroller, i have a arduino uno/Duemilanove board...

hi , i have a hex file of a program which i would like to burn in atmel attiny861v microcontroller, i have a arduino uno/Duemilanove board with me, can anyone please help me out that how can i burn this hex file in my microcontroller through arduino board,,, kindly help.. many thanks shubham, email - v...@gmail.com