Forum >WPM Wireless Programming Module and Romeo v2 settings?
ArduinoGeneral

WPM Wireless Programming Module and Romeo v2 settings?

userHead Account cancelled 2014-03-07 18:50:49 2875 Views1 Replies
How do I get the WPM and Romeo v2 to play nice? In the WirelessProgrammer.exe I see no option for Leonardo. According to boards.txt Leonardo Upload Baud Rate is 57600 so I tried setting both WPMs to the "Nano w/Atmega 328" settting, which is Baud Rate = 57600, Timeout = 20, Frequency = 125.

Then I went to Arduino, selected "COM3" as before for the WPM connected to my computer, and selected "Leonardo" as the board. However, I could not get the program to upload. What settings should I use to wirelessly program (or at least talk to) Romeo v2?

Also,
[url=http://www.dfrobot.com/index.php?route=product/product&filter_name=romeo&product_id=844#.Uxkzx_ldVBE]http://www.dfrobot.com/index.php?route=product/product&filter_name=romeo&product_id=844#.Uxkzx_ldVBE[/url]
Says that " The best advantage is that ATmega32u4 has two serial ports which allows you uploading sketches without removing wireless modules. Debuging is no longer a pain work. "
Can anyone elaborate more on what this means and how to use this feature?

Thanks!

[img]https://lh5.googleusercontent.com/-SXb_fPZU5rw/Uxk1aG1v8SI/AAAAAAABAys/G6dUT8NsKBM/w1218-h685-no/wpm-romeo2.png[/img]

[img]https://lh5.googleusercontent.com/-S1lMhJWw-Uo/Uxk2ZGNScOI/AAAAAAABAy8/d-PzS2r0vYk/w830-h685-no/WPMsettings.jpg[/img]


p.s. The full steps I take:
Switch mode to on, connect wpm to computer via USB breakout, open wirelessprogrammer.exe, connect at "57600", program as "Nano w/ 328". Do this for both of them. Set mode to off for both of them.
Connect one wpm to romeo. Disconnect usb cable from romeo, turn on battery power. open arduino. select "leonardo" and "com3". hit upload.

does not work
2014-03-07 19:56:32 Hello nouyang,
Sorry, WPM is not compatible with Leonard.
You know Leonardo has two serial port. D0&D1 are no longer be RX0 and TX0, it is dfrobot and TX1.
And xbee socket is connect to [color=red]Serial1[/color]. It can't upload with [color=red]Serial1[/color].

For UNO, when you upload the sketch, it can't plug anything on [color=green]Serial[/color] port(D0&D1).
It use [color=green]Serial [/color]port to upload the sketch.

And Leonardo has two serial port.
You computer is using [color=green]Serial[/color] port to communicate with arduino, and wireless module will using [color=red]Serial1[/color] port to communicate with arduino. They won't interfere with each other.
The sentence "allows you uploading sketches without removing wireless modules" means you don't need to unplug any thing away from the Serial1 port. It is more convenient.
userHeadPic Grey.CC