Direct control of high magnetic fields for cold atom experiments based on NV centers