Aksel, my focus has been upon: creating an Arduino function for the mixers’ stepper motor, designing another dough mixing hook, helping with NodeRED and other miscellaneous things.
The function accepts 2 values, a mixing degree (how much to turn away from neutral) and a speed between 0-100%
E.g the stepper motor turns 45 degrees forward, then -90 degrees and then 45 degrees again. This returns it to the initial steps and it’s now ready for the next mixing cycle.
Our stepper motor is a 17hs4401 bi-channel which is rated for 1.7A and we drive it with an easydriver which can deliver 0.75A per channel. This results in a 1.5A current.
We had to turn the Easydriver up to its max to reduce the risk of it ‘stepping wrong’ in high viscosity doughs. This is however a problem that can be mitigated with the proper gearing and potentialy a more powerfull motor in the final product.
Node Red
We also worked further on the Node Red coding. We choose that we wanted the node to communicate the mode/setting, and a few other thing needed to control the modes, but other than this most of the coding and the functions will be done in Arduino.

The dashboard has 4 main functions. The first one is to display information from the sourdough machine, this will show information that the user needs. The next one is to start up a new sourdough. This will send a message to the NodeMCU via the MQTT to start the mode called Start-up. This mode will check if the sourdough contianer is empty, check if the flour and water container is filled, and then mix the water and flour to start up a sourdough from scratch. The Start-up mode will end after 3 days, where NodeRED will send the message to set the mode to Keep it kicking (standart mode). In Baking mode the user types in the amount of dough needed in their recipe and which day they want to bake. Baking mode will feed the dough the appropriate amount, to make sure that the amount of dough needed is ready on the right day, and that there is also some sourdough left, to keep it going. After baking NodeRED will set the mode to Keep it Kicking again. The last function is travel mode. Here the user will type in how many days they will be gone for and press OK. NodeRED, will send the message to NodeMCU to start up the travel mode. When travel mode is started the user will be asked to remove some of the sourdough, and the machine will check if the flour and water containers are completely filled. Then the machine will keep feeding the dough a smaller amount of flour and water everyday, increasing the amount as the weeks go by, and after the set amount of travel days, the mode will be changed back to Keep it Kicking.







