I can’t remember the name of these books, but they are old sci-fi children's books from the 80s about a professor who used his smoking pipe to teleport himself, a girl (I think his niece or grand daughter) and a boy through space to other worlds.
One story I remember was about them being teleported to a stadium in space that had three Suns.