BUG Community

Welcome! Log In

Forums BUGmodules Phidgets in the USB on the vonHippel

Subscribe to Phidgets in the USB on the vonHippel  6 posts, 3 voices , Tagged: Phidgets usb vonhippel

Log in to reply to this topic
 
Sep 23, 2009 2:50am
User_img_not_found_03_med fiil123 14 posts

Hey guys


I consider buying one or two Phidgets boards to play with on our bug’s. Have anybody tried
this? I can see you have them in the test kitchen, but I can’t find any resource
on it! If you have not tried it, can somebody then say if it should be possible
or maybe any ideas to something similarly.

Cheers

K. Fiil

Sep 24, 2009 11:59am
User_img_not_found_04_med kiA 1 post

Hi, I’m looking at this the other way … I’m a phidgets user and wondering if the phidgets java API would work on the bugbase?

also, do two von hippels work on one bugbase?

thanks, Ki

 

Sep 24, 2009 2:25pm
Medium Bug Labs team bballantine 56 posts

I’ve never used Phidgets, but from what I see, they work over USB, so they should work with the Von Hippel.  If Phidgets have other connection methods (Serial, Digital IO) then the Von Hippel will also help there.  Here’s more info on that module: http://bugcommunity.com/wiki/index.php/Von_Hippel

I have no idea about using the Phidgets Java API on the BUG base.  A brief look at the phidgets software stack shows that it’s based on a C library.  That would need to be compiled for the BUG, most likely using the OpenEmbedded build tools, which may not be easy.  This blog post might be useful if you decide to head down the path of porting phidgets to BUG: http://community.buglabs.net/bballantine/posts/...

Lastly, the stock Java VM on the BUG is called PhoneME Advanced Personal Profile, which is more like Java SE 1.4.  To run Java 1.5 code, you need to install cacao and classpath, which are available in our extras repo.  Info on that is here: http://community.buglabs.net/jconnolly/posts/14…

Regards,

Brian

Sep 24, 2009 3:57pm
User_img_not_found_03_med fiil123 14 posts

Hej Brian

Thanks for the thorough answer, to be honest it sound like a lot of work:) My intent with the   Phidgets was to get some easy access to some sensors, actuators etc.

Could you have any idea to such kind of think?

Cheers
K. Fiil

Sep 24, 2009 5:55pm
Medium Bug Labs team bballantine 56 posts

Well, the Von Hippel has a couple of general purpose digital IO lines that you can call from Java.  We’ve used these for a couple of things, for example, the relay in our CEO’s “Hacking Health” project – http://www.gadgetocracy.com/ .  You can see all the different things the VH provides in a link I shared earlier.

We’ve also had a lot of success using the Arduino with the Von Hippel.  A search for “Arduino” on community.buglabs.net will turn up some blog posts.  Right now, daveriess is working on a servo control which is currently driven off of a microcontroller via the Von Hippel’s serial connection.  Any device that does serial over USB (for example the heart rate monitor interface from sparkfun used in the “Hacking Health” project) should be easy to code to in Java or Python (or whatever else you choose).

-Brian

Sep 25, 2009 5:46pm
User_img_not_found_03_med fiil123 14 posts

Hey Brian

Using the Arduino board sounds really interesting and actually we have a free time distributor of the Arduino board here at the office. I will try it out and make a post with some resluts, maybe:)

Cheers

K. Fiil

Log in to reply to this topic
Forums BUGmodules Phidgets in the USB on the vonHippel