... except how to connect the PC side module to a PC with USB only ...
If that's easy for you, and if you're sure the module uses TTL level (5V) signals, then search for Arduino's SoftwareSerial library. I'd keep pins 0,1 for testing/deugging using the standard USB connection. At least until all works fine.
Not sure if you can use these modules to load sketches into the Arduino. Hope this isn't your goal.
Thanx for the help guys,
I had seen that pdf.
I am communicating from Arduino to PC. No programming is required at the PC. Need to program the arduino. They have given a code for a microcontroller,can any one translate it for me.
I connected the transmitter's TX pin to Arduino's TX pin(pin#1), should i write my data to the TX pin or should i just make the TX pin High and use Serial.print.
Can any one tell me what is the use of TX pin and how to send the data?
AbdullahZubair:
Thanx for the help guys,
I had seen that pdf.
I am communicating from Arduino to PC. No programming is required at the PC. Need to program the arduino. They have given a code for a microcontroller,can any one translate it for me.
I connected the transmitter's TX pin to Arduino's TX pin(pin#1), should i write my data to the TX pin or should i just make the TX pin High and use Serial.print.
Can any one tell me what is the use of TX pin and how to send the data?
Hello abdullah my name is mohammed junaid...actually i have a project in which iam using arduino mega 2560 and cc2500 wireless module..I would like to know how you actually communicated from the arduino to the pc...if u could give the example code it would be really helpful..the project submission is this week so urgent reply needed..thankyou!!
Hey junaid,are you using cc2500 directly?
We used a RF module which has cc2500 embedded in it.
Its a readymade chip and comes with only three pins rx,tx and ground. You just need to connect it to tx rx of arduino via a level shifter like max 232 and a simple code with serial.print will transmit the data, the receiver module directly connects to the pc via rs 232 port
But if u are using cc2500 module independently , i guess u will have to do a little more.
abdullah Iam from bangalore...and iam using the same module shown in the pdf ...i have one wireless module connected to the arduino mc on the bot..that has to send a signal when ever the bot changes the direction..that signal should be received by the pc..which also has the same wireless module attached to it through a rs232 usb to serial convertor..
so hence how do i send and access these values..
and could u show a example code for it..its urgent
Thankyou!!
Well junaid, this module is directly compatible with pc,you dont need max 232 or any other converter.
But you need max 232 at the bot side.
So its like ur Arduino---->MAX 232----->RF Module.
And at the PC,RF Module---->PC
Once you are done with conditions, try this code
Yeah i used max 232.
Okay I am using this code now
Hey abdullah ,i thot the next time i would send a post it would say 'module working" but seems tt would take a while..
I bought MAX232 today and the one question that popped up was, how do i connect the arduino and rf module through this..
cant i directly connect the Tx pin of the rf moudle to the RX pin of the arduino board and vice versa...??
iam a comp science student so dont have much idea about these devices..please help..!!
Thankyou!!
Salaam abdullah i have made the connections as u have mentioned allhumdollilah the pc side module works fine but the transmitter rf module connected on the bot is not transmitting the cahracters specified in the arduino code do we have to mention the tx and rx pins in the code for that?
yes both the led's one of the configuration mode and other of the power led..both the transmitter rf module and the receiver have two led's glowing but the tr/rf led does not glow
Hello abdullah..my mail id is " mdj.1342@gmail.com " ..so in the code do we need a special command that tells the arduino to send the data wirelessly or whatever it prints on the serial monitor automatically is sent thru the cc2500 rf module to the pc side receiver.?..too much confusion.. monday is the submission now,...