Phitsanulok is a good stop-over from Bangkok to Chiang Mai or vice versa.
Bangkok - take the railroad south.
Chiang Mai - take the railroads north.
Sukhothai - a good option for a day-trip.