The nanoyarn machine can combine materials of different components into yarn forms through a collection and winding device, and collect them to form nanoyarn spools. A dual component structure can be formed through auxiliary devices, or yarn strength can be improved through auxiliary materials. So as to apply more fields.