I bought one several years ago called, "Get Wired". It was a simple program that did everything you are talking about. It showed how to connect devices into circuits too. But I don't remember the maker of it. Try searching old archives of free software.