2020-02-23 Work Log – ArduDish

Okay, back onto the dishwasher. It’s firmware time. My software engineering skills are rusty. I thought I was onto something with the cycle state machine I may have mentioned earlier. I pulled it from the code and rather added a ticker messaging function that is called periodically to update the screen with the latest cycle information. The need for the hardware timer faded as it became apparent that the encoder interrupt will accomplish all the asynchronous inputs required. As a result, the cycle runs using spinning delays rather than timer interrupts. If the user wants to update anything with the machine, the encoder interrupt will take care of breaking the spinning delay.

I was doing this development using the new PCB, shown below. I have not yet taken advantage of the SD card, RTC, or EEPROM, but did run a quick SD card test to ensure the board would function.

Also shown in the image is the ticker messaging. The top line is updated by the selection made by the user on the menu, the lower line is updated by individual subtasks performed within the aforementioned selection. It’s my goal to add these ticker messages, along with a timestamp generated by the RTC, to an SD card. Happy with the progress.

Leave a Comment