Sending more than 8 byte through UART on Raspberry Pi using Android Things!

0 votes
I have a Raspberry Pi running on Android Things. I'm trying to send data that is over 8 bytes over a UART connection using the Pin 4 with a TTL through USB2.0. But that didn't work, so, should I be using some other pin like Pin 6? Or what should I be doing if I want to send a 9-byte data or 234212441325454543595674859764 to USB to TTL with pin 4?
Aug 24, 2018 in IoT (Internet of Things) by Bharani
• 4,550 points
61 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
So, you can send 234212441325454543595674859764 in ASCII, which is the default for UART.

Check this out for examples or tutorials:
https://developer.android.com/things/sdk/pio/uart
https://github.com/androidthings/sample-uartloopback

Since its over 8 bytes, there might be a chance that you don't receive the entire string at once, but even if you get it in parts, just concatenate them.
answered Aug 24, 2018 by nirvana
• 3,040 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Accessing Kinect data on the Raspberry Pi

Yes, you can. The Kinect has a ...READ MORE

answered Aug 14, 2018 in IoT (Internet of Things) by nirvana
• 3,040 points
188 views
0 votes
1 answer
0 votes
1 answer

Downloading source code of Android Things

No because AndroidThings is still in preview ...READ MORE

answered Jul 5, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
333 views
0 votes
1 answer

Creating Android Things' bundle and pushing it over OTA

Here are all the steps necessary to ...READ MORE

answered Jul 6, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
30 views
0 votes
1 answer

Problem while disconnecting BLE device!

I think that's because of the way ...READ MORE

answered Jul 17, 2018 in IoT (Internet of Things) by nirvana
• 3,040 points
107 views
0 votes
1 answer

Connect Android Things based Raspberry Pi 3 to wifi network for the first time!

Hey, I think its alright!  Your Raspberry Pi ...READ MORE

answered Jul 18, 2018 in IoT (Internet of Things) by nirvana
• 3,040 points
158 views
0 votes
1 answer

Setting time on Raspberry Pi using just PowerShell

The Enter-PSSession is for interactive sessions, so ...READ MORE

answered Aug 10, 2018 in IoT (Internet of Things) by nirvana
• 3,040 points
36 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.