Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Arduino has been left in the dust long time ago (Score 1) 62

Or, you can ditch the Arduino IDE entirely, and utilize eclipse. There are a few tutorials out there showing how to do this. This gives you everything standard eclipse C/C++ development has, plus the ability to right click and deploy to the arduino with AVRDude. I actually compile the arduino libraries as a seperate project, and only use them if I want something they offer for the project. The arduinos themselves do not require the use of these libraries. I am developing a project where I currently am creating embedded control devices for a large number of things at my house ( thermostat, power meter, pellet smoker, etc. ). The entire server/front end is written in Java on a J2EE stack communicating with an XBee network with JSF/Primefaces as the front end. The embedded devices running the end devices are programmed in C/C++ right alongside the standard eclipse JBoss stuff. All of it is resource controlled with GIT. Doesn't sound like the Arduino is holding back my development environment at all.... The Arduino IDE is to get people started. Nothing about the Arduiono hardware devices require you to use it, or be held back by it. They are a great prototyping environment that is easy to build to.

Comment I wrote a custom webservice (Score 1) 362

I was running into the same problems you are encountering, and really didn't like any of the solutions out there. I tried them all. I had a few additional requirements, however, that was driving this. I have a couple of different stereos that drive speakers both inside and outside the house. I really wanted to have the SAME music playing everywhere. Custom wiring is just plain too expensive and not practical after your walls are up. So here is what I did.

I started with a linux box running a standard web server. This serves up all of my MP3's. It also runs Samba as an alternative connecting mechanism. This is the basis of my music storage.

Second, I have a windows 2k machine that runs several things on it. First, it runs winamp 2.x. I wrote custom software on this that exports a soap based service, using apache tomcat, to export ALL of the functionalities of winamp control. I also wrote a series of servlets that export this soap service in a web interface. All of this was done in Java, with a small JNI library to interface to winamp.

Finally, I also wrote a java application that gives me a rich interface to the soap service, including browsing all of the music titles in a file/folder format, through the web server. I can fast forward/pause/add or remove songs from the play list. The best feature I added was a random function that queues up a song when the last song in the playlist is reached. It chooses from your entire music collection, but it only happens if you are 'out' of songs.

Finally, I exported the sound to ALL rooms in the house using the leapfrog system that sends audio over the phone lines. It is not ideal quality, but still is quite good. I have one transmitter, and three receivers in the house.

What this gives me:

Complete control of the music from ANY PC in the house using the rich java interface.

Control of the music from my iPaq using the web interface. I can sit in the hot tub outside, and change the music!

A great interface to winamp that is alot more pleasant to use than the playlist style.

So far, I love it. More importantly, it is almost 100 percent pure java. Only one small interface through JNI. I have been in heaven since I got this thing working.

It was a great project to teach me how web services and SOAP can really be used to solve a problem.

Jim Olsen

Slashdot Top Deals

This file will self-destruct in five minutes.

Working...