Romeo Edison pinouts incorrect
I have a the Intel Edison version of Romeo.
If iI run "blink" from Eclipse the signal is on pin 2 instead of pin 13.
When I move the same Edison from the Romeo board to the standard Intel Arduino breakout board, the signal is on pin 13.
This means there is something different about the hardware of the Romeo board.
Please advise me of what to do.
Thanks
If iI run "blink" from Eclipse the signal is on pin 2 instead of pin 13.
When I move the same Edison from the Romeo board to the standard Intel Arduino breakout board, the signal is on pin 13.
This means there is something different about the hardware of the Romeo board.
Please advise me of what to do.
Thanks
2016-03-07 20:30:10 Hi What is the resolution for this problem.
I have the same issue.
Led 13 blinks fine when using Arduino IDE and sending a Sketch to the Edison Romeo Board
But doesn't work when using the IOT Hello blink C++ example from Eclipse.
That example does work when I send it to the Intel Edison Arduino board.
Both Boards use the same poky Image: Linux romson 3.10.17-poky-edison+ #1 SMP PREEMPT Fri Jun 19 12:06:40 CEST 2015 i686 GNU/Linux
So what is the difference?
Thanks and regards,
Jacob
Example from EclipsIoT:
I have the same issue.
Led 13 blinks fine when using Arduino IDE and sending a Sketch to the Edison Romeo Board
But doesn't work when using the IOT Hello blink C++ example from Eclipse.
That example does work when I send it to the Intel Edison Arduino board.
Both Boards use the same poky Image: Linux romson 3.10.17-poky-edison+ #1 SMP PREEMPT Fri Jun 19 12:06:40 CEST 2015 i686 GNU/Linux
So what is the difference?
Thanks and regards,
Jacob
Example from EclipsIoT:
Code: Select all
jacob.kamminga * Author: Jessica Gomez <[email protected]>
* Copyright (c) 2015 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, dfrobot FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/**
* @file
* @ingroup basic
* @brief On board LED blink C++
*
* Blink the on board LED by writing a digital value to an output pin
* using the IO mraa library.
*
* @date 29/09/2015
*/
#include "mraa.hpp"
#include <iostream>
#include <unistd.h>
/*
* On board LED blink C++ example
*
* Demonstrate how to blink the on board LED, writing a digital value to an
* output pin using the MRAA library.
* No external hardware is needed.
*
* - digital out: on board LED
*
* Additional linker flags: none
*/
int main()
{
// select onboard LED pin based on the platform type
// create a GPIO object from MRAA using it
mraa::Platform platform = mraa::getPlatformType();
mraa::Gpio* d_pin = NULL;
switch (platform) {
case mraa::INTEL_GALILEO_GEN1:
d_pin = new mraa::Gpio(3, true, true);
break;
case mraa::INTEL_GALILEO_GEN2:
d_pin = new mraa::Gpio(13, true, false);
break;
case mraa::INTEL_EDISON_FAB_C:
d_pin = new mraa::Gpio(13, true, false);
break;
default:
std::cerr << "Unsupported platform, exiting" << std::endl;
return mraa::ERROR_INVALID_PLATFORM;
}
if (d_pin == NULL) {
std::cerr << "Can't create mraa::Gpio object, exiting" << std::endl;
return mraa::ERROR_UNSPECIFIED;
}
// set the pin as output
if (d_pin->dir(mraa::DIR_OUT) != mraa::SUCCESS) {
std::cerr << "Can't set digital pin as output, exiting" << std::endl;
return MRAA_ERROR_UNSPECIFIED;
}
// loop forever toggling the on board LED every second
for (;;) {
d_pin->write(1);
sleep(1);
d_pin->write(0);
sleep(1);
}
return mraa::SUCCESS;
}
2015-08-13 23:19:43 If the same chip works OK in the standard breakout board, but does not work correctly in the Romeo, then the romeo is incorrect. mobilenumbertrackr
2015-08-06 08:14:32 Got a response on this issue from DFRobot support. Will test information given tonight at home.
In the meantime: Mr. Helipilot50, I would value being in touch with you if you don't mind. I'd be interested very much in knowing if you resolved this issue and got traction with your Romeo Edison board.
Thank you.
- Dave F. ([email protected]) Ferreira Dave
In the meantime: Mr. Helipilot50, I would value being in touch with you if you don't mind. I'd be interested very much in knowing if you resolved this issue and got traction with your Romeo Edison board.
Thank you.
- Dave F. ([email protected]) Ferreira Dave
2015-06-25 19:18:37 Hi,
In arduino IDE , it's ok with the PIN13.
and we're solving this problem with Eclipse. Leff
In arduino IDE , it's ok with the PIN13.
and we're solving this problem with Eclipse. Leff
2015-06-25 03:49:29 The pinouts on both boards should the same, otherwise they would not be Arduino compatible, and they are both labeled identical.
If the same chip works OK in the standard breakout board, but does not work correctly in the Romeo, then the romeo is incorrect.
So I'll ask again: Is there special Romeo code/library that I need to use, from Eclipse, to correct the pinouts? helipilot50
If the same chip works OK in the standard breakout board, but does not work correctly in the Romeo, then the romeo is incorrect.
So I'll ask again: Is there special Romeo code/library that I need to use, from Eclipse, to correct the pinouts? helipilot50
2015-06-24 01:13:49 check the standard Intel Arduino breakout board and the Romeo board schematic diagram to check the pin map. Leff