Cov txheej txheem:
- Kauj Ruam 1: Lub thawv sab nrauv
- Kauj Ruam 2: Sab Hauv Lub thawv
- Kauj Ruam 3: Sab Hauv
- Kauj Ruam 4: Kev thaiv kab
- Kauj ruam 5: Photon Code
- Kauj ruam 6: Server Code
- Kauj Ruam 7: Muab Nws Ua Ke
Video: SlackBuddy: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Puas muaj teeb meem khaws nrog koj cov channel sib txawv slack lossis nco cov ntawv ceeb toom thaum ib ntawm koj pab pawg ua haujlwm? Slack Buddy yog cov khoom siv ib puag ncig uas tuaj yeem khaws cia ntawm koj lub rooj kom maj mam ceeb toom rau koj thaum koj pab pawg tsis muaj zog. Mus txog 4 pab pawg slack tuaj yeem ntxiv rau Slack Buddy lub voos xwmfab, thiab txhua pab pawg yuav tshwm rau ntawm ib sab ntawm Slack Buddy. Slack Buddy yuav maj mam nce qhov ci thaum koj tau txais cov ntawv ceeb toom ntau dua. Nov yog txoj hauv kev zoo los saib seb koj pab pawg twg yuav xav tau kev saib xyuas.
Tsim los rau HCIN 720: Prototyping Wearable thiab Internet of Things Devices Class ntawm RIT
fetlab.rit.edu/720/index.html
Cov Ntaub Ntawv Teev Npe:
Khoom siv:
- Particle Photon
- Neopixel 8 RGB LED Stick (4)
- Jumper xov hlau (tsawg kawg 12)
- Cov qhob cij
- Birch Plywood (3)
- E6000 kua nplaum
- Ntawv Ciab
- Ntoo Stain
- Xim Acrylic Sheets (4 qauv me me)
- Mounting Daim Kab Xev
Cov Khoom Siv Yuav Tsum Tau:
- Laser Txiav
- 3D Tshuab Luam Ntawv
- Soldering Hlau
Kauj Ruam 1: Lub thawv sab nrauv
- Rub cov ntaub ntawv hauv qab no.ai ua haujlwm nkag mus rau ob qho tib si vector ntawm SlackBot thiab twb tau tsim ua lub thawv txiav tawm. Cov txheej yuav raug sau nrog lawv lub hom phiaj thiab cov khoom siv. SlackBot vector yog rau koj cov xim acrylic thiab lub thawv ntawv yog rau koj cov plywood.
- Txhawm rau txiav plywood, peb siv qhov nruab nrab ntom plywood teeb tsa ntawm peb lub tshuab txiav laser nrog cov tuab tuab txog 3.5 hli. Qhov no ua kom ntseeg tau tias lub laser muaj zog txaus los txiav nws thawj zaug.
- Laser txiav daim ntawm koj lub rooj tsav tsheb plywood.
- Stain koj 4 sab nrog xim xim ntawm koj xaiv kom zais ib qho hlawv. Rov ua ntau zaus raws li xav tau. Peb ua 3 lub tsho loj.
- Kaw koj cov stain nrog cov tshuaj tsuag tiav ntawm koj xaiv. Peb siv satin tiav.
- Nrog SlackBot vector, txiav tawm SlackBot qhov rai qhov nrog koj lub tshuab txiav laser. Peb siv lub quarter ntiv tes nrum acrylic tab sis extruded yuav zoo ib yam. Nyob ntawm seb hom acrylic siv, siv cov nrum lossis extruded acrylic teeb tsa ntawm koj lub tshuab txiav laser. Koj tuaj yeem siv ib qho xim tab sis peb xaiv siv 4 rau cov xim sib txawv hauv Slack logo.
- Siv Q-lus qhia, ua tib zoo tso E6000 ib puag ncig ntawm koj cov SlackBot txiav tawm. Muab qhov txiav tawm rau ntawm lub qhov rais ntawm lub plywood. Rov ua qhov no ntxiv 3 zaug.
Kauj Ruam 2: Sab Hauv Lub thawv
- Siv cov ntaub ntawv.ai muab, txiav tawm txheej uas tau teev tseg raws li "lub npov sab hauv - plywood" nrog koj lub tshuab txiav laser nrog tib qhov chaw uas koj siv yav dhau los rau lub thawv sab nrauv.
- Nrog txheej txheej tshwj xeeb "lub npov sab hauv - duab los qhia", txiav tawm 4 daim duab los qhia nrog qhov tsim nyog tsim nyog ntawm koj lub tshuab txiav laser.
Kauj Ruam 3: Sab Hauv
Siv cov ntaub ntawv.stl muab, luam tawm 8 ntawm kab zauv nrog kwv yees li 80%
Kauj Ruam 4: Kev thaiv kab
- Plaub (4) LED Sawb yuav tsum txuas nrog lub photon rau txoj haujlwm no. Nws yog ib qho tseem ceeb uas cov photon tau muab tso rau nruab nrab ntawm lub khob cij kom lub xaim hluav taws xob tsis lo tawm ntawm ntug ntawm lub rooj tsavxwm thiab ua rau kom siab ntxiv.
- Npaj cov hlua LED los ntawm kev siv hlua txuas txuas rau hauv av, Din, thiab 5v fais fab ncoo ntawm txhua LED. Nws yog ib qho tseem ceeb kom ntseeg tau tias koj tau muab pov rau sab uas hais Din thiab tsis yog Dout.
- Thaum cov xov hlau tau muab muag rau ntawm lub rooj tsavxwm daim duab hauv qab no qhia pom qhov sib txuas zoo ntawm cov xov hlau.
Kauj ruam 5: Photon Code
Tus lej photon yog dab tsi yuav khiav ntawm koj lub cuab yeej photon thiab yuav tswj lub teeb sab hauv SlackBuddy. Tshooj lus no yuav piav qhia cov cai thiab teeb tsa photon.
- Sau npe koj lub photon - Koj lub photon tuaj yeem sau npe los ntawm
- Txuas mus rau is taws nem - Koj tuaj yeem ua raws cov theem no txhawm rau txuas koj lub photon rau hauv internet
- Cov IDE hauv qab no tuaj yeem siv los sau thiab teeb nyem rau koj lub cuab yeej yam tsis tas yuav nkag mus rau DFU hom (tseem ceeb thaum lub thawv muab tso ua ke) https://docs.particle.io/guide/getting-started/co… Ntxiv rau txuas cov cai rau koj.ino cov ntaub ntawv. Cov cai no yog dab tsi muab kev ua haujlwm tsis tau nyeem toggle uas yuav tso cai rau peb kom cov neeg rau zaub mov xa cov ntaub ntawv mus rau photon. Kev hu xov tooj yuav raug hu ua daim ntawv {lub teeb}, {kev ceeb toom} thaum lub teeb yog pab pawg los hloov thiab cov ntawv ceeb toom yog tus lej ntawm lub leds ntawm lub pixel pixel uas peb xav kom pom kev.
- Sau thiab nyem koj cov cai rau koj daim ntawv.
Kauj ruam 6: Server Code
Tus neeg rau zaub mov yog lub luag haujlwm ua tus API hu rau slack thiab xa lawv mus rau photon. Tshooj lus no yuav qhia txog yuav tsim cov cai server li cas.
-
Cov ntaub ntawv pov thawj
- Legacy Tokens:
- Ntaus Tus Ntaus thiab Nkag Nkag Token: tuaj yeem pom nyob hauv cov chaw ntawm lub vev xaib photon.
- Nruab NodeJS - yog tias node js tsis tau teeb tsa ntawm koj lub tshuab, koj yuav tsum tau teeb tsa nws. Qhov zoo tshaj plaws los ua qhov no ntawm Mac yog siv Brew.
- Code - tsim cov ntaub ntawv npe server.js thiab ntxiv cov lej txuas rau nws
- Khiav tus neeg rau zaub mov siv los ntawm kev ntaus cov lus txib hauv qab no hauv lub davhlau ya nyob twg los ntawm cov npe ntawm koj cov ntaub ntawv Node server.js
Kauj Ruam 7: Muab Nws Ua Ke
Thaum lub thawv lub ntsej muag zoo li yuav nyuaj rau ua tiav, nws yog qhov yooj yim heev thiab yuav tsum tsis muaj cov ntsia hlau lossis ntsia hlau! Peb tsim tshwj xeeb 3D luam kab zauv, qhov uas koj muab cov nplaum rau txhua tus hauv qab thiab kaum sab saum toj. Thaum nws siv sijhawm me ntsis ntxiv los sib sau ua ke, cov txiaj ntsig tau zoo nkauj thiab zoo nkauj zoo nkauj. Peb pom gluing 4 nkhaus rau ob sab uas tau sib txuas ua cov txheej txheem gluing yooj yim dua. Koj yuav xav tau ntim koj cov plywood vim tias kev ua rog, yog li siv lub clamp yog pom zoo!
- Siv ob ntawm 6 lub qhov rai sab, lo cov kab zauv nrog E6000. Koj lub bracket yuav tsum sawv ntawm L txoj haujlwm. Tsis txhob muab cov nplaum kaw tag. Cia qhov no kom qhuav ua ntej yuav txav mus rau kauj ruam 2.
- Txuas qhov thib peb 6 nti sab qhov rai thiab sab nraub qaum rau ob sab ntawm tus zauv uas tsis txuas nrog E6000. Xyuas kom tseeb tias koj kab ob sab zoo kawg nkaus los tsim kom pom kev zoo. Nco tseg: Koj yuav tsum tau ua qhov no ob peb zaug, vim tias txhua sab yuav siv sijhawm qhuav.
- Thaum ob sab tau txuas rau cov kab xev nplaum cov ces kaum nrog ntau dua E6000, koj yuav xav tau qhov txuas kom ob sab ua ke thiab yog tias ntoo tau tawg.
- Sib dhos lub npov sab hauv los ntawm gluing ob sab thiab nruab nrab daim ntawm lub npov sab hauv rau hauv lub qhov peg. Cia cov no kom qhuav tag. Nco tseg: Daim ntawv yuav tsis haum ua ke ua ke thiab yog txhob txwm ua. Qhov no tso cai rau chav tso xov hlau tso rau ntawm cov ces kaum.
- Kua nplaum sab saum toj rau hauv lub npov sab hauv, siv daim kab xev los tuav daim kom zoo li cov kua nplaum tuaj yeem pab tau.
- Muab ob txheej txheej ntawm daim kab xev tso rau ntawm lub teeb.
- Muab cov kua nplaum tso rau tom qab ntawm daim kab xev txuas thiab txuas rau 3 sab thiab sab saum toj ntawm lub npov sab hauv. Siv daim kab xev los tuav lawv nyob hauv qhov chaw kom txog thaum lawv qhuav.
- Muab koj lub Photon thiab daim txiag ntoo tso rau hauv lub npov sab hauv thiab xaim lub teeb rau koj daim duab. Txuas koj lub micro usb cable rau Photon. Nco tseg: Cov micro usb cable yuav tsum nyob hauv lub thawv ua ntej ua kom nws lo.
- Txiav tawm daim ntawv ciab thiab kaw daim ntawv tom qab cov phab ntsa acrylic. Qhov no yuav nthuav lub teeb thiab ua rau nws nyuaj rau pom sab hauv.
- Muab cov kua nplaum tso rau hauv qab cov kab ntawv hauv qab ntawm lub npov thiab txuas hauv qab. Cia qhov no kom qhuav tsawg kawg ib teev ua ntej txav mus rau kauj ruam tom ntej. Nco ntsoov tias koj yuav xav muab phau ntawv hnyav tso rau saum nws txhawm rau txhawm ntoo. Kuj xyuas kom cov hlua usb tawm los ntawm lub qhov nyob tom qab.
- Muab cov kua nplaum tso rau hauv daim duab kab duab kab pheeb ces kaum rau txhua lub ces kaum. Koj yuav tsum tau tuav txhua tus ib pliag kom ntseeg tau tias nws tsis poob.
-
Txiav ob daim square ntawm vellum lossis ntawv ciab nrog lub hauv paus plaub fab txiav tawm loj li koj lub npov sab hauv. Xev ob daim no ua ke thiab tso qhov no rau saum txhua yam. Qhov no yog txhawm rau nthuav tawm txhua lub teeb los ntawm 3 sab.
- Kaw lub qhov rais sab saum toj thiab muab ntim nrog cov khoom hnyav zoo li phau ntawv.
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv