Page 1 of 1

Arduino?

Posted: Thu Jan 15, 2015 8:18 pm
by JPBB
I'm not familiar with development on the RaspberryPi, but I am excited by the possibilities.

Is there any way to use LiveCode on an Arduino? Has anyone tried? Is this a fruitless effort?

I only ask because I've done more research and planning for my ideas with Arduino and available hardware sensors for it.

Kind Regards,
John-Paul Ballard
Greenville, Texas USA

Re: Arduino?

Posted: Fri Jan 16, 2015 3:09 am
by PBH
You can't run LC on an Arduino, although I see the Yun has Linux running on it, so that may be a possibility, however, you can communicate with Arduino.

I'm currently working on a project to build an iOS/Android/Mac control centre for my Mitsubishi HVAC unit, it's very much in the early stages right now, but looks very promising. It's slow going because I have never programmed in C before, so I have quite a bit to learn, I wish there was a LC to C compiler!

I did consider the Pi, but found out that the Arduino is better for IR based projects such as this.

Paul

Re: Arduino?

Posted: Fri Jan 16, 2015 3:25 am
by FourthWorld
The one I'm most excited about is the new Intel Compute Stick:
http://www.linux-magazine.com/Online/Ne ... pute-Stick

Re: Arduino?

Posted: Sun Jan 18, 2015 1:29 am
by JPBB
After taking a closer look at what the RaspberryPi has to offer, I'm astounded. Nothing against the Arduino, but since LiveCode already has a mainline into getting onto the Pi, I see no reason to reinvent the wheel. Any ideas I have had can be done with Pi just as easy (or easier considering LiveCode). :-)

John

Re: Arduino?

Posted: Sun Jan 18, 2015 1:54 am
by FourthWorld
Anyone here interested in grabbing the LiveCode source and seeing what would be needed to compile it for Arduino's CPU?

Re: Arduino?

Posted: Thu Jan 22, 2015 5:23 am
by PBH
FourthWorld wrote:Anyone here interested in grabbing the LiveCode source and seeing what would be needed to compile it for Arduino's CPU?
AFAIK the Ardiuno is not capable of running LC, or even LC apps. The only version I know of that does have a Linux type OS installed is the Ardiono Yun and I believe it's no match for the Pi on the Linux side.

Of course I'd like to hear different! :o

Paul

Re: Arduino?

Posted: Thu Jan 22, 2015 5:26 pm
by MaxV
Arduino is not a computer, it's a microcontroller; on the contrary raspberry Pi is a computer: there is a huge difference.
You can use livecode to send instructions to arduino board, and Arduino will execute the instructions. You can send and receive data from Arduino, but it is not a pc where you can install real software.
Here is a post about talking to Arduino with Livecode: http://livecodeitalia.blogspot.it/2014/ ... porta.html

Re: Arduino?

Posted: Sun Jan 25, 2015 5:04 am
by PBH
MaxV wrote:Arduino is not a computer, it's a microcontroller; on the contrary raspberry Pi is a computer: there is a huge difference.
You can use livecode to send instructions to arduino board, and Arduino will execute the instructions. You can send and receive data from Arduino, but it is not a pc where you can install real software.
That's true of most Arduino boards, but the Yún is a bit different, it does have a version of Linux installed. Here's a quote from arduino.cc about the Arduino Yún…
The Yún distinguishes itself from other Arduino boards in that it can communicate with the Linux distribution onboard, offering a powerful networked computer with the ease of Arduino. In addition to Linux commands like cURL, you can write your own shell and python scripts for robust interactions.
However, you can't connect a keyboard, mouse and display then use it as a PC, so it's not as powerful as the Pi in that respect, but it is an interesting development.

See more…
http://arduino.cc/en/Main/ArduinoBoardYun

Paul