Cov txheej txheem:

Tsis Siv Neeg Cornflakes Dispenser (Cerematic): 14 Kauj Ruam
Tsis Siv Neeg Cornflakes Dispenser (Cerematic): 14 Kauj Ruam

Video: Tsis Siv Neeg Cornflakes Dispenser (Cerematic): 14 Kauj Ruam

Video: Tsis Siv Neeg Cornflakes Dispenser (Cerematic): 14 Kauj Ruam
Video: 3000+ Common English Words with British Pronunciation 2024, Hlis ntuj nqeg
Anonim
Tsis Siv Neeg Cornflakes Dispenser (Cerematic)
Tsis Siv Neeg Cornflakes Dispenser (Cerematic)

Kuv lub tswv yim:

Rau kuv qhov phiaj xwm zaum kawg ntawm kuv thawj xyoo kuv tau tso cai los ua ib qhov haujlwm uas kuv nyiam. Rau kuv qhov kev xaiv tau ua sai. Nws zoo li kuv yog thawj lub tswv yim kom siv lub tshuab ua kom lub tshuab ua kom yooj yim yog li koj tuaj yeem tswj lub tshuab nyob deb. Tom qab qee qhov kev tshawb fawb nws zoo li ua haujlwm tau zoo.

Kauj Ruam 1: Cov khoom siv

Khoom siv
Khoom siv
  • Raspberry Pi Qauv 3B+
  • T-Cobbler Raspberry Pi
  • Lub zog ua tau zoo Raspberry Pi
  • Raspberry Pi Cov
  • Nco daim npav 16GB
  • Breadboard (800 tus pin)
  • 2x Breadboard (400 tus pin)
  • Jumper Cabels (Txiv neej rau txiv neej, Poj niam rau txiv neej, Poj niam rau poj niam)
  • Resistors
  • LCD Screen (16x2)
  • 2x Loadcell 1KG (+ HX711)
  • 2xI R Obstacle ntes
  • 3 x IRLZ44N MOSFET
  • Ledstrip 5M Dej pov thawj
  • 2 x Ultrasonor sensor (HC SR04)
  • L293D Tsav Tsheb
  • 37mm 12V DC 12RPM Siab Torque Iav
  • PCF8754 (I²C)
  • Fais fab mov 12V 5A
  • Cornflakes dispenser
  • Cov yeeb nkab clamp 13.5cm
  • Connector 10 hli
  • Mounting kho vajtse 25mm
  • Teeb screws (nrog ntau qhov sib txawv thiab qhov ntev)
  • Teem cov txiv ntoo (nrog ntau qhov sib txawv thiab qhov ntev)
  • Ob daim kab xev
  • Dawb kab xev 50 hli
  • 1 m² ntawm melamine
  • PVC profile
  • Ntsuas lub tes tsho
  • Drilling tshuab
  • Clocking laum
  • Cov khoom siv Soldering
  • Tin
  • Ntsia hlau tsav tsheb
  • Pliers
  • Milling cutter
  • Pom
  • Pom tshuab

Yog tias koj muaj feem ntau ntawm cov cuab yeej, txoj haujlwm no yuav raug nqi ib puag ncig 200 euros.

Koj tuaj yeem pom tus nqi thiab cov lus qhia hauv qab kab lus no.

Kauj Ruam 2: Mount Lub Tsav Tsheb mus rau Lub Tshuab Ntxuav

Mount lub Motor mus rau lub Dispenser
Mount lub Motor mus rau lub Dispenser
Mount lub Motor mus rau lub Dispenser
Mount lub Motor mus rau lub Dispenser
Mount lub Motor mus rau lub Dispenser
Mount lub Motor mus rau lub Dispenser

Cov ntaub ntawv rau cov kauj ruam no:

  • 2x kav kav 13.5cm
  • 2x connector 10 hli
  • 2x Mounting kho vajtse 25mm
  • 2x 12V DC 12RPM Tsav 37mm
  • Ntsia Hlau
  • Ceev

Cov cuab yeej rau cov kauj ruam no:

  • Drilling tshuab
  • Clocking laum (kwv yees li 45 cm)
  • Hluav taws xob txiav
  • Ntsia hlau tsav tsheb
  • Cov khoom siv Soldering
  • Tin

Nqe lus piav qhia:

Pib nrog tshem cov yas tawv nyob ib ncig ntawm qhov txuas mus txog thaum cov hlau tshwm. Tshem tawm cov hmoov tshauv los ntawm lub dispenser thiab teeb nws mus rau qhov txuas (nrog tus ntsia hlau tsav). Mount lub tshauv (suav nrog qhov txuas) rov qab rau hauv lub tshuab xa khoom.

Tam sim no laum ib lub qhov nyob nruab nrab ntawm "sawv" sab xis ntawm lub hauv ntej kom peb tuaj yeem txhim kho peb lub cav tau yooj yim. Siv approx. 45 hli siv lub laum ntsuas kom koj thiaj li muaj chaw txaus.

Tam sim no nce lub qhov dej rov qab mus rau "sawv" qhov chaw sib txuas tam sim no nyob ntawm lub qhov rooj uas peb nyuam qhuav xyaum.+

Tam sim no Mount 12V DC lub cev rau lub tshuab txuas (nrog cov hmoov tshauv ntawm lub cev muaj zog hauv qhov txuas) kom lub cav tau tsau rau hauv lub qhov rooj uas peb tau xyaum.

Yog tias koj cov yeeb nkab clamp loj dhau rau lub cav uas koj tau yuav, kuv qhia koj kom nce 2 txheej ntawm cov roj hmab nyias ntawm lub tshuab kom peb tuaj yeem khov kho cov hlab.

Tam sim no nce cov kav dej txuas mus rau lub cav siv 3 qhov ntsia hlau luv.

Kauj ruam kawg tam sim no yog teeb tsa lub khoos phis tawj mounting mus rau "Stander".

Txhawm rau ua qhov no, laum 2 lub qhov rooj hauv qab ib leeg uas ua rau nws muaj peev xwm sib sau peb cov cuab yeej sib dhos ntawm no. (Saib duab)

Tam sim no teeb tsa lub khoos phis tawj mounting rau "Stander" 'siv 2 lub txiv ntseej, 2 lub hau ntswj thiab 2 lub tais los ua kom peb teeb tsa muaj zog.

Nco ntsoov tias qhov no yog kev tsim kho kom ruaj khov uas ua rau nws tsis tuaj yeem khiav lub cav ib puag ncig nws tus kheej.

Tej zaum nws tseem muaj kev nyab xeeb kom tau txais qee yam roj hmab nruab nrab ntawm "sawv" thiab lub tshuab xa khoom kom haum, yog li peb lub tank yeej tsis tawg thaum lub cav khiav. (Saib duab)

Ua cov kauj ruam no rau ob sab laug thiab sab xis.

Yog tias qhov kawg txuas cov hlua txuas txuas mus rau + thiab - ntawm lub cav rau peb lub Circuit Court.

Kauj Ruam 3: Mount Sonor Sensor mus rau Lub Chaw Tso Dej

Mount Sonor Sensor mus rau qhov chaw tso dej
Mount Sonor Sensor mus rau qhov chaw tso dej
Mount lub Sonor Sensor mus rau qhov chaw tso dej
Mount lub Sonor Sensor mus rau qhov chaw tso dej
Mount Sonor Sensor mus rau qhov chaw tso dej
Mount Sonor Sensor mus rau qhov chaw tso dej

Cov ntaub ntawv rau cov kauj ruam no:

  • 2 x ultra sonor sensor (HC SR04)
  • Ob daim kab xev

Cov cuab yeej rau cov kauj ruam no:

Drilling tshuab

Nqe lus piav qhia:

Tam sim no laum lub qhov rooj ntawm kwv yees li 2x2 cm rau hauv lub hau kom peb tuaj yeem txhim kho peb tus pin ntawm ulta sonor sensor rau peb raspberry pi.

Tom qab ntawd rub rau hauv qab ntawm HC SR04 ib daim kab xev ob tog kom peb tuaj yeem yooj yim mount peb HC SR04 ntawm lub hau dej. Cov kauj ruam no yuav ua rau peb cov khoom siv hluav taws xob tom qab yooj yim dua.

Kauj Ruam 4: Laum 2 Rooj Vag Hauv Qab

Laum 2 Rooj vag Hauv Qab
Laum 2 Rooj vag Hauv Qab
Laum 2 Rooj vag Hauv Qab
Laum 2 Rooj vag Hauv Qab

Cov cuab yeej rau cov kauj ruam no:

  • Drilling tshuab
  • Clocking driller

Nqe lus piav qhia:

Laum nrog qhov ua tau zoo tshaj plaws ntaus 2 lub platform los ntawm qhov uas lub tais mus. Peb ua qhov no vim tias tom qab peb nyob hauv peb Circuit peb 2 lub hlwb thauj khoom yuav muab tso rau ntawd yog li peb tuaj yeem ntsuas peb qhov hnyav ntawm lub tais.

Kauj Ruam 5: Ua Case

Ua Case
Ua Case
Ua Case
Ua Case
Ua Case
Ua Case
Ua Case
Ua Case

Cov ntaub ntawv rau cov kauj ruam no:

  • 1 m² ntawm melamine
  • Ntsia Hlau

Cov cuab yeej rau cov kauj ruam no:

  • Drilling tshuab
  • Milling cutter
  • Pom tshuab

Nqe lus piav qhia:

Txij li thaum kuv tsis tau kawm hauv lub tsev kawm txuj ci, thiab peb cov lus qhia ntawm no txawm tias kuv tau mob siab rau siv tus phooj ywg los ua rooj plaub. Nws mus rau kuv dab tsi yuav nyuaj vim tias kuv tsis tau siv lub tshuab txiav miling thiab lwm yam.

Kuv tau muab kuv tus phooj ywg 2 cov ntaub ntawv uas nws paub txaus kom paub qhov casing (saib cov duab)

Yog tias koj xav ua rooj plaub nws tus kheej, muaj qee cov duab ntawm theem no uas qhia tias qhov kawg yuav tsum zoo li cas. Cov qhov tshwj xeeb yog nyob hauv thawj 2 daim duab.

Kauj Ruam 6: Mouting PVC nyob tom qab ntawm rooj plaub

Mouting PVC nyob tom qab ntawm rooj plaub
Mouting PVC nyob tom qab ntawm rooj plaub
Mouting PVC nyob tom qab ntawm rooj plaub
Mouting PVC nyob tom qab ntawm rooj plaub
Mouting PVC nyob tom qab ntawm rooj plaub
Mouting PVC nyob tom qab ntawm rooj plaub
Mouting PVC nyob tom qab ntawm rooj plaub
Mouting PVC nyob tom qab ntawm rooj plaub

Cov ntaub ntawv rau cov kauj ruam no:

  • PVC profiles (kwv yees li 2.5cm tuab)
  • Ob daim kab xev

Cov cuab yeej rau cov kauj ruam no:

Pom

Nqe lus piav qhia:

Tseem qee cov ntsiab lus yuav tsum tau ua tiav rau peb lub thawv. Hauv cov kauj ruam no peb mus teeb cov hlua coj mus rau tom qab ntawm rooj plaub kom pom kev zoo tshaj plaws.

Pom PVC profile hauv daim (2x 55cm thiab 1x45cm)

Tam sim no peb muaj qhov ntev zoo tshaj plaws rau cov profiles. Yog li ntawd, muab qee daim kab xev tso rau ntawm PVC qhov profile kom sab nraum qab ntawm qhov profile nyob sab nraud (thiab qhib sab rau sab hauv) thiab muab lo rau hauv peb lub thawv.

Muab tshuaj txhuam ua qhov kawg ntawm daim kab xev coj mus rau hauv PVC qhov profile thiab ua kom qhov kev tswj hwm ntawm cov hlua coj yog nyob rau ntawm kaum sab laug (qhov no yog qhov tseem ceeb los tswj peb cov kab txaij coj tom qab). Nco ntsoov txiav cov hlua coj ntawm qhov chaw raug.

Yog li koj tau txais qhov tshwm sim hauv cov duab saum toj no.

Kauj Ruam 7: Mounting Load Cell rau Case

Mounting Load Cell rau Case
Mounting Load Cell rau Case
Mounting Load Cell rau Case
Mounting Load Cell rau Case
Mounting Load Cell rau Case
Mounting Load Cell rau Case
Mounting Load Cell rau Case
Mounting Load Cell rau Case

Cov ntaub ntawv rau cov kauj ruam no:

  • 2x Load ntawm tes
  • 2 tx711
  • Jumper cables
  • Thaum tshav kub kub ntsws tubing
  • 4 x ntev screw
  • 4x luv luv
  • 4x nug
  • Nyuaj cartonboard

Cov cuab yeej rau cov kauj ruam no

  • Cov khoom siv Soldering
  • Tin
  • Ntsia hlau tsav tsheb
  • Drilling tshuab
  • Sib zog

Nqe lus piav qhia:

Txij li thaum lub xov tooj ntawm tes ua haujlwm nrog lub ntsuas ntsuas, qhov qauv no yuav tsum tau teeb tsa ntawm txoj hauv kev tshwj xeeb. Lub xovtooj ntawm tes yuav tsum tsis txhob so ntawm qhov chaw tiaj, yog li yuav tsum tau ua cov kauj ruam ntxiv no.

Txij li cov xov hlau ntawm lub xov tooj ntawm tes me me heev, nws yog qhov tsim nyog yuav tsum txuas 4 lub xov tooj cua txuas mus rau lub loadcell (yog li peb tuaj yeem hloov lawv yooj yim dua). Siv cov khoom sib dhos thiab cov hlau nplaum los txuas rau lawv ib leeg.

Hauv peb qhov xwm txheej twb muaj 2 qhov ua haujlwm hauv qab. Peb pib nrog lub qhov sab laug.

Laum 2 qhov hla hauv qab (1 x 1 cm rau sab xis ntawm sab laug, thiab lwm 1.5 cm rau sab xis ntawm sab laug)

Tam sim no ntxig 2 tus ntsia hlau ntev los ntawm hauv qab los ntawm 2 qhov ntawm lub loadcell, thiab txuas nrog siv cov txiv ntoo (saib cov duab). Nco ntsoov tias lub xovtooj ntawm tes tsis nyob hauv qab. Ua kom qhov loadcell module tseem tuaj yeem txav tau me ntsis (tab sis tsis ntau dhau!)

Tam sim no ua tib yam rau lwm sab, tab sis zoo ib yam laum 2 qhov 1 cm rau sab laug ntawm txoj cai thiab 1.5 cm rau sab laug ntawm txoj cai.

Yog li koj tau txais qhov tshwm sim hauv cov duab saum toj no.

Thaum kawg, nws muaj txiaj ntsig los tsim lwm hom 'platform' ntawm lub xov tooj ntawm tes yog li peb tuaj yeem yooj yim tso qee yam ntawm lub platform ntawd.

Txog qhov no kuv tau siv ib daim ntawv tawv tawv tawv tawv thiab kuv muaj 2 qhov tho qhov hauv nruab nrab.

Tom qab ntawd ntsaws cov spools nyam rau lub xov tooj ntawm tes nrog kev pab ntawm 2 tus ntsia hlau luv (ua kom khov kho!)

Ua qhov no rau ob leeg thauj cov cell.

Kauj Ruam 8: Laum Rooj vag los Muab Cov Ntaub Ntawv rau Lub Hwj Chim

Laum Rooj vag los Muab Cov Ntaub Ntawv rau Lub Hwj Chim
Laum Rooj vag los Muab Cov Ntaub Ntawv rau Lub Hwj Chim

Cov ntaub ntawv rau cov kauj ruam no:

Drilling tshuab

Nqe lus piav qhia:

Tam sim no laum ib qhov txog 2 cm x 2 cm. Laum lub qhov no nyob hauv kaum sab laug hauv qab (qhov uas peb muaj kev tswj hwm hauv qib 6 ntawm cov coj sawb haum). Tam sim no ntxig rau Steering, muab lub zog ntawm Pi, lub zog xa khoom ntawm cov hlua coj thiab kev tswj ntawm cov hlua coj los ntawm lub qhov.

Kauj Ruam 9: Electronics

Electronics
Electronics
Electronics
Electronics
Electronics
Electronics

Cov ntaub ntawv rau cov kauj ruam no:

  • 2 tx711
  • 2x Load ntawm tes
  • 2x Lub hom phiaj ntes
  • Resistors
  • 2 x Sonor sensor
  • 2 x Motors
  • L293D ua
  • RGB txuas
  • LCD Screen
  • SWB 8754 Stb
  • 2 Nyees khawm
  • T-cobbler
  • 1x Breadboard (800 tus pin)
  • 2x Breadboard (400 tus pin)
  • Fais fab mov 12V 5A

Cov cuab yeej rau cov kauj ruam no:

  • Ob daim kab xev
  • Daim kab xev dawb

Ua cov txheej txheem saum toj no ntawm daim ntawv qhia zaub mov.

Mounting LCD npo:

Xaiv PCF nrog rau lub vijtsam LCD raws li lub sijhawm teev tseg saum toj no. Kuv tau muab cov kab hauv qab tso rau saum peb lub tsev. Tam sim no ntxig lub vijtsam LCD hla lub qhov uas peb tau ua haujlwm.

Mounting Object Detectors:

Muab tshuaj txhuam rau hauv qab ntawm 2 lub ntsuas ntsuas ob daim kab xev thiab muab nws tso rau hauv qab ntawm 2 lub platform uas peb twb tau teeb tsa lawm.

Mounting fais fab mov:

Muab tshuaj txhuam rau hauv qab ntawm cov khoom siv hluav taws xob 2 daim kab xev ob npaug thiab muab qhov no tso rau tom qab ntawm rooj plaub. Txuas tus + lub + thiab lub - nrog -

Kaw tag nrho lwm lub ntsuas hluav taws xob mus rau ntawm lub khob cij raws li teev tseg saum toj no.

Thaum ua tiav koj tuaj yeem hla hla txhua daim kab xev dawb.

Kauj Ruam 10: Mount Sensor mus rau Dispneser

Mount Sensor mus rau Dispneser
Mount Sensor mus rau Dispneser

Tam sim no nce tag nrho cov ntsuas hluav taws xob thiab cov tshuab hluav taws xob mus rau lub tshuab xa khoom.

Yog li koj tau txais cov txiaj ntsig saum toj no

Kauj ruam 11: Kev teeb tsa Raspberry Pi

Nco ntsoov tias txhua lub tsheb npav raug xiam oob khab, yog li peb tuaj yeem siv GPIO pins. Enter cov lus txib hauv qab no

sudo apt-tau hloov tshiab

sudo apt-tau hloov tshiab

Kauj ruam 12: Database

Database
Database

Xa cov ntaub ntawv SQL hauv MariaDB thiab sim yog tias koj tuaj yeem saib txhua lub rooj.

Kauj Ruam 13: Txoj Cai

Git thiab clone qhov txuas hauv qab no https://github.com/LennertDefauw/Cerematic. Nov yog txoj cai ntawm txoj haujlwm.

Nkag mus rau cov lus txib hauv qab no hauv putty

nano /etc/rc.local

Ntaus cov cai hauv qab no hauv qab ntawm nplooj ntawv:

python3 /home/pi/project/app.py

Kauj Ruam 14: Qhov Kawg

Txoj haujlwm tiav lawm! Caij nthwv dej mus rau IP chaw nyob ntawm lub vijtsam LCD los txog thiab koj tuaj yeem tswj lub tshuab nyob deb,.

Pom zoo: