I want to send more than 8 byte data over the UART connection I am currently using USB 2.0 to TTL with 4 pin. I think my option is to use USB 2.0 to TTL with 6 pins is it correct? If not what are my option? for e.g I want to send 234212441325454543595674859764 how can i send it usb to TTL with 4 pins?
Asked
Active
Viewed 502 times
0
-
If you really need 9-bit UART, please see [this](https://stackoverflow.com/q/46803849/6950238) question. But if you want to send 234212441325454543595674859764 in ASCII - that is normal case for UART. Take a look at [this](https://developer.android.com/things/sdk/pio/uart.html) and [that](https://github.com/androidthings/sample-uartloopback) and many [other](http://nilhcem.com/android-things/discovering-the-UART-api) other examples and tutorials. – Andrii Omelchenko Dec 07 '17 at 09:10
-
I am able to send data but, I am having string which shown in the example above when i send the string from computer to raspberry pi it came in two subsequent parts. Like 2342124413254545 and then 43595674859764 but i want it in on shot like 234212441325454543595674859764. – Ajinkya Dec 07 '17 at 09:13
-
Just concat in. – Andrii Omelchenko Dec 07 '17 at 09:30
-
already did it...thanks....post answer will mark it correct. – Ajinkya Dec 07 '17 at 10:16
1 Answers
1
If you really need 9-bit UART, please see this question. But if you want to send 234212441325454543595674859764 in ASCII - that is normal case for UART. Take a look at this and that and many other examples and tutorials. If you receive not full string, but it parts - just concat them.

Andrii Omelchenko
- 13,183
- 12
- 43
- 79