An electrode is positioned on the patient to be stimulated to stimulate the desired upper airway muscles, a pulse generator suitable for neurostimulation is connected to the electrode and a pressure transducer connected to a balloon or other device is used to identify an increase in volume of the patient's oropharynx in response to current supplied to the electrode.