Giter Club home page Giter Club logo

pro200_smidigprosjekt's Introduction

PRO200 - Smidig prosjekt - Kolonial.no Svisj

The assignment was to build something technical for Kolonial.no - one of Norway's biggest grocery stores - to help increase their sales.

Concept

The concept we came up with was an IoT device that brings the grocery store right into your kitchen. The device should connect to your wifi, and give you the chance to shop at your own convenience, by scanning barcodes for products you run out of. Took the last carton of milk? Scan it before you recycle the packaging and you'll have your inventory under control. This should also be a constant reminder that Kolonial.no is always ready to take your order, without the need for the mobile app or access to a computer/tablet.

Svisj - the box

The box is 3D-printed, and houses the NodeMCU microcontroller (based on ESP8266), battery and LEDs to signal feedback from the server.

Pictures of prototype

Attached are a few images of the finished prototype. Prototype - box Prototype - box inside

Hardware diagram - Fritzing

Attached is hardware wire diagram, made with Fritzing. Alt Text

Code

The code running on the microcontroller is found in: /NodeMCU_kode/MASTER/MASTER.ino

The backend

As we did not gain access to the Kolonial.no API we were left to make a backend that emulates the functionality of the grocery store Kolonial.no runs today. We filled the database with a list of common household items, pictures and their barcode. It's also possible to add new items.

Technical

The backend is made in the PHP framework Laravel and talks to a MySQL database. It also accepts incoming POST-requests from the Svisj box and sends feedback to the box depending on if the item exists in the database.

The code for the backend is found in: /web_api/

The code also runs live at: vrangum.com/kolonial

pro200_smidigprosjekt's People

Contributors

joakimvrangum avatar jaranb avatar hekkii avatar

Watchers

 avatar  avatar  avatar

Forkers

jaranb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.