Well, that's a worthy goal, indeed.
How cleverly you make this sound like a homework problem.
Why? That sounds like a dumb feature, but a good one to add complexity to a homework problem. I'd want the underwater lights to be completely independent of the heat/circulation control, and possibly even the main power.
Once again a dumb-sounding feature. Wouldn't it be nicer to have the jet pump be on user demand, and the circulator only go on if the heater's running but not the jet pump?
- You don't need to use a Karnaugh map to do this unless you want to -- unless it's a homework problem. Simply reverse engineering the relay logic, or using solid-state relays may be better.
- What's the make and model of your hot-tub controller?
- Here's what you do:
- Figure out how many internal states you have. * List all your inputs and "starting" internal states in columns on the left of your page * List all your outputs and "ending" internal states in columns on the right of your page * Since you're dealing with an asynchronous system, append two columns for each state with the necessary 'S' and 'R' signals for your favorite S-R flip-flops. * Enumerate all possible inputs and internal states. Use gray code, it'll make generating the maps easier. * For each output, 'S' and 'R' signal make a Karnaugh map. If you don't know how just refer to your textbook or do a web search.