ArduinoGeneral

Comunication PC-arduino with apc220 module not working

userHead Uoho 2014-01-14 23:52:35 12840 Views19 Replies
Hi! i´m a beginner, and i can´t comunicate PC-arduino with APC220, i followed this steps:

1- Download drivers

- "CP210x VCP Drivers" -> [url=http://www.silabs.com/products/interface/Pages/interface-software.aspx]http://www.silabs.com/products/interface/Pages/interface-software.aspx[/url]
- "Driver USB" -> [url=http://www.ctmelectronica.com.ar/index.php/descargas/descargas/software/driver-usb/detail]http://www.ctmelectronica.com.ar/index.php/descargas/descargas/software/driver-usb/detail[/url]

2- Download the configuration module software

- "RF-MagicV1.2A" -> [url=http://www.ctmelectronica.com.ar/index.php/descargas/descargas/software/rf-magic-v1-2a/detail]http://www.ctmelectronica.com.ar/index.php/descargas/descargas/software/rf-magic-v1-2a/detail[/url]

3- Connect the module to the USB adapter

[img]http://imageshack.com/a/img194/4038/xzwh.jpg[/img]

EDIT: I have tried "COM 2".

4- Open RF-MagicV1.2A program, check Finding and give dipositive "Write" to upload the configuration to the module, this, I have done with the 2 modules, i don ´t know if it is correct.

[img]

5- Connect a module to the arduino mega2560 board

GND ------->  GND
VCC  ------->  5V
RXD  -------> TX0
TXD  ------->  RX0

6- Upload the sketch with the USB this code


void setup()
{
  Serial.begin(9600);            //Set serial baud rate to 9600
}

void loop()
{
  Serial.println("Hello!");          //print out hello string
  delay(1000);                  //1 second delay
}


7- Disconnect USB and insert module+USB adapter to PC

8- Connect arduino to an external power 7.5V to "Vin" and "GND"

9- Enter in monitor serial and nothing happens.




I hope you can help me,THANKS!
2014-01-21 12:06:31 Hello Uoho,
After you upload the sketch.
[code]void setup()
{
  Serial.begin(9600);            //Set serial baud rate to 9600
}

void loop()
{
  Serial.println("Hello Uoho!");          //print out hello string
  delay(1000);                  //1 second delay
}
[/code]
Does the "TX" led blink?
Please use the usb cable to support the power. (I am not sure whether it caused by the unstable power)
First check whether the mega serial port get the data (COM4)
Then whether the module serial port get the data(COM1)

Anyway, is the usb adapter pin number the same to the ours?
[url=http://www.dfrobot.com/index.php?route=product/product&product_id=104#.Ut31P_mS3qQ]http://www.dfrobot.com/index.php?route=product/product&product_id=104#.Ut31P_mS3qQ[/url]
userHeadPic Grey.CC
2014-01-21 12:06:31 Hello Uoho,
After you upload the sketch.
[code]void setup()
{
  Serial.begin(9600);            //Set serial baud rate to 9600
}

void loop()
{
  Serial.println("Hello Uoho!");          //print out hello string
  delay(1000);                  //1 second delay
}
[/code]
Does the "TX" led blink?
Please use the usb cable to support the power. (I am not sure whether it caused by the unstable power)
First check whether the mega serial port get the data (COM4)
Then whether the module serial port get the data(COM1)

Anyway, is the usb adapter pin number the same to the ours?
[url=http://www.dfrobot.com/index.php?route=product/product&product_id=104#.Ut31P_mS3qQ]http://www.dfrobot.com/index.php?route=product/product&product_id=104#.Ut31P_mS3qQ[/url]
userHeadPic Grey.CC
2014-01-20 23:02:10 [quote="Grey"]
Hello Uoho,
Is wire cable is right?
Do you have another arduino board? Could you try?
I saw the usb adapter is not the original. Could attach the parameter setting again?
It is very strange. Did you change the baud rate of the module or the code?
Mega serial port need a little time to reponse it.
[/quote]

Hi,Grey!

The wire seems ok...

I haven´t another arduino board, and yes,I have reconfigured settings

serialPort COM 1
Net ID (12345)
NODE ID (12345678902B)
RF frecuency (434 Mhz)
userHeadPic Uoho
2014-01-20 23:02:10 [quote="Grey"]
Hello Uoho,
Is wire cable is right?
Do you have another arduino board? Could you try?
I saw the usb adapter is not the original. Could attach the parameter setting again?
It is very strange. Did you change the baud rate of the module or the code?
Mega serial port need a little time to reponse it.
[/quote]

Hi,Grey!

The wire seems ok...

I haven´t another arduino board, and yes,I have reconfigured settings

serialPort COM 1
Net ID (12345)
NODE ID (12345678902B)
RF frecuency (434 Mhz)
userHeadPic Uoho
2014-01-19 22:19:31 Hello Uoho,
Is wire cable is right?
Do you have another arduino board? Could you try?
I saw the usb adapter is not the original. Could attach the parameter setting again?
It is very strange. Did you change the baud rate of the module or the code?
Mega serial port need a little time to reponse it. 
userHeadPic Grey.CC
2014-01-19 22:19:31 Hello Uoho,
Is wire cable is right?
Do you have another arduino board? Could you try?
I saw the usb adapter is not the original. Could attach the parameter setting again?
It is very strange. Did you change the baud rate of the module or the code?
Mega serial port need a little time to reponse it. 
userHeadPic Grey.CC
2014-01-17 23:06:48 [quote="Grey"]
Hello Uoho,

Could you take a photo about your hardware connection.

Did you connect the antenna with the module?

And which serial port you are using now?
[/quote]

Hi Grey!

Now, I´m using serial Port "COM1".

Ok, I take two photos!

[img]http://imageshack.com/a/img838/8155/pg75.jpg[/img]

                      Arduino                  Module
         
Blue wire:      GND        ---------->  GND
Red wire:        5V          ---------->  VCC 
Black wire:      RX0        ---------->  TXD
White wire:    TX0        ---------->  RXD


                    Arduino                    External power
         
White wire:    GND        --------->  GND
Red wire:        Vin          --------->  7.5V 



[img]http://imageshack.com/a/img855/1885/q75z.jpg[/img]
userHeadPic Uoho
2014-01-17 23:06:48 [quote="Grey"]
Hello Uoho,

Could you take a photo about your hardware connection.

Did you connect the antenna with the module?

And which serial port you are using now?
[/quote]

Hi Grey!

Now, I´m using serial Port "COM1".

Ok, I take two photos!

[img]http://imageshack.com/a/img838/8155/pg75.jpg[/img]

                      Arduino                  Module
         
Blue wire:      GND        ---------->  GND
Red wire:        5V          ---------->  VCC 
Black wire:      RX0        ---------->  TXD
White wire:    TX0        ---------->  RXD


                    Arduino                    External power
         
White wire:    GND        --------->  GND
Red wire:        Vin          --------->  7.5V 



[img]http://imageshack.com/a/img855/1885/q75z.jpg[/img]
userHeadPic Uoho
2014-01-17 10:35:28 Hello Uoho,

Could you take a photo about your hardware connection.

Did you connect the antenna with the module?

And which serial port you are using now?
userHeadPic Grey.CC
2014-01-17 10:35:28 Hello Uoho,

Could you take a photo about your hardware connection.

Did you connect the antenna with the module?

And which serial port you are using now?
userHeadPic Grey.CC
2014-01-16 17:55:10 [quote="Grey"]
Hello Uoho,

There is something wrong with the wiki page.
The RF frequency should be 418MHz to 455MHz.

Please change another RF frequency like 434MHZ
Keep me updated, whether it works or not.
[/quote]


Hi Grey!

I have put 434 Mhz at two modules, but not works.

I ´m using W7 x64, Could be a problem?



userHeadPic Uoho
2014-01-16 17:55:10 [quote="Grey"]
Hello Uoho,

There is something wrong with the wiki page.
The RF frequency should be 418MHz to 455MHz.

Please change another RF frequency like 434MHZ
Keep me updated, whether it works or not.
[/quote]


Hi Grey!

I have put 434 Mhz at two modules, but not works.

I ´m using W7 x64, Could be a problem?



userHeadPic Uoho
2014-01-16 11:30:51 Hello Uoho,

There is something wrong with the wiki page.
The RF frequency should be 418MHz to 455MHz.

Please change another RF frequency like 434MHZ
Keep me updated, whether it works or not.
userHeadPic Grey.CC
2014-01-16 11:30:51 Hello Uoho,

There is something wrong with the wiki page.
The RF frequency should be 418MHz to 455MHz.

Please change another RF frequency like 434MHZ
Keep me updated, whether it works or not.
userHeadPic Grey.CC
2014-01-15 22:46:23 [quote="Grey"]
Hello Uoho,
Did you set two module as the same NET ID, NODE ID and RF frequency.
1 Please plug usb to Mega 2560, and check whether the serial monitor can receive the data without the APC module.
2 If Serial port receive the data successful, please plug APC220 on USB adapter and Arduino Mega 2560.
3 Please change to USB adapter COM port, and watch whether it has received the data.
[/quote]

Hi Grey!

Yes, I set two module as the same Net ID (12345), NODE ID (12345678902B) and RF frecuency (470 Mhz)

1- In fact, I plug usb Mega 2560, and Serial port receive the data successful
2- I have tried COM port (1,2,3,4,5) but none works

When I change COM port in a module, Have I to change in the other module?

I have tried both ways, but , Wich is the correct?
userHeadPic Uoho
2014-01-15 22:46:23 [quote="Grey"]
Hello Uoho,
Did you set two module as the same NET ID, NODE ID and RF frequency.
1 Please plug usb to Mega 2560, and check whether the serial monitor can receive the data without the APC module.
2 If Serial port receive the data successful, please plug APC220 on USB adapter and Arduino Mega 2560.
3 Please change to USB adapter COM port, and watch whether it has received the data.
[/quote]

Hi Grey!

Yes, I set two module as the same Net ID (12345), NODE ID (12345678902B) and RF frecuency (470 Mhz)

1- In fact, I plug usb Mega 2560, and Serial port receive the data successful
2- I have tried COM port (1,2,3,4,5) but none works

When I change COM port in a module, Have I to change in the other module?

I have tried both ways, but , Wich is the correct?
userHeadPic Uoho
2014-01-15 10:20:13 Hello Uoho,
Did you set two module as the same NET ID, NODE ID and RF frequency.
1 Please plug usb to Mega 2560, and check whether the serial monitor can receive the data without the APC module.
2 If Serial port receive the data successful, please plug APC220 on USB adapter and Arduino Mega 2560.
3 Please change to USB adapter COM port, and watch whether it has received the data.
userHeadPic Grey.CC
2014-01-15 10:20:13 Hello Uoho,
Did you set two module as the same NET ID, NODE ID and RF frequency.
1 Please plug usb to Mega 2560, and check whether the serial monitor can receive the data without the APC module.
2 If Serial port receive the data successful, please plug APC220 on USB adapter and Arduino Mega 2560.
3 Please change to USB adapter COM port, and watch whether it has received the data.
userHeadPic Grey.CC
2014-01-14 23:52:35 Hi! i´m a beginner, and i can´t comunicate PC-arduino with APC220, i followed this steps:

1- Download drivers

- "CP210x VCP Drivers" -> [url=http://www.silabs.com/products/interface/Pages/interface-software.aspx]http://www.silabs.com/products/interface/Pages/interface-software.aspx[/url]
- "Driver USB" -> [url=http://www.ctmelectronica.com.ar/index.php/descargas/descargas/software/driver-usb/detail]http://www.ctmelectronica.com.ar/index.php/descargas/descargas/software/driver-usb/detail[/url]

2- Download the configuration module software

- "RF-MagicV1.2A" -> [url=http://www.ctmelectronica.com.ar/index.php/descargas/descargas/software/rf-magic-v1-2a/detail]http://www.ctmelectronica.com.ar/index.php/descargas/descargas/software/rf-magic-v1-2a/detail[/url]

3- Connect the module to the USB adapter

[img]http://imageshack.com/a/img194/4038/xzwh.jpg[/img]

EDIT: I have tried "COM 2".

4- Open RF-MagicV1.2A program, check Finding and give dipositive "Write" to upload the configuration to the module, this, I have done with the 2 modules, i don ´t know if it is correct.

[img]

5- Connect a module to the arduino mega2560 board

GND ------->  GND
VCC  ------->  5V
RXD  -------> TX0
TXD  ------->  RX0

6- Upload the sketch with the USB this code


void setup()
{
  Serial.begin(9600);            //Set serial baud rate to 9600
}

void loop()
{
  Serial.println("Hello!");          //print out hello string
  delay(1000);                  //1 second delay
}


7- Disconnect USB and insert module+USB adapter to PC

8- Connect arduino to an external power 7.5V to "Vin" and "GND"

9- Enter in monitor serial and nothing happens.




I hope you can help me,THANKS!
userHeadPic Uoho