The increased pressure caused by the stimulus opens pressure gated sodium ion channels allowing Na+ ions to diffuse (down a concentration gradient) into the axon. This sudden influx of Na+ ions causes a local depolarization causing the membrane potential to rise. If it is able to rise above its threshold potential, voltage-gated Na+ ions are able to open causing the membrane potential to rise and allowing for the generation of an action potential