The connection of cardio-electrodes to the body can lead to electric shock. Be careful! I used a laptop that was not connected to the network.
I ordered from China a copy of the original heart rate monitor from the company sparkfun on the diagram AD8232. Link to the original module, description, code samples and other company products here https://www.sparkfun.com/products/12650.
At my first attempt, nothing happened. On the electrodes with which the module came, the conductive gel was spoiled, and also, they were poorly fastened to the body. As a result, there is nothing like an electrocardiogram. It was possible to solve the problem by purchasing new cardio-electrodes in the pharmacy.
AD8232 Heart Rate Monitor from sparkfun