Trumpet-shaped nanowires with a length of about 10 micrometers are coupled to quantum dots located at their bases. The movement of the nanowire can be detected with a sensitivity of 100 femtometers by changing the wavelength of the light emitted by the quantum dots. The arrows are important for fabrication and help to locate the nanowires.