gcormier / megadesk

Open-source IKEA Bekant controller board
GNU General Public License v3.0
717 stars 53 forks source link

Serial response garbled #85

Closed frankhommers closed 2 years ago

frankhommers commented 2 years ago

I have flashed the latest v2021.09-serial.hex file. The serial commands DO work! Which is great!

But I get a "garbled" response on serial commands.

image Above screenshot was take just after a <T3000,255. command.

These are my settings: image Are they wrong?

Also it would be nice if the baudrate, databits, stopbits, parity and flow control were mentioned in the documentation.

frankhommers commented 2 years ago

I just tested this with different USB to Serial converters, on different PC's. Same result.

gcormier commented 2 years ago

115200 is indeed the correct speed. You could try reducing the speed in the code and your TTY to match in case there is some sort of interference? Have you tried the serial adapter with other devices?

frankhommers commented 2 years ago

I directly connected it to my Wemos and it disappeared... Very weird. I tried 3 different types of USB RS232 adapters and 2 PC's