|--------------------------------------------------------------------------------------------| | Welcome to the Lego Mindstorms NXT Sensor Recorder | | Author: Aaron Aichlmayr | | Email: waterfoul@gmail.com |--------------------------------------------------------------------------------------------| +ssyyso/:://///:::::://///////////////////////////////::::://////////////:::::::::::::/syhhhys syyyyso/:::::::::::://////////////////////////////::///:::://////////////::::::/:::/::ooyyhhyo oyhhyy+:::::::::::::://://////////////////////////://////////////////////::::/::::://:+shhhhhy yyhhyy+/:::::::::::://////////////////////////////::////::://////////////::::::/:/://:oyhhhhhy hhhhhyo//++//:::::::::///:////////////////////////://///////:////////////:::://::::///oyhhhhhs ddhhhyo///+o+::::::::::::////////://///////////://////////:://////////////////:::/:///+yhhhhys mdhhhho//++//::::::::::::::///://////////////////::/+o++/+++++++++++++++++++/::://:///ohhhhhys hhhhhho///+o/::::::::::::::://///////+///////////:/+sssossssssssssssssoossoo/////::///oyhhhhhy mdhhhyo//ooo/::::::::::::::://////+++o+//////////:/osssooooooooooooooooooooo+/////////ohhhhhhy mhhhhyo/////::::::::::::::::://///+ooooo+////////:/osssooooooooooooooooosooo///+++//:/shhhhhhh mhhhys+///+o+/::::::::::::::::://++oooooo+/////////oysoooooooooooooooooooooo+//+++//:/oyhhhhhh dhhhhyo///++/::::::::::::::::::/+ooosoooo+///////:/oyysooooooooooooooooooooo+///++////oyhhhhhy mdhhhyo/:::::::::::::::::::::////+oooooo+//////::::+yyssooossooosoooooosoooo+///++/::/ohhhhhhy mhhhhyo/::::::::::::::://///////////++//////::/::::oyssoooooooosoooooooosooo+///++////+yhhhhhh dhhhhyo/::::::::::::::/+oyysso++++osssosso+////::::+syssoooooooooooooooooooo/:/+o+/::/shhhhhhy dhhhhyo+/:::::::::::::/+syhhyso++ossssssso+/:/::/::oysoossssssooooooooooooso/:/+o+/:/+shhhhhhh dhhhhyo/::::::::::::::+syhhhhs+/osssssssso+////////syssssssssssooooooooossoo+///++////oyhhhhhd dhhhhy+:::::::::::::::+syhhhhy+/+sssssssso+//////:/oyysssossoossoooooooososo/://++/::/ohhhhhhd dhhhhyo/::::::::::::::/oyyyyys+/+ossssssso///::::::+yyssssssssssoooooooooooo/:/+o+/::/shhhhhhh mhhhhyo/:::::::::::::::/++ooo+/:/+ooo+ooo/://::/:::oyssoooooooosoooooooooooo+///+++/:/+yhhhhhh mhhhhhs/:::::::::::::::::::::::://///+/////::::::::+sysooooooooooooooooooooo+::/++////ohhhhhhy Ndhhhys/::::::::::::::::::::::::/+oooooooo///::/:::+yysosooosooooooooooosooo/:/+o+///+yhhhhhhy mhhhhyo/::::::::::::::::::::::://+oooooooo/:////::/osssooosssooooooooooossoo+///++////syhhhhhh Ndyhhyo/::::::::::::::::::::::://+oooooso//://///:/+sssoooooooooooooooosssoo/:/+++/::+yddhhhhy mhhhhy+/:::::::::::::::::::::://:/+oooo+////::///:/osssoooooooooooooooossso+/::///////shhhhhyy mhhhhy+/:::::::::::::::::::::::/::/+o++/:////://///ossssooooooooooooooooosoo+/:::::///oyhhhhhy mdhhhyo//::::::::::::::::::::::://:://:::////////://oso++oooooooooooooooooo+/::::::::/ohhhhhyy dhhhyyo//::::::::::::::::::::///::///////////:////://////////////////////////::::::::/oyhhhhhy dhhhhyo/::::::::::::::::::::///:::///////////////:///:::/::/:::::::::::::::::/:::::::/syhhhhhy mdhhhys/::::::::::::::::::://////://////////////////::::///////::::::://:::::/:::::/:/yhhhhhys ddhhhhs/::::::///::::::::////////:///////////////://:::://:///////////:///////////////ohhhhhys mdhyyys/::://////::::::::///////::///////////////////::///////////////:::/::////:::///+yhhhhhy shhhhhs+/::///////::::::////////////////////////:////:://///////////////://///////////+yhhhhhy |--------------------------------------------------------------------------------------------| | | |1.INSTALL | |2.Use | | | |--------------------------------------------------------------------------------------------| | | |Install instructions | | | |1.Extract all files to a temporary location (ex. desktop\tmp) | |2.Install php-5.1.4-installer.exe | | a.When you choose a destination folder make sure it is c:\PHP | | b.when it asks about server type select the bubble next to none | |3.Copy the following files to your work dir | | a.Ready_Output_for_Excell.bat | | b.Ready_Output_for_Excell.php | | c.Sensor Output.xls | | d.Sensor_Output.txt | |4.copy "sensor output bot.rbt" to your profile directory (usually My Documents\ | | LEGO Creations\MINDSTORMS Projects\Profiles\Default) | |5.copy the contents of the Blocks directory into the my blocks directory (usually | | My Documents\LEGO Creations\MINDSTORMS Projects\Profiles\Default\Blocks\My Blocks) | |6.delete your temp directory | | | |--------------------------------------------------------------------------------------------| | | |To Use | |1.As an individual program | |2.As a my block | |3.After program run (first time) | |3.After program run (from then on) | | | |As an individual program | |1.load the "sensor output bot.rbt" into the LEGO MINDSTORMS NXT program | |2.download it to your robot | | | |As a my block | |1.From within the LEGO MINDSTORMS NXT program, click on the Custom pallette tab (bottom of | | the right hand side looks like a blue equals sign) | |2.Click the My Blocks Button (top button on the left hand panel) | |3.Click on either "Sensor Output (with display)" for the robot to display the output during | | runtime allong with creating the log file or "Sensor Output (with out display)" to | | only log the data. | |4.Put it on a PARALLEL line if you incorporate it into your program the robot will do | | nothing else at that point | | | |After program run (first time) | |1.After running the program with one of the above methods, go to the LEGO MINDSTORMS NXT | | program and click on the NXT Window button (top left of the download area). | |2.Make sure you are connect to your NXT at the window that pops up. If not click on it and | | click the connect button at the bottom of the dialog | |3.Click on the Memory tab | |4.Click on other label on the bar under the "NXT Memory usage" label | |5.Click on Sensor_Output.txt in the files area | |6.Click UPLOAD | |7.Save it into your work dir | |8.Run Ready_Output_for_Excell.bat | |9.Open Sensor Output.xls | |11.Select Cell A2 | |11.Go to Data-Import External Data-Import Data | |12.Select Sensor_Output.txt | |13.Hit Next | |14.Check "Other:" and put a | in the text box | |15.Hit Next | |16.Hit Finish | |17.Click ok | |18.Click on touch on the bottom bar | |19.Right click on a white area | |20.click the button on the right of the Data Range bar | |21.Click and drag from A1 to one below the last cell with data in it in the A column | |22.Click the button below the close button | |23.Click the ok button | |24.Repeat Steps 18-23 for the following | | a.replace touch with Sound in step 18 | | replace A1 and A with B1 and B in step 21 | | b.replace touch with Light in step 18 | | replace A1 and A with C1 and C in step 21 | | c.replace touch with Distance in step 18 | | replace A1 and A with D1 and E in step 21 | |25.Done :) Look at the charts for a nice display for the ouutput of your bot | | | |After program run (from then on) | |1.Repeat steps 1-11 of "After program run (first time)" | |2.Click Refresh data on the External Data Toolbar (should open automaticall if not right | | click on the toolbar then click external data) | |3.Select Sensor_Output.txt | |4.Done :) a lot eaiser aye? | | | |--------------------------------------------------------------------------------------------| | |