interfacing standalone Arduino with pc viaMAX232
Discussion in "AVR Discussion Forum" started by gaurav Mar 21, 2013.
Thu Mar 21 2013, 06:22 pm
i have connected a 433mz Tx mocule to the Atmega328p arduino IC in standalone mode
n i m reciving the data on pc via a another standalone Arduino
my connection is as as follows
Atmega328p tx>>>>>>433mz TX module
433mz RX module >>>>>Atmega328p RX>>>Atmega328p TX >>>>>max232>>>H'terminal
both runs at 9600baud rate.......
my problem is that m no abel to communicate with both modules
n i m reciving the data on pc via a another standalone Arduino
my connection is as as follows
Atmega328p tx>>>>>>433mz TX module
433mz RX module >>>>>Atmega328p RX>>>Atmega328p TX >>>>>max232>>>H'terminal
both runs at 9600baud rate.......
void setup() { Serial.begin(9600); Serial.println("************Hello************"); Serial.println("**********Wellc0me to the Project on************"); Serial.println("*********_SENSE ROBOT_**********"); } void loop() { if (Serial.available() > 0) { Serial.print(Serial.read()); } }
my problem is that m no abel to communicate with both modules
Thu Mar 21 2013, 06:39 pm
wow how many arduinos have you got
RF433 modules has bad history of working on uart. try a lower baudrate like 1200, as they usually cannot go beyond 2.4/4.8kbps.
RF433 modules has bad history of working on uart. try a lower baudrate like 1200, as they usually cannot go beyond 2.4/4.8kbps.
Thu Mar 21 2013, 06:44 pm
cant change the baud rate min 4.8K i have to use as a bluetooth module is connected to the tX pin of ATmega328p
means TX pin have 2 connections one for BT module n other for RF module
means TX pin have 2 connections one for BT module n other for RF module
Fri Mar 22 2013, 11:26 am
433MHz RF modules cannot work reliably on UART. I suggest you take a look at some RF libraries available for Arduino that supports a range of RF modules.
Virtual Wire:
http://www.airspayce.com/mikem/arduino/VirtualWire/
433Utils:
http://ninjablocks.com/blogs/how-to/7501042-adding-rf-433mhz-to-your-arduino
https://github.com/ninjablocks/433Utils/
Virtual Wire:
http://www.airspayce.com/mikem/arduino/VirtualWire/
433Utils:
http://ninjablocks.com/blogs/how-to/7501042-adding-rf-433mhz-to-your-arduino
https://github.com/ninjablocks/433Utils/
Powered by e107 Forum System