Skip to content

jphacks/D_2002

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHAINED BOX

昨年の組織委員長の「グローバルに戦えるところを次の目標にしてほしい」というコメントを受けて,英語で記載します.

Considering the comment from last year's chair "I want you to gain international competitiveness as your next goal.", we decided to write this README.md in English.

  • Wiki (Github)
    • wiki
  • CI (Travis)
    • Branch: master
      • Build Status
    • Branch: develop
      • Build Status

eye-catching

Award Day Pitch Video

award_day_pitch

90 Sec. Pitch Video

JPHACKS 90 Sec. Pitch

Promotion Video

Chained Box Promo

チーム名

Team Name

LSM-NAIST

私たちについて

About Us

  • We are master's students of Large-Scale Systems Management Lab., Nara Institute Science and Technology, Japan.

製品概要

Product Outline

product

背景(製品開発のきっかけ、課題等)

Background

background1 Honesty stands are unmanned stores. As you can guess form the word “honesty”, the buyers are expected to be “honest”. But sometimes, the merchandises or the cash from the sales are stolen by dishonest thieves. The result shouldn't be a surprise to anyone. Billy Joel sings "Honesty is a such lonely word. Everyone is so untrue". background2 Protecting the merchandises and the cash with existing vending machines is one solution, but the price of them is high. Therefore, buying an existing vending machine doesn't pay off in the end. Then, we propose a low-cost smart IoT box named “Chained Box” for small business.

製品説明(具体的な製品の説明)

Product Description

background3 Chained Box is a smart IoT box controlled by a blockchain. It can be used as a low-cost vending machine. Buyers can pay for the merchandise with electric payment (crypto-currency). Sellers can receive the payment safely.

解決出来ること

Solutions

solution

1. Chained Box is cheap.

  • The price is extremely low compare to existing vending machines. So, it is easy to introduce Chained Box to your business.

2. Chained Box can promote your product with synthetic voice.

  • You can get more customers compare to existing vending machines.

使用方法

How to Use

Seller (e.g. farmer)

how to use1

Buyer

how to use2

なぜブロックチェーンを使うのか

Why Blockchain

1. Low-Cost Electronic Payment Function

  • The electronic payment function can be implemented at low cost by the blockchain. The server/client model needs a secure central server. And the server needs high-costs.

2. Fault Tolerance

  • Blockchains are maintained by a peer-to-peer network. The system keeps running even if one node goes down.

特長と将来の展望

Advantages and Future Work

advantages

開発

Development

システムの構成

System Architecture

architecture architecture architecture box component

Single Board Computers

  • ODROID: Work as web server and blockchain node
  • Raspberry Pi: Work as controller and blockchain node

Containers

  • Django(Web App): Run web app
  • Nginx(Proxy server): Work as proxy server
  • Go Ethereum(Blockchain): Run blockchain
  • Python(Controller): Control the IoT Box

Unlock Flow

For example, when customer operate "unlock" from the web app, it connects to the web app container through the proxy server, and then changes the blockchain information from web container. The changes are also shared the blockchain on the raspberry pi through the proxy server. The changes are monitored by the controller container, then it will open the IoT Box accordingly.

活用した技術

Technologies We Used

  • Blockchain
  • IoT with Single Board Computers
  • Web Framework
  • Virtualization with Containers
  • Continuos Integration Tool

注力したこと(こだわり等)

Focused Points

1. Make the Data Secure

  • We used Ethereum blockchain.

2. Make it Easy to Use

  • We developed the web-based user interface. And users can see the status of the box from the equipped display.

3. Make the System Simple and Small

  • We used single board computers to make the system simple and small. The features gave the box portability.

4. Make the Box Beautiful

  • We gave the box cool looks. We changed its boring appearance by painting.

5. Make it Practical

  • The lock mechanism has practical durability, adopting hard materials (metal and plastic). Plus, the mechanism is small to maximize the capacity of the box.

6. Make our Perspective Global

  • We made this README.md and the 90 sec pitch video in English to let the world know our product.

フレームワーク・ライブラリ・モジュール

Frameworks, Libraries, Modules

  • Software
    • Web Server (WS)
      • Nginx: Web server and reverse proxy
    • Web Application (WA)
      • Django: Python-based web framework
    • Blockchain (BC)
      • Ethereum
        • Go Ethereum: Official Golang implementation of the Ethereum protocol
    • Lock Controller (LC)
      • Self-made program
        • Python: Programing language
        • Web3: Python library for interacting with Ethereum
    • Synthetic Voice Advertisement
      • Open JTalk: Japanese text-to-speech software
    • Environment Setup
      • Docker: Platform of container virtualization
      • Docker-compose: Orchestration tool for Docker

デバイス

Devices

  • Hardware
    • Chained Box
      • Controller (LC/BC)
        • Raspberry Pi: Single board computer with Arm 32-bit, OS (Raspbian buster 10)
      • Lock Actuator
        • SG-90: Servo motor
      • Body
        • DAISO Stacking box 600JPY+Tax: Box
      • Display
        • Longruner 7inch LCD Display 1024 * 600: Display
      • Battery (Raspberry Pi, Mini Display)
        • ELECOM Mobile Battery 6000mAh, 5V, 3A: Mobile Battery
        • Anker PowerCore 10000mAh, 5V, 2.4A: Mobile Battery
    • Web Server (WS/WA/BC)
      • ODROID-N2: Single board computer with Arm 64-bit, OS (Ubuntu 20.04)
    • Router
      • DOCOMO Hikari Router: Wi-Fi Router

独自技術

Our Own Technologies

Smart Contract

  • We automate payment with smart contracts (Solidity).

Virtualization

  • We used virtualization technologies (especially docker) in all the processes.

Painting

  • Product-level paint with strong base painting and finish coating

Processing Parts of Mechanisms

  • We processed small plastic parts precisely and accurately.

ハッカソンで開発した独自機能・技術

Our Own Features Made in this Hackathon

Payment Contract

Implementation of Blockchain in Multiple Single Board Computers

Forwarding the Video Output from a Docker Container to the Host Machine

Web-based User Interface

Designing the Lock Mechanism

Human sensors and speakers

開発のタイムライン(履歴)

Development Timeline (History)

製品に取り入れた研究内容(データ・ソフトウェアなど)(※アカデミック部門の場合のみ提出必須)

Applied Contents from our Research

  • Blockchain
    • Substitute a blockchain for a relational database

日本語版はこちら