Asked — Edited
Resolved Resolved by Rich!

Need Help On Using Two Ezbs On Same Project.

I am having a devil of a time getting TWO ezbs to work together.

I can start my netbook, load up EZB0 OR EZB1, but not both. I can connect one and then open up the other EZB on my desktop and run them individually, but not together. It is confusing to me. It has nothing to do with EZ-Robot. I am just dense.

so, I can connect com10 on the netbook with is EZB0,sunshine and then I can connect com6 on the desktop that is EZB1,sunshine2

But, it has to be in two different ARCs. and two separate computers. Weird. I did not have ANY trouble with a single EZB.

I took a working robot(Marti) apart. She was running great, except she would slow down sometimes. But, I thought I would use two eZBs and I wound up with nothing working as I expected. she would have times where she would freeze up with the speech rec going. I figured that she would run better if I added another ezb to help with the bandwidth.

Now, the new robot, Basically marti with different arms, is not working well at all.

Help, please.


ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

United Kingdom
#1  

You should be able to connect them both in one ARC, choosing EZB0 as Com 10 and EZB1 as Com 6 in the connection dialogue, then clicking on connect on both of them. What happens if you try that? What errors are shown in debug?

#2  

it certainly won't let me connect more than one connection at a time on one computer. I have tried to do them both on the robot--no soap. I have tried to do them both on the desktop-no soap. I cannot get more than one connected at once on the robot OR the desktop. confused:(:(

#3  

EZB 0: EZB 1: EZB 2: EZB 3: EZB 4: TCP Server stopped TCP Server stopped TCP Server stopped TCP Server stopped TCP Server stopped TCP Server started on 6666, HandleCustomEvent: True TCP Server started on 6667, HandleCustomEvent: True Comm Err: Not Connected BbytesToExpect: 0

Received: Disconnected Comm Err: Not Connected BbytesToExpect: 0

Received: Disconnected Comm Err: Not Connected BbytesToExpect: 0

Received: Disconnected Comm Err: Not Connected BbytesToExpect: 0

Received: Disconnected Comm Err: Not Connected BbytesToExpect: 0

Received: Disconnected Comm Err: Not Connected BbytesToExpect: 0

Received: Disconnected Comm Err: Not Connected BbytesToExpect: 0

Received: Disconnected Comm Err: Not Connected BbytesToExpect: 0

Received: Disconnected Attempting connection on COM10 Connected to COM10 at 9600 EZ-B reports EZ-Robot OS v16 Connected Attempting connection on COM6 Connection Failed: System.IO.IOException: The port 'COM6' does not exist. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM6 Connection Failed: System.IO.IOException: The port 'COM6' does not exist. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM6 Connection Failed: System.IO.IOException: The port 'COM6' does not exist. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM6 Connection Failed: System.IO.IOException: The port 'COM6' does not exist. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected Attempting connection on COM10 Connection Failed: System.UnauthorizedAccessException: Access to the port 'COM10' is denied. at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) at System.IO.Ports.SerialPort.Open() at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate) Disconnected

#4  

NEWSFLASH I was trying to connect to the same port when I got this message. The biggest problem I have is that I can connect ONLY to the certain port on each machine. The ports don't show up on the place where I am supposed to connect. Example on machine one, It only shows port#10 on machine2 , it only shows port#6. I can't get it to show the port up.

United Kingdom
#5  

What do you mean by each machine? Are you using more than one PC? If so, the COM ports will be different between PCs.

Looking at the debug, COM6 doesn't exist. Confirm it actually does exist by right clicking on the EZ-B in the Devices and Printers and looking at it's properties.

If it isn't showing the port then it doesn't exist in Windows and that is why you are unable to connect. Double check the COM ports on each machine for the EZ-Bs in the Devices and Printers.

#6  

I have a desktop and I have a netbook. I run ARC from the netbook. It only connects to one of the boards. The ONLY way to connect to the other board is to connect it to the desktop. The ports don't show up. I am confused. Why don't they show up and how can I make them show up. I should be able to run both sets on the netbook on the robot,right?

How?

#7  

I forgot I had to "add a bluetooth device for the new board".

I did this with paring of 1234 and it assigned new port numbers. But, I still can connect to only one of them.

I am leaving and won't be back until later.

thanks for your help.

United Kingdom
#8  

Confirm they are paired and you are using the correct com ports.

Start Devices and Printers Are the EZ-Bs shown?

If so, right click on the first one and check it's properties. In there will be the COM port it has been assigned. Check the second one in the same way. Confirm both com ports are correct in your ARC connection dialogue.

If they aren't shown under Devices and Printers you need to pair them again.

#10  

I got rid of all the bluetooth devices. I reinstalled the EZBs and paired both of them with 1234 paring code. They still don't work.

?

#11  

Am I supposed to enter a different paring code? When I try to display the port, the box is empty.

?

United Kingdom
#12  

No, 1234 is the correct pairing code. Once paired they should be added to Devices and Printers, are they in there?

If installed correctly in the Devices and Printers they should be assigned COM ports by Windows, you can check this by right clicking on them and choosing properties, it should list the com port and it's number.

If it's not showing the COM ports in ARC it sounds like they aren't installed correctly. ARC will show every COM port windows has set up in device manager, including non EZ-B com ports. If you are sure Windows has installed the COM ports correctly try reinstalling ARC.

#13  

I just got BOTH ports to be seen on my desktop. (a real first after hours of work.)

But, installing and uninstalling on the netbook , when I check the ports One ezb has a port, the other has an empty box. I cannot connect the either. Of course it is on the netbook that I need them. So, I keep trying . . .

#14  

OK, I have them seen on the netbook. But, the desktop doesn't see them. But, I don't care anymore. The netbook sees them. It is just strange that the Desktop doesn't.

United Kingdom
#15  

It sounds like you haven't paired them to the PC correctly, if paired correctly they will show up in ARC (along with any other COM ports that are already installed on the PC).

Remove the EZ-Bs from the PC (if applicable) Follow the pairing tutorial again Open ARC and check the COM ports are in the list.

If it's still not working, post a screenshot of your Devices and Printers screen and of the Services tab of the Properties of the EZ-Bs.

User-inserted image

#16  

This makes perfect sense. These are not multi-pair devices. If you pair to your netbook, your desktop will no longer be paired and won't see them until you pair again, at which point they will no longer be paired to the netbook.

Alan

United Kingdom
#17  

I'm sure one of my EZ-B's is paired with my laptop and my HTPC while the other is paired to my HTPC and my Desktop without any issues of unpairing... I'll check that later.