[[brmBar]]
 

This is an old revision of the document!


brmBar

brmBar
brmbar.jpg
founder:
depends on:
interested: pasky
software license:
hardware license:
status: active

Brmbar is our tiny drinks, snacks, electronics, t-shirts stash. Anyone can put things into brmbar or buy stuff; visitors for cash, members can use a simple credit system.

Status: brmbar-v3.0 is up and running, implemented in Python (with cleanly separated backend classes), Qt-Declarative and PostgreSQL. Some TODO items remain, but it should be usable for day-to-day operation.

Usage instructions (in Czech) (prequel)

Sources @ github

Current database schema

Backup

crontab -l 
00 3 * * *      /home/zalohovac/zalohuj_brmbar.sh
brmko.brm:/home/zalohovac/zalohuj_brmbar.sh
#!/bin/bash
 
BACKUP_DIR="${HOME}/ZALOHY/"
 
ssh -t -t brmbar.brm -l brmlab 'su - postgres -c pg_dumpall' > ${BACKUP_DIR}brmbar-`date +%F-%T`.sql
ls -l ${BACKUP_DIR}

Wishlist, bugs, feature requests, User eXperience

  • [Stock Mgmt] moznost vyhledavani podle stringu. umozni mi se rozhodnout zda zbozi uz v ceniku je nebo jej musim zadat jako nove zbozi.

Archive (older versions)

Short version history:

  • v0.0 was a large wall-piece of paper with prices and piece of paper with credit tracking
  • v1.0 was DOS-based tablet (by czestmyr)
  • v2.0 was an attempt on a LPC revamp (by sargon + stick) that was ultimately abandoned
  • v3.0-tlapka was an abandoned effort by tlapka for Arduino-based, ethernet-connected brmbar
  • v3.0 is pasky's Python/Qt/PostgreSQL brmbar implementation with proper accounting

v1.0 → v3.0 transition ultimately happenned on 2012-10-16.

Draft database schema and process classification (inspiration, but implemented with modifications):

db.dia

process.dia

Historical: brmbarv3-tlapka

Brmbar je malé zařízení, které slouží k účtování či zjištování položek v brmBaru.

Je založeno na:

  • Arduino Mega 2560
  • Display 256×64
  • Barcode reader from storageRoom
  • SD card reader aka storage
  • matrix keyboard 4×4
  • 7segment display
  • PS/2 Keyboard (měla by být?)

Status: nedokončeno

Historie

Doteď brmbar obstarává stařičké tabletpc s DOSem. Zásadní nevýhoda je klesající spolehlivost zařízení a offline provoz, tzn. žádné zálohy stavu kreditu a sledování množství zboží.

Požadovaná funkčnost

  1. Z hlediska napojení na BrmBüro je nezbytné pouze TCP spojení na jiný stroj a možnost provozovat základní obslužný SW.
  2. Z pohledu uživatelského by mělo zařízení umět číst čárové kódy a obsluhovat uživatele ve stávajícím rozsahu.

Part List

No.descriptiondatasheetone piece pricesum
1x Arduino MEGA 2560 780kc 780kc
1x SD card adapter 50Kc 50kc
1x Display 320×240 - fired 1000Kc -
1x BarCode Reader storeRoom storageRoom
1x 7segment display 0kc 0kc
3x 74hc595 7kc 20kc
1x bredboard - -
1x Ethernet shild for arduino FIXME FIXME
1x Display 20×4 or 320×240 FIXME FIXME
sum 1850kc
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki