Is the compatible with any of your mobile platforms?
JaneYu 2015-06-20 16:43:49 20 Views21 Replies Is the compatible with any of your mobile platforms?
Hi Sag007
Your problem is confirmed. We can reproduce it. However it's a pity to say that this module is not compatible with Romeo for Edison. Nevertheless you can try our Gravity: Relay Module V3.1. It is tested to be used.
https://www.dfrobot.com/ind...
We feel sorry about it.
JaneYu Hi, I don't have solid state relay by hand. However it may be caused by the power supply. It is a good idea to use the external power supply rather than the usb.
Also from the Specification of this board:
DC Current per I/O Pin is 10mA.
Output Voltage is 5V.
From your description, your solid state relays is 3vmin 10mA, which will easily drop output voltage from 5V. It is recommended using the motor controller to drive this solid state relay.
For the XDK, it is almost based on MRAA library, which is maintained and updated by Intel. So you can directly contact intel for more details and information. They have a good community for Edison: https://communities.intel.c...
By the way : You can check here to get the pinout mapping:
https://communities.intel.c...
http://iotdk.intel.com/docs...
JaneYu Hi, Thanks for the reply firstly.
The mapping I clearly have sorted as I can turn the relays on individually just not simultaneously. This would indicate to me the digital pins don't have enough power to run two together, this is a shame because a standard relays would probably draw more current than solid state one. So if I cant run a motor directly from a digital output which I would expect but it wont even run a solid state relay, is driving an led at half power the only thing I can use the digital pins on this board for ?
Also, if I could use the H bridges it would solve many issues but the support for use in the intel xdk was no existent.
Sag007
Hi, our main function is always tested under Arduino. We feel sorry for your inconvenience.
For the Mega8 part, if the connection is right and following the wiki step by step, this problem should not happen unless the boot-loader of Mega8 is corrupt. Provided that you have another Arduino Uno or boards with Mega328p, you can try to follow this tutorial to save your mega8 : https://www.arduino.cc/en/T...
Be noted that the ICSP connector is just near the Mega programming headers.
JaneYu Hi, how do you connect the relay? And what is your programming environment?
JaneYu Hi, I have been trying to control the H bridges via programming of the Edison in the Intel XDK. So far I have the following;
var m = require('mraa'); //require mraa
x = new m.I2c(1); // i2c bus 1
x.address(0x04); // address 0x04
var buf = new Buffer(5);
buf[0] = 0x55;
buf[1] = 0xaa;
buf[2] = 0xc1;
buf[3] = 0xff;
buf[4] = 0xbf;
var buf2 = x.write(buf);
console.log('Sent: ' + buf.toString('hex') + 'Received: ' + buf2.toString('hex'));
Unfortunately, this doesn't run. I would be grateful if anyone could offer some assistance in being able to enable the
M1 port: forward, stop, reverse
M2 port: forward, stop, reverse
Thanks in advance for your help.
sag007
JaneYu http://www.intel.com/buy/us...
As can be seen in the above link, the official development board for the Edison includes two full sized USB ports in addition to the two micro USB ports. Furthermore this is a physical switch to toggle between "Host" mode and "Device" mode.
The Romeo lacks both the full size USB ports making it impossible to directly plug in a standard USB camera without an adapter, and it is also missing a physical switch to toggle between modes. There is no information about how to utilize the Romeo micro USB ports in "Host" mode in the documentation/wiki, and by default they work in "Device" mode.
I was hoping that by posing my question on your website I could get better feedback from an expert on the dfrobot team or maybe the someone from the community who has experience. As it currently stands your replies have not answered my original question or the more detailed followup, but thank you nonetheless for replying.
JaneYu Hi, it integrated 2 modes within the same USB port, just like the newest smart phone, if you need to connect some device, just add a OTG cable. The official board doesn't support.this function, it needs the switch to change its working mode.
How can you plug a webcam or other USB device into the Romeo?
JaneYu USB camera, Edison can deal with video processing
Hi, the motor driver of Romeo for Edison is based on a co-processor Atmega8. and they are using I2C communication method. But their library is base on Arduino code. It requires a second development with eclipse or others
JaneYu Can You suggest me in few points what steps should I develop ? Do You have any code example how to use I2C methods ?
Hi, sorry for the late reply, The Edison supports official IDE, but Romeo for Edison is designed for the Arduino function. The internal pin map is different to Eclipse. So GPIOs are not compatible
JaneYu Hi,
I'm using Intel XDK and Romeo board
. The code is:
var mraa = require("mraa"); //require mraa
var pwm3 = mraa.Pwm(9);
pwm3.enable(true);
pwm3.period_us(2000);
var value = 0.0;
setInterval(function () {
if (value >= 1.0) { value = 0.0; }
value = value + 0.03;
pwm3.write(value); //Write duty cycle value.
console.log(pwm3.read());//read current value that is set before.}, 3000);
and it rise error (Mraa version 0.9.0), How to solve it?
ERROR: /home/root/.node_app_slot/main.js:24
ERROR: var pwm3 = Mraa.Pwm(9);
ERROR: Error:
Illegal arguments for construction of
_exports_Pwm
at Object.<anonymous>
(/home/root/.node_app_slot/main.js:24:18)
JaneYu ooooow its also qwsome but i want to buy latte-panda windows ...... by which month i can order from DFrobot ??
JaneYu Hi Yasin, Thank you for your support. The first batch of Latte-panda will be Kickstarter user. You could order it on Kickstarter first.
Hi, we also tested a I2C LCD with edison board, it works well. So the hardware and protocol should be OK. Since Edison still exists a little difference with ordinary Arduino. I guess its library should be changed with new device.
JaneYu This Edison board with two-way motor driver is compatible with most of the platform. It is special!
JaneYu Hi, the pinout of Edison romeo board should be same with Arduino. Blink LED should be D13.
JaneYu 

