This report proposes a straightforward extension of the predictive coding model to handle dynamic (time-varying) stimuli, using a neural network architecture that remains biologically plausible and simple. The model can infer hidden variables and learn their dynamics from sensory input, as demonstrated on a toy example, and suggests directions for further development and application.