Community
cancel
Showing results for 
Search instead for 
Did you mean: 
LHONG11
Beginner
1,518 Views

Missing of avr/interrupt.h file when compiling softwareserial example on intel edison

Hi guys, i've faced some problems with the missing of header file. Can anyone please help? I will mention in details what i wanted to do, perhaps anyone could guide me with a better way to achieve the goal.

I'm using Intel Edison with Arduino Breakout board and using IDE sketches to write my code. I'm planning to use the built-in bluetooth feature to obtain data from android phone, but somehow I'm not sure how to do it. If anyone know, can just guide me in this way. Anyway, as i have no idea how to read data using the built in bluetooth, so i decided to use an external bluetooth module like how it is setup as a normal arduino uno, so i tried on the softwareserial example provided in the library. When i verify the coding, somehow it appears the error of # include not found. But this only appear when my board is directed to tools/ board: intel edison. When i change it to arduino /genuino uno, the example just went well. Has anyone faced this using Intel Edison? Btw my IDE version is 1.6.12 and i have tried on 1.8.1 as well, the problem still the same.

0 Kudos
5 Replies
idata
Community Manager
53 Views

Hello KianHong,

 

 

Thank you for interest in the Intel® Edison Breakout Board.

 

 

If you want to learn more about the built-in Bluetooth and how to configure it, please check the following guides:

 

https://software.intel.com/en-us/articles/intel-edison-board-getting-started-with-bluetooth

 

http://download.intel.com/support/edison/sb/edisonbluetooth_331704004.pdf

 

 

In the meantime, could you share more information about the external Bluetooth module that you are using?

 

 

I'll be waiting for your response.

 

 

Regards,

 

Andres V.
LHONG11
Beginner
53 Views

Hi Andres V.

I'm using an App-Link Bluetooth module with power 3.3VDC, Range:30feet, Speed:9600bps. It can set name and password as well.

Thanks. I'm looking forward for your reply.

KianHong

idata
Community Manager
53 Views

Hello KianHong,

 

 

Thank you for the information provided.

 

 

I checked if the module you are using is in the Intel Galileo Board, Intel Galileo Gen 2 Board, and Intel Edison Board – Shield Testing Report, but I couldn't find it. That doesn't necessarily mean that your module is not compatible with your Edison board, it just means that it hasn't been officially tested. For further reference you can check this link http://www.intel.com/content/dam/support/us/en/documents/Galileo-Edison_ShieldTestReport_330937-002.....

 

 

Having said that, I think the best way to accomplish the Android phone – Edison board communication is through the built-in Bluetooth. Please check this guide Communicate to Arduino code with your Android Phone by Bluetooth Serial Port Profile (SPP) on Intel Edison ( https://software.intel.com/en-us/blogs/2015/05/19/communicate-to-arduino-code-with-your-android-phon...). It provides the necessary steps and files to test what you are trying to accomplish.

 

 

Please let me know if you find the previous information useful.

 

 

I'll be waiting for your response.

 

 

Regards,

 

Andres V.

 

idata
Community Manager
53 Views

Hello KianHong,

 

 

I was wondering if you had the chance to check the suggestion provided.

 

 

If you have any other question, don't hesitate to contact us.

 

 

Regards,

 

Andres V.
LHONG11
Beginner
53 Views

Hi Andreas V.

I'm sorry to say that I have no chance to check on the suggestions provided yet. I will come back again when I have time. Thanks a lot for your help.

KianHong

Reply