-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android things using UART on Intel Edison #1
Comments
Can you provide some more details about your setup? Have you connected to your Edison the same way as the schematics in the README, or are you doing something different. Perhaps RX/TX are crossed, or the baud rate on your computer is set incorrectly? |
I did the circuitry as mentioned in the image. RX-TX, TX-RX, GND-GND. Baud rate is set to 9600 Is there any workaround that can be done to solve the problem, my main target is to get analog sensor data by UART |
I just realized you modified the sample code in your comment above. What is the purpose of this line?
This will cause 45 bytes of null data to be written out every time |
I added that line to check whether data can be written or not. Apparently the Edison is only connected to the USB port as mentioned in the android things documentation. So if it's a hardware problem, then is it because of low power or so? Should I put it on external power supply? Currently, I am not able to neither read nor write data using UART. |
You could also try shorting RX/TX together on the Edison and not have the USB-TTL cable connected to eliminate any potential issues caused by that for the moment. You could modify the sample code to periodically write out a fixed string and verify that you are able to read the same string back. |
Yesterday, wehn we were testing using another board, we did get some random values much like some random values. I'll give a shot using the method above and see if it works or not. I wanted to know one more thing, is it necessary to set anything on the Intel Edison as the UART? beside running the sample? |
The code to enable & configure the UART is found in the |
Hi,
The sample was tried using an Intel Edison but it seems not to work at all.
The data you are seeing is not sent by me.
The code for transferUartData() is mentioned below
And I am not sending anything through the cable.
If possible, guide me to implement the same thing on an Intel Edison on an Arduino breakout board. Do I need to do any extra steps for the UART or anything will be helpful.
The text was updated successfully, but these errors were encountered: