Discloses are an electronic control circuit for alleviating altitude sickness and an oxygen supply device. The electronic control circuit includes an oxygen sensor installed in an oxygen supply channel, a breathing frequency sensor installed to the front of a head of a human body, and a microcontroller coupled to a control button, a flow proportion electromagnet, a bypass electromagnet and an air pump motor. The oxygen sensor and breathing frequency sensor detect analog signal and transmit the signal to the microcontroller after an analog-to-digital conversion, and an ON/OFF signal of the control button is transmitted to the microcontroller. The microcontroller has a flow control end coupled to a flow proportion electromagnet, a bypass control end coupled to a bypass electromagnet, and a pneumatic control end coupled to an air pump motor, and further includes a vibrating element electrically coupled to the microcontroller.