Here is a bionic fingertip that connects to nerves in the arm and allows an amputee to feel rough or smooth textures in real-time. As the below video shows, this fingertip has a miniaturized sensor with electrical signals to stimulate the nerves of the subject.
This bionic fingertip brings the sense of touch to amputees. More info is available here.