What board are you referring to with Edison Gen 2?
Take a look at the Galileo/Edison Shield test report Desktop Boards — Shield Testing Report for Intel® Galileo Board and Intel® Edison Board to see some characteristics of other motor drivers, since this one hasn’t been tested.
Also, take a look at I am basically lost with i2c... trying to connect grove shield to arduino. and run the I2CSacanDevices at the end of the thread to see if your issue is not caused by your board not being detected.
We are using Intel Edison for arduino and Edison. The data transfer rate on Edison is faster than seemed motor driver can handle. We are suspecting that.
Edison only support 3 frequency settngvia a mraa i2c c based library. Do we need to set lower frequency on Edison so it can communicate with seemed motor driver ?
Unfortunately I don’t have that specific shield so I’m not able to test it. Also is that a sample code or did you made that code yourself? There is a community thread Re: Grove - I2C Motor Driver does not work with Arduino Expansion Kit in which a code for this sensor is tested and worked. I’d suggest you to try running that code with your sensor and board to see if you get any response. Also, see the links posted by other users. Maybe you missed something and those links may have the answer
This motor driver is supported by UPM.
Here is the source code for it and upm/grovemd.cxx at master · intel-iot-devkit/upm · GitHub here is an example using c++ : upm/grovemd.cxx at master · intel-iot-devkit/upm · GitHub
Thanks for response. I did check this code https://github.com/intel-iot-devkit/upm/blob/master/examples/c%2B%2B/grovemd.cxx
But where is this header file ,
I try to find it on edison but it is not there. So this code can not be compiled. I use Eclipse IDE and it is not there also.
root@edison:/usr/include/upm# find . -name grovemd.h
root@edison:/usr/include/upm# ls grovemd.h
ls: grovemd.h: No such file or directory
My version of ump is upm_0.1.9
root@edison:/usr/include/upm# cat /etc/version
I don't have an Edison infront of me, but I believe this was just added into UPM in the past few weeks, so maybe it is not in the release. You could just add the appropriate files were needed, or possibly download the UPM source onto the board and run it from there? If that doesn't work try opening an issue on the UPM Github page.
I will try getting it to work on my board when I get a chance.