This work presents an experimental setup for acquiring synchronized wall and flow field measurements in a turbulent boundary layer (TBL). Instantaneous measurements of the convective heat transfer distribution at the wall and of the flow field are carried out simultaneously, using synchronized wall-parallel planar particle image velocimetry and infrared thermography. A low-thermal-inertia heated-thin-foil sensor is embedded in the wall beneath the TBL to measure the wall temperature maps with enough temporal resolution. The unsteady energy balance of the heated foil can be solved to restore the instantaneous value of the convective heat transfer coefficient on the wall. A detailed description of the sensor design is included. Furthermore, owing to the relatively low signal-to-noise ratio of instantaneous temperature fluctuation measurements, a recipe for data processing is proposed. A study to characterize the uncertainty of the experimental setup design is also performed. The overall agreement in the correlation between wall heat transfer and velocity fields with the literature supports the validity of the proposed approach. This solution is potentially interesting for flow control purposes, where sensing is performed at the wall.