Aims. The aim of this work is to demonstrate that the probe-to-spacecraft potential measured by RPW on Solar Orbiter can be used to derive the plasma (electron) density measurement, which exhibits both a high temporal resolution and a high level of accuracy. To investigate the physical nature of the solar wind turbulence and waves, we analyze the density and magnetic field fluctuations around the proton cyclotron frequency observed by Solar Orbiter during the first perihelion encounter (∼0.5 AU away from the Sun). Methods. We used the plasma density based on measurements of the probe-to-spacecraft potential in combination with magnetic field measurements by MAG to study the fields and density fluctuations in the solar wind. In particular, w...