Hi,
Me and my friend are making a robot.The problem is that he works with atmega8, while i have arduino uno based on atmega 328. my question, can we transmit data b/w them?
Sure, data is always just "0" and "1" on the root level, so you could even exchange data with a Cyber 205 (which you probably don't know
)
You just have to establish a common protocol for the data exchange to make it meaningful.
Using regular serial transmission on both, with eg. 2400 bps, 1 stop bit and no parity, should do.
what will be the circuit and coding??
The circuit you'll find in the datasheet for your specific transmitter and receiver modules, but it's probably just 0V, +5V, data in and a pin for the antenna on the transmitter and something similar on the receiver.
The coding will depend of the coding language, which you didn't mention, but will be regular serial transmit and receive commands.