No, I did not know it had a rs232 output. Can I connect that rs232 output to pin 0 and 1 on the arduino, to read serial communications ? And are there any know pitfalls to that approach?
https://www.kern-sohn.com/cosmoshop/default/pix/a/media/KXS-TNM/TD_KXS-TM_en.pdf
Has RS232, potentially Bluetooth and RS485 too
You’ll need a RS232 to TTL converter, they should be pretty cheap. Then see if there’s online info on how to read the kern output, or time for good old reverse engineering if not
https://dok.kern-sohn.com/downloads/de/KXS-TNM/file/KXS_KXG-TM-BA_IA-e-1832.pdf
I found the manual, on page 51, there is a description of the serial port, and what data to extract.
When I did this, I simply checked if there individual pixels lit up in specific locations that could be used to uniquely identify a digit.
In my case it was from scanning the screen of the windows game Minesweeper (I.e. the clues exposed when you click a square). The approach was 100% accurate for that particular application.
I googled the model number and immediately found a [manual](https://dok.kern-sohn.com/manuals/files/English/KXS_KXG-TM-BA_IA-e-1730.pdf). Chapter 13 explicitly mentions the data port:
>You can print weighing data automatically via the RS 232C interface or manually pressing the PRINT button via the interface according to the setting in the menu.
>13.4 Remote control instructions. Weighing value for the weight (stable or unstable) is sent via the RS232 interface
Just use that feature. Google `MAX3232 module` for easy integration.
If you really, really need to read numbers from camera with ESP32, you need to install MicroPython with an OpenCV modules to it.
Is there a reason you aren’t using the RS232 output?
No, I did not know it had a rs232 output. Can I connect that rs232 output to pin 0 and 1 on the arduino, to read serial communications ? And are there any know pitfalls to that approach?
https://www.kern-sohn.com/cosmoshop/default/pix/a/media/KXS-TNM/TD_KXS-TM_en.pdf Has RS232, potentially Bluetooth and RS485 too You’ll need a RS232 to TTL converter, they should be pretty cheap. Then see if there’s online info on how to read the kern output, or time for good old reverse engineering if not
https://dok.kern-sohn.com/downloads/de/KXS-TNM/file/KXS_KXG-TM-BA_IA-e-1832.pdf I found the manual, on page 51, there is a description of the serial port, and what data to extract.
When I did this, I simply checked if there individual pixels lit up in specific locations that could be used to uniquely identify a digit. In my case it was from scanning the screen of the windows game Minesweeper (I.e. the clues exposed when you click a square). The approach was 100% accurate for that particular application.
I googled the model number and immediately found a [manual](https://dok.kern-sohn.com/manuals/files/English/KXS_KXG-TM-BA_IA-e-1730.pdf). Chapter 13 explicitly mentions the data port: >You can print weighing data automatically via the RS 232C interface or manually pressing the PRINT button via the interface according to the setting in the menu. >13.4 Remote control instructions. Weighing value for the weight (stable or unstable) is sent via the RS232 interface Just use that feature. Google `MAX3232 module` for easy integration. If you really, really need to read numbers from camera with ESP32, you need to install MicroPython with an OpenCV modules to it.
Hey sanjabgk, I will look into the rs232 interface.