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
Pi Chef Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Pi Chef Design Challenge
  • More
  • Cancel
Pi Chef Design Challenge
Blog The Spice of Pi  - Blog Glenn #2
  • 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: glennvanderveer
  • Date Created: 30 Jan 2018 1:43 AM Date Created
  • Views 568 views
  • Likes 9 likes
  • Comments 2 comments
  • spice of pi
  • pi chef design challenge
  • pi chef
Related
Recommended

The Spice of Pi  - Blog Glenn #2

glennvanderveer
glennvanderveer
30 Jan 2018

Hello everyone and welcome to Blog number 2 for the Spice of Pi.

image

 

This entry is going to lay the ground work for the software part of the Spice of Pi.  The development is going to be done in Python.  It has been a few years since I have actually used Python so this will be a great exercise to get the rust of those skills again.

 

Here is a rough mock up of the screen that I will start out with.  I probably won't have 16 buttons in the final display because that would over complicate the screen display.  It would be nice to have a cascading menu bar instead of buttons at all, but I am not sure how finger friendly it will be.  For sure there will be a mute speaker button to immediately mute whatever the speaker is doing.  I have found in testing (on my android phone) that if there is already sound (music) coming out of the device speak, the microphones are swamped and cannot pick out the trigger phrase.  Also, there is going to be a dedicated restart button just in case bad things happen and the system needs to reboot to get its sanity back.

image

This screen is also 800 X 480 to the outside of the outline box, so you can see that if the text is to be legible from more than 3 feet, there needs to be less buttons that are larger with a larger font inside.  Of course, with the Voice kit, the buttons are just going to be a fallback and everything will be controlled by speaking.

 

Some considerations that I need to remember:

     --> recording where a spice ends up in the tubes, and being able to spin and push up the correct one.  Also I need to make sure that the 'pusher' lines up with the bottle properly and after pushing, it lowers far enough to not snag when spinning. 

     --> as for spinning the rack, I am not sure if I will return to a known (home location) after a spice is selected, or if I will keep track of where the rack actually is and move relative to the last position.

     --> how will I tell if a spice has been removed (to lower pusher) and returned (probably only necessary if I return to a known home position)

 

Some nice to haves that are being looked at:

     -->connect with gmail.  The AIY assistant says that it doesn't know how yet, but is still learning.

     -->connect with sms service.  Again, assistant says that it doesn't know how yet, still learning.

     -->access to google play music.  I may have to change this so that it will play music that is directly on the sd card with VLC.  On my phone, play music seems to stream the music even though I have the albums on my SD card.

     -->search for recipes.  I am pretty sure that this will be relatively easy to do by just passing a search query to the Pi browser.

     -->YouTube cooking demo's.  Again, this will probably be easy to do.

 

This is another short entry, but next time there will be more to say as I hope to have the python framework for the touch screen done and working.  I also hope to have some voice control over the buttons even if they don't do anything other than print some text in my status box. I may even record a video to show how things are progressing.

 

Design Challenge Links:

Pi Chef Design Challenge

About the challenge

The other challengers

The kit

Terms & Conditions

 

Project Links:

Blog Doug 1 - The Concept

Blog Glenn 1 - AIY Voice Kit Unboxing

Blog Doug 2 - The Block Diagram and Bill of Materials

The Spice of Pi - Blog Doug 3

  • Sign in to reply

Top Comments

  • genebren
    genebren over 7 years ago +3
    Glenn, Moving along nicely. I like how you are making lists, keeping track of important things and separately nice to have things. Keeping these thing separately is important and keeping in mind what you…
  • dougw
    dougw over 7 years ago +1
    Excellent glennvanderveer . That explanation helps me understand where my description is lacking. The rotary position will be absolute - you won't need to keep track of it. Each of the 16 positions will…
Parents
  • genebren
    genebren over 7 years ago

    Glenn,

     

    Moving along nicely.  I like how you are making lists, keeping track of important things and separately nice to have things.  Keeping these thing separately is important and keeping in mind what you might do is good, so that when implementing you have ideas of where the the nice to have features would fit.

     

    Keep up the good work!

    Gene

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • genebren
    genebren over 7 years ago

    Glenn,

     

    Moving along nicely.  I like how you are making lists, keeping track of important things and separately nice to have things.  Keeping these thing separately is important and keeping in mind what you might do is good, so that when implementing you have ideas of where the the nice to have features would fit.

     

    Keep up the good work!

    Gene

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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