Step 1: Observe someone’s brainwaves to see what lights up when they, say, extend their index finger.
Step 2: Program the bionic index finger so it moves when that same activity in the brain is detected.
Basically, your brain controls the prosthetic exactly the same way it controls your flesh-and-blood body, except instead of your nervous system detecting signals from the brain, the prosthetic detects those exact same signals.
Latest Answers