|In a hackerspace a computer is needed everywhere, included behind the bar. So this project was born.|
- In a bar we need music. So we'll set up an MPD server connected to an amplifier to allow everyone to play their favorite music.
- Where we sell beer and Mate Point of sales and Stock management software seems obvious.
- The person running the bar might also want to follow talks going on in the other room. So the system should be able to display webcasts.
What we have available
- Speaker cable
- CD-player (optional)
- Old laptop (2,53GHz Pentium IV)
- Serial barcode scanner
- a Elo-touchscreen, serial port , 17"
Thanks to all who have contributed hardware!
It might be convenient to use a touch screen at this location. Rob has provided an old LCD touchscreen we might use. To get it running on ubuntu (tested on 10.10) you need the following driver to be installed:
sudo apt-get install xserver-xorg-input-elographics
After installing the drivers, a calibration of the elo touchscreen is required. This can be done in 2 ways.
- By trial and error editing /etc/X11/xorg.conf and restarting X-server. A sample config file can be found here: http://0x20.be/Table_Computer .
- Koert suggested touchcal which should automate the arduous task of calibrating an elo touchscreen. (not tested yet)
- The screencontrols are located at the back. The button to power on/off the screen is in the left gap, above the led. The onscreen menu can be controlled with the four buttons (right gap, next to the sticker)
- Set the monitor resolution and frequency at the maximum values, for this screen it is 800x600 pix and 60Hz.
- Use the screen controls (see picture) to adjust the monitor output position. (because changing frequncy shifts the monitor ouput to the left or right)
- Google a suitable "grid" picture to use as a desktop background. The grid can help to understand the weird touch-resolution, which is inverted for this setup.
- Edit the file xorg.conf with your favorite text editor. (good starting values located below)
- The easiest way to calibrate the touchscreen is 1 axis at a time. Pick the axis that is mostly right, and start the game of (inverted) high-low. If you can't reach the edges of the screen with the mouse-pointer, you need to decrease the Min value. If the mouse pointer moves too fast increase the Min value of the.
Section "InputDevice" Identifier "ELO Touchscreen" Driver "elographics" Option "Device" "/dev/ttyS0" Option "MinX" "4000" Option "MinY" "4000" Option "MaxX" "0" Option "MaxY" "0" Option "UntouchDelay" "10" Option "ReportDelay" "10" Option "SendCoreEvents" "yes" EndSection
- Hang the speakers (done)
- Find a permanent location for the Amplifier & CD player behind the bar (done)
Point of sales & Stock management
Using the vwcr application made by Koert. It's not completely finished yet, but it can be used (and is being used).
- A computer has been fixed to the ceiling above the bar
- The touchscreen is operational and calibrated to a usable degree. It seems to be ok, only around the edges it's difficult/impossible to reach some places.
- Still to do: mounting of the touchscreen on a somewhat, "ergonomical" height. I plan to do this next wednesday. I'll be looking for materials this week(end). Some plywood and iron stuff will do the trick. (Tom).