How a nerve carries a signal: Hodgkin-Huxley cable, conduction velocity and the spike-rate limit.
The science
The axon is modelled as a 1-D cable of N=160 compartments (dx = 0.25 mm, 4 cm total) with Hodgkin-Huxley (1952) squid-axon channels:
C dV/dt = (a / 2R) d2V/dx2 - gNa m3 h (V-ENa) - gK n4 (V-EK) - gL (V-EL) + Istim
Gating variables obey dx/dt = phi (alpha(V)(1-x) - beta(V) x) for x = m, h, n. Constants (modern sign convention, rest = -65 mV): C = 1 uF/cm2, gNa = 120, gK = 36, gL = 0.3 mS/cm2, ENa = +50, EK = -77, EL = -54.4 mV, axon radius a = 238 um x the diameter slider, axoplasm resistivity R = 35.4 ohm cm. Temperature enters as phi = 3^((T-6.3)/10) (Q10 = 3).
Cable theory predicts that the conduction velocity of an unmyelinated axon grows as the square root of the radius, v ~ sqrt(a), and as sqrt(phi) with temperature. The experiment button measures v at three diameters and compares the ratio with that prediction (the prediction is independent of the HH code).
Spike "bits": a 1 is an action potential, a 0 is silence. After each spike the sodium channels inactivate (h falls) and potassium stays open, so the cell is refractory for a few ms; two stimuli closer than that cannot both make spikes. That sets a maximum bit rate of a single axon.
Simplifications: explicit Euler time stepping (dt shrinks automatically for stability), no myelin or nodes of Ranvier, sealed ends, a single squid-giant-axon parameter set (typical textbook values, not a human neuron). The Warm axon preset (18.5 C) gives about 18.8 m/s, the value Hodgkin and Huxley themselves computed in 1952 (quoted from memory; measured squid value about 21 m/s). Real brains do not transmit thoughts between people: this model only shows how a signal is carried along one nerve fibre.
Educational model. English UI. Not a medical, security or engineering tool.