It’s time to wrap things up and get the subfeatures working together. This has proven to require a lot of thinking, coding and designing. The goal since day 1 has been to have a functioning prototype by tomorrow leaving the report, nice to haves and exam preparation for the remaining days.
The initial test of the day was to get stepper and waterpump working to dose flour and water into the mixing container. With a few adjustments we found a stepper speed optimized for dosing flour. In this test we ran into a new problem of preventing uncontrolled spill of flour when demounting the flour container. This was solved in plenum as we went through this test.
Todays jobs were distributed among the members of the group:
- Coding screen text and pictures
- Connecting motors and sensors (to a functioning circuit and main code)
- Mechanical features … (TB explained)
- Fine tuning Node Red interface with ‘nice to haves’ and nodeMCU/Arduino connectivity.
OLED display (Overly Lousy and Evil Display
Coding text to OLED has proven to be harder than anticipated. Some faulty code keeps disrupting the screen display when printing messages in several lines to the screen. So only 1/3 of the screen could show text, which was highly frustrating. We had no problems printing an image as an xbm file, so we planned on uploading an image with text when we needed multiple lines and then we made a drawing for every mode.
Later in the day we finally had a break through and found the error in the code, so now it works as it should. Then we tried connecting a SR-HC 4 ultrasonic sensor to the circuit and made a code which displays on the OLED when a refill of flour or water is needed.
Node RED

Today we changed some details in NodeRED. The link to the dashboard will now take you to a page with a button, and clicking this button will either take you to the sign up page or the main dashboard if you already have signed up. We also managed to clear the different inputs on the dashboard after you save the information as a flow or global variable. We also added a count down function which counts down the amount of days left on travel or baking mode. To make sure that the user will not stop the mode by mistake, we added a pop up window, which asks if you are sure you want to stop the current mode. If you try to overwrite the travel mode with baking mode or vice versa, you will get a pop up window telling you that this is not possible, because of the current mode. To change mode you would have to stop the current mode and then activate the new mode.
The lids
We laser cut the different part of the lid for the containers today. The lid is made from 5 acrylic parts. The first two parts are made to fit the ultrasonic sensor, and the tube. One of the these part have a space to mount a hinge. There also are two plates to lay around the tube and the wires, with at hole to get the wires out. At last we have the top part of the lid.

