top of page
Motors
New 3D model of motor's support
New 3D model of motor's support
We use 2pcs SE0802 0802 brushless motors.
Printed and assembled model with running motors
These engines will allow us to steer the CanSat during the descent.
This is the code we used:
#include <CCS811.h>
void setup (void) {
Serial.begin (9600);
while (sensor.begin ()! = 0) {
Serial.println ("tete does not work");
delay (1000);
}
sensor.setMeasCycle (sensor.eCycle_250ms);
}
void loop () {
delay (1000);
if (sensor.checkDataReady () == true) {
Serial.print ("CO2:");
Serial.println (sensor.getCO2PPM ());
Serial.print ("ppm, TVOC:");
Serial.print (sensor.getTVOCPPB ());
Serial.println ("ppb");
}
else {
Serial.println ("Data is not ready!");
}
sensor.writeBaseLine (0x847B);
delay (1000);
}
bottom of page