UART connect Intel Edison and Arduino Mega 2560

If you want to connect some motor shields or sensors to Intel Edison you can do it by an extension board. But you’ll probably have to code a special libs for this. Instead of it you can connect an Arduino board to Intel Edisson and connect them though the UART interface.

First of all you have to switch SW1 on your Edison board to the second position. Connect 8(RX),9(RX), GND of the Arduino to 1(TX), 0(RX), GND of the Edison correspondingly.
Now you should set pins of the Edison as root:

If you’ve yielded the error like this: Device or resource busy. It is normal. It seems that your pin is already set.
If you’ve yielded the error like this:
Check your SW1 switch, power off the Edison and start it with AC adapter power supply (not micro USB power).
Write and upload the sketch to the Arduino Mega:
After that you can test:
If you like the post you can donate:
BTC: 17h8xfX11tZWZ5fbDR58MCVhCrAjjL31w7
LTC: LTJj6LS3n8fndcoeysDVMDzH1u9Amg581C
DGE: D7XqBhykUDmb7JLMVkT3QLd7yAJ241zyGM
ETH: 0xc189c61c20960cbcb57cd040c67f421180966967
ZEC: t1VnhNCzArY8yS8U37jshYYkcMmRJYh2FAE

Leave a Reply