Cov txheej txheem:

SlackBuddy: 7 Kauj Ruam (nrog Duab)
SlackBuddy: 7 Kauj Ruam (nrog Duab)

Video: SlackBuddy: 7 Kauj Ruam (nrog Duab)

Video: SlackBuddy: 7 Kauj Ruam (nrog Duab)
Video: Muaj tsis ntshai tuag 7/1/2018 2024, Hlis ntuj nqeg
Anonim
SlackBuddy
SlackBuddy
SlackBuddy
SlackBuddy
SlackBuddy
SlackBuddy
SlackBuddy
SlackBuddy

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

Lub thawv sab nrauv
Lub thawv sab nrauv
Lub thawv sab nrauv
Lub thawv sab nrauv
Lub thawv sab nrauv
Lub thawv sab nrauv
  1. 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.
  2. 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.
  3. Laser txiav daim ntawm koj lub rooj tsav tsheb plywood.
  4. 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.
  5. Kaw koj cov stain nrog cov tshuaj tsuag tiav ntawm koj xaiv. Peb siv satin tiav.
  6. 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.
  7. 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

  1. 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.
  2. 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

Thaiv
Thaiv
  1. 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.
  2. 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.
  3. 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.

  1. Sau npe koj lub photon - Koj lub photon tuaj yeem sau npe los ntawm
  2. Txuas mus rau is taws nem - Koj tuaj yeem ua raws cov theem no txhawm rau txuas koj lub photon rau hauv internet
  3. 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.
  4. 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.

  1. Cov ntaub ntawv pov thawj

    1. Legacy Tokens:
    2. Ntaus Tus Ntaus thiab Nkag Nkag Token: tuaj yeem pom nyob hauv cov chaw ntawm lub vev xaib photon.
  2. 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.
  3. Code - tsim cov ntaub ntawv npe server.js thiab ntxiv cov lej txuas rau nws
  4. 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

Muab tso ua ke
Muab tso ua ke
Muab tso ua ke
Muab tso ua ke
Muab tso ua ke
Muab tso 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!

  1. 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.
  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.
  3. 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.
  4. 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.
  5. 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.
  6. Muab ob txheej txheej ntawm daim kab xev tso rau ntawm lub teeb.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.

  13. Kaw lub qhov rais sab saum toj thiab muab ntim nrog cov khoom hnyav zoo li phau ntawv.

Pom zoo: