Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
970 Views

Edison kit for Arduino - hangs, not working with peripherials

My Edison kit for Arduino is crashing when:

1. Disonnecting USB (Device) - 12V supplied

2. Connecting peripherials (relay, rangefinder)

3. Sometimes after flashing new program

Relay sometimes flicker, sometimes crashing the whole thing.

The program never starts properly after powering the board, I have to reflash my program.

I have most recent image installed.

I also tried to make connection between Mega2560 and Edison (TX1->RX0|RX1->TX0|GND-GND) with this, example1: http://forum.arduino.cc/index.php?topic=396450.0 Serial Input Basics - updated http://forum.arduino.cc/index.php?topic=396450.0 http://forum.arduino.cc/index.php?topic=396450.0 No success, no data received on Edison.

I'm using only Arduino IDE.

This is my code: https://pastebin.com/fAhjDmPa [C++] Edison code - Pastebin.com

0 Kudos
2 Replies
idata
Community Manager
25 Views

Hi H3ck3rm3n,

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

I'm sorry to hear that you are having issues with your Edison. Now, when you say your " Edison kit for Arduino is crashing", do you mean that the Arduino sketch that you uploaded to the Edison stopped running? If you are, then it is normal that it stops after you disconnect your USB or flash a new program. Also, if you are connecting a relay, the error might be due to the fact that this sort of devices, creates a current spike that wil make the sketch to stop running.

If you are interested in autostarting the Arduino sketch, I would encourage to create a system service by following the steps on this guide .

Finally, regarding the serial example http://forum.arduino.cc/index.php?topic=396450.0 Serial Input Basics - updated , how are you checking if the data was received by the Edison?

We will be waiting for your reply, have a nice day!

Best Regards,

 

-Jose P.
idata
Community Manager
25 Views

 

Hi H3ck3rm3n,

 

 

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

 

 

Have a nice day!

 

 

Best Regards,

 

-Jose P.
Reply