wannaBinventor
Member
I've got some EFLRDS75H digital servos that I picked up from a local hobby shop to play with. I'm using a PIC16F1934 and an MMA7731 accelero to measure g force. Long story made short, I'm deriving the angle of inclination of the X and Y axis in respect to the direction of acceleration (gravity) and then feeding that into some other calculations to create appropriate pulses on the servos so that they match the angle at which I'm inclining my accelerometer board. The servos are connected via some improvised mount I made where a little platform stays on roughly the same plane as my accelero board.
I've been playing with it for the last little while and I had it running fine. I could pick it up and move it around with NO VIBRATION.
In the last 10 minutes, it started shaking randomly, as if it was jumping between two angles at, well, 25hz I guess. When I move it around, I think the one on the Y axis is the one that is shaking. I've also got an LCD set up to display G force and angle and it also shows 0.1g variation (which is the max resolution in my program's calculations) on all axis, but I think this is just picking up vibrations from the table which in turns puts it into an endless feedback loop until I pick it up or put my finger on the servo.
Does anyone have an idea why, all of the sudden, without any changes to anything, it would go from moving linearly through the (coarse) angle steps, to suddenly shaking through the steps and also occasionally beginning to shake while just sitting on the table?
For what it's worth, I don't see any variation in the power supply. It's running through a decoupled LM317. I've also reset the program, and reflashed it for giggles.
I've been playing with it for the last little while and I had it running fine. I could pick it up and move it around with NO VIBRATION.
In the last 10 minutes, it started shaking randomly, as if it was jumping between two angles at, well, 25hz I guess. When I move it around, I think the one on the Y axis is the one that is shaking. I've also got an LCD set up to display G force and angle and it also shows 0.1g variation (which is the max resolution in my program's calculations) on all axis, but I think this is just picking up vibrations from the table which in turns puts it into an endless feedback loop until I pick it up or put my finger on the servo.
Does anyone have an idea why, all of the sudden, without any changes to anything, it would go from moving linearly through the (coarse) angle steps, to suddenly shaking through the steps and also occasionally beginning to shake while just sitting on the table?
For what it's worth, I don't see any variation in the power supply. It's running through a decoupled LM317. I've also reset the program, and reflashed it for giggles.
Last edited: