Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Qhia
- Kauj Ruam 2: Cov Cuab Yeej Xav Tau thiab Kev Nyab Xeeb Kev Nyab Xeeb
- Kauj Ruam 3: Yuav Ua Li Cas:
- Kauj Ruam 4: Cov Ntsiab Lus/Cov Ntsiab Lus Kawm
Video: Yuav Ua Li Cas Tsim Cubesat Nrog Arduino thiab Accelerometer: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Peb lub npe yog Brock, Eddie thiab Drew. Lub hom phiaj tseem ceeb rau peb chav Physics yog taug kev los ntawm Lub Ntiaj Teb mus rau Mars thaum sim ua qhov ncig ncig Mars siv Cube Sat thiab sau cov ntaub ntawv. Peb pab pawg lub hom phiaj rau txoj haujlwm no yog txhawm rau khaws cov ntaub ntawv siv lub ntsuas qhov ntsuas cua uas yuav txuas rau peb Arduino sab hauv ntawm Cube Sat uas yuav ncig "Mars" txhawm rau nrhiav lub zog nqus ntawm lub ntiaj chaw ntawd. Qee qhov ua tau txwv rau txoj haujlwm tshwj xeeb no yuav yog txoj cai tsis ua haujlwm raug, lub ntsuas ntsuas tsis sib sau cov ntaub ntawv thiab qhov txwv CubeSat tuaj yeem hnyav. Txawm hais tias muaj ntau ntau lwm tus neeg tuaj yeem ntsib, cov ntawd yog cov uas peb pab pawg ntsib. Cov vis dis aus ntawm peb qhov project kawg thiab ntsuas tuaj yeem pom ntawm no https://www.youtube.com/embed/u1_o38KSrEc -Eddie
Kauj Ruam 1: Cov Khoom Qhia
Txhua yam khoom teev nyob hauv CUBESAT
1. Arduino & Power Cable https://www.amazon.com/Elegoo-EL-CB-001-ATmega328…: arduino tau tsim los ua kom cov khoom siv hluav taws xob nkag tau yooj yim dua rau cov kws ua yeeb yam, cov tsim qauv, cov nyiam ua haujlwm thiab txhua tus neeg nyiam tsim cov khoom sib tham lossis ib puag ncig
: tso cai rau thiab los ntawm koj Arduino thiab khoos phis tawj
2. Breadboard
: lub rooj tsav xwm rau kev sim ua qauv ntawm hluav taws xob hluav taws xob
Cov ntaub ntawv txuas rau BREADBOARD
1. Arduino Accelerometer
: ib qho cuab yeej ntsuas ntsuas nrawm lossis ntsuas thiab ntsuas kev co
2. Arduino SD Card Module
: nws tso cai rau koj ntxiv kev khaws cia ntau thiab cov ntaub ntawv nkag rau koj qhov haujlwm
3. Arduino Wires
: hloov pauv cov cai thoob plaws Arduino thiab daim ntawv qhia zaub mov
4. LED Teeb
: LED yog lub teeb me me (nws sawv rau "lub teeb emitting diode") uas ua haujlwm nrog lub zog me me
-Drew
Kauj Ruam 2: Cov Cuab Yeej Xav Tau thiab Kev Nyab Xeeb Kev Nyab Xeeb
TOOLS NECESSARY
1. Exacto Riam
- peb siv rab riam ntse los txiav thiab taug qab cov duab ntawm Arduino thiab Breadboard los ntawm Styrofoam, los tiv thaiv Arduino thiab Breadboard ua rau muaj xwm txheej
2. Kub Glue Gun
- peb siv rab phom kub kub los nplaum Styrofoam rau ob sab ntawm peb Cubesat kom ntseeg tau tias peb Arduino thiab Breadboard muaj kev nyab xeeb
3. Styrofoam
- peb siv cov Styrofoam txhawm rau ruaj ntseg Arduino thiab cov ntawv ci rau ob sab ntawm peb Cubesat, tseem tso cai rau lub ncoo yog Cubesat tau poob los yog co ncig
KEV RUAJ NTSEG
1. thawj qhov kev nyab xeeb uas peb tau siv los ua kom ntseeg tau tias peb tsis kov lub tshuab luam ntawv 3D thaum nws tau luam tawm Cubesat. lub tshuab luam ntawv 3D yuav kub heev thiab nws tseem ceeb heev kom tsis txhob kov nws.
2. thaum siv rab riam ntse los txiav tawm cov Styrofoam, peb yuav tsum muab cov duab los tso rau hauv qab kom ntseeg tau tias lub rooj tsis raug puas tsuaj. peb kuj yuav tsum tau looj tsom iav thaum siv riam ua dab tsi ya mus rau ntawm peb lub ntsej muag lossis ib puag ncig peb qhov chaw ua haujlwm.
3. thaum siv cov cuab yeej twg uas yuav tsum tau siv zog ua haujlwm, nco ntsoov hnav cov tsom iav rau lub hom phiaj kev nyab xeeb.
4. ib zaug koj txuas Cubesat rau lub orbiter, nco ntsoov ceeb toom rau tib neeg nyob ib puag ncig lub orbiter tias koj yuav sim koj lub Cubesat thiab hnav tsom iav kom ntseeg tau tias txhua lub cev thiab tib neeg muaj kev nyab xeeb.
-Drew
Kauj Ruam 3: Yuav Ua Li Cas:
Yuav tsim CubeSat li cas
1. txhawm rau pib txheej txheem CubeSat, koj yuav tsum tshawb nrhiav cov qauv ntawm CubeSat uas yog 10x10x10 thiab muaj STL cov ntaub ntawv yooj yim.
2. thaum koj tau pom tus qauv uas yuav ua haujlwm tuav lub khob cij thiab Arduino kom nyab xeeb, koj yuav tsum rub cov ntaub ntawv ntawm lub flash drive kom koj thiaj li nkag tau cov ntaub ntawv ntawm lub tshuab luam ntawv 3D.
3. tom qab cov ntaub ntawv raug raug rub tawm ntawm lub flash drive, koj tuaj yeem txuas lub flash drive mus rau lub khoos phis tawj uas txuas nrog rau lub tshuab luam ntawv 3D.
4. thaum koj luam ntawv, xyuas kom tseeb tias koj xaiv cov ntaub ntawv raug thiab tag nrho cov xov hlau, cov lej, thiab cov tswv yim nkag mus tau zoo ntawm lub khoos phis tawj thiab tshuab luam ntawv 3D. qhov no yuav ua kom CubeSat luam tawm kom raug, thiab txhua yam mus raws txoj kev npaj.
5. muab txhua tus tswv cuab pab pawg teem sijhawm los tshuaj xyuas lub tshuab luam ntawv kom zoo thiab CubeSat kev nce qib kom ntes tau txhua yam teeb meem uas koj tuaj yeem ntsib. muaj peev xwm kom muaj cov tswv cuab los tshuaj xyuas qhov kev nce qib txog txhua 2-3 teev, yuav muab kev pab txaus los kho txhua yam teeb meem thiab saib xyuas qhov kev nce qib uas yuav ua.
-Eddie
COV CODE:
#include #include #include #include
ua int MPU = 0x68; int16_t AcX, AcY, AcZ, Tmp, GyX, GyY, GyZ; ob chav suab, yob;
Cov Ntaub Ntawv Cov Ntaub Ntawv;
void teeb tsa () {
pinMode (10, NTAWV); // yuav tsum teeb tus pin 10 rau cov zis txawm tias tsis siv; // teeb tus pin 7 kom pom kev coj SD.begin (4); // pib daim npav SD nrog CS teeb tsa tus pin 4 Serial.begin (9600); Serial.println (F ("BMP280 xeem")); Hlau.begin (); Wire.beginTransmission (MPU); Hlau.write (0x6B); Hlau.write (0); Wire.endTransmission (muaj tseeb); Serial.begin (9600); } void loop () {Wire.beginTransmission (MPU); Hlau.write (0x3B); Wire.endTransmission (tsis tseeb); Wire.requestFrom (MPU, 14, muaj tseeb);
int AcXoff, AcYoff, AcZoff, GyXoff, GyYoff, GyZoff; koj qhov kub, txias; ob t, tx, tf;
// Kev kho cov ntaub ntawv nrawm AcXoff = -950; AcYoff = -300; AcZov = 0;
// Kev ntsuas kub toff = -1600;
// Gyro kho GyXoff = 480; GyYoff = 170; GyZoff = 210;
// nyeem accel cov ntaub ntawv AcX = (Wire.read () << 8 | Wire.read ()) + AcXoff; AcY = (Wire.read () << 8 | Wire.read ()) + AcYoff; AcZ = (Wire.read () << 8 | Wire.read ()) + AcYoff;
// nyeem cov ntaub ntawv ntsuas kub = (Wire.read () << 8 | Wire.read ()) + toff; tx = temp; t = tx/340 + 36.53; txf = (t * 9/5) + 32;
// nyeem cov ntaub ntawv gyro GyX = (Wire.read () << 8 | Wire.read ()) + GyXoff; GyY = (Wire.read () << 8 | Wire.read ()) + GyYoff; GyZ = (Wire.read () << 8 | Wire.read ()) + GyZoff;
Cov ntaub ntawv = SD.open ("Log.txt", FILE_WRITE); // qhib cov ntaub ntawv hu ua "Log"
// tau txais suab/yob getAngle (AcX, AcY, AcZ);
// xa cov ntaub ntawv tawm ntawm qhov chaw nres nkoj Serial.print ("Lub:"); Serial.print ("Suab ="); Serial.print (suab); Serial.print ("| Yob ="); Serial.println (yob);
Serial.print ("Temp:"); Serial.print ("Temp (F) ="); Serial.print (tf); Serial.print ("| Temp (C) ="); Serial.println (t);
Serial.print ("Accelerometer:"); Serial.print ("X ="); Serial.print (AcX); Serial.print ("| Y ="); Serial.print (AcY); Serial.print ("| Z ="); Serial.println (AcZ);
Serial.print ("Gyroscope:"); Serial.print ("X ="); Serial.print (GyX); Serial.print ("| Y ="); Serial.print (GyY); Serial.print ("| Z ="); Serial.println (GyZ); Serial.println ("");
Data.print (suab); Data.println (yob);
Data.print (tf); Data.println (t); Data.print (AcX); // sau cov ntaub ntawv acel rau ua Data.print (","); // luam tawm tus lej hauv cov ntaub ntawv Data.print (AcY); Cov ntaub ntawv.print (","); Data.print (AcZ); Cov ntaub ntawv.print (","); Data.print (GyX); Cov ntaub ntawv.print (","); Data.print (GyY); Cov ntaub ntawv.print (","); Data.println (GyZ);
ncua (1000); }
// hloov cov ntaub ntawv accel rau suab/yob void getAngle (int Vx, int Vy, int Vz) {ob npaug x = Vx; ob y = Vy; ob z = Vz;
}
}
CODE (NTAWV):
-Qhov no yog cov cai peb siv los sau cov ntaub ntawv los ntawm lub ntsuas cua thiab SD Card.
-after txuas peb Arduino thiab Breadboard kom zoo li ib qho ntawm daim duab frizting, peb ntsaws SD Card rau hauv SD Card Adapter Module thiab txuas ntxiv npaj rau peb qhov kev xeem zaum kawg.
-peb muaj teeb meem nrog txoj cai tau ntev, tab sis cov cai tau hais los saum no yog cov cai kawg peb tau siv uas muab cov ntaub ntawv uas peb siv rau peb qhov kev nthuav qhia.
-qhov chaws no sau cov ntaub ntawv los ntawm lub ntsuas cua thiab hloov cov ntaub ntawv mus rau hauv SD daim npav.
-Cov SD daim npav tau txuas rau hauv USB thiab txuas rau hauv lub khoos phis tawj. los ntawm qhov ntawd cov ntaub ntawv tau muab tso rau hauv peb lub computer.
-Qhov
QHOV ARDUINO:
- thaum txuas xov tooj ntawm Arduino, peb tawm tsam nrog cov xov tooj cua dub thiab dud Arduinos.
- peb yuav tsum tau kho qhov thaiv ntawm peb Arduino ntau zaus vim kev thaiv tsis raug.
- txhawm rau txhawm rau txhawm rau txhim kho txoj hlua thiab coding raug, ua kom ntseeg tau tias koj cov xov hlau tau nyab xeeb tag nrho thiab koj cov txheej txheem raug.
FRITZING DIAGRAM:
- daim duab fritzing tau ncaj nraim rau tom ntej thiab yooj yim ua raws nrog
- peb ntsib teeb meem nrog daim duab thaum SD Card Module tsis yog ib feem ntawm txoj haujlwm fritzing. vim li no, peb yuav tsum tshawb hauv online rau ntu rub tawm los suav nrog hauv daim duab
- peb tau ua tiav daim duab los ntawm suav nrog qhov raug thiab cov haujlwm hauv daim duab
-Drew
Kauj Ruam 4: Cov Ntsiab Lus/Cov Ntsiab Lus Kawm
Peb cov duab qhia pom qhov tseeb ntawm qhov kub thiab txias, yuav yog vim lub rhaub siv sijhawm kom mus txog qhov siab tshaj plaws.
Txog qhov haujlwm no, lub cev uas peb tau ntsib yog lub zog centripetal ua kom CubeSat orbiting.
-Qhov
Pom zoo:
Yuav Tsim Li Cas thiab Ntxig Ib Lub Rooj Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: 11 Cov Kauj Ruam
Yuav Tsim Li Cas thiab Ntxig Cov Lus Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: Koj puas tau muaj cov ntaub ntawv ntau uas koj ua haujlwm nrog thiab xav rau koj tus kheej … " Kuv yuav ua li cas ntawm cov ntaub ntawv no saib zoo dua thiab nkag siab yooj yim dua? " Yog tias yog, tom qab ntawd lub rooj hauv Microsoft Office Word 2007 yuav yog koj cov lus teb
Yuav Ua Li Cas Tsim Linux Boot Drive (thiab Yuav Siv Li Cas): 10 Cov Kauj Ruam
Yuav Ua Li Cas Tsim Linux Boot Drive (thiab Yuav Siv Li Cas): Nov yog cov lus qhia yooj yim yuav pib li cas nrog Linux, tshwj xeeb yog Ubuntu
Yuav Ua Li Cas Tsim CubeSat Nrog Arduino thiab Geiger Counter Sensor: 11 Kauj Ruam
Yuav Ua Li Cas Tsim CubeSat Nrog Arduino thiab Geiger Counter Sensor: Puas tau xav txog seb puas yog Mars tsis muaj hluav taws xob? Thiab yog tias nws muaj xov tooj cua, puas yog qib hluav taws xob siab txaus los suav tias yog teeb meem rau tib neeg? Nov yog txhua lo lus nug uas peb cia siab tias yuav teb tau los ntawm peb CubeSat nrog Arduino Geiger Counte
Yuav Ua Li Cas Tsim Tus Qauv Cubesat Nrog Arduino thiab DHT11 Sensor: 7 Kauj Ruam
Yuav Ua Li Cas Tsim Tus Qauv Cubesat Nrog Arduino thiab DHT11 Sensor: Lub hom phiaj rau peb txoj haujlwm yog txhawm rau ua lub cubat thiab tsim Arduino uas tuaj yeem txiav txim siab cov av noo thiab kub ntawm Mars.-Tanner
Yuav Ua Li Cas Tsim thiab Tsim Kev Sib Ntaus Neeg Hlau: 11 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tsim thiab Tsim Kev Sib Ntaus Neeg Hlau: *NCO TSEG: vim Battlebots tau rov qab los ntawm huab cua cov lus qhia no tau txais ntau ntawm lub zog. Thaum ntau cov ntaub ntawv ntawm no tseem zoo, thov paub tias tau hloov pauv me ntsis hauv kev ncaws pob hauv 15 xyoos dhau los*Kev sib ntaus sib tua neeg hlau tau