Must an officer always read the Miranda rights to me when I am stopped?

No. An officer should read the Miranda rights to you if you are in custody and the officer interrogates you. Custody is defined as a situation where the officer places you under arrest or otherwise prevents you from leaving the scene.