During lunch today I picked up the words LabVIEW and Arduino. Now that got me interested (or excited, as they would say here) and it turned out that a technical session about hacking Arduino with LabVIEW would take place later in the afternoon. So I attended and learned some very interesting things indeed.
First of all that it was not only about Arduino. To be totally honest, Arduino was a bit of a minor topic, the more important topics concerned interfacing to the Kinect, the Wiimote, iRobot, Neato and Android systems. Nevertheless they did do Arduino too. NI uses interns to develop all sorts of fun applications with their products. Waterloo Labs - who earned their fifteen minutes of fame about a year ago when they drove a car using an iPhone and posted a video about it on YouTube - is in it too.
So how do you interface Arduino to LabVIEW? It is pretty simple. You load Arduino with a special sketch to create an I/O server. Then in LabVIEW you install some VIs for Arduino. You should also install the NI-VISA serial port drivers if you don't have them allready. That's about it. And the great thing about this is that it is all free and open source!
Let's be clear about this, you cannot create a program in LabVIEW and then run it on the Arduino. In this setup Arduino is merely an input/output device, but a very cheap and hackable one for which many shields are available and you can use all the power of LabVIEW to control it or process the data. And if you replace the serial cable by a wireless link (Bluetooth f.i.), it is almost if Arduino is running stand alone.
This is all excellent news, because now you too can interface your project to LabVIEW as long as it has a serial port. All you have to do is port the sketch to your hardware and adapt the VI.
All this stuff and much more, like how to hack the Kinect or the Wiimote, is on LabVIEW hacker dot com
Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts
Wednesday, August 3, 2011
Thursday, July 29, 2010
Add a smartphone to your application
One of the biggest hypes of the moment is of course (or should I say still?) the Apple iPhone. I do not have one, so I do not have an opinion about it, but it seems that many users are crazy about it. This is due to all the non-phone things you can do with it. Recently several electronics related apps have come to my attention but I have my doubts about the usefulness of those. Reading a datasheet on a smartphone? Usually when I need a datasheet I also have a proper computer nearby so why bother using a smartphone for that? I must be missing something here.
But now I heard about an electronics app for iPhone that seems pretty cool, even to me. It is more than an app as it needs a piece of hardware to function. Actually, it is the other way around: it is a piece of hardware that needs the iPhone app to function. Now that is not exactly right either as it is a piece of hardware that can be controlled by the app. Let me rephrase this properly: it is a small computer module that uses the iPhone as a display.
That’s right, the DIL/NetPC DNP/9265 from SSV is an embeddable ARM9-module (Atmel AT91SAM9263) with 32 MB flash and RAM. If you need more, just add an SD card. To connect the module to its environment 3 UARTs, an I2C, an SPI, a CAN, a USB Host interface and several GPIOs are available. Smartphone access is over a 10/100 Mbps Ethernet port. The board runs embedded Linux with extensions developed by SSV.

The smartphone app is developed as a web application using only established Web standards such as HTML, CSS, JavaScript and AJAX. The Apple iPhone SDK based on (proprietary) Objective-C is not needed, meaning that the app can also work on smartphones running Android. Furthermore, installing the app on the phone does not involve Apple’s App Store, but uses simply the on-board Web server. This of course makes life much easier.
An OEM integration kit including the DNP/9265 with lots of tools and documentation is available for application developers. An example application that visualizes system resources and that lets you play with configuration data is preloaded. Communication between the module and the phone is over a 2.4 GHz Wi-Fi connection. In case you didn’t have one already, a WLAN access point is included in the kit.
I can’t wait to get one of these kits for evaluation. Ho, wait a minute, I don’t have an iPhone…
But now I heard about an electronics app for iPhone that seems pretty cool, even to me. It is more than an app as it needs a piece of hardware to function. Actually, it is the other way around: it is a piece of hardware that needs the iPhone app to function. Now that is not exactly right either as it is a piece of hardware that can be controlled by the app. Let me rephrase this properly: it is a small computer module that uses the iPhone as a display.
That’s right, the DIL/NetPC DNP/9265 from SSV is an embeddable ARM9-module (Atmel AT91SAM9263) with 32 MB flash and RAM. If you need more, just add an SD card. To connect the module to its environment 3 UARTs, an I2C, an SPI, a CAN, a USB Host interface and several GPIOs are available. Smartphone access is over a 10/100 Mbps Ethernet port. The board runs embedded Linux with extensions developed by SSV.

The smartphone app is developed as a web application using only established Web standards such as HTML, CSS, JavaScript and AJAX. The Apple iPhone SDK based on (proprietary) Objective-C is not needed, meaning that the app can also work on smartphones running Android. Furthermore, installing the app on the phone does not involve Apple’s App Store, but uses simply the on-board Web server. This of course makes life much easier.
An OEM integration kit including the DNP/9265 with lots of tools and documentation is available for application developers. An example application that visualizes system resources and that lets you play with configuration data is preloaded. Communication between the module and the phone is over a 2.4 GHz Wi-Fi connection. In case you didn’t have one already, a WLAN access point is included in the kit.
I can’t wait to get one of these kits for evaluation. Ho, wait a minute, I don’t have an iPhone…
Subscribe to:
Comments (Atom)


