
luismo70

Hello,
I'm building my Ez-Robot from the dev kit EZB4 from one year (yeah I only have a few hours during week-ends). I followed tutorials and all were well, all right with servo motors, camera (It's difficult for me using tracker of objects and colors... so for the next time).
I printed some 3D pieces and I build that.... picture:
BUT suddenly, for a few days now, maybe a week, nothing works, the ARC software freezes (I did all updates), my robot disconnects and servo motors turn crazy. I need to kill the software from Task Manager in Windows (Windows 10), turn off my Robot, and when I connect it again, the same tragedy comes...
Please I don't know what do do now, I checked my wifi network, changed channel, disconnected a few devices, but always the same scenario.
Maybe you know what occurs.
Thank you.
Luis
Use a more capable battery, such as a LiPo Robot Battery 7.4v 1300mAh combined with LiPo Battery Harness
Pretty cool little robot! He'll be happy with adequate power supply
Look more closely, pretty sure that is a LiPo pack.
Do you have any I2C devices on the robot, or defined in your project? If in the project, but not on the robot, delete the controller. If on the robot, check the cabling. ARC will lock up if it tries to communicate to a non-existent I2C device.
Alan
Otherwise, are you using any I2C controls or polling any analog sensors extremely quick?
*Edit @thetechguru beat me to the I2C question but the battery pack is definitely not LiPo, it's NiMH or NiCd.
@Jerimie... yes it looks like one or more 6V micro servos there as well.... And you're right they don't like higher voltages than 6V
Alan
There's a slight chance it's a programming infinite loop or something.
@luismo70 would you mind posting your myrobot.EZB project here for us to look at?
battery pack is new, I buyed it on march 2016 here: http://www.conrad.ch/ce/fr/product/206028/Batterie-daccumulateurs-NiMh-Conrad-energy-72-V-3000-mAh-fiche-Tamiya-male/SHOP_AREA_20058
I does not use I2C, just the camera, some servos (4-6V but max range 9V), and 2 leds with pwm, and 2 digital inputs with pull-ups to detect collisions.
I uploaded my robot project to the community, so if you want to see if there is something wrong I will thank you, but it is the first time in one year I have this problem. Sometimes when I use keyboard arrows, it turns just left even if I push forward, right or reverse.
Thank you
Luis
Can u test it in another computer?
You have:
Code:
It should be...
Code:
Or more effeciently it should be...
Code:
The EZ-Script manual also states that a servo position must be set before initializing the speed. In your Script Init Servos, you have...
Code:
It should be
Code:
Those two should not cause the lockup of ARC. However, there are quite a few reads in PareChocs. I believe it would be incredibly beneficial for you to upgrade to a EZ-B v4/2 Comm Upgrade. It's much faster with reads and will benefit your custom robot. I see you wish to explore navigation and high speed PING reads, the EZ-B v4/2 Comm Upgrade will perfect for that scenario.
I was sure that the glitch were in my brain , so when I go home, I will try it and for sure I will buy EZ-B v4/2 Comm Upgrade and may be someother parts, if all goes well.
it's a great idea the possibility to change port server so I will control it through internet without open port less than 1023.
my servos are now working well, and when I wrote code for lights it was incorrect, I was coding in C *confused* and the <servo(dx, 90)> solved that in servos init for the movements.
Now, I just have connections problems, when the wifi connection is lost, the software hangs, but I can unlock it by forcing Windows to kill the task, and then I cancel, then the software is responding again.
I will buy a new wifi router connected to my internet modem, a wifi just for my internet things connected (Karotz, Mother, Ez-robot, and soon Mebo and Chip the dog)
When all will work with my ez-robot, I will put it into that toy (if I can):
I will tell you if my new wifi router will solve my ez-robot disconections
Thank you to all
Luis
If you haven't already read the WiFi connection trouble shooter tutorial. There are a lot of things you should check first before buying a new router.
Second and third biggest issue is a weak WIFI signal or a crowded channel. However when I first got my first V4 I ended up having to get a new router along with a remote access point (Engenius eap600 access point) to solve my problems. I had a very old and outdated router and my robot is in the basement with the router on the 1st floor. Doing this actually not only solved my EZB connection problems but also enhanced my entire home network.
Also, as Dave mentioned disable anti virus because it has trouble understanding the complex byte level protocol for ezrobot - also the ports.
Thank you DS Sures, the problem was in my code, I rewrote it with your examples, then I deleted the U.S. radar (waiting for EZB v4/2) and all movement are working well.
I had some wifi disconnections but I have now a different wifi network with a router different that my family uses (we have a lot of internet consumers like tablets, phones...).
I was reading a topic that says if the wifi network channel is too populate it can cause wifi issues.
I can not wait for my EZB v4/2 I orderded with some other parts. Winter is comming and it's time to make robots !
Thank you to all answered me
Luis