1 / 7

L EGO M INDSTORMS NXT

L EGO M INDSTORMS NXT. S ENSORES. Sensor ultrasónico Sensor de luz Sensor de sonido Sensor de tacto. M OTORES Y P IEZAS. Servomotores interactivos Piezas L EGO T ECHNIC versátiles. S OFTWARE M INDSTORMS. Basado en L AB V IEW Gráfico Bloques “drag and drop”. S OFTWARE B RICX CC.

joanna
Télécharger la présentation

L EGO M INDSTORMS NXT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LEGO MINDSTORMS NXT

  2. SENSORES • Sensor ultrasónico • Sensor de luz • Sensor de sonido • Sensor de tacto

  3. MOTORES Y PIEZAS • Servomotores interactivos • Piezas LEGO TECHNIC versátiles

  4. SOFTWARE MINDSTORMS • Basado en LABVIEW • Gráfico • Bloques “drag and drop”

  5. SOFTWARE BRICXCC • IDE para programar RCX, Scout, Cybermarster, Spybot, NXT. • Lenguaje para NXT: Not eXactly C • Ensamblador NXT: Next Byte Codes

  6. EJEMPLOS bool sigue=true, hayPared=false; void inicializaSensores(){ SetSensorLight(S1); ResetSensor(S1); //Sensor de luz, puerto 1 SetSensorLowspeed(IN_4); ResetSensor(IN_4); //Sensor I2C, ultrasónico } task buscaPared(){ int minDist=20; //en cm while(sigue){ if(SensorUS(IN_4)<minDist) hayPared=true; else hayPared=false; } } task main(){ int vel=60; //vel es la velocidad de crucero inicializaSensores(); start buscaPared(); OnFwdReg(OUT_BC,vel,OUT_REGMODE_SYNC); //Motores B y C, adelante sincronizados while(sigue){ if(hayPared){ Coast(OUT_BC); sigue=false; } } OnRevReg(OUT_BC,vel,OUT_REGMODE_SYNC); Wait(Random(1000)); }

  7. OTROS LENGUAJES • Gráficos • RoboLab • NI LabVIEW • C-like • RobotC • Lejos OSEK (firmware particular) • Java • Lejos (firmware particular) • Control directo • iCommand (bluetooth) • .NET • Microsoft Robotics Studio • C# • Visual Basic

More Related