Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Avr progrmming for Atmega88
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Avr progrmming for Atmega88

by irfan on Tue Sep 14, 2010 7:26 am

Hello All-

I have a problem making 2 synchronous Atmega88 communicate. I've tried a few codes from the data sheet but always come up with errors.

Basic function required is to make 2 synchronous atmega88 communicate between each other.

Spi function to activate for 2 transceiver so it could transfer data wirelessly. An ADC to be activate for the transmitter circuit.

I would really appreciate any help in this regard.

Thanks
irfan
 
Posts: 2
Joined: Tue Sep 14, 2010 7:23 am

Re: Avr progrmming for Atmega88

by adafruit_support_bill on Tue Sep 14, 2010 7:35 am

What did you try? What were the errors?

Post your code. It is hard to answer such a general question without seeing any code.

adafruit_support_bill
 
Posts: 78759
Joined: Sat Feb 07, 2009 10:11 am

Re: Avr progrmming for Atmega88

by irfan on Tue Sep 14, 2010 3:47 pm

Actually, i dont have the code. I want the code for this.
irfan
 
Posts: 2
Joined: Tue Sep 14, 2010 7:23 am

Re: Avr progrmming for Atmega88

by franklin97355 on Tue Sep 14, 2010 4:15 pm

Actually, i dont have the code. I want the code for this.
You will need to start this off by writing something you think will work, show us how you have all the parts connected and tell us what errors and messages you get when you try to compile this.

franklin97355
 
Posts: 21586
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Avr progrmming for Atmega88

by Entropy on Wed Sep 15, 2010 10:39 am

Without any more detail about what you're trying to do, it'll be difficult to help you.

http://www.instructables.com/id/I2C_Bus ... nd_ATmega/ has information on communicating between AVRs using I2C (also known as TWI).
Entropy
 
Posts: 472
Joined: Tue Jan 08, 2008 12:43 am
Location: Owego, NY USA

Please be positive and constructive with your questions and comments.