Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9872 Discussions

how to use UART in intel edison using arduino ide?

ttneh
Novice
1,242 Views

hi all, i am now currently doing a project to get data from DO sensor from atlas scientific using intel edison.

i had refer to the sample code give by atlas scientific by using UART.

but it failed cause it says that doesnt include SoftwareSerial.h. but i have no idea on how to include it.

so is that any alternative ways to read uart from intel edison using arduino ide?

0 Kudos
2 Replies
idata
Community Manager
97 Views

Hi tzeyeow,

Thanks for your interest in the Intel® Edison™ Platform.

Unfortunately, the SoftwareSerial.h is not supported on the Intel® Edison™. Nevertheless, you can still establish a serial communication, here is a sample code that might work for you: .

Also, you could use the mraa library in order to use the Edison UART https://github.com/intel-iot-devkit/mraa/blob/master/examples/c%2B%2B/Uart-example.cpp mraa/Uart-example.cpp at master · intel-iot-devkit/mraa · GitHub .

Here are other threads that might interest you:

-

 

-

Hope this helps, have a nice day!

Best Regards,

 

-Jose P.
idata
Community Manager
97 Views

Hi tzeyeow,

 

 

Do you have any more questions? Please let me know in order to assist you.

 

 

Have a nice day!

 

 

Best Regards,

 

-Jose P.
Reply