SENSORES l Sensor ultrasónico l Sensor de luz l Sensor de sonido l Sensor de tacto
MOTORES Y PIEZAS l Servomotores interactivos l Piezas LEGO TECHNIC versátiles
SOFTWARE MINDSTORMS l Basado en LABVIEW l Gráfico Bloques “drag and drop” l
SOFTWARE BRICXCC l IDE para programar RCX, Scout, Cybermarster, Spybot, NXT. l Lenguaje para NXT: Not e. Xactly C l Ensamblador NXT: Next Byte Codes
EJEMPLOS bool sigue=true, hay. Pared=false; void inicializa. Sensores(){ Set. Sensor. Light(S 1); Reset. Sensor(S 1); //Sensor de luz, puerto 1 Set. Sensor. Lowspeed(IN_4); Reset. Sensor(IN_4); //Sensor I 2 C, ultrasónico } task busca. Pared(){ int min. Dist=20; //en cm while(sigue){ if(Sensor. US(IN_4)<min. Dist) hay. Pared=true; else hay. Pared=false; } } task main(){ int vel=60; //vel es la velocidad de crucero inicializa. Sensores(); start busca. Pared(); On. Fwd. Reg(OUT_BC, vel, OUT_REGMODE_SYNC); //Motores B y C, adelante sincronizados while(sigue){ if(hay. Pared){ Coast(OUT_BC); sigue=false; } } On. Rev. Reg(OUT_BC, vel, OUT_REGMODE_SYNC); Wait(Random(1000)); }
OTROS LENGUAJES l Gráficos l l l C-like l l l Robot. C Lejos OSEK (firmware particular) Java l l l Robo. Lab NI Lab. VIEW Lejos (firmware particular) Control directo l i. Command (bluetooth) . NET l Microsoft Robotics Studio l C# l Visual Basic