Arduino?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JPBB
Posts: 8
Joined: Sun Jan 11, 2015 7:03 pm

Arduino?

Post by JPBB » Thu Jan 15, 2015 8:18 pm

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

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 129
Joined: Sun Feb 20, 2011 4:26 pm
Location: Vancouver Island, BC, Canada. ex.UK
Contact:

Re: Arduino?

Post by PBH » Fri Jan 16, 2015 3:09 am

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Arduino?

Post by FourthWorld » Fri Jan 16, 2015 3:25 am

The one I'm most excited about is the new Intel Compute Stick:
http://www.linux-magazine.com/Online/Ne ... pute-Stick
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

JPBB
Posts: 8
Joined: Sun Jan 11, 2015 7:03 pm

Re: Arduino?

Post by JPBB » Sun Jan 18, 2015 1:29 am

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Arduino?

Post by FourthWorld » Sun Jan 18, 2015 1:54 am

Anyone here interested in grabbing the LiveCode source and seeing what would be needed to compile it for Arduino's CPU?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 129
Joined: Sun Feb 20, 2011 4:26 pm
Location: Vancouver Island, BC, Canada. ex.UK
Contact:

Re: Arduino?

Post by PBH » Thu Jan 22, 2015 5:23 am

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

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Arduino?

Post by MaxV » Thu Jan 22, 2015 5:26 pm

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
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 129
Joined: Sun Feb 20, 2011 4:26 pm
Location: Vancouver Island, BC, Canada. ex.UK
Contact:

Re: Arduino?

Post by PBH » Sun Jan 25, 2015 5:04 am

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

Post Reply

Return to “Raspberry Pi”