An electronic system (1) for controlling the acquisition of an electrocardiogram is disclosed. Such a system includes a portable electronic device 2 and a mobile electronic device 3. The mobile electronic device includes an optical device 3-1 for obtaining real-time images of a portion of the human body, and includes a screen 3-2 and is connected to the optical device, And a processing unit 3-3 connected thereto. The portable electronic device 2 includes a first electrode 2-1 configured to generate a first electrical detection signal S1_r, a second electrical detection signal S2_r, and a third electrical detection signal S3_r, A second electrode 2-2 and a third electrode 2-3, wherein the first electrical detection signal, the second electrical detection signal, and the third electrical detection signal are generated on the portion of the human body And current generated on the skin by the action of the human heart existing at each of the points where the first electrode, the second electrode, and the third electrode are located. The processing unit of the mobile electronic device includes electrodes placement instruction module (3-3.1) for the first electrode, the second electrode, and the third electrode. The electrodes placement arrangement module is configured to receive a plurality of real-time images (I 1 , I 2 , ..., I n ) representative of a portion of a human body, and wherein at least some of the plurality of images And to calculate positions for applying the first electrode, the second electrode, and the third electrode on a portion of the human body, in accordance with the identified features, , And a drive signal (S_pl) carrying information indicative of calculated positions for applying the first electrode, the second electrode, and the third electrode. The screen is configured to receive the drive signal and to display a real-time image (I_ps_el) representing the portion of the human body, wherein the real-time image (I_ps_el) A first positioning mark