what's happening with my robot?

Hello all,after some weeks trying to develop some working code & hardware, I come here as I haven’t found a solution for my problem.

I’ve a robot which has a [mega 2560, but the radio is an [EFCom Pro V1.0.

I tried to solve this by very different ways, and when finally solved it, it comes again, without knowing why.

My problem is just that the two servos which are connected to the power supply I home made, are shaking when I power on the module and it registers to network.

Seems like is powering off the servos and they come on again and again… and I don’t know why nor how is doing this. (this is just a theory).

The thing is I have the code here, and the schematic of my power supply. My servos are both SG90 TowerPro 9g. And nothing else I think is relevant.

I say that coded a software in pure C for [Freaduino Pro Mini 5V, but when I solved the problem by making very fast PWM and implementing my own software serial, I got the problem again, so I disconnected the power supply and put wired it like when solved it, and my servos were still shaking… I went very depressed, I’ve coded a lot of code with this project, and I don’t mind because I love it, but really, I think I’ve made a lot of work on this. So, please, what can be making my servos to shake like being under electroshock, when I power on the module and Call Ready is received? I only issue checking commands as AT+CREG? and AT+CGATT, and when both ready or okay, then I enter into a loop of simple AT commands. And the servos stop shaking the whole time, then after some seconds of running, they start to shake a bit, like if the signal goes down and the TX power is higher…

really, I don’t know which problem is with my power supply, but I tried to power on the servo with an external battery and the same.

Both servos are new.](http://www.elecfreaks.com/store/freaduino-pro-328-5v16mhz-dep04-p-373.html)](http://www.elecfreaks.com/store/gprsgsm-moduleefcom-pro-efcompro-p-450.html)](http://www.elecfreaks.com/store/freaduino-mega2560-white-color-mbfrdn011-p-365.html)

Let me meditate on this.

Hummmmmmmmmmmmm,http://ricojansen.nl/image/magic_ball.jpeg

Magic ball says “No”

Please show code and a schematic. You give us nothing but things to guess on.

I say that coded a software in pure C for Freaduino Pro Mini 5V, but when I solved the problem by making very fast PWM and implementing my own software serial, I got the problem again

Huh ??

My guess is that some part of your code is blocking the 20 msec period pulses to the servos for some unknown but intermittent time.

Or trying to run the whole thing off a single 9v battery…