Watch below video to learn how to setup Bluetooth weighing scale for Saleculator POS on Raspberry Pi.
Description
Terminal Commands
These are the commands executed at the terminal to connect the Bluetooth scale with Saleculator software.
- To access the terminal press Ctrl+Alt+F1 together on your keyboard
- Inside the terminal type root for the user name and saleculator for the password (Enter)
- Type hciconfig (Enter)
- Type bluetoothctl on (Enter)
- Type scan on (Enter) This will show the MAC address of your scale! (e.g. FC:A8:9B:00:08:B4)
- Type exit (Enter)
- Type apt-get install librxtx-java (Enter)
- Type nano /etc/X11openbox/autostart (Enter)
- Scroll down to the bottom and copy-paste
export LD_LIBRARY_PATH=/usr/lib/jni:$LD_LIBRARY_PATH rfcomm connect hci0 FC:A8:9B:00:08:B4 &
(FC:A8:9B:00:08:B4 is the MAC address of my Bluetooth scale, please make sure to replace it with yours!)
Make sure to copy-paste this line just above the line that reads
java -jar /opt/Saleculator/Saleculator.jar - Press Ctrl+X keys to exit and press Y when asked for saving the changes and hit the Enter key
- Type exit and hit Enter key
Adding Weighable Product
Please refer to the below links for adding and setting a weighable product:
https://www.saleculator.com/documentation/manager-guide/#3-toc-title (Adding Product)
https://www.saleculator.com/documentation/manager-guide/#6-toc-title (Setting a weighable product)
Setting up Bluetooth scale with Saleculator software
- Login to Saleculator using the administrator PIN (1111)
- System Menu > Configuration > Peripherals Tab > Scale (Choose continuous transmission) > Port (Type /dev/rfcomm0) > Baud Rate (Choose 9600) > Save > OK > Restart
- Once restarted you should see the weight indicator/readings on top of the Saleculator screen
- Login to Saleculator using the administrator PIN (1111) again
- Place any product (Banana) on the Bluetooth scale and see if the weight displayed on the Bluetooth scale is reflecting on top of the Saleculator screen as well
- From the Saleculator products catalog click on a product (Banana) to load it to the sales screen. Now you should see the product weight reflecting under the Units Tab
- If you need to alter the weight, just add or reduce the quantity of the product placed on the Bluetooth scale and click the “Scale” button on the top right corner, this will update the product’s weight instantly.