Using Arduino instead of a TL494

Depends on size of the magnet, weight of the object to be levitated. Magnetic force decrease at square of the distance.