Not necessarily. The officer is only required to provide you with Miranda warnings when and if the following occurs:
- You are in custody (the roadside investigation is rarely deemed to be custodial), and
- You are being interrogated (ie. asked questions which are designed to illicit incriminating responses).
The remedy for Miranda violations is that the State is not allowed to introduce your answers/statements that were obtained by that violation in its case-in-chief. There is no automatic dismissal of the charges.