This is the Hodgkin-Huxley model of neural firing. The details are taken from Keener and Sneyd. 

The main parameter of interest to vary is Iapp, the input current. For input currents greater than about 6 uA the neuron fires periodically.

Note that time is in units of milliseconds