Discussion in "AVR Discussion Forum" started by    gaurav    Mar 21, 2013.
Thu Mar 21 2013, 06:22 pm
#1
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.......

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
Attachment
Thu Mar 21 2013, 06:39 pm
#2
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.
Thu Mar 21 2013, 06:44 pm
#3
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
Fri Mar 22 2013, 11:26 am
#4
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/

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

scaneraNom
Sat May 04 2024, 02:21 am
gtaletrzua
Fri May 03 2024, 10:55 am
Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am