The reason why you can't read any data when you type "cat /dev/MDF1" is because you are trying to read from USB port (j3), which is the port used to access Linux. As you can see here: Using Serialx on Edison, ttyMDF1 is the UART1, and according to the Intel® Edison Breakout Board Schematic (pdf) in sheet 5, the UART1 pins in the Mini Breakout Board, are found in J19 and J18. Now, if you want to use these pins, I must tell you that you need to use a level translator since these pins are plugged directly to the Edison and work at 1.8V.
Thanks for your answer Intel_Peter . The thing is that I connect j16 to energize intel edison , and j3 is free, so i can't use the j16 mini usb to connect it with arduino. and I try to connect mini usb (j16) with pc and run this command "cat /dev/ttyGS0" and i can't see anything.
I try too with python .My code in python is very basic (below) :
but not work .Some pictures of my connection
This is taken from the The specified item was not found. in section 2.1:
"J3 is a micro USB FTDI serial-to-USB converter. The Linux console will output serial stream to this USB connector.
J16 is a fully USB compatible, micro AB, OTG (power “on the go”) port. If you plug a micro A cable into this port, the Intel® Edison module will connect to a PC as the host; if you plug a micro B cable into this port, the Intel® Edison module will connect to the PC as a device. (See the USB A female to micro A male cable, Digikey P/N 10-00649 839-1105-ND in Figure 7.)"
So, what happened again is that you are trying to read data from the wrong port, J3 as stated in the paragraph above is only used to connect to Linux.
If you can't use ttyMDF1, you could power the Breakout board from J21, applying 7-15V with the polarity shown in the Figure 2 of the The specified item was not found. under section 2.1 and use the ttyGS0 to read the data you send from your Arduino.
Peter thanks for your response. well, now I'm using a external supply but i can't find a type A micro usb. Therefore I'll build a type A micro usb modyfing one of type b , for this I need only connect the ground pin (pin 4) to ID pin (pin 4 for connect to intel edison), thats is correct?
Finally worked thanks for the help. I just plug usb land and became as usb type A. but the port to read was not /dev/ttyGS0 , is dev/ttyACM0 .