I am currently streaming a live feed of my NXT on UStream. You can easily control the motor on my NXT using URLs like:
- http://xammy.demon.nl:81/MOTA=0 – stop the motor
- http://xammy.demon.nl:81/MOTA=100 – run the motor at 100% clockwise
- http://xammy.demon.nl:81/MOTA=-50 – run the motor at 50% counter-clockwise.
The power to the motor can range from –100 to 100, with 0 being “brake”. Be nice to the poor little NXT and observe these simple guidelines:
- Don’t try to feed it garbage, nobody will think you’re a l33t h4xor if you crash the NXT and if I track you down, I will send my NXT powered, hellfire missile armed quadrocopter to your house. It’s fully autonomic but it has some bugs, so waving a white flag may be perceived as a threat instead and it will act accordingly.
- It may crash and it may not respond as quickly as you’d like but give it time and don’t hammer it.
- If the light on the left is not ON then it’s not running.
- Don’t bother leaving messages in the comments or mail telling me it has crashed. I’ll check periodically to see if it is still responding and restart it if necessary.
It’s a very small webserver programmed in ROBOTC running on the NXT. It uses the new Dexter Industries WiFi sensor for the NXT. You can download the code right here: [LINK]. You’ll need to download my driver suite too as it uses the common.h file from there. The code is rough and mostly undocumented. Usual caveats apply. This program and driver will be part of the driver suite.
How funny. There are 7 of us fighting to turn a motor on and off right now. I got in a few times.
Awesome work! A very, very cool proof-of-concept project!
THIS ROCKS!!!
I must say, this is impressive! Thanks mightor!
HOLY SH*T this is scary! But really good job man. Is it coming out any time soon? (unless you can’t tell me without killing me)
Hey, this is John from Dexter Industries. We should be releasing this in the next week or so.
If you’d like to purchase the wifi sensor immediately, you can contact us through our website.
[…] the I’d Rather Be Building Robots Blog took the Mindstorms NXT robotic system on a very, very awesome leap forward. This project uses the Dexter Industries Wifi Sensor to control the NXT . . . from anywhere in the […]
Its working really well! I would comment from the live stream, but I don’t have an account and don’t feel like getting one just to comment at the moment. A few thoughts:
Do I have to purchase an IP address?
What are some other commands? Then again, sound system control and such could be annoying with several people in control, so don’t post that here now, but maybe display control for now? I’m pretty sure I understand motor control. And what about reading sensors (without having infinite feedback loops in attempts to check the WIFI bridge)?
And do you plan to leave the TweeterTattle messages open, or will you remove/re-purpose that box? (Right of blog, keep realising its still there.)
I have a good ISP that gives me a static IP
There are no other commands, just this.
Display control would be too slow for this. I need to respond very quickly to incoming requests. I currently have no plans for reading sensors. This is a PoC. However, when the sensor does come out, you can make your own!
TweeterTattle still works and is used fairly frequently now.
Very funny… At some time I almost succeeded controlling fingers taking paper on side of the NXT 😉
Your getting there Xander. 10/10 for effort so far.
Reading between the lines, the Wifi Sensor is just that, with no hardware sever built in.
That being the case, getting real-time sensor feedback is going to be somewhat slower than real-time. Is there going to be a bottleneck when attempting bi-direction command & data transfer?
If Dexter Industries keeps up producing these RS-485 port Sensors, we’ll need a RS-485 Router to access them all.
My Athlon 2600XP I’m forced to use at the moment struggles with UStream. Could also be the 20+ Firefox Tab & Gimp are not helping either.
Please keep us posted?
All the Best Ray…
I have always been wondering what you could do with WiFi and an NXT…
that’s pretty awesome – good job
[…] I'd Rather Be Building Robots HomeAbout Xander RSS ← Want to Play with my NXT? […]
[…] to HIS robot through the INTERNET!! You can play around with his NXT too! Just go to his blog: http://mightor.wordpress.com/2011/05/09/want-to-play-with-my-nxt/Next, is their Thermal IR Camera Sensor. It was just mentioned today by D.I. themselves. With it, […]
[…] your MINDSTORMS robot can be done now with the Dexter Industries Wifi sensor. A few months back, Botbench setup an incredible example of a webserver. This example is based largely off the work done […]
[…] on work done by Xander Soldaat I created a set of NXC functions to speak to the Dexter wifi. They wrap the AT command exposed by […]
[…] your MINDSTORMS robot can be done now with the Dexter Industries Wifi sensor. A few months back, Botbench setup an incredible example of a webserver. This example is based largely off the work done […]