I am a newbie and have been trying to make a remote controlled car for a while using ATmega 8 and controlling using a THUMB JOYSTICK and 433Mhz rf module
I am using Atmega 8 to do the project. I am trying to use one ATmega 8 as transmitter and a another as receiver.
As transmitter , i have connected an ATmega 8 with the JOYSTICK and converted the x and y axis values using ADC conversion. Then transmitted the data and command (for moving the car) to the RX pin of my
receiver ATmega 8. in the receiver I used the command to move the car. I have used L293D motor driver to move the motors of my car,
now i am facing a problem. The problem is the communication is perfect when i use a wire between the RX and TX pins of the receiver and the transmitter . But when I am trying to so this with my RF module there
When I power up the circuit the transmitter perfectly converts the ADC values but the receiver doesn't get anything. but when I reset the receiver again and again certainly (don'T know when) the transmitter begins to
work and it keeps working. BUT Again if I turn off the power and again power it up, the Receiver is not responding again until I reset it again and again (don't
know how many times) .. Again sometimes the transmitter is hanged and do not response to new signals. It keeps running an older signal automatically.. NEED THE SOLUTION
I am using 1MHz internal oscillator and a baud rate of 4800bps. I am using WINAVR(GCC ) as compiler.
THE CODES AND CIRCUIT DIAGRAM IN PROTEUS(HERE WIRED DIAGRAM IS SHOWN BUT I USED RF TRANSMITTER IN TX OF TRANSMITTER ATmega 8 AND RF RECEIVER to RX OF RECEIVER ATmega 8) ARE
PROVIDED AS ATTACHMENTS ..WIRED CONNECTION HAVE NO PROBLEM. BUT WHEN IT'S WIRELESS THE PROBLEM BEGINS
I've been using this product for wireless communication.