This message was posted on behalf of Intel Corporation
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 How to create a system service with systemd on Edison and Galileo’s eglibc image .
Finally, regarding the serial example 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!