Discloses are an electronic control circuit for alleviating altitude sickness and an oxygen supply device. The electronic control circuit includes an oxygen sensor (21) installed in an oxygen supply channel, a breathing frequency sensor (22) installed to the front of a head of a human body, and a microcontroller (23) coupled to a control button (24), a flow proportion electromagnet (25), a bypass electromagnet (26) and an air pump motor (27). 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 (239) electrically coupled to the microcontroller. When the present invention detects a users shortness of breathing or rapid breathing, the flow control valve, air pump and bypass circuit valve are turned on to supply oxygen with an appropriate oxygen concentration to users to alleviate altitude sickness.