ABB + atom pro via wireless

Hi,
I have an atom pro with his ABB and I would like to use it via a wireless card.

In my lab I already have a sena LS100W wireless card so I could not buy other wireless thing (even if I really would like to have a smaller and a less energy-expensive one…)

I set the mode ad-hoc, set corrects ips and sub mask and everything.
I set the serial interface of the card with
9600 8 n 1 n h n 10 (baud rate, data_bits parity, stop_bits flow_control, dtr_option, dsr_option, interchar_timeout(ms))

I tested the comunication with 2 computers and it works but if I connect the card to the DB9 connector of the ABB something doesn’t work and the IDE could not find the atom

connection of the serial cable:
Sena wireless side ABB side
1------------------->
2-------------------> 2
3-------------------> 3
4-------------------> 4
5-------------------> 5
6-------------------> 6
7-------------------> 7
8-------------------> 8
9------------------->

Thanks very much!
Janine

My first thought is the Atom is programmed at 115.2kb, so connecting to it at 9600 is not going to work. However if you are trying to use this serial port for communication within the Atoms program it should work. Please define what the goal is.

there is probably significant latency over a WLAN connection, much worse than with a USB-to-serial dongle and folks have problems with those. :frowning:

I tried also 115.2 but it doesn’t work either…

my goal is to control the robot via a wireless signal
the programming fase would be nice but it’s not my goal

So I programm the robot via cable and tried to send command via wireless (ex. 8 mean walk, 9 mean turn, etc), I see the lights on the wireless module flashing but the robot don’t do nothing.

If I try the command thru a normal serial cable it works, if I try the wireless module with 2 pc it works… only wireless with my robot doesn’t work.

thanks very much
Janine

Thinking about it the difference between straight cable and using the wireless connection is, aside from latency which should not matter outside of programming, a layer of buffering and maybe some handshake requirements. have you verified that the wireless modules are configured for no flow control? You should make absolutely certain that even if the modules are configured for no flow control that the receiver is NOT asserting DTR because this is used as a reset to the BAP module. Possibly the easiest way to test the latter is to make only a 3-wire conntection from the wireless module to the ABB, i.e. TXD, RXD, and GND.

Also simply turning on a LED when running would let you know if the modules reset pin has been tripped. The LED will go out(probably fade out) if the reset is tripped.

yes. in the serial parameter of the wireless module the flow control is off…

I tried disconnecting the DTR wire but it wasn’t work eithe.
Ok, I’ll try with only 3 wire.

I also tried the serin command with i9600 (as with the cable) and with (n9600)

thanks very much!!

bye
Janine

I tried with only 3 wire but the ABB keep resetting it self…

I tried with 4 wire, 5 wire etc, but still resetting…

:frowning: :frowning: :frowning: :frowning: :frowning:

thanks
janine

also tried to use the hardware serial input port with 2 wire connections with wireless module but the abb receive random data…

enablehserial 'enable hardware serial sethserial H9600,h8databits,hnoparity,h1stopbits

thanks
bye
Janine

Up

thanks!

Janine

Problem solved!

I changed one of the db9 connector and used only 3 wires and now it works!
I also tested the old one but it seems to work… mistery!

thanks

bye
Janine