Cov txheej txheem:
- Kauj ruam 1: Txheej txheem cej luam
- Kauj ruam 2: Yam Koj Xav Tau / Txuas
- Kauj Ruam 3: Daim duab Circuit Court
- Kauj ruam 4: Programming / Code
- Kauj ruam 5:
Video: Kev Saib Xyuas Tam Sim No Ntawm Arduino Nano (I2C): 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nyob zoo, Nyob zoo os.. !!
Ntawm no kuv (Somanshu Choudhary) sawv cev ntawm Dcube thev naus laus zis kev mus rau saib xyuas tam sim no siv Arduino nano, nws yog ib qho ntawm daim ntawv thov I2C raws tu qauv los nyeem cov ntaub ntawv analog ntawm Tam sim no Sensor TA12-200.
Kauj ruam 1: Txheej txheem cej luam
- TA12-200 yog AC lub ntsuas hluav taws xob tam sim no
- DATASHEET Txuas:
- Txoj haujlwm no ntsuas AC tus nqi tam sim no
Kauj ruam 2: Yam Koj Xav Tau / Txuas
- Arduino Nano Cov
- I²C Shield rau Arduino Nano
- USB Cable Hom A rau Micro Hom B 6 Taw Ntev
- I²C Kab
- I²C AC tam sim no Sensor ntawm ADC121C 12-Bit ADC I²C Mini Module
- CFL lossis Lub Teeb.
- PCV cov kab.
Kauj Ruam 3: Daim duab Circuit Court
Kauj ruam 4: Programming / Code
#suav nrog
void teeb tsa ()
{
// I2C chaw nyob ntawm ADC121C021, 0x50 cuam tshuam nrog TA12-200
#txhais ADC_ADDR 0x50
// Koom nrog I2c Bus li tus tswv
Hlau.begin ();
// Pib kev sib txuas lus sib txuas rau cov khoom siv hluav taws xob tso tawm
Serial.begin (9600);
}
void lub voj ()
{
// Pib kis nrog cov khoom siv ntawm I2C npav
Wire.beginTransmission (ADC_ADDR);
// Hu rau kev hloov pauv hloov npe, 0x00 (0)
Hlau.write (0x00);
// ncua (500);
// Thov 2 bytes
Wire.requestFrom (ADC_ADDR, 2);
// Nyeem cov bytes yog tias lawv muaj
yog (Wire.available () == 2)
{
int msb = Hlau.read ();
int lsb = Wire.read ();
// Xaus kev kis thiab tso I2C npav
Wire.endTransmission ();
// Xam tus nqi
int rawADC = msb * 256 + lsb;
rawADC = rawADC & 0x0fff;
// Tso tawm rau lub vijtsam
Serial.print ("ADC Tus Nqi:");
Serial.println (rawADC);
}
lwm tus
{
Serial.println ("Tsis txaus bytes muaj nyob ntawm xaim.");
}
ncua (100);
}
////////////////////////////////////////////////////////// ///////////////////////// NOTE ///////////////////////// //////////////////////////////////////////////////////////// /////////////////////////////
// Cov txiaj ntsig no nyob hauv mili amps
// Koj tseem tuaj yeem pom rms tus nqi tam sim no los ntawm kev nrhiav maxinmum nyeem ntawv thiab faib nws los ntawm 1.414
Kauj ruam 5:
Yog xav paub ntxiv thov mus saib peb lub xaib:
www.dcubetechnologies.com
Pom zoo:
Qhov Sib Txawv Ntawm (Lwm Yam Tam Sim No & Ncaj Ncees Tam Sim No): 13 Kauj Ruam
Qhov Sib Txawv Ntawm (Lwm Yam Tam Sim No & Tam Sim No Tam Sim No): Txhua tus paub tias hluav taws xob feem ntau yog Dc, tab sis li cas txog lwm hom hluav taws xob? Koj puas paub Ac? AC sawv rau dab tsi? Puas yog nws siv tau DC? Hauv txoj kev tshawb no peb yuav paub qhov sib txawv ntawm hom hluav taws xob, qhov chaw, daim ntawv thov
AC Tam Sim No Saib Xyuas Cov Ntaub Ntawv Logger: 9 Kauj Ruam (nrog Duab)
AC Tam Sim No Saib Xyuas Cov Ntaub Ntawv Logger: Nyob Zoo Txhua Tus, Zoo siab txais tos rau kuv thawj qhov kev qhia! Txog hnub kuv yog tus kws tshuaj ntsuam xyuas rau lub tuam txhab uas muab cov khoom siv cua sov ua kom sov, thaum tsaus ntuj kuv yog tus nyiam siv tshuab thev naus laus zis thiab DIY'er. Ib feem ntawm kuv txoj haujlwm suav nrog ntsuas qhov ua tau zoo ntawm cov tso cua sov
Kev Saib Xyuas Kev Noj Qab Haus Huv Ntawm Cov Txheej Txheem Hauv Tib Neeg Siv Wireless Kev Ruaj Ntseg Sensors: 8 Cov Kauj Ruam
Kev Saib Xyuas Kev Noj Qab Haus Huv Ntawm Cov Txheej Txheem Hauv Tsev Siv Wireless Kev Ruaj Ntseg: Qhov tsis zoo ntawm lub tsev qub thiab kev tsim kho pej xeem tuaj yeem ua rau tuag taus thiab xwm txheej txaus ntshai. Kev saib xyuas tas li ntawm cov qauv no yog qhov yuav tsum tau ua. Kev saib xyuas kev noj qab haus huv hauv tsev yog ib txoj hauv kev tseem ceeb heev hauv kev ntsuas
Kev Saib Xyuas Tus Kheej Ntiag Tug Hacked Los Ntawm Cov Laus LCD Saib: 7 Kauj Ruam (nrog Duab)
Kev Saib Xyuas Tus Kheej Ntiag Tug Los Ntawm Lub Luag Qub LCD: Thaum kawg koj tuaj yeem ua qee yam nrog lub qub LCD saib uas koj muaj hauv lub nkas -las. Koj tuaj yeem tig nws mus ua tus saib xyuas ntiag tug! Nws zoo nkaus li dawb rau txhua tus neeg tshwj tsis yog koj, vim tias koj hnav "khawv koob" tsom iav! Txhua yam koj yuav tsum muaj yog pa
Kev Nyuaj Siab: Kev Saib Xyuas thiab Saib Xyuas Ntxiv rau Kev Teeb Meem: 9 Cov Kauj Ruam
Hard Drive: Kev Saib Xyuas thiab Kev Saib Xyuas Ntxiv Teeb Meem: Daim duab saum toj no yog Hard Drive ib txwm muaj. Cov no yog cov tsav tsheb feem ntau siv niaj hnub no, tab sis tsis tas yuav nrawm tshaj. Tib neeg siv tus tsav no rau nws tus nqi qis dua gigabyte thiab lub neej ntev dua. Phau ntawv qhia no yuav qhia koj txog qhov sib txawv