Cov txheej txheem:

Arduino Chemistry Probe Kit - Kub thiab Kev Coj Ua: 8 Kauj Ruam
Arduino Chemistry Probe Kit - Kub thiab Kev Coj Ua: 8 Kauj Ruam

Video: Arduino Chemistry Probe Kit - Kub thiab Kev Coj Ua: 8 Kauj Ruam

Video: Arduino Chemistry Probe Kit - Kub thiab Kev Coj Ua: 8 Kauj Ruam
Video: Amazing arduino project 2024, Kaum ib hlis
Anonim
Arduino Chemistry Probe Kit - Kub thiab Kev Coj Ua
Arduino Chemistry Probe Kit - Kub thiab Kev Coj Ua

Ib tus kws qhia txog Chemistry kuv ua haujlwm nrog xav kom nws cov tub ntxhais kawm tsim cov khoom siv ntsuas los ntsuas qhov ntsuas thiab ntsuas kub. Peb tau rub ob peb qhov haujlwm sib txawv thiab cov peev txheej thiab kuv tau ua ke rau hauv ib qhov haujlwm. Peb tau koom ua ke nrog LCD Project, Kev Tshawb Fawb Kev Ua Haujlwm, thiab Kev Ntsuas Kub Kub.

Daim duab yog khoom kawg.

Kauj Ruam 1: Cov khoom siv

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv

Koj yuav xav tau:

  • Arduino Uno (Kuv siv Sparkfun Inventors Kit)
  • Cov qhob cij
  • Jumper Hlau
  • Cov Caj Dab Clip
  • 10K Ohm Resisters (x2)
  • Zaub Zaub
  • Kub Sensor (DS18B20)
  • Kev Tshawb Fawb Kev Coj Ua (DIY Version hauv Kauj Ruam 6)
  • Daim Kab Xev Hluav Taws Xob
  • Soldering Hlau
  • Solder
  • Hlau Cutter/Stripper
  • Pliers

Kauj Ruam 2: Daim Kab Xev

Daim duab thaiv
Daim duab thaiv

Txhawm rau npaj phiaj xwm uas cov tub ntxhais kawm tuaj yeem ua raws, Kuv tau kawm paub yuav ua daim kab xev li cas. Kuv siv cov software hu ua Fritzing.

Kauj Ruam 3: Tsim LCD Circuit

Tsim LCD Circuit
Tsim LCD Circuit
Tsim LCD Circuit
Tsim LCD Circuit
Tsim lub LCD Circuit
Tsim lub LCD Circuit
Tsim LCD Circuit
Tsim LCD Circuit

Lub tswv yim kuv faib qhov no ua 3 ntu; LCD, Temp Sensor, thiab Kev Tshawb Fawb Kev Ntsuas.

Kuv tsim lub LCD Circuit los ntawm kev ua raws cov lus qhia hauv Sparkfun Inventor's Kit Guide: Circuit #15. Kuv yuav tsis sim ntaus txhua tus pin sib txuas (kawm daim duab qhia chaw).

Mods rau tus qauv qub:

  • Kuv hloov lub LCD mus rau qhov kawg ntawm daim ntawv qhia zaub mov kom kuv tuaj yeem txuag chaw nyob hauv qab kawg ntawm pawg thawj coj saib.
  • Kuv tig lub xiav trimpot 180* thiab hloov pauv Cov Xov Zoo thiab Tsis Zoo kom phim.

Tom qab qhov thaiv tau ua tiav, Kuv tau tshaj tawm cov qauv ntsuas LCD yooj yim.

Txij lub sijhawm tsis muaj hnub nyoog, txhua qhov kev zov me nyuam thawj zaug yuav tsum yog "HELLO WORLD."

Kauj Ruam 4: Npaj Temp Sensor

Npaj Temp Sensor
Npaj Temp Sensor
Npaj Temp Sensor
Npaj Temp Sensor
Npaj Temp Sensor
Npaj Temp Sensor

Cov duab hauv daim duab qhia pom thawj cov xov tooj liab liab. Qhov luv dhau hauv qhov kev teeb tsa qub.

Cov kauj ruam los ua kom siv tau qhov kawg:

  1. Tshem tawm cov hnab dub ntxiv ib lossis ob qhov ntxiv
  2. Seem cov xov hlau ib leeg kom nthuav tawm 0.5 nti tooj liab
  3. Tin cov tooj liab liab kom lawv tuaj yeem ntxig rau hauv lub khob cij

Kauj Ruam 5: Hlau Temp Sensor

Hlau lub Temp Sensor
Hlau lub Temp Sensor
Hlau Temp Sensor
Hlau Temp Sensor
Hlau lub Temp Sensor
Hlau lub Temp Sensor

Lub ntsuas cua sov muaj 3 xaim

  • Liab = Vcc (Zoo)
  • Dub = av (Tsis zoo)
  • Dawb = Teeb liab

Cov xov hlau liab thiab dub nkag mus rau lawv txoj kab zoo thiab tsis zoo ntawm txoj kab rau ntawm lub khob cij. Cov ntaub ntawv ntawm lub ntsuas kub (ntawm Sparkfun lub vev xaib) tsis sib xws. Tab sis ntau qhov kev tshuaj xyuas tau hais tawm tias koj xav tau 10K Ohm rub-up resistor. Tom qab sim thiab yuam kev kuv pom qhov no kom raug. Qhov no kuj yog lub ntsuas kub digital, yog li nws xav tau ntsaws rau hauv cov lej digital ntawm Arduino.

Xaim Cov Hlau Dawb

  • Cov xaim hluav taws xob sensor tau txuas rau Kab 25 ntawm lub rooj noj mov (txhua kab zoo)
  • 10K Ohm resistor tau txuas rau Kab 25 thiab Cov tsheb ciav hlau Zoo (qhov no yog qhov rub tawm tus tiv thaiv)
  • Ib lub xov hlau jumper dawb tau txuas rau Kab 25 thiab Digital Pin 7 ntawm Arduino.

    Kuv sim khaws kuv lub teeb liab jumper xov hlau dawb rau qhov yooj yim, tab sis cov xim twg yuav ua haujlwm

Kauj Ruam 6: DIY Kev Ntsuas Kev Ntsuas

DIY Conductivity Sojntsuam
DIY Conductivity Sojntsuam
DIY Conductivity Sojntsuam
DIY Conductivity Sojntsuam
DIY Conductivity Sojntsuam
DIY Conductivity Sojntsuam
DIY Conductivity Sojntsuam
DIY Conductivity Sojntsuam

Kuv ua raws cov lus qhia ntawm qhov piv txwv no los tsim kom muaj Kev Coj Tus Cwj Pwm.

Siv ib daim nichrome xaim (tau txais los ntawm tus kws qhia tshuaj), Kuv txiav ob qhov sib npaug ntev txog 6 ntev. Kuv khoov lawv raws li pom hauv cov duab thiab kaw lawv mus rau ntu ntu Bic cwj mem (tshuav los ntawm kuv Lub Hnab Zoo Tshaj Plaws 'ible) nrog cov kab xev ntawm cov xov hlau sojntsuam, Kuv tuaj yeem siv cov kais dej txuas los txuas qhov kev sojntsuam mus rau lub khob cij.

Lwm txoj:

Peb tau sim qhov kev tshuaj xyuas qhov kev coj ua no siv "xaim" ua los ntawm cov ntawv tsis ruaj khov. Qhov ntawd tau muab peb nyeem zoo ib yam thiab peb yuav zoo li yuav siv daim ntawv kaw nrog cov tub ntxhais kawm. Cov ntawv xov hlau yuav zaum xeb ntau dua, tab sis cov no yog cov khoom siv tseem ceeb pov tseg.

Kauj Ruam 7: Tshawb xyuas qhov ua tau zoo

Hlau Kev Tshawb Fawb
Hlau Kev Tshawb Fawb
Hlau Kev Tshawb Fawb
Hlau Kev Tshawb Fawb
Hlau Kev Tshawb Fawb
Hlau Kev Tshawb Fawb
Hlau Kev Tshawb Fawb
Hlau Kev Tshawb Fawb

Ib zaug ntxiv peb tau ua raws cov lus qhia no txhawm rau xaim cov ntawv soj ntsuam mus rau hauv lub khob cij thiab arduino.

Hlau sojntsuam:

  • RED jumper xaim xaim txuas rau hauv txoj kev tsheb ciav hlau Zoo

    RED tus nab kuab txuas rau RED xaim mus rau ib sab ntawm Kev Tshawb Fawb Kev Ntsuas

  • Tus 10k Ohm tus tiv thaiv tau txuas rau Kab 28 thiab Txoj Kev Tsis Zoo
  • Ib lub xov tooj cua daj tau txuas rau Kab 28 thiab Analog Pin A0 ntawm Arduino
  • BLACK jumper hlau tau txuas rau Kab 28

    Ib daim kab xev dub txuas rau kab xaim dub no mus rau lwm sab ntawm Kev Tshawb Fawb Kev Ntsuas

Kauj ruam 8: Coding

Coding
Coding
Coding
Coding

Ib zaug ntxiv, kuv ua ke cov cai los ntawm 3 txoj haujlwm; LCD, Temp, thiab Kev Coj Ua. Nws ncaj ncaj rau pem hauv ntej thiab cov cai tau hais tawm zoo. Koj yuav tsum rub tawm thiab teeb tsa qee lub tsev qiv ntawv ntxiv kom nws ua haujlwm. Koj yuav xav tau DallasTemperature thiab OneWire cov tsev qiv ntawv.

Pom zoo: