iliasam / Laser_tape_reverse_engineering

Alternative firmware for a cheap X-40 laser tape measure
https://habrahabr.ru/post/327642
MIT License
124 stars 46 forks source link

Lowering the baud rate #2

Closed IDmedia closed 5 years ago

IDmedia commented 5 years ago

The laser works perfectly on a PC, but I have issues using it on my Wemos D1 Mini Pro. I have tried the TX/RX pins and SoftwareSerial, but I only get questionmarks and weird characters indicating that the baud rate is wrong.

I have found multiple people saying that SoftwareSerial doesn't play well beyond 115200. I found the definition of the baud rate in the firmware, but would it be possible to lowering it without any further concern? Any tips on how I can rebuild the firmware hex file?

iliasam commented 5 years ago

My firmware is based on that data transmission is high enough. If you try to decrease baudrate it can broke down TX process. So the TX process in the firmware must be rewritten.