I am trying to use RF link 433 MHZ transmitter and receiver to send across some information. I am using the code from the following link…http://www.damonkohler.com/2008/09/arduino-rf-link.html
What i am trying to do different is that when the transmitter sends across the information, i want the receiver to directly pass on the serial data to the LCD (parallax serial LCD 16X2) without a micro-controller to process it.
I am not sure if this is possible. Does anyone have any experience with this?
I HIGHLY recommend putting a microcontroller between the 433MHz receiver and the serial LCD.
You need some sort of protocol that allows error detection / correction and disciminating between legitimate messages and noise / data that is coming from other sources.
Those 433MHz modules don’t have any of this built in; you need to do it yourself. Any microcontroller should be able to do this; if you use one with a UART it makes things a bit easier.
Thanks for the help!
I am able to now send in serial data using the code within this link now…http://www.damonkohler.com/2008/09/arduino-rf-link.html
The connection is without a microcontroller and directly to a serial USB to computer. I can see the information being sent in the serial monitor.
But since i am trying to light up my serial LCD, i need to send a inverted signal to it. When i send inverted serial to the serial USB, the information received through the wireless communication is gibberish(as seen in serial monitor). Is this a timing issue or that is how the serial monitor sees the inverted data?
Here is my function for inverting the signal for the LCD…
void SWprint(byte data){
byte mask;
digitalWrite(LCD,LOW); //startbit - LCD is arduino pin 1
delayMicroseconds(bit24); //bit 24 is 396
for (mask = 0x01; mask>0; mask <<= 1) {
if ((data & mask) > 0){ // choose bit
digitalWrite(LCD,HIGH);
}else{
digitalWrite(LCD,LOW);
}
delayMicroseconds(bit24);
}
//stop bit
digitalWrite(LCD, HIGH);
delayMicroseconds(bit24);
}
I now connected a Atmega 328 microcontroller but i am not sure how to write the code to filter out the noise etc. Would you happen to know of a tutorial that might help me get this done?