yet another perl cooking

85
Yet Another Perl Cooking @moznion

Upload: moznion

Post on 11-Apr-2017

4.462 views

Category:

Technology


0 download

TRANSCRIPT

  • Yet Another Perl Cooking

    @moznion

  • Yet Another Perl Cooking

    @moznion

  • @moznion

  • Yet Another Perl Cooking

    @moznion

  • What is the Yet Another Cooking?

  • Yet Another Cooking

    -API Based -Via your gadget

    -Reproducible -And Automatic!

  • API Based

    We dont have to manipulate with old-fashioned controllers (knobs, switches and etc)

  • API Based

    Cooking API is provided means we can cooking with our favorite gadgets!

  • Reproducible

    No matter who cooks, the same dish will be ready

  • AutomaticThe life is short to cook elaborate meal. We should make cooking to be automatic!

  • Yet Another Cooking = Programmable Cooking

  • AutomaticThe life is short to cook elaborate meal. We should make cooking to be automatic!

    Nomiku has come

  • What is Nomiku-Low temperature cooking device

    -Keeps temperature of water

    -And provides API!

  • What is Nomiku-Low temperature cooking device

    -Keeps temperature of water

    -And provides API!

  • What is the low temperature Cooking?

  • Low temperature cooking

    -Also called Sous-vide" -Putting a food into water tank which is controlled temperature constant

  • - Myosin (denatured @ 40) - Actin (denatured @ 66)

    For meat

  • For meat- Meatto be parched ifactin gets denatured

    - But we must killbacteria - Must keep 60-65 - (And collagen will hydrolyzes at about 65 degreed)

  • For Vegetable- Root vegetablesindurate on 60

    - Avoid tofall apart while boilingbyparboiling

    - ref: http://www.netsubussei.jp/group/kousai.pdf

    http://www.netsubussei.jp/group/kousai.pdf

  • Low temperature cooking

    It is difficult to keep water temperature constantly than I thought

  • Low temperature cooking

    If mistake to keep temperature,it is DANGER cause by bacteria!!!!!

  • Nomiku solves them!!!

  • Great! But

  • Nomiku ga konee!!!

  • Its no good worrying. Okay, lets construct

    Nomiku compatible device *** by hand ***

  • Features list

    - Keeping temperature of water long time

    - Controlable via web API

  • Features list

    - Keeping temperature of water long time

    - Controlable via web API

    Simple!

  • API Spec- Start heating - And stop - Change temperature - Get status

  • Architecture

  • Raspberry Pi

    in the water

    water temperature

    gauge

    heaterrelay

    controll on/off

    Monitor temp

    erature

    power source

  • water temperature

    gauge

    MonitorDaemon (perl)

    GrowthForecast

    Post temperature

  • Control on/offServer

    (Amon2::Lite)

    GrowthForecastheater

    relay

    power source

    ConnectedGet current temperature (JSON API / 1min)

    Access to API

  • How to keep temperature?

    - A daemon monitorstemperature of waterand store it into GrowthForecast

  • How to keep temperature?- A server gets current temperature from GrowthForecast - If it is greater than target temperature, turn off relay

    - Less, turn on relay

  • Control on/offServer

    (Amon2::Lite)

    GrowthForecastheater

    relay

    power source

    ConnectedGet current temperature (JSON API / 1min)

    Access to API

  • Start

  • Heating

  • Keeping

  • 4 hours later

  • Good and easy!

  • Yet Another Cooking;

    API Based Reproducible Automatic

  • API Based

    Provides web API on Raspberry Pi. It makes us able to cook with favorite thing! (My favorite is cURL)

  • Reproducible

    We only just share a source code which uses web API and run it.

  • Reproducible

  • Automatic

    It keeps temperature without our control.

  • Application Example

  • Use with slow cookerUsing slow cooker instead heater is nice idea. You can cook almost the same. Ref: - Cooking for Geeks - http://blog.naotaco.com/archives/

    689#more-689

    http://blog.naotaco.com/archives/689#more-689

  • Other electronic devices

    - Hot Plate - It looks difficult to

    control - Convection Oven

    - Looks good

  • Can we automate frying?

  • Can we automate frying?

    DANGER!!!!!

  • Future works

    - Cooperate with - CI mechanism - crontab

  • Future works

    - Safety improvements

  • Future works

    -

  • DANGER!!!!!

  • Future works

    - Generate convection

  • Conclusion

  • Conclusion

    Now gadgetis a new cooking toolwith using web API

  • Conclusion

    Sharing source code = Sharing recipe

  • Conclusion

    It is able to automate of cookingby power of device

  • Conclusion

    Nowadays such devices are on the market! (e.g. nomiku, anova)

  • Conclusion

    And we can make device by hands with a bit DIY splits!!

  • Conclusion

    It is fun!!!

  • Yum!!!!!

  • References

    - Cooking for Geeks(Jeff Potter)

    - (, )

  • References

    - http://blog.naotaco.com/ - http://

    negineesan.hatenablog.com/

    http://blog.naotaco.com/http://negineesan.hatenablog.com/