A discrete impulsive model for random heating and Brownian motion