element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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 PiCA - Pi Chef Challenge Blog #8 : Integration (Part 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: giganggu
  • Date Created: 26 Mar 2018 6:03 PM Date Created
  • Views 773 views
  • Likes 6 likes
  • Comments 2 comments
  • database
  • raspberry pi
  • pichef
Related
Recommended

PiCA - Pi Chef Challenge Blog #8 : Integration (Part 2)

giganggu
giganggu
26 Mar 2018

Today I will explain my current progress in this project. There are some milestones I achieved such as initialization of database data, planing the software flowchart before coding, coding the code for checking and ordering. This week will be very hard but still, I will try to finish this project as my plan.

 

Initialization database data

For developing the PiCA, we need to initialize some data such as initial food recipes including the ingredients needed, the contact number of sales, and initial remaining stock.

 

Planning the software flowchart (Program2)

After initialization, before coding all of the programs, I make the flowchart of the organization of the code (I always do it). As mentioned in my previous blog post, there is two program. However, I forget to add the client program for planning the next menu, so that I add the program in our plan and make the flowchart. Below is the flowchart of those 2nd programs since its little complex comparing other 2 programs,

Fig.1 Flowchart for checking the storage and order (Program 2)image

 

Progress on coding for Program-2/3

I finished the program 2 and 3 and below is the screenshot of the display (console) and code,

image

image

Fig.2 Development process of PiCA User program for planning the next menu

 

This program is developed using C# .NET. For this stage, I will consider the desktop application only. I will try make the mobile application version if possible. Then for this user program, I make the dummy menu and material for simplicity. Of course, it is absolutely able to be expanded in a real case. I add four menus and four materials. The menu is a combined of four materials with different sizing. This composition has been added to the database initialization.

 

image

Fig.3 Finishing the Program 2 for checking stock and order to the seller by WA messenger

 

This program is developed using Python, MySQL, and Yowsupp platform. This software run in every hour to check the planned menu and works in console mode.

 

Closing Remarks

We have described the recent progress of this project. The next step is the finishing and testing the program 2, development of the algorithm for computing the stock including the blobing technique and blob area-weight correlation. Hope that our project can finished and run well before the deadline.

  • Sign in to reply

Top Comments

  • dixonselvan
    dixonselvan over 7 years ago +2
    giganggu You have designed a beautiful and neat GUI. Good luck!
  • three-phase
    three-phase over 7 years ago +2
    I agree with dixonselvan , it is a very clean professional looking GUI. Well done. Kind regards
  • three-phase
    three-phase over 7 years ago

    I agree with dixonselvan , it is a very clean professional looking GUI. Well done.

     

    Kind regards

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dixonselvan
    dixonselvan over 7 years ago

    giganggu You have designed a beautiful and neat GUI.

     

    Good luck!

    • Cancel
    • Vote Up +2 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