ArduinoGeneral

Wireless Programming Module For Arduino (SKU:TEL0037)

userHead rahul 2013-01-18 19:02:05 10484 Views19 Replies
Looking for some help on how to get this working:

[url=http://www.dfrobot.com/wiki/index.php/Wireless_Programming_Module_For_Arduino_(SKU:TEL0037)]http://www.dfrobot.com/wiki/index.php/Wireless_Programming_Module_For_Arduino_(SKU:TEL0037)[/url]
[url=http://www.dfrobot.com/index.php?route=product/product&filter_name=TEL0037&product_id=398#.UPi6tR072Ag]http://www.dfrobot.com/index.php?route=product/product&filter_name=TEL0037&product_id=398#.UPi6tR072Ag[/url]

Is it possible to use this as just a wireless communicator, and not a programmer? If so how?

Also why I followed the steps in the wiki and in the video on how to upload a program wirelessly, I got a not in sync error, when trying to upload a program. Is there something missing in the steps that I need to do?
2013-01-19 13:50:35 Added a delay to both,  still nothing.

Here's my setup:

[img]http://www.imgur.com/lbFSC.jpeg[/img]

[img]http://www.imgur.com/XKAFn.jpeg[/img]

Also I'm suppose to be uploading the sketches with the wireless modules attached right?
userHeadPic rahul
2013-01-19 13:50:35 Added a delay to both,  still nothing.

Here's my setup:

[img]http://www.imgur.com/lbFSC.jpeg[/img]

[img]http://www.imgur.com/XKAFn.jpeg[/img]

Also I'm suppose to be uploading the sketches with the wireless modules attached right?
userHeadPic rahul
2013-01-19 11:28:05 No led blinking at all ? At least, the blue led on the emitter side should be blinking at the rate of the Arduino sending the data on the serial port ... weird !?

Then, try to add a delay on your loop, something like 20 ms.
userHeadPic ardillon
2013-01-19 11:28:05 No led blinking at all ? At least, the blue led on the emitter side should be blinking at the rate of the Arduino sending the data on the serial port ... weird !?

Then, try to add a delay on your loop, something like 20 ms.
userHeadPic ardillon
2013-01-19 10:32:23 Mabye it has something to do with my setup:
On one end I have a WPM connected to on a IO expansion board on an UNO.
On the other end I have a WPM on a xbee usb adapter connected to the UNO, with:
-DTR connected to 3.3v
-RX connected to pin 0
-TX connected to pin 1
-GND/5v to GND/5v

My configuration for both are exactly the same:
AirRate:250kbps
Frequency:125
Buad Rate: 115200
ID: 192.168.1.1.1

[b]My first arduino is programmed with:[/b]
[quote]
[color=#CC6600]void[/color] [color=#CC6600][b]setup[/b][/color]()
{
  [color=#CC6600][b]Serial[/b][/color].[color=#CC6600]begin[/color](115200);
}

[color=#CC6600]void[/color] [color=#CC6600][b]loop[/b][/color]()
{
[color=#CC6600][b]Serial[/b][/color].[color=#CC6600]write[/color](7);
}
[/quote]

[b]And my second is programmed with:[/b]
[quote]
[color=#CC6600]void[/color] [color=#CC6600][b]setup[/b][/color]()
{
  [color=#CC6600][b]Serial[/b][/color].[color=#CC6600]begin[/color](115200);
  [color=#CC6600]pinMode[/color](7, [color=#006699]OUTPUT[/color]);
}

[color=#CC6600]void[/color] [color=#CC6600][b]loop[/b][/color]()
{
[color=#CC6600]if[/color] ([color=#CC6600][b]Serial[/b][/color].[color=#CC6600]available[/color]())
{
[color=#CC6600]if[/color] ([color=#CC6600][b]Serial[/b][/color].[color=#CC6600]read[/color]() == 7)
{
  [color=#CC6600]digitalWrite[/color](7, [color=#006699]HIGH[/color]);
}
}
}
[/quote]

Any idea what could be throwing it off?

Also to add none of the siwtches on WPMs are turned on, and none of the lights on the WPM themselves are flashing.
userHeadPic rahul
2013-01-19 10:32:23 Mabye it has something to do with my setup:
On one end I have a WPM connected to on a IO expansion board on an UNO.
On the other end I have a WPM on a xbee usb adapter connected to the UNO, with:
-DTR connected to 3.3v
-RX connected to pin 0
-TX connected to pin 1
-GND/5v to GND/5v

My configuration for both are exactly the same:
AirRate:250kbps
Frequency:125
Buad Rate: 115200
ID: 192.168.1.1.1

[b]My first arduino is programmed with:[/b]
[quote]
[color=#CC6600]void[/color] [color=#CC6600][b]setup[/b][/color]()
{
  [color=#CC6600][b]Serial[/b][/color].[color=#CC6600]begin[/color](115200);
}

[color=#CC6600]void[/color] [color=#CC6600][b]loop[/b][/color]()
{
[color=#CC6600][b]Serial[/b][/color].[color=#CC6600]write[/color](7);
}
[/quote]

[b]And my second is programmed with:[/b]
[quote]
[color=#CC6600]void[/color] [color=#CC6600][b]setup[/b][/color]()
{
  [color=#CC6600][b]Serial[/b][/color].[color=#CC6600]begin[/color](115200);
  [color=#CC6600]pinMode[/color](7, [color=#006699]OUTPUT[/color]);
}

[color=#CC6600]void[/color] [color=#CC6600][b]loop[/b][/color]()
{
[color=#CC6600]if[/color] ([color=#CC6600][b]Serial[/b][/color].[color=#CC6600]available[/color]())
{
[color=#CC6600]if[/color] ([color=#CC6600][b]Serial[/b][/color].[color=#CC6600]read[/color]() == 7)
{
  [color=#CC6600]digitalWrite[/color](7, [color=#006699]HIGH[/color]);
}
}
}
[/quote]

Any idea what could be throwing it off?

Also to add none of the siwtches on WPMs are turned on, and none of the lights on the WPM themselves are flashing.
userHeadPic rahul
2013-01-19 09:37:51 No specific nor additional configuration.
Once both WPM share the same ID, Freq, Baud rate. Air Rate, every single byte at the RX of one WPM is sent on the TX of the other one.
No specific code either on the arduino. Simply open the Serial port on which the WPM is connected (only 1 serial on UNO so problem), and check that you open the port at the baud rate configured on the WPM...
That's all...
And code uploading should not need any other setting ... isn't it DFrobot ????
userHeadPic ardillon
2013-01-19 09:37:51 No specific nor additional configuration.
Once both WPM share the same ID, Freq, Baud rate. Air Rate, every single byte at the RX of one WPM is sent on the TX of the other one.
No specific code either on the arduino. Simply open the Serial port on which the WPM is connected (only 1 serial on UNO so problem), and check that you open the port at the baud rate configured on the WPM...
That's all...
And code uploading should not need any other setting ... isn't it DFrobot ????
userHeadPic ardillon
2013-01-19 08:46:43 [quote="ardillon"]
@rahul : yes, bidirectional wireless coms should be working between UNOs equipped with WPM. At least in my case, it works (for coms, not for arduino code uploading).

But it serial communication over the air are also working with simple Xbee V1 ...
Those WPM are advertised as being able to upload code wirelessly (as this is not possible with a pair of Xbee V1)... Hoping to get some support from DfRobot guys ... ??
[/quote]

Did you have configure the wpms specially for it to communicate bidirectional?
Like did you configure it other than what is shown in the video?

Also can you give me an idea for your code?

Did you just do:
Serial.begin(115200)
And then
Serial write or serial read??
userHeadPic rahul
2013-01-19 08:46:43 [quote="ardillon"]
@rahul : yes, bidirectional wireless coms should be working between UNOs equipped with WPM. At least in my case, it works (for coms, not for arduino code uploading).

But it serial communication over the air are also working with simple Xbee V1 ...
Those WPM are advertised as being able to upload code wirelessly (as this is not possible with a pair of Xbee V1)... Hoping to get some support from DfRobot guys ... ??
[/quote]

Did you have configure the wpms specially for it to communicate bidirectional?
Like did you configure it other than what is shown in the video?

Also can you give me an idea for your code?

Did you just do:
Serial.begin(115200)
And then
Serial write or serial read??
userHeadPic rahul
2013-01-19 06:32:24 @rahul : yes, bidirectional wireless coms should be working between UNOs equipped with WPM. At least in my case, it works (for coms, not for arduino code uploading).

But it serial communication over the air are also working with simple Xbee V1 ...
Those WPM are advertised as being able to upload code wirelessly (as this is not possible with a pair of Xbee V1)... Hoping to get some support from DfRobot guys ... ??
userHeadPic ardillon
2013-01-19 06:32:24 @rahul : yes, bidirectional wireless coms should be working between UNOs equipped with WPM. At least in my case, it works (for coms, not for arduino code uploading).

But it serial communication over the air are also working with simple Xbee V1 ...
Those WPM are advertised as being able to upload code wirelessly (as this is not possible with a pair of Xbee V1)... Hoping to get some support from DfRobot guys ... ??
userHeadPic ardillon
2013-01-19 04:52:09 Using an arduino uno...

I used the 115200 buad rate 250k air rate. I also get a sync error when trying to upload.

If I use 2 wpm on 2 different unos,  is it possible for the arduino to communicate with each other wirelessly with Serial?
userHeadPic rahul
2013-01-19 04:52:09 Using an arduino uno...

I used the 115200 buad rate 250k air rate. I also get a sync error when trying to upload.

If I use 2 wpm on 2 different unos,  is it possible for the arduino to communicate with each other wirelessly with Serial?
userHeadPic rahul
2013-01-19 02:01:59 Hi,

Same issue here ... I can't get a successfull programming of a MEGA 1280 + Mega IO Expansion Shield  V2.2 with a pair of WPM. The WPM on the shield is installed on COM0.

Bidirectional wireless communication works between the WPMs when the code is already programmed on the MEGA, but when trying to use the WPM to download code I get a "avrdude: stk500_getsync(): not in sync: resp=0x00" error !

The WPM were configured on a Windows8 PC but the Arduino IDE is on a MAC OS 10.8 MacBookAir. The XBEE adapter on which the 2nd WPM is installed is a XBEE explorer from Sparkfun.
Any idea ??
userHeadPic ardillon
2013-01-19 02:01:59 Hi,

Same issue here ... I can't get a successfull programming of a MEGA 1280 + Mega IO Expansion Shield  V2.2 with a pair of WPM. The WPM on the shield is installed on COM0.

Bidirectional wireless communication works between the WPMs when the code is already programmed on the MEGA, but when trying to use the WPM to download code I get a "avrdude: stk500_getsync(): not in sync: resp=0x00" error !

The WPM were configured on a Windows8 PC but the Arduino IDE is on a MAC OS 10.8 MacBookAir. The XBEE adapter on which the 2nd WPM is installed is a XBEE explorer from Sparkfun.
Any idea ??
userHeadPic ardillon
2013-01-18 21:18:58 Hi,

1. Have you met with any problem when configuring the pair of your WPMs? Actually if you setting works fine, then you could directly connect one of WPM to the PC and upload the code to the Arduino processor wirelessly.
2. What about any the processor you using?
3. I heared from some news about using wireless communicator to program Arduino. It's possible but not reliable. And maybe try 10 times and do it successfully once. The reason is there's high requirement about sequence of time when programming and the common wireless module can't match it very well. This is just what I know.  :P
userHeadPic Lauren
2013-01-18 21:18:58 Hi,

1. Have you met with any problem when configuring the pair of your WPMs? Actually if you setting works fine, then you could directly connect one of WPM to the PC and upload the code to the Arduino processor wirelessly.
2. What about any the processor you using?
3. I heared from some news about using wireless communicator to program Arduino. It's possible but not reliable. And maybe try 10 times and do it successfully once. The reason is there's high requirement about sequence of time when programming and the common wireless module can't match it very well. This is just what I know.  :P
userHeadPic Lauren
2013-01-18 19:02:05 Looking for some help on how to get this working:

[url=https://www.dfrobot.com/wiki/index.php/Wireless_Programming_Module_For_Arduino_(SKU:TEL0037)]https://www.dfrobot.com/wiki/index.php/Wireless_Programming_Module_For_Arduino_(SKU:TEL0037)[/url]
[url=https://www.dfrobot.com/index.php?route=product/product&filter_name=TEL0037&product_id=398#.UPi6tR072Ag]https://www.dfrobot.com/index.php?route=product/product&filter_name=TEL0037&product_id=398#.UPi6tR072Ag[/url]

Is it possible to use this as just a wireless communicator, and not a programmer? If so how?

Also why I followed the steps in the wiki and in the video on how to upload a program wirelessly, I got a not in sync error, when trying to upload a program. Is there something missing in the steps that I need to do?
userHeadPic rahul