Hello,

Thank you all for the quick replies. Such a good community. 

Long story short why I am trying to do this. Basically for fun and to 
enable my soon to go where he wants to go.

We have been doing Arduino as a stand alone robot controller and Lego 
robots with RobotC since he has 10 or 9. We have fun and we are not even 
close to explore the limits of the Arduino Uno yet.

I would like my 13 years old to expand a bit on his experience with 
embedded systems. By the way, his primary PC has been a Linux machine for 
years now. He stays on the GUI level. No,he is normal kid that also plays 
tennis at national level in the US (with some international tennis travel 
too). He loves to go out camping,  just in case you are wondering.

Anyway, I good way to get him in embedded Linux would be with an easy 
transition using something he is already familiar with. i.e., the Arduino 
IDE running in Linux, in this case in our cool BBB Rev C. We can do this 
using WiFi/VNC to the BBB to use the Arduino IDE, in this case V1.6 to 
support the Due.Then we start to build from there with communication 
between the two boards with the Arduino doing the low level control and 
Linux doing some planning all being developed "inside the BBB".

Why the Due? To make an easy transition of the I/O interfacing we will do 
to 3.3V controllers.

In summary this is an education exercise to let his imagination run free 
and have building blocks for the future.

So lets assume I need the hardware I mentioned (BBB + Arduino Due). I know 
I could be programming the robot(s) only using the BBB, this is coming in 
the near future, that is why I got the BBB. I know there are other 
solutions there. But this is the hardware I have ;-)

If I was using the Arduino UNO or Mega the IDE I can install on the BBB 
would do it. Again, the Due is part of our plans of 3.3V and learning.

I wonder how hard is to compile from source for the ARM and where I can 
find a step to step guide. I know it can be done since there is an Arduino 
IDE available already that install on the BBB (1.01 I guess). And there is 
one pre-installed on the Udoo Board that can generate code to the Due.

Sorry about the long reply.
Thank you all in advance for any help.

If I manage to compile the IDE package I will give it back to the community.

-Jack


On Thursday, January 8, 2015 at 2:35:37 PM UTC-8, Mike Bell wrote:
>
>  On 01/08/2015 04:50 PM, William Hermans wrote:
>  
>  Like Robert says, the Arduino IDE ( wiring ) is packaged for x86 / 
> x86-64 not ARM. *HOWEVER* since the Arduino IDE is based on wiring, you can 
> create your own IDE using this with different pre-compiled binaries for a 
> specific target. Which was done for the MSP430 launchpad ( Energia ) 
> http://energia.nu/
>
>  With that said, this could turn into a huge project on it's own, and 
> probably is not worth it - for you end goals. So, there is nothing stopping 
> you from writing your code on an x86 system, and still using the Beaglebone 
> Black in conjunction with an Arduino board. If that is what you're trying 
> to achieve. e.g.
>
>
>    1. Program the Arduino via Arduino IDE, then upload the code to the 
>    target. 
>    2. Write a native binary for the Beaglebone Black - to communicate 
>    with the Arduino. 
>    3. Connect the two boards through circuitry. Just be aware that some 
>    Arduinos use 5v I/O, where as the beagelbone black uses 3v3. So a level 
>    shifter may be required. 
>
> So that's it from a 30,000FT view, now all that remains to figure out is 
> exactly how you wish to communicate with the two boards. SPI, I2C, UART, 
> etc.
>  
>
>  
> On Thu, Jan 8, 2015 at 1:54 PM, Robert Nelson <[email protected] 
> <javascript:>> wrote:
>
>> On Thu, Jan 8, 2015 at 11:24 AM, Jack_RobotDad <[email protected] 
>> <javascript:>> wrote:
>> > Hello,
>> >
>> > I am working on a small robot project with my son. I need to install the
>> > Arduino IDE 1.6 (e.g., nightly build Linux 32) into my BBB.
>> > The Arduino IDE from the repository installed easy using application
>> > management, but it does not support the Arudino Due boards as is.
>> >
>> > I have basically downloaded the lasted files from the Arduino site and
>> > followed the instructions from here to create a link on the BBB desktop
>> > 
>> https://bhargavg.wordpress.com/2011/12/23/creating-an-arduino-desktop-launcher-for-ubuntu-11-10-with-desktop-file/
>> >
>> > I have done the install and it is working on regular Linux PCs running
>> > Ubuntu and Linux Mint, but I can't make it work on the BBB for some 
>> reason.
>> > On the BBB when I click over the icon I created to execute the arduino 
>> code,
>> > nothing happens.
>> >
>> > I am getting the Arduino IDE Nighly Builds Linux 32 from here
>> > http://arduino.cc/en/Main/Software#toc4
>>
>> The Arduino IDE ^^^ is packaged for 32bit/64bit "x86"... Not "arm"
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> http://www.rcn-ee.com/
>>  
>>    http://forum.arduino.cc/index.php?topic=155132.0
>
> A quick search revels the above link, indicating that linaro have some 
> version of the IDE packaged.
>
> As the IDE is Java it should be possible to make this work, albeit with 
> some effort.
>
> Mike
>  

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to