USB cash drawers

Hello fellow MikroTik users, this is my first post in this forum. I hope there is some creative members out there!
Im taking my second course in march to get my MTCWE, so Im not a routerboard expert yet =)

I`m working in Hoopla with field installation in conserts and festivals to setup network and cash registers.
In Norway we have this new cash register law that demands that each till have a integrated cash drawer. There are a few drawers with bluetooth and/or ethernet/wlan, but they are a bit expensive.
The old school cash drawers is connected to the tills printer, so it will open every time the printer revieces a job. This is no longer good enough, because we need to be able to get open/locked status from the drawer.

There are a lots of USB cash drawers, I have bought one demo that I will try to get to work with a routerboard router with USB port… I have hooked it up and routerboard is recognasing the usb device.
Any suggestions out there for how I shall go forth to be able to talk to the cash drawer through the router?
Here is a link to the help page for the drawer I have bought with code exemples and drivers for other OS: http://cash-drawers.com/index.php/technical/

Thank you guys!

And of course.. I will pay for help to get this too happen =)

Difficult to say if this is doable without inspecting the drawer.

If it can be setup to be recognized as a serial device, there could a possibility, but hard to say.

It is recognized as a usb device: https://www.dropbox.com/s/wphbccpbo42yizc/usb%20cash%20drawer%20mikrotik.PNG?dl=0

I’ll look into this.
My sister is VP of customer service for M-S Cash Drawer.
I’ll see if she can get me the details and maybe a sample.

What model drawer is it?

https://www.dropbox.com/s/t15c5izaccjn545/2017-03-24%2016.51.24.jpg?dl=0

Sister confirmed that it’s one of her’s sold in Ireland. She will get me the engineering specs on Monday.

Even being an USB device, it can identify itself as several kind of devices, or even multiple ones.

You can think on USB as the “transit” interface, but then the connected device can identify itself as a serial device, modem, network device, mass storage… you get the idea.

Wow that’s luck! :slight_smile:

JanTore: In the meanwhile, you can identify how your specific sample identifies itself:

On Windows: http://www.uwe-sieber.de/usbtreeview_e.html

On linux, you can use lsusb, part of the usbutils package. (use -v)

On Mac, there’s a great utility, USB Prober.

Can`t wait =)

Okay, I spoke with my sister, and she was also to get my the engineering documents.
Unfortunately, the drawer’s interface used the Microsoft HID (Human interface device) interface. That means that the drawer receives commands, and sends back status to the system, instead of a simple Serial interface. While you could use this drawer with a full Linux system, RouterOS does not provide an HID programming interface.

At this time, you may want to send the drawer back and see if you can order a unit with a standard Serial or USB Serial interface.

Ah, oki :confused:

Tnx anyways!