The "brain-machine interface" developed by Hitachi Inc. analyzes slight changes in the brain's blood flow and translates brain motion into electric signals.
A cap connects by optical fibers to a mapping device, which links, in turn, to a toy train set via a control computer and motor during one recent demonstration at Hitachi's Advanced Research Laboratory in Hatoyama, just outside Tokyo.
"Take a deep breath and relax," said Kei Utsugi, a researcher, while demonstrating the device on Wednesday.
At his prompting, a reporter did simple calculations in her head, and the train sprang forward - apparently indicating activity in the brain's frontal cortex, which handles problem solving.
The technology could one day replace remote controls and keyboards and perhaps help disabled people operate electric wheelchairs, beds or artificial limbs.
"It's really fun to move a model train just by thinking," he said.