Described are an electrode and electrode catheter using thin metallic threads or wires, for example, microwires having diameters as low as 10−6 to 10−4 meters or less. The embodiments allow for the efficient mounting of at least one electrode on a catheter, resulting in the creation of a flexible ring-microelectrode that is suitable for, amongst other things, the detection of myoelectrical activity in a patients muscle, such as the diaphragm or other inspiratory-related muscle.