Timed run or continuous run now possible.Posted: October 24, 2013 Filed under: Uncategorized Leave a comment
Last post discussed my software changes to shutdown the boiler in a controlled fashion, these changes included adding a button to choose the shutdown option. I now have added two more buttons. This allowed me to have more choice in the form of a menu system. As I am sure you all know an Arduino program, called a sketch consists of two main portions a start section and a loop section. The start section is only done once and the loop section as the name implies runs over and over again. In the start section I added a menu section that forces the user to choose first, continuous or timed.
If you choose the continuous option you’re done choosing anything, except the ability to shutdown the program and the program resumes it’s normal function of running the pellet boiler. If you choose the timed option the software takes you to a second menu screen showing the current time, a choice to choose a proposed shutoff time 3 hours later and a choice to increase the proposed shut off time by an hour. Again if you choose the proposed shutoff time the program asks for a confirmation time and if you choose another hour that choice is now shown.
The system is simple to use at this point but needs error messages and further programming to make the software more robust. Tor example if you choose past 24 hours you either need to add a date component so that the program doesn’t just choose to shut off in an hour later or as I think if you are going to run it for more than 24 hours you should just choose continuous. I may change my mind on that but that’s my thinking at this point. Time, it’s all time.
On a side note in another iteration I will probably get smaller buttons and place them closer to the LCD, but for now this is the configuration. The buttons are pretty cool, I got them from http://www.sparkfun.com p/n COM-09336. There is a limit switch on the bottom which is really easy to solder to as well as being replaceable if needed. They have a nice positive feel. Again I might not buy this switch again because of it’s size but I do like it.