Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Marshall Brown
10/24/11 13:35
Read: 1010 times
New Zealand

#184346 - User entered recipes ???
Hi all

I am using a c8051F041 with a 2line LCD and a 16key keypad, I have all the menuing, etc working but am struggling with the concept of user defined recipe entries.

I would like to build a recipe system for my product (a food smoker) it's only for fun, but the concepts are portable.

I have the following outputs on my smoker.

1. Cook Element.
2. Smoke Element.
3. Smoke Pump.
4. Extract Vent
5. Extract Fan

Now the criteria are that I can turn these outputs on and off, over a period of time, BUT the user has to enter all the parameters, primarily because I don't know anything about smooking food (yet)

So for instance, Hot smoked salmon is very quick, but smoking bacon is much longer and a different process. but with the same components.

What I would like to do is allow the user to have control over each of the outputs in the following manner. (lets use the element as an example)

1. On time (this is a duty cycle....)
2. Off Time (this is a duty cycle....)
3. Function Called Prior
4. Function called Post
5. Function called Concurrent

Then for each output, I could save these settings in a struct in flash (with a nice title, total runtime etc) and the user can select and edit their own recipes.

The issue is I don't know what order the functions are being called in, and what should be in each output struct. the above example would have issues

Any thoughts on a generic recipe system....



List of 23 messages in thread
User entered recipes ???      Marshall Brown      10/24/11 13:35      
   Just create array of regular rules      Per Westermark      10/24/11 15:30      
      Thanks - that's great      Marshall Brown      10/24/11 17:35      
         programming language      Jan Waclawek      10/25/11 00:55      
            programming language - not really      Marshall Brown      10/25/11 01:21      
               consider enum        Per Westermark      10/25/11 01:48      
                  thanks - implemented.      Marshall Brown      10/25/11 02:23      
                     Intelligence      Per Westermark      10/25/11 02:34      
                        I must have a stupid compiler      Marshall Brown      10/25/11 03:05      
                           Not all compilers are as good at generate warnings      Per Westermark      10/25/11 03:28      
                              no warning/error on the compiler      Marshall Brown      10/25/11 03:55      
                                 response from Raisonance      Marshall Brown      10/27/11 09:51      
                  enumerations on 8051      Andy Peters      10/25/11 12:14      
                     enums are 8bit by default on Raisonance      Marshall Brown      10/25/11 12:42      
                        NULL      Jan Waclawek      10/26/11 04:08      
                           Could you show me the code      Marshall Brown      10/26/11 13:49      
                              compatibility et al      Jan Waclawek      10/27/11 04:15      
                                 why change pointer to CODE?      Marshall Brown      10/27/11 10:21      
                                    enum advantage      Michael Karas      10/27/11 11:18      
                                    user page does not work (at least for me)      Jan Waclawek      10/28/11 15:26      
                                       try it now      Marshall Brown      10/30/11 17:08      
                     re: enumerations on 8051      Andy Peters      11/01/11 15:22      
   Article on Hierarchical Menu Structure      Aubrey Kagan      11/02/11 09:42      

Back to Subject List