Cov txheej txheem:
- Kauj Ruam 1: Sau Cov Khoom Siv/kos duab CubeSat
- Kauj Ruam 2: Tsim Cubesat
- Kauj Ruam 3: Txuas thiab Coding Arduino
- Kauj Ruam 4: Txheeb Xyuas Cubesat
- Kauj Ruam 5: Ua Kom CubeSat
- Kauj Ruam 6: Kev Xiav Viav Vias
- Kauj Ruam 7: Xeem #2- Kev Sib Ntsib
- Kauj Ruam 8: Cov txiaj ntsig/Ua tiav Kub CubeSat
Video: Kub CubeSat Ben & Kaiti & Q Teev 1: 8 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Koj puas tau xav ua qee yam koj tus kheej uas tuaj yeem xa mus rau qhov chaw thiab ntsuas qhov kub ntawm lwm lub ntiaj teb? Hauv peb chav kawm physics hauv Tsev Kawm Ntawv Qib Siab, peb nyob qhov twg raug txib los tsim CubeSat nrog kev ua haujlwm arduino nrog cov lus nug tseem ceeb Peb tuaj yeem ua haujlwm li cas hauv Mars? Peb txiav txim siab kom nws ntsuas kub ntawm lub ntiaj chaw, vim tias leej twg tsis xav paub seb huab cua sov li cas? Txawm li cas los xij, peb yuav tsum ua kom nws tawm ntawm qee yam pheej yig, tab sis kuj tseem ruaj khov. Yog li ntawd, peb siv Legos. Qhov no ua rau CubeSat ruaj, thiab pab peb mus txog qhov loj me me zoo nkauj yooj yim-txawm tias txhua daim nyob qhov twg pesky me ntsis! Peb lub hom phiaj yog kom muaj lub ntsej muag ua haujlwm tau zoo uas tuaj yeem ntsuas kub ntawm ib puag ncig, thiab tiv thaiv CubeSat nyob ib puag ncig nws.
Kauj Ruam 1: Sau Cov Khoom Siv/kos duab CubeSat
Thawj qhov koj yuav xav ua yog kos duab CubeSat. Koj yuav tsum muaj lub tswv yim ntawm yam koj xav tsim ua ntej koj tsim nws. Ib qho ntawm cov duab saum toj no yog CubeSat cov duab kos uas peb tau ua. Tom ntej no, sau koj cov ntaub ntawv. Txog CubeSat peb tab tom tsim, peb siv Legos. Peb tau xaiv Legos vim tias lawv yooj yim kom tau txais thiab muab tso ua ke, thiab tib lub sijhawm lawv ua tau ntev thiab yuav ua tiav cov haujlwm uas xav tau zoo. Yog li, koj yuav tsum tau txais qee yam Legos. tau ob peb daim dav dav, uas yog 10cm X 10 cm X 10 cm, lossis ob peb daim hauv paus uas tuaj yeem muab tso ua ke rau ntawm 10 txog 10 daim. Rau peb CubeSat, peb yuav tsum tau txais ntau daim hauv paus thiab muab tso ua ke kom ua 10 cm los ntawm 10 cm puag. Koj kuj tseem yuav tsum tau txais Legos los ua lub ru tsev ib yam nkaus. Tom qab koj tau txais cov Legos, koj yuav tsum tau txais ib tuj ntawm Legos me me los txhim kho phab ntsa ntawm CubeSat. Xyuas kom cov Legos no yuag yuag, yog li lawv tsis siv ntau dhau ntawm sab hauv ntawm CubeSat.
Kauj Ruam 2: Tsim Cubesat
Ua ntej, peb tsim qhov zoo nkauj 10x10x10. Nws coj ntau qhov sib txawv tsim. Ua ntej peb muaj lub txee nyob hauv nruab nrab tab sis tom qab peb txiav txim siab tias tsis tsim nyog muaj. Yog tias koj xaiv kom muaj lub txee nyob hauv nruab nrab, Kuv xav kom tsuas yog ib lub txee vim tias koj yuav tsum tau muab nws sib nrug txhua zaus koj tso rau hauv thiab tshem tawm koj li Arduino thiab lub ntsuas. Peb tau ntxiv lub qhov rais me me kom peb tuaj yeem saib nrawm sab hauv thaum lub hau kaw tau kaw kom peb tuaj yeem pom txhua yam ua haujlwm tau zoo. Txhawm rau CubeSat ruaj khov dua, peb muab ob txheej Lego tso rau hauv qab. Qhov ruaj khov dua qhov zoo dua, vim tias CubeSat no yuav tsum muaj peev xwm muaj sia nyob ntau yam teeb meem sib txawv.
Kauj Ruam 3: Txuas thiab Coding Arduino
Cov kauj ruam thib ob ntawm txoj haujlwm no yog qhov uas koj yuav tsum tau xaim xov tooj cua arduino. Cov kauj ruam no tseem ceeb heev, vim tias, yog tias qhov no ua tsis tiav ces lub voos xwmfab zaum yuav tsis tuaj yeem nyeem qhov ntsuas kub. Txhawm rau ua kom tiav txoj hlua ntawm arduino, koj yuav xav tau qee cov ntaub ntawv. Cov ntaub ntawv no yog roj teeb, arduino, daim npav SD, xov hlau txuas, lub khob cij, ntsuas kub, thiab khoos phis tawj. Lub khoos phis tawj yuav siv los saib seb cov xov hlau ua haujlwm raug. Nov yog lub vev xaib uas tau pab tau zoo hauv kev coj peb li cas los xaim xov tooj cua arduino:
create.arduino.cc/projecthub/TheGadgetBoy/…
Cov duab thiab daim duab fritzing saum toj no tuaj yeem pab koj ib yam. Cov lej ntawm arduino tseem yuav raug kuaj hauv lub computer kom pom tias nws ua haujlwm. Yog tias txhua yam ua haujlwm, tom qab ntawd lub arduino tuaj yeem tshem tawm ntawm lub khoos phis tawj, thiab npaj mus.
Txoj Cai:
// Cov ntaub ntawv xaim tau txuas rau hauv chaw nres nkoj 2 ntawm Arduino
#define ONE_WIRE_BUS 2
Cov ntaub ntawv sensorData;
// Teeb tsa ib qho piv txwv OneWire txhawm rau sib tham nrog ib qho khoom siv OneWire (tsis yog Maxim/Dallas kub ICs)
OneWire oneWire (ONE_WIRE_BUS);
// Suav cov tsev qiv ntawv uas peb xav tau
#suav nrog
#suav nrog
#suav nrog
// Dhau peb cov lus siv OneWire rau Dallas Kub.
DallasTemperature sensors (& oneWire);
// arrays tuav lub chaw nyob ntaus ntawv
DeviceAddress insideThermometer;
/*
* Teeb muaj nuj nqi. Ntawm no peb ua cov hauv paus
*/
void teeb (tsis muaj dab tsi)
{
pinMode (10, NTAWV);
SD.begin (4);
// pib qhov chaw nres nkoj
Serial.begin (9600);
Serial.println ("Dallas Kub IC Tswj Tsev Qiv Demo");
// nrhiav cov cuab yeej ntawm lub npav
Serial.print ("Nrhiav cov cuab yeej …");
sensors.begin ();
Serial.print ("Pom");
Serial.print (sensors.getDeviceCount (), DEC);
Serial.println ("khoom siv.");
// tshaj tawm cov kab mob xav tau rau kab mob
Serial.print ("Cov kab mob Parasite yog:");
yog (sensors.isParasitePowerMode ()) Serial.println ("ON");
lwm tus Serial.println ("OFF");
/*Muab chaw nyob tus kheej. Cov chaw nyob hauv qab no yuav tau hloov pauv
kom siv tau qhov chaw nyob ntawm koj lub npav. Qhov chaw nyob ntawm lub cuab yeej tuaj yeem khaws tau
los ntawm kev siv ib qho OneWire.search (deviceAddress) lossis tus kheej ntawm
sensors.getAddress (deviceAddress, index) Nco ntsoov tias koj yuav tsum tau siv koj qhov chaw nyob tshwj xeeb ntawm no
hauvThermometer = {0x28, 0x1D, 0x39, 0x31, 0x2, 0x0, 0x0, 0xF0};
Txoj Kev 1:
Tshawb nrhiav cov cuab yeej ntawm lub npav thiab muab rau raws qhov ntsuas. Qhov zoo tshaj, koj yuav ua qhov no kom pom thawj qhov chaw nyob ntawm lub npav thiab tom qab ntawd
siv cov chaw nyob ntawd thiab muab lawv tus kheej (saib saum toj no) thaum koj paub
cov cuab yeej ntawm koj lub npav (thiab piv txwv tias lawv tsis hloov).
*/ yog (! sensors.getAddress (sab hauvThermometer, 0)) Serial.println ("Tsis tuaj yeem nrhiav chaw nyob rau Ntaus Ntawv 0");
// txoj kev 2: tshawb nrhiav ()
// tshawb nrhiav () saib rau lub cuab yeej tom ntej. Rov qab 1 yog tias muaj chaw nyob tshiab
// rov qab. Qhov xoom yuav txhais tau tias lub npav luv, tsis muaj cov cuab yeej siv, // lossis koj twb tau khaws tag nrho lawv. Tej zaum nws yog ib lub tswv yim zoo rau
// txheeb xyuas CRC kom paub tseeb tias koj tsis tau pov tseg. Qhov kev txiav txim yog
// kev txiav txim siab. Koj yuav ib txwm tau txais cov khoom siv tib yam hauv tib qho kev txiav txim
//
// Yuav tsum tau hu ua ntej tshawb nrhiav ()
//oneWire.reset_search ();
// muab thawj qhov chaw nyob pom rau sab hauvThermometer
// yog (! oneWire.search (insideThermometer)) Serial.println ("Tsis tuaj yeem nrhiav chaw nyob rau sab hauvThermometer");
// qhia qhov chaw nyob uas peb pom ntawm lub npav
Serial.print ("Ntaus 0 Chaw Nyob:");
printAddress (sab hauvThermometer);
Serial.println ();
// teeb tsa kev daws teeb meem rau 9 ntsis (Txhua Dallas/Maxim ntaus ntawv muaj peev xwm ntawm ntau qhov kev daws teeb meem sib txawv)
sensors.setResolution (sab hauv Thermometer, 9);
Serial.print ("Ntaus 0 Daws Teeb Meem:");
Serial.print (sensors.getResolution (hauv Thermometer), DEC);
Serial.println ();
}
// muaj nuj nqi luam tawm qhov ntsuas kub rau lub cuab yeej
void printTemperature (DeviceAddress deviceAddress)
{
// txoj kev 1 - qeeb dua
//Serial.print("Temp C: ");
//Serial.print(sensors.getTempC(deviceAddress));
//Serial.print ("Temp F:");
//Serial.print(sensors.getTempF(deviceAddress)); // Ua tus thib ob hu rau getTempC thiab tom qab ntawd hloov mus rau Fahrenheit
// txoj kev 2 - sai dua
ntab tempC = sensors.getTempC (deviceAddress);
yog (tempC == DEVICE_DISCONNECTED_C)
{
Serial.println ("Yuam kev: Tsis tuaj yeem nyeem cov ntaub ntawv ntsuas kub");
rov qab;
}
sensorData = SD.open ("log.txt", FILE_WRITE);
yog (sensorData) {
Serial.print ("Temp C:");
Serial.print (tempC);
Serial.print ("Temp F:");
Serial.println (DallasTemperature:: toFahrenheit (tempC)); // Hloov pauv tempC rau Fahrenheit
sensorData.println (tempC);
sensorData.close ();
}
}
/*
* Lub luag haujlwm tseem ceeb. Nws yuav thov lub tempC los ntawm cov ntsuas thiab tso tawm ntawm Serial.
*/
void voj (tsis muaj dab tsi)
{
// hu rau sensors.requestTemperatures () los teeb tsa lub ntiaj teb kub
// thov rau txhua lub cuab yeej ntawm lub npav
Serial.print ("Thov kom sov …");
sensors.requestTemperatures (); // Xa cov lus txib kom sov
Serial.println ("Ua Tiav");
// Nws teb yuav luag tam sim ntawd. Cia peb luam tawm cov ntaub ntawv
printTemperature (sab hauvThermometer); // Siv cov haujlwm yooj yim los luam tawm cov ntaub ntawv
}
// muaj nuj nqi los sau qhov chaw nyob ntaus ntawv
void printAddress (DeviceAddress deviceAddress)
{
rau (uint8_t kuv = 0; kuv <8; kuv ++)
{
yog (deviceAddress <16) Serial.print ("0");
Serial.print (deviceAddress , HEX);
}
}
Teb rov qab
Kauj Ruam 4: Txheeb Xyuas Cubesat
Tam sim no tias CubeSat, tus lej, thiab txuas ntawm Arduino tau ua tiav, koj yuav tau sim ntsuas sai. Yog tias qhov kev sim no ua tsis tiav, koj CubeSat tuaj yeem muaj peev xwm ua kom puas tag nrho, nrog rau koj Arduino. Yog li, koj yuav xav paub tseeb tias koj Arduino tau npaj rau qhov no. Ntawd yog qhov uas cov kauj ruam no los ua si, txheeb xyuas CubeSat. Ua ntej, koj yuav tsum tso koj Arduino ruaj ntseg sab hauv CubeSat, thiab paub tseeb tias nws yuav tsis jiggle ib ncig. Tom qab ntawd, koj yuav tsum ua kom ntseeg tau tias txhua daim ntawm CubeSat tau nyab xeeb nyob hauv qhov chaw. Yuav tsis muaj cov xoob xoob, lossis CubeSat yuav zoo dua tuaj sib nrug thaum kuaj. Yog tias koj ua tib zoo tshuaj xyuas koj li CubeSat, tom qab ntawv qhov kev xeem nws dhau mus yuav tsum dhau mus yooj yim.
Kauj Ruam 5: Ua Kom CubeSat
Cov kauj ruam no yuav yog npaj rau thawj qhov kev sim CubeSat yuav dhau mus. Hauv qhov kev sim, CubeSat yuav raug viav vias ncig ntawm qhov nrawm nrawm hauv lub voj voog rau 30 vib nas this. Koj yuav tsum tau ua kom ntseeg tau tias CubeSat tau nruj nruj kom nws tsis ya tawm. Peb khi 2 txoj hlua nyob ib puag ncig CubeSat, thiab khi lawv nruj. Tom qab ntawd, peb tau ntxiv lwm txoj hlua ntev, uas tau khi nyob ib ncig ntawm thawj ob qho. Peb tau khawm txoj hlua no ntau zaus nyob rau sab saum toj thiab hauv qab yog li nws muaj kev nyab xeeb li sai tau. Qhov no yuav siv ntau qhov kev sim vim tias koj xav ua kom txoj hlua zoo tag li nws yuav tsis xoob thaum ya dav hlau.
Kauj Ruam 6: Kev Xiav Viav Vias
Rau kev nyab xeeb hauv cov kauj ruam no, nco ntsoov hnav tsom iav los tiv thaiv koj lub qhov muag. Hauv cov kauj ruam no, koj yuav tau khiav CubeSat los ntawm kev sim seb nws puas tiv thaiv Arduino zoo txaus rau nws ua nws txoj haujlwm (nrhiav kub). Thawj qhov kev xeem yog qhov uas xav tau txoj hlua. Hauv qhov kev sim no, Arduino yuav raug swung ncig (raws li qhia hauv daim duab/vis dis aus saum toj no)- (qee zaum cov vis dis aus muaj teeb meem thauj khoom). Tus qauv Mars yuav raug muab tso rau hauv nruab nrab. Txhawm rau ua tiav qhov kev xeem no, Arduino yuav tsum tau tig mus ncig yam tsis muaj kev cuam tshuam, uas yog vim li cas nws thiaj li yuav tsum tau tuav kom zoo, thiab lawv Arduino yuav tsum tau ua haujlwm zoo tom qab qhov kev xeem tiav. Tias yog vim li cas koj yuav tsum paub tseeb tias Arduino tau nyab xeeb zoo hauv CubeSat.
Kauj Ruam 7: Xeem #2- Kev Sib Ntsib
Hauv cov kauj ruam no koj CubeSat yuav dhau qhov kev xeem #2. Qhov kev xeem no yog kev xeem co. Hauv qhov kev sim no, CubeSat yuav muab tso rau hauv lub yas dhos raws li qhia hauv daim duab/vis dis aus (qee zaum cov vis dis aus muaj teeb meem thauj khoom) saum toj no thiab yuav tshee hnyo rov qab los rau 30 vib nas this. Txhawm rau kom dhau qhov kev xeem no, koj CubeSat thiab Arduino tseem yuav tsum tau ua haujlwm zoo tom qab lawv tshee hnyo.
Kauj Ruam 8: Cov txiaj ntsig/Ua tiav Kub CubeSat
Thaum kawg, peb CubeSat tuaj yeem ua tiav qhov ntsuas kub thaum mus dhau txhua qhov kev sim. Cov ntaub ntawv nyeem tas li nyeem 26-30 degrees Celsius hauv txhua qhov kev xeem. Qhov no zoo ib yam li 78-86 degrees Fahrenheit. Txawm li cas los xij, peb tau ntsib qee qhov teeb meem ntawm txoj kev. Piv txwv li, ntau zaus cov lej ntawm arduino tsis ua haujlwm, thiab nyeem 126 degrees Celsius. Nws tau siv ntau qhov kev sim ua kom tiav qhov ntsuas kub kom raug. Qee qhov lus qhia kuv yuav muab rau ib tus neeg ua txoj haujlwm no yuav yog sim ntau yam kev hloov pauv ntawm cov cai thiab thaiv, thiab kom ntseeg tau tias koj cov arduino haum nruj rau hauv CubeSat. Koj yuav tsum tau ua kom nruj qhov sib txawv sab hauv CubeSat kom ntseeg tau tias cov arduino haum zoo hauv. Peb muaj qee qhov teeb meem nrog arduino tau xoob heev hauv CubeSat.
Hauv txoj haujlwm no, koj tseem yuav tsum tau siv koj qhov kev paub txog physics. Kev paub txog kev siv tshuab, lub zog, thiab lub zog yuav tsum tau siv thoob plaws hauv txoj haujlwm. Thoob plaws hauv txoj haujlwm peb tau kawm paub ntau ntxiv txog lub hnub ci, thiab thev naus laus zis tshiab zoo li CubeSats. Peb kuj tau kawm txog kev siv lub zog nqus, thiab yuav ua li cas lub zog no yuav cuam tshuam CubeSat. Ib lub ntsiab lus tseem ceeb heev nrog txoj haujlwm no yog kev tshaj tawm satellite. Peb tau kawm txog kev txav mus los ntawm lub hnub qub los ntawm kev siv nrawm, nqa lub zog, thiab lub ntiajteb txawj nqus. Qhov no yuav pab peb nrhiav cov projectiles ntawm lub hnub qub.
Thaum koj CubeSat thiab arduino ua tiav qhov kev xeem tiav, thiab ua haujlwm tau zoo, koj ua tiav. Koj CubeSat yuav tsum muaj peev xwm muaj sia nyob ntawm huab cua ntawm Mars. Nco ntsoov tias lub ntsuas ntsuas tau ua tiav qhov ntsuas kub thoob plaws qhov kev sim ib yam. Koj CubeSat tau npaj txhij mus rau qhov chaw!
Pom zoo:
Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: 53 Cov Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: Lub hom phiaj yog dab tsi? Ua kom yooj yim dua los ntawm kev ua kom sov koj lub tsev raws nraim qhov koj xav Ua kom txuag nyiaj thiab txo cov pa roj carbon tsev tso cua sov los ntawm cua sov koj lub tsev tsuas yog thaum koj xav tau Kev tswj hwm koj cov cua sov nyob txhua qhov chaw koj zoo siab koj tau ua nws y
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 - Saib Xyuas Qhov Kub Kub & Qhov Kub Kub ntawm M5stick-C Nrog DHT11: 6 Cov Kauj Ruam
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 | Saib Xyuas Qhov Kub thiab Qhov Ntsuas Kub ntawm M5stick-C Nrog DHT11: Nyob zoo cov neeg, hauv cov lus qhia no peb yuav kawm paub yuav ua li cas cuam tshuam DHT11 ntsuas kub nrog m5stick-C (pawg tswj hwm kev txhim kho los ntawm m5stack) thiab tso tawm ntawm cov zaub ntawm m5stick-C. Yog li hauv qhov kev qhia no peb yuav nyeem qhov ntsuas kub, av noo & heat kuv
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Ntsuas Kub nrog Steinhart-Hart Kev Kho thiab Tswb Kub: Tseem tab tom taug kev kom ua tiav "qhov haujlwm yuav los tom ntej", "ESP32 NTP Kev Ntsuas Kub Kev Ntsuas Kub Ua Noj Nrog Steinhart-Hart Kev Kho thiab Tswb Kub" yog Cov Ntawv Qhia qhia yuav ua li cas kuv ntxiv NTP ntsuas kub, piezo b
Cov teev teev teev teeb nyem LED DIY cov khoom siv: 8 Kauj Ruam
Hourglass Shape Flashing LED DIY Cov Khoom Siv: Hauv txoj haujlwm no ICStation yuav qhia koj li cas los tsim kev lom zem teev ntuj zoo li lub teeb nyem LED DIY Cov Khoom Siv. Nws suav nrog 57pcs 5mm LED diodes, sab saum toj LED diode teeb yuav poob qis, thiab hauv qab LED diode teeb yuav heap, thaum mus txog lub sijhawm, pr