Cov txheej txheem:

Automated Bar: 7 Kauj Ruam
Automated Bar: 7 Kauj Ruam

Video: Automated Bar: 7 Kauj Ruam

Video: Automated Bar: 7 Kauj Ruam
Video: leej twg tej ntxhai - Mang Vang [ Official MV ] 2024, Kaum ib hlis
Anonim
Tsis siv neeg Bar
Tsis siv neeg Bar

Txoj haujlwm no lub hom phiaj los tsim cov khoom lag luam tus nqi qis uas siv lub tshuab muag khoom rau siv hauv cov neeg siv khoom lag luam siab thiab kev lag luam. Cov kab ke ib txwm muaj hauv kev siv tshuab ua haujlwm siv servo lub cev muaj zog thiab txoj hlua loj loj nrog txoj siv tsav tsheb. Thaum txoj haujlwm txaus rau txhua tus neeg cov kab ke no tuaj yeem raug nqi-txwv tsis pub, yog li peb tau tsim tus nqi pheej yig dua, tsim tus phooj ywg tsim.

Nta

  • Scalable mus rau ntau yam ntawm cov dab/tov
  • Google API kev koom ua ke rau kev xaj suab
  • Cov ntaub ntawv nthuav dav nthuav dav

Kho vajtse

  • Raspberry Pi 3 Qauv B.
  • Tus nqi qis aluminium extrusion qauv
  • 3D luam tawm PLA fixtures
  • 9g servo ua haujlwm

Kauj Ruam 1: Daim Ntawv Teev Npe & Cov Khoom Siv

Cov kev cai kho vajtse tau suav daws thiab npaj ua ntej rau koj. Txawm li cas los xij, koj tseem xav tau nkag mus rau qee cov peev txheej uas tsis yooj yim nkag tau yooj yim.

Koj yuav tsum tau nkag mus rau:

  • 3D-Tshuab Luam Ntawv
  • Dremel los yog bandsaw
  • Soldering hlau

Nco tseg: Cov ntu hauv qab no thiab tus nqi tag nrho hauv £ GBP thiab cov vev xaib yuav yog UK hauv paus, txawm li cas los xij cov khoom no yooj yim muaj nyob hauv ntau thaj chaw. Qee cov ntaub ntawv yuav pheej yig dua yog tias xaj los ntawm Tuam Tshoj

Ncej Cheeb Tsam

  • 8 x Beaumont Spirit Optic & Stand 25 ml: £ 18.32 - CaterSpeed/Alibaba
  • 5 meters x PVC Tube (6mm x 8mm): £ 5.29 - ebay
  • 20 x Extrusion 90 ° Brackets: £ 7.16 - ebay
  • 20 x Drop T -Nut: £ 3.36 - ebay
  • 20 x M5 10mm: £ 3.39 - ebay
  • Nyuaj Hlau: £ 1.49 - ebay
  • 4 meters x Aluminium extrusion (20mmx20mm): £ 22.96 -RS
  • 1 x GP2Y0D805Z0F sensor, nrug, 50 hli, digital: £ 3.14 - Farnell

Cov Khoom Siv Hluav Taws Xob

  • 1 x 1kg Load cell: £ 2.21 - Amazon
  • 8 x Micro Servo: £ 11.25 - ebay
  • 1 x Kev sib thooj sensor - GP2Y0D805Z0F sensor, nrug, 50 hli, digital: £ 3.14 - Farnell
  • Cov khoom me me tuaj yeem pom ntawm no.

Kauj Ruam 2: Electronics & PCB

Electronics & PCB
Electronics & PCB
Electronics & PCB
Electronics & PCB

Tag nrho PCB cov duab, duab, thiab BOMs muaj nyob hauv zej zog Altium CircuitMaker ntawm no.

Cov laug cam zaum kawg yog 2-txheej, hauv qab <100x100mm, thiab tuaj yeem tau txais rau $ 0.20 ib thooj los ntawm JLCPCB qhov kev pabcuam tsim qauv.

Pawg neeg nyob tau muab cov yam ntxwv tseem ceeb hauv qab no:

  • 8x Servo raws
  • 1x Load cell amplifier input
  • 1x Digital sib thooj sensor input
  • 2x Debug GPIO pins nrog LEDs

Rau kev txhim kho yav tom ntej, cov ntaub qhwv tau muab rau:

  • 8x Ntxiv servo raws
  • 4x Lub hom phiaj dav ADC cov tswv yim
  • 1x Spare load cell amplifier channel
  • 2x Opto-cais solenoid tsav nrog 12V tsheb nqaj hlau

Kauj Ruam 3: Luam Ntawv 3D

3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv
3D Luam Ntawv

Muaj 4 qhov sib txawv uas yuav tsum tau luam tawm.

  • Servo tsav
  • Kho qhov muag clips
  • Sib thooj sensor bracket
  • PVC Tube tuav

Yim qhov servo mounts thiab clips, ib qho kev sib thooj sensor thiab ob lub raj tuav yuav tsum tau luam tawm. Cov ntaub ntawv muaj nyob ntawm no.

Cov tshuab xa tawm ua haujlwm los ntawm 9g servo tau teeb tsa ntawm txhua qhov kho qhov muag, nrog cov hlau txuas txuas nws mus rau lub hauv paus ntawm lub plunger. Raws li qhov servo tig, lub tshuab plunger tau rub mus rau sab saud, kaw cov kab sau rau hauv lub raj mis, qhib cov kab xa khoom, thiab tso cua rov qab los ntawm lub hauv paus hauv lub qhov muag.

Cov zaub mov qib PVC cov raj khiav los ntawm txhua qhov kev kho qhov muag thiab tau tuav hauv nruab nrab saum toj ntawm lub qhov khoom los ntawm ob qho khoom sib dhos.

Tom qab lub xov tooj ntawm tes yog lub ntsuas hluav taws xob sib ze, muab kev pom ntawm lub khob ntawm lub phaj, tuav hauv txoj haujlwm los ntawm cov zawv zawg luam tawm ntawm lub extrusion.

Cov khoom tsim khoom thiab cov ntawv sib dhos tau muab, nrog cov qauv STL ntxiv rau cov ntawv luam tawm. Cov duab kos rau qhov tseem ceeb kuj tseem suav nrog, thiab tseem tuaj yeem muab tau los ntawm cov neeg tsim cov ntaub ntawv hauv mm nplai.

Kauj ruam 4: Ncej

Ncej
Ncej
Ncej
Ncej
Ncej
Ncej

1. Txiav cov extrusion rau hauv ntu (4 x 400mm, 7 x 300mm, 1 x 15mm)

2. Sib sau ua ib lub cuboid siv 90 degree nkhaus thiab T-Ceev ntawm 90 degree kev sib tshuam. Siv 400mm ntu raws li cov kab ntsug, tawm ib qho ntawm 300mm ntu dawb raws li qhia.

3. Txuas daim 15mm mus rau qhov nruab nrab ntawm ntu ntu nraub qaum.

4. Txuas 3D luam ntawv sib thooj sensor thiab khob tuav rau ntu 15mm raws li qhia.

5. Epoxy phaj mus rau lub xovtooj ntawm tes thiab ntsia liaj qhov rooj mus rau qhov kawg ntawm ntu 15mm siv T-Ceev thiab 20mm M5 ntsia liaj qhov rooj.

Kauj ruam 5: Optics

Kho qhov muag
Kho qhov muag
Kho qhov muag
Kho qhov muag
Kho qhov muag
Kho qhov muag

Txhawm rau kho qhov muag kom ua haujlwm los ntawm servos lub caij nplooj ntoo hlav tseem ceeb yuav tsum tau muab tshem tawm.

1. Tshem lub tsev yas thiab lub caij nplooj ntoo hlav loj los ntawm ntu qis ntawm qhov kho qhov muag.

2. Txuas qhov 3D luam tawm qhov thiab servos raws li qhia.

3. Txuas cov servos mus rau lub hauv paus ntawm lub plunger, dhau los ntawm lub qhov nyob rau hauv servo caj npab thiab cov ntawv luam tawm ib feem, siv cov hlau xaim.

4. Txuas cov kho qhov muag mus rau qhov sawv ntsug thiab kaw lawv mus rau tus ncej sib npaug sib nrug kom tsis txhob muaj qhov tsis sib luag.

Kauj ruam 6: Software

Software
Software
Software
Software
Software
Software

Txhua qhov software xav tau rau txoj haujlwm no muaj nyob ntawm peb github.

Lub software suav nrog ob ntu tseem ceeb: server thiab firmware. Firmware yog c ++ qhov chaws uas sib sau ua ke rau ib qho khoom sib koom uas muaj cov cuab yeej siv tshuab tsis siv neeg thiab cuam tshuam nrog lub xov tooj ntawm tes (HX711), servos thiab sib thooj sensor. Cov npe neeg rau zaub mov muaj cov nab hab sej web server uas xa cov khoom sib koom ua ib qho qauv, ib zaug nws tau txais lub webhook los ntawm kev sib tham nws tom qab cais thiab nkag mus rau tus yam ntxwv xav tau los ntawm kev khi.

Logic thiab Cwj Pwm

Tus cwj pwm ntawm lub tshuab ua kom tsis zoo tuaj yeem sawv cev ua lub xeev tshuab qhia saum toj no. Thaum lub khob tau muab tso rau hauv lub tshuab tau npaj rau kev xaj, ib zaug tau txais nws yuav pib faib tawm. Thaum ua tiav nws yuav rov qab mus rau lub xeev npaj rau lwm cov dej haus thiab yog tias lub khob puas tau tshem tawm nws yuav rov qab mus tos nws kom muab tso rau. Lub khob nrhiav tau ua tiav los ntawm qhov sib thooj sensor uas rov qab tus nqi boolean nyob ntawm seb nws puas nyeem tau siab lossis qis. Kev faib tawm yog saib xyuas los ntawm qhov ntsuas qhov hnyav; ib zaug python web server tau txais qhov kev txiav txim nws xam qhov hnyav uas yuav tsum tau los ntawm qhov ntim uas xav tau thiab lub rooj saib ceev. Cov servos mapped rau cov dej haus ntawd tau pom thiab tom qab ntawd ua haujlwm kom txog thaum qhov hnyav sib phim. Thaum ua tiav cov neeg rau zaub mov xa cov lus teb rau cov lus sib tham qhia rau tus neeg siv tias lawv cov dej haus tau npaj tiav.

Kauj Ruam 7: Pab & Teeb Meem

Peb vam tias koj tau txaus siab rau peb phau ntawv qhia, thiab peb xav paub yog tias koj txiav txim siab tsim nws tus kheej! Yog tias koj muaj teeb meem xav tso tawm cov lus hauv qab no thiab peb yuav zoo siab los pab koj.

Kev ua haujlwm ntxiv ntawm lub rooj tsavxwm yuav tsum tso cai rau koj nthuav koj lub kaw lus mus txog 16 yam dej haus sib txawv, ntxiv rau ntxiv rau lwm tus neeg siv tshuab lossis cov ntsuas. Xwb, xav tias dawb rau nkig ob qho tib si peb kho vajtse lossis software tsim cov ntaub ntawv thiab ntxiv koj tus kheej lub tswv yim! Peb zoo siab pom dab tsi hauv zej zog tuaj yeem ua qhov no.

Ua tsaug rau kev siv sijhawm los nyeem qhov no, thiab peb xav koj txhua qhov zoo tshaj plaws nrog koj tus kheej txoj haujlwm: Eddy, Joe, thiab Pete.

Pom zoo: