Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Sau Cov Khoom Uas Yuav Tsum Tau
- Kauj Ruam 2: Txoj Cai Ua Haujlwm
- Kauj Ruam 3: Nqa Tshooj Ua Ke
- Kauj Ruam 4: Ntxiv Tshooj rau Voltage Sense Network
- Kauj Ruam 5: Ntxiv Qhov Chaw rau Tam Sim No Sense Network
- Kauj Ruam 6: Ua tiav qhov txuas txuas ntxiv thiab ua tiav Kev Tsim
- Kauj Ruam 7: Txuas Tus Qauv Nrog Arduino
- Kauj Ruam 8: Txoj Cai Txoj Cai thiab Daim Duab Circuit
- Kauj Ruam 9: Tutorial Video
Video: DIY Kev Ntsuas Hluav Taws Xob rau Arduino: 9 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo txhua tus, Kuv vam tias koj ua tau zoo! Hauv cov lus qhia no kuv yuav qhia koj li cas kuv tau ua Tus Qauv Fais Fab/ Wattmeter rau siv nrog Arduino board. Lub ntsuas hluav taws xob no tuaj yeem suav lub zog siv los ntawm thiab DC Load. Nrog rau lub zog, tus qauv no tseem tuaj yeem muab peb nyeem qhov tseeb ntawm qhov hluav taws xob thiab tam sim no. Nws tuaj yeem ntsuas qhov ntsuas hluav taws xob qis (ib puag ncig 2V) thiab cov dej ntws qis, qis li 50 mA nrog qhov ua yuam kev tsis ntau tshaj 20mA. Qhov tseeb nyob ntawm qhov xaiv cov khoom siv raws li koj xav tau.
Khoom siv
- IC LM358 dual OP-AMP
- 8 pin IC puag
- Shunt resistor (8.6 milliOhms hauv kuv kis)
- Cov neeg tiv taus: 100K, 10K, 2.2K, 1K (1/2 watt)
- Capacitors: 3 * 0.1uF ceramic capacitors
- Veroboard lossis zero board
- Ntsia hlau txuas
- Soldering hlau thiab solder
- Arduino Uno lossis lwm lub rooj tsav xwm sib xws
- OLED Zaub
- Txuas cov xov tooj cua
Kauj Ruam 1: Sau Cov Khoom Uas Yuav Tsum Tau
Txoj haujlwm no siv yooj yim heev thiab yooj yim kom tau txais cov khoom siv: lawv suav nrog cov resistors, cov khoom siv hluav taws xob, Cov tshuab ua haujlwm thiab lub veroboard rau kev tsim qauv.
Kev xaiv thiab tus nqi ntawm cov khoom siv nyob ntawm seb hom kev thov thiab ntau yam ntawm lub zog uas koj xav ntsuas.
Kauj Ruam 2: Txoj Cai Ua Haujlwm
Kev ua haujlwm ntawm lub zog hluav taws xob yog ua raws ob lub ntsiab lus ntawm kev tshawb fawb hluav taws xob thiab hluav taws xob yooj yim: Lub tswv yim faib hluav taws xob rau kev ntsuas ntawm qhov hluav taws xob nkag thiab Ohm Txoj Cai los laij cov dej ntws tam sim no los ntawm Circuit. Peb tab tom siv shunt resistor los tsim qhov hluav taws xob me me poob thoob plaws nws. Qhov poob qhov hluav taws xob no yog sib piv rau cov nyiaj tam sim no ntws los ntawm qhov shunt. Qhov hluav taws xob me me no thaum ua haujlwm los ntawm lub tshuab ua haujlwm tuaj yeem siv los ua cov tswv yim rau lub microcontroller uas tuaj yeem ua haujlwm tau los muab rau peb tus nqi tam sim no. resistor R2 thiab R1. Kev siv qhov kev hloov pauv uas tsis hloov pauv tso cai rau peb kom muaj ib qho hauv paus raws li kev ntsuas ntsuas. Rau qhov no, tam sim no tab tom ntsuas ntawm sab qis ntawm Circuit Court. Rau kuv daim ntawv thov Kuv tau xaiv qhov nce ntawm 46 los ntawm kev siv 100K thiab 2.2K resistor raws li kev tawm tswv yim network. Kev ntsuas qhov ntsuas hluav taws xob yog ua tiav los ntawm kev siv hluav taws xob faib hluav taws xob uas faib cov hluav taws xob nkag mus rau hauv qhov sib piv rau cov resistor network siv.
Ob qho tam sim no tus nqi los ntawm OP-Amp thiab tus nqi hluav taws xob los ntawm kev faib cov network tuaj yeem pub rau hauv ob qho kev sib piv ntawm arduino kom peb tuaj yeem suav lub zog siv los ntawm kev thauj khoom.
Kauj Ruam 3: Nqa Tshooj Ua Ke
Cia peb pib tsim kho peb lub zog ntsuas los ntawm kev txiav txim siab txoj haujlwm ntawm cov ntsia hlau txuas rau cov tswv yim thiab tso tawm txuas. Tom qab khij lub luag haujlwm uas tsim nyog, peb tau muab cov ntsia hlau txuas txuas thiab lub zog tiv thaiv tawm hauv qhov chaw.
Kauj Ruam 4: Ntxiv Tshooj rau Voltage Sense Network
Rau kev nkag siab qhov ntsuas hluav taws xob Kuv siv lub network faib hluav taws xob ntawm 10K thiab 1K. Kuv kuj ntxiv 0.1 uF capacitor hla 1K resistor kom du tawm qhov hluav taws xob. Qhov kev nkag siab zoo network tau muab muag ze ntawm lub dav hlau nkag
Kauj Ruam 5: Ntxiv Qhov Chaw rau Tam Sim No Sense Network
Qhov tam sim no tau ntsuas los ntawm kev suav thiab ua kom lub zog poob qis thoob plaws qhov shunt resistor nrog qhov tau txais ua ntej tau teeb tsa los ntawm tus tiv thaiv network. Tsis yog hom kev hloov pauv ua kom nrov tau siv. Nws yog qhov tsim nyog kom khaws cov kab laug sab me me kom tsis txhob poob qhov hluav taws xob tsis xav tau.
Kauj Ruam 6: Ua tiav qhov txuas txuas ntxiv thiab ua tiav Kev Tsim
Nrog qhov hluav taws xob thiab kev nkag siab zoo tam sim no txuas nrog thiab txuas, nws lub sijhawm los txuas tus txiv neej lub taub hau thiab ua qhov tsim nyog sib txuas ntawm lub zog thiab teeb liab tawm. Tus qauv yuav raug siv los ntawm tus qauv ua haujlwm voltage ntawm 5 volts uas peb tuaj yeem yooj yim tau los ntawm pawg thawj coj saib. Ob qhov kev nkag siab qhov hluav taws xob tso tawm yuav txuas nrog cov tswv yim sib piv ntawm arduino.
Kauj Ruam 7: Txuas Tus Qauv Nrog Arduino
Nrog tus qauv ua tiav, tam sim no nws yog lub sijhawm kawg los txuas nws nrog Arduino thiab ua kom nws khiav. Txhawm rau pom qhov muaj txiaj ntsig, Kuv tau siv OLED zaub uas siv I2C raws tu qauv los sib txuas lus nrog arduino. Cov ntsuas pom ntawm lub vijtsam yog Voltage, Tam sim no thiab Lub Hwj Chim.
Kauj Ruam 8: Txoj Cai Txoj Cai thiab Daim Duab Circuit
Kuv tau txuas daim duab qhia chaw thiab cov lej ntawm lub zog hloov pauv hauv cov kauj ruam no (Yav tas los kuv tau txuas cov.ino thiab.txt cov ntaub ntawv uas muaj cov cai tab sis qee qhov server yuam kev ua rau cov lej nkag tsis tau lossis nyeem tsis tau rau cov neeg siv, yog li kuv tau sau tag nrho code hauv cov kauj ruam no. Kuv paub tias tsis yog txoj hauv kev zoo los qhia cov cai:(). Xav hloov kho cov cai no raws li koj xav tau. Kuv vam tias txoj haujlwm no muaj txiaj ntsig zoo rau koj. Thov qhia koj cov lus hauv cov lus. Cheers!
#suav nrog
#suav nrog
#suav nrog
#suav nrog
#define OLED_RESET 4 Adafruit_SSD1306 zaub (OLED_RESET);
ntab val = 0;
ntab tam sim no = 0;
ntab voltage = 0;
ntab zog = 0;
void teeb tsa () {
pinMode (A0, INPUT);
pinMode (A1, INPUT);
display.begin (SSD1306_SWITCHCAPVCC, 0x3C); // pib nrog I2C addr 0x3C (rau 128x32) display.display ();
ncua (2000);
// Tshem qhov tsis.
display.clearDisplay ();
display.setTextSize (1);
display.setCursor (0, 0);
display.setTextColor (WHITE);
Serial.begin (9600); // Kom pom qhov tseem ceeb ntawm tus saib xyuas
}
void voj () {
// noj qhov nruab nrab rau kev nyeem ruaj khov
rau (int kuv = 0; kuv <20; kuv ++) {
tam sim no = tam sim no + analogRead (A0);
voltage = voltage + analogRead (A1); }
tam sim no = (tam sim no/20); tam sim no = tam sim no * 0.0123 * 5.0; // ntsuas tus nqi, kom hloov pauv raws li cov khoom siv
qhov hluav taws xob = (qhov hluav taws xob/20); qhov hluav taws xob = qhov hluav taws xob * 0.0508 * 5.0; // ntsuas tus nqi, kom hloov pauv raws li cov khoom siv
hwj chim = voltage*tam sim no;
// luam qhov tseem ceeb ntawm tus saib xyuas
Serial.print (qhov hluav taws xob);
Serial.print ("");
Serial.print (tam sim no);
Serial.print ("");
Serial.println (hwj chim);
// luam qhov tseem ceeb ntawm OLED zaub
display.setCursor (0, 0);
display.print ("Voltage:");
display.print (qhov hluav taws xob);
display.println ("V");
display.setCursor (0, 10);
display.print ("Tam sim no:");
display.print (tam sim no);
display.println ("A");
display.setCursor (0, 20);
display.print ("Lub zog:");
display.print (hwj chim);
display.println ("W");
display.display ();
ncua (500); // refresh tus nqi teev los ntawm kev ncua
display.clearDisplay ();
}
Pom zoo:
Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Igniter: 6 Kauj Ruam (nrog Duab)
Cov Hluav Taws Xob Bluetooth Hluav Taws Xob Igniter: Puas yog nws zoo rau taws ntau dua ib lub foob pob hluav taws tib lub sijhawm? Lossis txawm tias muaj kev nyab xeeb nyob deb rau qhov phom sij txaus ntshai. Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim lub Circuit Court uas tuaj yeem ua tau li cas nrog kev pab ntawm Bluetooth ua haujlwm
Arduino Cov Nqi Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Ntaus: 13 Cov Kauj Ruam (nrog Duab)
Arduino Cov Nqi Hluav Taws Xob Cov Hluav Taws Xob Hluav Taws Xob: Koj puas them ntau dhau rau koj cov nqi hluav taws xob? Koj puas xav paub ntau npaum li cas hluav taws xob koj lub hwj kais lossis lub rhaub dej kub? Ua rau koj tus kheej Portable Nqi Tus Nqi Hluav Taws Xob Hluav Taws Xob! Saib seb kuv pom li cas siv cov cuab yeej no
Ib Leeg Hluav Taws Xob Hluav Taws Xob / Hluav Taws Xob Hluav Taws Xob: 6 Cov Kauj Ruam
Ib Leeg Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob / Hluav Taws Xob Hluav Taws Xob: Hauv qhov haujlwm no peb tab tom ua kom muaj Ib lub kauj induction lub cev Muaj zog, thiab ntau yam piav qhia ntxiv, cov qauv ntawm lub tshuab hluav taws xob no tau siv ntau yam khoom siv tam sim no. Peb lub cav tsis muaj lub zog loj, nws yog ntau ntxiv txog kev ua haujlwm
DIY Hluav Taws Xob Txuas Hluav Taws Xob Txuas Hluav Taws Xob: 7 Cov Kauj Ruam (nrog Duab)
DIY Hluav Taws Xob Txuas Hluav Taws Xob Txuas Hluav Taws Xob: Hauv Cov Lus Qhia no Kuv yuav qhia koj tag nrho cov txheej txheem ntawm kev ua lub tsev hluav taws xob txuas hluav taws xob txuas ntxiv no ib kauj ruam zuj zus. Nws yog qhov muaj txiaj ntsig zoo hluav taws xob pawg thawj coj saib. Nws qhia txog Voltage Tam sim no nrog rau Ampere tau siv ntawm lub sijhawm tiag tiag. Thaum twg qhov voltage excee
Yuav Ua Li Cas Siv Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Module: 6 Kauj Ruam
Yuav Ua Li Cas Siv Cov Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob Module: Nco tseg thiab ceev faj: CFL muaj cov mercury uas yog cov khoom phom sij, yog li nws yuav tsum tau ua raws li feem ntau CFL cov teeb, hluav taws xob hluav taws xob tau ua haujlwm zoo thiab tseem siv tau, tsuas yog lub teeb mus tsis zoo. CFL Circuit Court ntawm 18-24 Watts yog