This was solved by placing a pendulum at the very lowest and ataching it to the arm of the lamp. This way the pendulum acts as a mass regulator that works by lengthening and shortening the distance between each side.
*This project is on prototyping stage