Who is here? 1 guest(s)
 Print Thread
Skywalker roaster mods
renatoa
So I guess that you have your own handling code for OT3 ... because such thing does not exist in jmoore github.

The same thing I am asking for power +/- buttons in Artisan... which code handles them?
Not how to do this, because I know how, already did it.
But what is using others... confused
 
HarryDog

Quote

renatoa wrote:

The same thing I am asking for power +/- buttons in Artisan... which code handles them?
Not how to do this, because I know how, already did it.
But what is using others... confused


I have not seen others using +/- buttons for the Skywalker, Have to pay more attention when browsing!
I do see the FB post, now not sure if that's the V2 or buttons from the M1?
Edited by HarryDog on 01/16/2025 7:01 AM
 
renatoa
Ok, if no response, then we can only suppose those buttons aren't really operational, and just provided as placeholders for further development.
Let's then see how the +/- functionality can be achieved, and get rid of that long vector of buttons, that are difficult to operate, imo.

We first create two buttons in Artisan
i.imgur.com/sxKWJ5E.png

... then we switch to sketch changes. Will use the official jmoore sketch from github.

Will split OT1 handling in two branches, here https://github.co...d.ino#L308
... as below


if (isDigit(input[split + 1])
  handleHEAT(value); // old numeric values handling
else
  handleHEAT2(input.substring(split + 1)); // new handling for UP/DOWN


... and the new handleHEAT2 function...



void handleHEAT2(char *value) {
   if (strcmp( value,"UP") == 0 && sendBuffer[heatByte] < 100) {
      setValue(&sendBuffer[heatByte], sendBuffer[heatByte] + 5);
   }
   else if (strcmp(value, "DOWN") == 0 && sendBuffer[heatByte] > 0) {
      setValue(&sendBuffer[heatByte], sendBuffer[heatByte] - 5);
   }

   lastEventTime = micros();

}


For air code is the same, replacing OT1 with OT2, and a new handleVENT2 function, using ventByte instead heatByte.
And another two buttons in Artisan, of course, sending OT2 UP/DOWN

From the original array of percent buttons, I would probably keep only one, something in the 70% ballpark, for quick access to preheat and start roast value. From there I would use up/down buttons only, as the factory control panel.
~~~
renatoa attached the following image:
image_2025-01-18_110942315.png

Edited by renatoa on 01/20/2025 7:57 AM
 
renatoa

Quote

renatoa wrote:
... six months ago ...
~~~


Related to an older post of mine, a French engineer/scientist studied the data shared by josh more and issued similar conclusions about the ADC to temperature conversion, in this article: https://science-g...
 
Jump to Forum: