User Tools

Site Tools


infra:tools:vending

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
infra:tools:vending [2020/02/12 18:21] – created q3kinfra:tools:vending [2026/04/16 22:08] (current) – [Service Log] aceryz
Line 1: Line 1:
 {{template>:template:project {{template>:template:project
  | name=Hackvend  | name=Hackvend
- | status=[[http://vending.waw.hackerspace.pl/\|active]] + | status=up and running (but cooling broken 2024/02/27) - [[https://vending.waw.hackerspace.pl]] 
- | founder=[[user>q3k]] (maintenance: [[user>informatic]]) + | founder=[[user>q3k]] (maintenance: [[user>informatic]], [[user>naka]], [[user>voltar13]]) 
- | repo=[[code>q3k/vending-interface-hardware]] \\ [[code>informatic/bitvend]]+ | repo=[[code>hswaw/bitvend]]
 }} }}
  
 ====== Vending machine ====== ====== Vending machine ======
  
-Vending jest to szaro bura, a tak naprawdę jasnoniebieska maszyna, która dostarcza szczęśliwcom przebywającym w HS:  +A machine which exchanges coins for Caffeine. Can also exchange virtual currency (SOGs) into Caffeine.
-  * nawilżacze organizmu z wysoką dawką kofeiny,  +
-  * przeżuwalne składniki węglowadanowo-tluszczowe oraz  +
-  * dobrze schłodzone części elektroniczne.+
  
 +Keyholders, who can help with servicing and consumed coins: (ask on #members)
  
-Operatorzy tej pięknej maszyny (kluczo-posiadacze) to:+The vending barely breaks even, we don't make a profit from sales.
  
-  * enleth +===== How to use =====
-  * nuke +
-  * q3k +
-  * inf+
  
-Podgląd na przepływ funduszy: [[https://docs.google.com/spreadsheets/d/1Z2UgQKduPQhEeQk9THKm2Prs0OB1nJ2cuhiWMrZl5gY/edit?usp=sharing|google.docs]]+Log into [[https://vending.waw.hackerspace.pl/]] using your SSO account. The interface shows you how much credit You have. The currency is SOGs - acquire more by talking to other members of the Hackerspace.
  
-<del>Jeżeli jakimś dziwnym cudem Vending wyjdzie na plus to</del>(jest parę groszy na plusiezarobki zostaną przeznaczone na (do edycji)+Choose your Caffeine Spice Type, click "begin transaction" on the web interface. Transaction will expire after some time (how long?), so choose wisely. Enter the number on the keypad on the machine (physical machine, not the web)
-  * opłaty za prąd elektryczny w HS +
-  * fajne projekty+
  
-Aktualni operatorzy nie czerpią korzyści majątkowych z obsługi maszyny, ale istniej hipotetyczna możliwość by członek HS zarobkował na przyniesionych przez siebie produktach+Machine will dispense your chosen Caffeine Spice TypeSOGs will be withdrawn from your account. Enjoy!
  
-Kontakt w sprawie zjedzonych monetpowiększenie asortymentu, itd: [[nuke@hackerspace.pl]]+Some bottles are reusableso don't throw them away.
  
-===== TODO ===== +===== Troubleshooting =====
-  - <del>obsługa bitcoin</del> (patrz niżej) +
-  - obsługa kart NFC +
-  - <del>wzbogacenie asortymentu</del>  +
-  - <del>przekablowanie</del> +
-  - obsługa banknotów fiat (nuke: aczkolwiek niechętnie widziana) +
-  - obsługa lightning network+
  
 +Clean the heat exchange/cooling module every half a year.
  
 +If it's not working (turned off, no lights, etc.) check if it's connected to power in the WC (socket above the sink). If it is, try to disconnect and connect it.
  
-Dane od Q3k:+If it's working in the test mode but doesn't in the regular sales mode, enter the menu and press C+E multiple times.
  
 +"FAULT CONVEYOR?FF" and Test/Normal vend mode doesn't work? Go to CHECK - it should list *some* problem. You need to acknowledge it, I think using E and C+E? Not sure. But this fixed it! Check screen should print "CHECK OK! NO PROBLEMS" afterwards and everything should be back to normal.
  
-Stos technologiczny w vendingu wygląda następująco +===== Hardware =====
  
-VMC (vending management controller) który przyszedł z vendingiem (Vega). Sflashowany polskim firmwarem przez janusza który tym handlujeGdzieś się wala dump firmware'u który zrobiłem.+<del>Previously: Vega helix-based vending machineRIP.</del>
  
-Wrzutnik monet MEI CashFlow ileśtam, kupiony osobno na Allegro za groszeRobi złotówki, ale tak sobie. Ma port serwisowy, do którego wpięty jest jakiś drut ktory teraz wystaje przez wrzutnik. Niewiele wiadomo o protokole serwisowym.+<del>Previously: Vendo Vue 40Rest in pieces.</del>
  
-VMC i wrzutnik gadają po magistrali MDB (skrót od Multi-Drop Bus), w jakiejś starej wersji. To jest standardowy protokół i warstwa fizyczna używana m. in. w vendingach i maszynach arkadowych i kasynach. Chyba multimaster, na pewno multislave, w zasadzie UART tylko że z a) nietypową warstwą fizyczną b) ciasnymi timingami na komunikacji c) 9 bitami danych. Jak się okazuje, nasz VMC robi MDB tylko... w odwrotnej polaryzacji.+**Now: Sielaff Robimat 99**
  
-Customowe PCB: https://code.hackerspace.pl/q3k/vending-interface-hardware/ . W zamierzeniu miało odwaracać polaryzację na we/wy VMC ażeby było to standardowe MDB (i się dogadało z wrzutnikiem), ale też miało móc się na tej magistrali odzywać STM32Fcoś, które na tym PCB siedzi. <del>Nie wyszło mi coś, i nie jestem w stanie widzieć ruchu MDB na STM32 - albo błąd w projekcie, albo w wykonaniu, nie debugowałem.</del> (Został wymieniony rezystor i działa) Ale dzięki niemu VMC i wrzutnik są w stanie się dogadać.+==== TODO ====
  
-Do mojego PCB siedzi podpięty SBC Olinuxino z jakimś SAM9, 64MB RAMu i jakimś Linuxem. Miało w zamerzeniu służyć jako interfejs mojego PCB do świata. +  - re-configure shelves 
-<del> +  - get wider shelves for bigger bottles 
-Dodatkowo, jest podpiętych para rzeczy debugowych RPi i programator JTAG, które miały mi pozwolić flashować STMa w trakcie działania vendingu. Ethernet od RPi wystaje sobie też przez wrzutnik wrzutnik, tak samo jak interfejs debugowy.</del>(aktualnie wyjęte) +  finish adapting existing holders to better fit mate bottles
  
-===== Stan na 2017/01/14 ===== +==== Coin Acceptor ====
-[[people:informatic:start|informatic]] usiadł i dostarczył. [[people:vuko:start|vuko]] debugował martwy tor nadawczy (również złe rezystory), Olinuxino znikło, pojawiło się raspi z jumperami z UART_RX/UART_TX wpiętymi do odpowiednio GPIO 4 i 17. Wszystko oparte jest na kawałku pythona z zaimplementowanym mdb. Do obsługi MDB/9-bit UART używane jest pigpiod. Działa niespodziewanie dobrze. Transakcje na adres BTC ustawiony w konfiguracji softu (w tym momencie adres pod kontrolą infa) są konwertowne na złotówki po aktualnym kursie BTC. Multivend jest w tym momencie wyłączony, więc jakiekolwiek nadmiary zostają w środku... (i prawdopodobnie służą do pokrycia wahań kursu).+
  
-Webówka z listą przykładowych produktów/cen i qrkodami dostępna na: http://vending.waw.hackerspace.pl/.+MEI Cashflow 560Does a terrible job accepting 5PLN coinsNeeds programming device (MEI Route Alpha 250) to unfuck it?
  
-Zakupy w BTC są logowane wraz z hashem transakcji, kwotą, wartością produktu i numerem produktu. There is no privacy in the amazing world of bitcoin. Dodatkowo (bardzo na około) wykrywane są eventy wrzucenia monety oraz wydania produktu przy użyciu płatności fiatem. To wszystko logowane jest do spejsowego prometheusa, z (docelowo) ładnymi grafami w grafanie.+==== MDB/USB adapter ====
  
-Po kod proszę bić na NICKNAME at hackerspace dot pl.+DYI on STM32. Hardware interface design/firmware is available in project repo's ''[[code>informatic/bitvend/tree/usb-interface|usb-interface]]'' subdirectory. Lets RPi emulate a cashless device for SOG support.
  
-===== TODO v2 ===== +==== VMC / Robotics controller ==== 
-  * Nowy **zaprojektowany** adapter boardMożliwe że z STM32F1 + USB CDC-ACM (support w sofcie bitvend już jest :)), ewentualnie jakiś inny protokół+ 
-  * Możliwość nadawania na linii master-to-slave oraz słuchania slave-to-master. (double the octocouplers)+StockUse Robimator software (VB.NETto reprogram shelf positionsetc
 + 
 +==== Resources ==== 
 + 
 +From manufacturer, mirrored: [[https://owncloud.hackerspace.pl/f/513681]] 
 + 
 +==== Service Log ==== 
 + 
 +2026-01-27 - around 2026-01-21 Y-axis motor started loosing steps when traveling above first shelf. Turns out a counterbalance line slipped off counterbalance pulley, rubbing over its axle. Steel line is supposed to be encased in rubber but it'has worn off ~50% off its length. Should probably be replaced at some point. 
 + 
 +2026-01-27 - "XOffset/YOffset output" parameter in Robimator → Configure (remember to "Transmit List"!) changed from +3/+0 to -12/+7 and now vends succeed on first try! 
 + 
 +2026-04-16 - as has been fortold in January: the counterbalance line's finally given upIt broke. It's been replaced with a line without rubber encasing, so it should be considered a temporary measure.  Old counterbalance line: 0,8 mm, about 1050 mm length (hard to measure, the line was in two partsNew counterbalance line: 1,0 mm, about 1050 mm length. At the ends an electrical bitsy-bit's been used, as in the picture. 
 + 
 +Markings on the bitsy-bit: [5,5 - 6 / 12 10], encased in yellow rubber. The rubber's been removed before installation at the end of the line. 
 + 
 +{{:infra:tools:20260417_000038.jpg?400}} 
 + 
 +It's been also noted that the basket arm is wonky - the lift arm with the basket is not vertical, because one of the supporting elements snapped and needs re-welding (marked red below). 
 + 
 +{{:infra:tools:vending-broken.jpg?200|}} 
 + 
 + //~log written by madx//
  
-  
infra/tools/vending.1581531664.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki