element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Enchanted Objects
  • Challenges & Projects
  • Design Challenges
  • Enchanted Objects
  • More
  • Cancel
Enchanted Objects
Blog [ExM] #01 Espresso ex Machina introduction
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: nikil511
  • Date Created: 21 Mar 2015 11:50 AM Date Created
  • Views 596 views
  • Likes 5 likes
  • Comments 1 comment
  • enchanted_objects
  • espresso_ex_machina
  • espresso
  • Coffee
  • coffee_maker
Related
Recommended

[ExM] #01 Espresso ex Machina introduction

nikil511
nikil511
21 Mar 2015

Project background

I am a (software) engineer and an espresso coffee enthusiast. As a result, I could not settle for an ordinary instant capsule coffee with hightech chemistry but without real smell and taste of proper coffee (i.e speciality coffee). So I got myself an  old school professional espresso coffee machine, revived it and I am enjoying quality coffee at home... well kind of. These old heat exchange espresso machines, require expert handling, to produce decent coffee. It's not like you press a button, and magic happens. You need to warm it up for 30+ minutes, and then heat flush (throw away some hot water) to bring it to perfect temperature (somewhere between 90 - 94C) so you can brew your espresso. In addition to water temperature, the volume of water and brew time have a major effect on the end result taste. As if this wasn't enough, one should also consider grind setting combined the amount of coffee per shot, (and freshness of beans, and room humidity :-P)


I guess that's why most people prefer ready-to-use coffee capsules, but sometimes I like the long way home :-)


As a home-barista I am constantly trying to improve my skill, and resulted coffee. This requires attention to details so that I can reproduce the same result. It would have been so much easier if I could see all brewing related values, store logs among with comments on the coffee taste, so I can study them later, and improve/reproduce the best results. Therefore it is now time for my old espresso machine to get an upgrade to the IoT world !


Introducing Espresso ex Machina!


image



Core objectives, espresso machine mod: (in blue color)

  • add temperature sensors (need to decide between thermocouples, thermistors, ICs etc)
  • PID control of heating element via SSR using Arduino SAMA5D4
  • connect water flow sensor, to Arduino (and calibrate). This is needed to keep track of water volume in produced coffee.
    • old/original  sensor already deployed. I am assuming it's an open collector output, but will find out more
  • add one or two RGB led stripes to give some “life” to the machine using the Infineon Lighting RGB LED Arduino Shield. Will try the “breath in/out” effect, and use color to describe if boiler is ready/worm (takes about 30 minutes)
  • Connect a speaker to SAMA5D4 and run a “text to speech” application for reading out loud temperature values, and other coffee related information.
    • Will also try some “speech to text” (e.g. trigger readings on word “coffee”). This could be possible with android on SAMA5D4 but I will experiment first with yocto/linux and openhab
  • log and submit all readings (temp, timestamp, duration, volume) to a cloud service (e.g. Xively, thingspeak) via http or mqtt
  • tag readings somehow with my  “coffee taste review”  (could be via the machine again, and a 5 star rating via keyboard, or via smartphone using some basic app)


I guess the above could be accomplished on Arduino Yun , but to play with text to speech (and my favourite OpenHAB) I will be using SAMA5D4.


Extra objectives if time permits: (in pink)

  • Add Arduino Yun to log and submit grinding duration, hence estimate of coffee grams, but I need to find a way to read grinding settings automatically. (?)
  • add a pressure sensor, to log actual water pressure as well
  • control rotary pump speed, to adjust pressure, hence do “pressure profiling” which makes a big difference in espresso taste.
    • need to replace the AC motor, with a DC equivalent, and use the Infineon DC Motor Control Shield for Arduino
    • alternative lame approach, keep AC motor, add an adjustable Voltage Regulator. Connect servo on the potentiometer, use Infineon shield to control servo, to control voltage regulator, to control AC motor :-P


Any ideas on how to tackle these issues, easy, quick and cheap, are more than welcome.


Next >> [ExM] #2 First attempt on the Atmel SAMA5D4, installing JAVA


  • Sign in to reply
  • Workshopshed
    Workshopshed over 10 years ago

    Electronics and coffee, also two of my favourite things.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube