ArduinoGeneral

Hardware diagnositc for RoMeo BLE (SKU:DFR0305)?

userHead junkinp 2016-01-29 15:07:32 3458 Views3 Replies
I have been incrementally building a robot using the RoMeo BLE and the DFRobot 4 WD Arduino-Compatible Platform. The features of both are great but I have been experiencing crash/resets routinely. The program restarts in the midst of processing. The location in the code where the processing stops and restarts changes whenever a change is made to the code and has no relationship to the change itself. I therefore suspect that there is some corrupted memory on my board. (I was VERY careful not to get the +/- mixed up when I powered up my board - your instructions were very clear on that point.)

Question: Is there any diagnostic software available to check the hardware/memory of the RoMeo BLE? Other suggestions?
2016-02-03 22:54:38 no problem! glad you've solved the issue.
If your project is finished and working well, feel free to post it on our awesome projects showroom board. all projects are welcome!
userHeadPic Maht
2016-02-03 06:39:52 Problem solved. Your comment that low power can cause a board reboot led me down the right path. I don't have much going on yet in the way of I/O - just a compass and a voice synthesizer with an independently powered speaker. So after making sure that the batteries had full charge, I started looking for any exposed wiring connections that might be draining off power through a short. I noticed that the battery holder that comes with the RB-DFR-67 mobile platform fits pretty snuggley between the four motors, and has exposed metal on the outside that can touch the soldered motor leads if you are not careful. I put electrical tape on the outside edges of the battery holder and around the soldered motor leads, and the problem was solved.

Thanks for pointing me in the right direction.
userHeadPic junkinp
2016-01-30 00:31:14 Hello and welcome. Sorry to hear you are having issues.

How many I/Os are you using and how are you powering it?
If you have many I/Os without an external power source they might be drawing too much current causing the board to reset

If you want you can burn a fresh bootloader to the board using an AVR programmer
we sell them here https://www.dfrobot.com/index.php?route= ... qsh4FJHYa0
It is then a case of connecting to the ICSP pins on the board and burning the bootloader in arduino IDE
more info can be found here https://www.arduino.cc/en/Hacking/Bootl ... Bootloader

feel free to post a sample code in your reply if you think it might help
userHeadPic Maht