Snakes on an arduino/mac/linux/nokia???
After Tim's many countless attempts at trying to get python to work on a Mac, on Linux, on a cruise ship to outer space, we're thinking maybe we need to look elsewhere for a more universal language to script in - at least for our prototype.
Whilst python is supposed to be a cross platform scripting language, certain features of run time environments only work on some platforms... ie: bluetooth support is only inlcuded on linux versions...
At this point we are focusing on just getting the arduino to simply switch an LED or light on when someone walks into the room with a bluetooth mobile phone. We dont care if thats all we can get it to do on any particular language, as long as we can get something down pat we can work from there. The problem is, can it be done with a cross platform language. At first I thought I had found support for it under flash's actionscript - I was sure in searching 'round google somewhere that this was do-able, but apparently not. Java was a fall back thought seeing as, like Python, it was cross compatiable with all operating systems and most mobiles with a "run time" environment installed.
The real problem is though that not all of these scripting languages have convenient suport for bluetooth built in at this stage, as a standard. Every bit of information I seem to be able to find at this stage seems to point to bluetooth support and function being an operating system dependent component... a mac handles bluetooth differently to a windows system which uses a different process to a linux system...
So we're back to square one really. Now I'm looking around at ready made programs that do a little of what we are after (ie: find the device and perform an action because its there) as some kind of a stepping stone - hopefully im not just backpeddling...
Whilst python is supposed to be a cross platform scripting language, certain features of run time environments only work on some platforms... ie: bluetooth support is only inlcuded on linux versions...
At this point we are focusing on just getting the arduino to simply switch an LED or light on when someone walks into the room with a bluetooth mobile phone. We dont care if thats all we can get it to do on any particular language, as long as we can get something down pat we can work from there. The problem is, can it be done with a cross platform language. At first I thought I had found support for it under flash's actionscript - I was sure in searching 'round google somewhere that this was do-able, but apparently not. Java was a fall back thought seeing as, like Python, it was cross compatiable with all operating systems and most mobiles with a "run time" environment installed.
The real problem is though that not all of these scripting languages have convenient suport for bluetooth built in at this stage, as a standard. Every bit of information I seem to be able to find at this stage seems to point to bluetooth support and function being an operating system dependent component... a mac handles bluetooth differently to a windows system which uses a different process to a linux system...
So we're back to square one really. Now I'm looking around at ready made programs that do a little of what we are after (ie: find the device and perform an action because its there) as some kind of a stepping stone - hopefully im not just backpeddling...

0 Comments:
Post a Comment
<< Home