Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Alice to hardware?
Old
Mathril
Guest
 
Status:
Posts: n/a
Default Alice to hardware? - 08-31-2007, 07:04 AM

Hey,

i got an assignment for my school, we have to connect movements and such from Alice to a lego NXT robot. Can anybody help me? How to connect movement from Alice to outside hardware?

Thanks in advance
   
Reply With Quote
Old
Mathril
Guest
 
Status:
Posts: n/a
Default 09-03-2007, 06:07 AM

Nobody knows? :|
   
Reply With Quote
Old
DrJim
Guest
 
Status:
Posts: n/a
Default 09-03-2007, 03:46 PM

Basically don't think it can be done. You might look at http://www.westga.edu/~drocco/alice/scripting.html for some ideas - but scripting in Alice 2.0 is not fully implemented and the results can be quite unpredictable.

You might also look at Scratch, http://scratch.mit.edu/ , which does include interface commands for an external board. I know there were comments in their Education forum on working with Lego - but since it's not an area of personal interest, I didn't pay much attention to them.
   
Reply With Quote
networking functionality
Old
JanOonk
Guest
 
Status:
Posts: n/a
Default networking functionality - 09-04-2007, 03:57 AM

When you read the webpage mentioned above you will find out that you can get data from outside Alice so you can communicate with other applications, users, hardware:
http://www.westga.edu/~drocco/alice/networking.html

With this feature you can have Alice get data from an URL (from an .txt, .xml, or a .php/.asp script)
The other application, user or hardware should write to a file or database which the .php/.asp script located at the URL should read and give the data back to Alice when requested.

Hopefully your Lego NXT can write to a file or database.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.