The levitation of the permanent magnet by repulsion would be achieved by using a microcontroller that would feed current to each of the four electromagnets (EM) dependent of where the permanent magnet would be at a given time. The position would be determined by multiple Hall-Effect sensors (HES) and the permanent magnet would be kept from flying out to sides by a large outer ferromagnetic magnet enclosing the four EMs. The outer ring magnet would create a magnetic force field that resembles a “bowl” leaving the center almost free of a magnetic force that would be too weak to attract the permanent levitated magnet, but strong enough to keep the PM from flipping. The role of the four Ems would be to counter the attraction force of the outer ring magnet and that of gravity. Whenever the permanent magnet would go too far to the right, for example, the nearest EM will activate and repulse the permanent magnet back to the center. In the center of the device is where the permanent magnet would be the most stable since its out of reach from the attractive forces of the outer ring magnet and stabilized by the four EMs, again, which counters gravity and the outer attraction the permanent magnet feels.