I want to build a simple controller that will control three outputs (AC) from three inputs. I could probably do this without using a Micro controller, but I thought it would be a good learning experience. I was originally going to build something more complex that could be expanded, but when I saw the AVR IO I thought it was the perfect fit. Although I would have preferred to keep the relays isolated from the control board with the AC sockets?
I have programmed in Basic, C (not lately), C++ (not much), some Assembler in a previous life and numerous 4GL languages. I've also done some electronics in the past, but I'm no engineer.
The basic logic for the app is as follows:
SW1 ON -> Run Pump 2 until SW2 On, Close Solenoid 1, Start failsafe timer (in case SW2 never goes ON) SW1 OFF -> Open Solenoid 1 SW2 ON ->Stop Pump 2 SW3 ON -> We've lost containment, so shut everything down and leave it off. Sound alarm.
If failsafe timer reaches 0 before SW2 come on, shut everything down, possible switch failure.
That's the VERY basics, I just wanted to know if the board will do what I want?
I'd also appreciate the basic programming steps, Create hex with Bascom, load it with JTAG? Any other bumps in the road?
Any better ideas for a simple development board. Any caveats?