Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18347

How to use the UART(stereo jack) for other purposes?

$
0
0

Hello together,

is it possible to connect the UART (3.5mm stereo jack) with a RS232 Adapter also for other purposes than the Arduino sketches on the PC?

Do i have to quit a progress before or is it reserved for the Arduino-IDE only? Do i have to use a FTDI or MAX232 workaround instead?

Because im trying to connect the UART to a Transformator to regulate the output voltage. The Trafo datasheet says this:

Buerger Electronic - ST800:


Baudrate 19200

Parity N

Bits 8

Stop 1

Puffer 100

no Handshakes


Example:

16 Enter 1 Enter      Remote control activated

16 Enter 0 Enter      Remote control disabled

48 Enter                   Response: Voltage-value 8 Bit

49 Enter                   Response: Current-value 8 Bit

64 Enter 255 Enter  = Ua max

65 Enter 255 Enter      = Ia max


When i change the baudrate to 19200 and just send a single byte, the shell is just in an endless idle state.

$stty 19200

$echo "48" > /dev/ttyS1


So i'm not sure if im using the commands right or if its just not working, because the stereo jack is not intended to work with other devices.


Thanks for your help in advance.


Viewing all articles
Browse latest Browse all 18347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>