How to send data using Simulink Serial send?

3 Ansichten (letzte 30 Tage)
Ajay Joseph
Ajay Joseph am 2 Mär. 2018
Bearbeitet: Ajay Joseph am 3 Mär. 2018
Hello all, I am trying to send an uint8 constant from simulink to a serial port. I have a Bluetooth connected to usb-ttl serial port. I am able to send data but at the receiving end I am getting random numbers + sent data. Initially I thought it could be sending carriage return or new line feed, but as I change the constant value in simulink the random numbers tend to change too. Please take a look at the picture attached where I have used TeraTerm and Arduino to receive data. Any help will be much appreciated.

Antworten (0)

Kategorien

Mehr zu Block Libraries finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by