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/
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!
JanTore: In the meanwhile, you can identify how your specific sample identifies itself:
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.