
Sammy

Hello all,
I have an issue with a frequently intermittent disconnect of my EZ-B from EZ Builder. I am constantly forced to reset the EZ-B or my bluetooth connection or both. Sometime, I am able to operate for a good 20 minutes (+/-) before I am forced to reset, and other times I have to reset every minute or so (especially after issuing servo commands)
Some background:
This is a Wall-E project. I am inserting the EZ-B and the battery pack into Wall-e's "gut". However, they are not firmly attached and may move around slightly as Wall-E moves. Can this be a problem? Should the board be firmly attached? (I will eventually make sure everything is firmly attached and connected but I haven't finalized the Wall-e hardware configuration yet and wanted to do a few trial runs before)
I should also point out I am running Windows using Parallels on my Mac. I suspect this virtual os problem may be the main suspect. However, I am hopeful it is not the case, and someone else has experienced a similar problem and found an alternate solution for it.
Many Thanks for any feedback,
Sam
P.S. I am considering installing Windows directly using BootCamp (instead of virtual environments). This way I can start my mac using Windows as my operating system. It's just a pain doing so, as I would have to shutdown and restart every time I wish to alternate between OS'es
"especially after issuing servo commands".
Try temporarily disconnecting a few servos or other things from the EZ-B if you can and see if that helps or eliminates your disconnect problem. You may need to power some of the servos from a separate power regulator.
the thought occurred to me - but the disconnect was happening even without servos running - admittedly not as frequently though. So maybe there is more than one factor at play here.
Then again I also thought that the EZ-B should be capable of running Wall-e's servos ? they're the same servos as per the kit and the movement is as per online videos by DJ Sures.
hmmmmm ... is there a way to calculate how many servos the EZ-B is capable of handling ? right now I would rather not invest in a dedicated servo controller board.
One other question, how far away is the WallE from the PC ?
The BT module on the EZB is only a class 2 which is a very week signal and only reaches about 30 feet (line of sight, through walls or other stuff like plastic it's less). I'd suggest replacing the BT module with a stronger class 1 that will push 300 feet. I was going to do this to resolve my disconnect issue but I have 3 new V4 EZB boards coming that connect through Wi-Fi.
Robot-Doc has replaced this BT Module successfully and has given recommendations on what to use and how to do it. Hopefully he will chime in again with a link to that thread.
@dschulpius ... perhaps a weak signal is the culprit, and I may opt to purchase that class-1 bluetooth from Sparkfun. However, I was browsing the community forum and came across a discussion in which DJ Sures replied with the following:
" ... the ARC software runs in Windows only. You can install Windows as BootCamp, or use a virtual machine emulator, such as Paralellelelels or VMWare. We do not directly support virtual machine emulation because there are bluetooth issues with the emulators that we cannot control."
I am suspecting it's the fact I am using Parallel's virtual machine that may be the main cause of this issue. I plan on first installing Windows direct on my macbook using BootCamp and then monitoring whether the problem persists. If it does, then my next step is to update my bluetooth module.
I will post an update soon.
Many Thanks to all for your feedback !
At any rate if you continue to use the V3 EZB I think it would be a worthwhile upgrade to change to a Class 1 BT module.
Let us know how it turns out.
@DJ Sures
When I first start up everything. Connection is made. I ask Wall-E to wake up ... and back to sleep ... then wake up again ... (that makes him move his head up with arms when he wakes up and then head down with arms down when he sleeps)
However, when I ask him to "Wall-e Go" (which makes him move forward, while moving hands up and down and moving head sideways left and right - all simultaneously) he moves forward and then I get a comm fault. EZ-B disconnects.
I ran the debug window the entire time and made a copy. Here it is:
Attempting connection to COM3
EZ-B reports EZ-B Firmware V16
Connected
Comm Err: The operation has timed out.
BbytesToExpect: 1
Received:
Disconnected
Disconnected
Comm Err: Not Connected
BbytesToExpect: 0
Received:
Disconnected
Comm Err: Not Connected
BbytesToExpect: 1
Received:
Disconnected
Disconnected
Comm Err: Not Connected
BbytesToExpect: 1
Received:
Disconnected
Disconnected
Comm Err: Not Connected
BbytesToExpect: 0
Received:
Disconnected
Comm Err: Not Connected
BbytesToExpect: 1
Received:
Disconnected
Disconnected
Comm Err: Not Connected
BbytesToExpect: 0
Received:
Disconnected
Comm Err: Not Connected
BbytesToExpect: 1
Received:
Disconnected
Disconnected
Comm Err: Not Connected
BbytesToExpect: 0
Received:
Disconnected
Comm Err: Not Connected
BbytesToExpect: 1
Received:
Disconnected
Disconnected
Comm Err: Not Connected
BbytesToExpect: 1
Received:
Disconnected
Disconnected
Comm Err: Not Connected
BbytesToExpect: 1
Received:
Disconnected
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
AND THEN WHEN I ATTEMPT TO RECONNECT WITHOUT RESETING EZ-B, I GET THE FOLLOWING:
Attempting connection to COM3
Comm Err: The operation has timed out.
BbytesToExpect: 1
Received:
Disconnected
Connection Failed: System.Exception: Controller Not Responding
at EZ_B.EZB.Connect(String hostname, String tcpPassword)
Disconnected
__________________
At this stage all I could do is reset the EZ-B and start over. I am also sometimes forced to reconnect my bluetooth dongle by physically removing it and inserting again.
I have not yet installed Windows natively. Still running Parallels.
Will attempt to install Windows natively very soon and report back my results.
In the meantime, if that debug message tells you anything that may be of help, please let me know.
Thanks
Sam
That was it! Your suspicions proved correct. I replaced the batteries and problem resolved. I will monitor a bit longer and see if it comes back. I should've picked up on it as it was happening a little too much the last couple of days.
I am using 5 x 1.5 Duracell batteries. No rechargeables.
Do you have recommendations for a better source of power? lasts longer with enough amperage.
Thank you DJ Sures !
Sam