Cov txheej txheem:

Xim Hloov Cov Ntaub Ntawv: 13 Cov Kauj Ruam (nrog Duab)
Xim Hloov Cov Ntaub Ntawv: 13 Cov Kauj Ruam (nrog Duab)

Video: Xim Hloov Cov Ntaub Ntawv: 13 Cov Kauj Ruam (nrog Duab)

Video: Xim Hloov Cov Ntaub Ntawv: 13 Cov Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Xim Hloov Case
Xim Hloov Case
Xim Hloov Case
Xim Hloov Case
Xim Hloov Case
Xim Hloov Case

Phau ntawv qhia yuav rov tsim dua peb cov ntaub ntawv hloov xim li cas

Kauj Ruam 1: Rooj Sib Tham Video

Kauj Ruam 2: Nqe Lus Teeb Meem

Cov neeg feem coob yuav ntau rooj plaub hauv xov tooj, tsuas yog vim qhov yooj yim uas lawv xav tau cov xwm txheej hauv cov xim sib txawv. Qhov peb tau tsim yog rooj plaub xov tooj uas yuav hloov xim rau cov neeg siv khoom xaiv xim. Qhov no yog ua tiav los ntawm kev siv ib daim ntaub rau sab hauv ntawm rooj plaub uas muaj teeb ci LED ntawm nws, npog los ntawm ib daim yas meej. Yuav muaj lub teeb pom kev xim uas siv RGB qhov tseem ceeb txhawm rau txheeb xyuas cov xim muab thiab tom qab ntawd hloov xim ntawm rooj plaub rau xim ntawd.

Kauj ruam 3: Txheej txheem cej luam ntawm Nws Ua Haujlwm Li Cas

Cov ntaub ntawv muaj ntau ntu: cov ntawv luam tawm 3D, arduino + FLORA sensor + RGB LEDs + sensor hloov, thiab lub roj teeb nqa tau.

FLORA sensor tau xaim mus rau Lilypad Arduino, nrog rau txoj hlua ntawm 8 LEDs. Lub arduino tom qab ntawd tau teeb tsa kom pom lub sensor thiab LEDs thiab siv ob qho los sib cuam tshuam ntawm ib leeg. Lub sensor hloov pauv tsis tas yuav tsum tau ua haujlwm vim nws tsuas yog siv los qhib/kaw lub zog rau nws. Thaum qhov hloov pauv mus rau ON txoj haujlwm, lub FLORA sensor tau nrog lub teeb ci ci. Thaum twg los xij lub ntsuas hluav taws xob tuaj txog rau xim nws tuaj yeem lees paub, RGB tus nqi nws nkag siab yog tom qab ntawd xa mus rau LEDs uas teeb ua ke. Thaum cov xim xav tau ua tiav, lub ntsuas hluav taws xob tuaj yeem raug kaw kom xauv xim. Lub roj teeb nqa tau yuav tsum tau them thiab txuas nrog rau arduino rau lub cuab yeej ua haujlwm kom raug.

Kauj Ruam 4: Sau Cov Khoom Siv thiab Cov Cuab Yeej

Khoom siv

-FLORA -YUAV TSUM MUAJ ELECTRONIC PLATFORM: ARDUINO -COMPATIBLE

-FLORA COLOR SENSOR WITH WHITE ILLUMINATION LED

-FLORA RGB SMART NEOPIXEL VERSION 2 - PACK OF 4

-PREMIUM MALE/MALE JUMPER WIRES - 40 X 6 (150MM)

-iNiCE 3000mAh Ultra Slim Mini Power Bank Charger Sab Nraud Roj Teeb Pocket Loj Nrog Ua Hauv Xob (MFi) thiab Micro USB Cable rau iPhone, Samsung, HTC thiab Ntau --- Grey

-Txhua Acrylic

-Light Diffusing khoom

Cov cuab yeej

Soldering Hlau

3D tshuab luam ntawv nrog PLA filament

Laser Txiav

Kauj ruam 5: Txuas rau Code

github.iu.edu/ise-e101-F17/TeamBot-Swany/wiki/Design-Process

Kauj Ruam 6: Rub tawm Arduino

Kauj Ruam 7: Rub Xim Cov Tsev Qiv Ntawv

Mus rau https://learn.adafruit.com/adafruit-color-sensors/use-it thiab ua raws cov lus qhia txhawm rau rub tawm Iibrary.

Kauj Ruam 8: Rub tawm Neopixel Library

Mus rau https://learn.adafruit.com/flora-rgb-smart-pixels/run-pixel-test-code thiab ua raws cov lus qhia kom rub lub tsev qiv ntawv.

Kauj Ruam 9: Ntsuas Arduino

Ntsuam xyuas Arduino
Ntsuam xyuas Arduino

Tam sim no koj yuav tsum tau ntsuas ntawm lub rooj ntoo kom paub tseeb tias nws ua haujlwm. Txij li thaum koj rub lub tsev qiv ntawv, koj yuav tsum tuaj yeem qhib arduino thiab mus rau cov ntaub ntawv, tom qab ntawd piv txwv, tom qab ntawd qhib Adafruit_Motor_Shield_Library, thiab tom qab ntawd mus rau MotorTest. Khiav cov cai kom paub tseeb tias tsis muaj teeb meem. Yog tias muaj teeb meem koj yuav tsis tau rub lub neopixel lub tsev qiv ntawv kom raug thiab yuav tsum rov qab mus thiab txheeb xyuas seb koj puas tau ua qee cov kauj ruam. Tam sim no txuas koj lub Rooj Tswjhwm Saib Flora rau koj lub khoos phis tawj thiab xa cov lej, nco ntsoov tias koj nyob ntawm qhov chaw nres nkoj uas koj xav tau. Tom qab nqa qhov no mus rau lub rooj tsavxwm koj yuav tsum pom LED ntawm lub rooj tsavxwm pib tig xim sib txawv.

Kauj Ruam 10: Xeem FLORA Sensor

Kuaj FLORA Sensor
Kuaj FLORA Sensor
Kuaj FLORA Sensor
Kuaj FLORA Sensor

Koj yuav tsum tau teeb tsa tus neeg sawv cev xim nrog tus nab kuab mus rau Flora board thiab ua qhov ntsuas xim. Txhawm rau ntsuas lub ntsuas koj yuav tsum khiav TCS34725 txhawm rau ua qhov no koj yuav tsum mus ua ntaub ntawv, tom qab ntawd piv txwv, tom qab ntawd qhib Adafruit TCS34725, thiab tom qab ntawd xim xim. Khiav cov cai kom paub tseeb tias nws ua haujlwm raug, thiab xa nws mus rau koj lub rooj tsavxwm. Tam sim no koj yuav tsum muaj peev xwm tso xim rau nws thiab nws yuav tsum hloov xim ntawd, thiab koj yuav tsum qhib qhov chaw nres nkoj kom koj tuaj yeem pom cov xim xim tso tawm los ntawm rub tawm ua. Qhov no kuj yog lub sijhawm zoo kom pom cov xim ua haujlwm dab tsi thiab cov xim twg tsis ua haujlwm thiab cov xim dab tsi uas lub teeb meem tawm tsam nrog.

Kauj Ruam 11: Xeem cov LEDs

Xeem cov LEDs
Xeem cov LEDs
Xeem cov LEDs
Xeem cov LEDs
Xeem cov LEDs
Xeem cov LEDs

Tam sim no koj muaj cov paj ntoo thiab xim xim ua haujlwm tshawb xyuas txhua lub teeb kom ntseeg tau tias txhua lub teeb ua haujlwm. Txhawm rau ua qhov no sib txuas ib qho LED rau lub rooj ntoo siv cov kais dej kuj tseem sib txuas cov xim xim rau cov paj ntoo nrog cov kab zauv. Tam sim no mus rau cov ntaub ntawv, piv txwv, Adafruit_NeoPixel thiab tom qab ntawd strandtest. Khiav cov cai no ntawm txhua lub teeb ib zaug, tseem hloov xim ntawm lub teeb thaum koj sim nws kom ntseeg tau tias nws ua haujlwm raug. Tam sim no koj paub txhua yam ua haujlwm nws yog lub sijhawm los muab tag nrho ua ke los ntsuas. Txhawm rau ntsuas txhua lub teeb koj yuav xav tau cov laug vim hais tias cov yeeb yaj kiab tau ua tsis txaus ntseeg raws li koj ntxiv rau ntau lub teeb.

Kauj ruam 12: Soldering

Soldering
Soldering
Soldering
Soldering

Soldering Flora Color Sensor solder wire rau FLORA Board nrog…

GND to CSY

SCL to CSY

SDA to SDA

3V to AE*E

Soldering Hloov mus rau FLORA…

ib sab ntawm kev hloov mus rau 9

lwm sab ntawm kev hloov mus rau GND

FLORA solder hlau rau FLORA RGB SMART NEOPIXEL….

GND to AW

VBATT rau +

FLORA solder tus tiv thaiv rau FLORA RGB SMART NEOPIXEL….

Db 6 rau xub taw qhia rau coj

FLORA RGB SMART NEOPIXEL rau FLORA RGB SMART NEOPIXEL….

- rau -

+ rau +

Xub taw tes deb ntawm coj mus rau taw tes taw tes rau ntawm coj

Kauj Ruam 13: Ntxiv Txoj Cai

Mus rau https://github.iu.edu/ise-e101-F17/TeamBot-Swany/wiki/Design-Process thiab luam thiab muab cov cai tso rau hauv Arduino. Khiav cov cai kom paub tseeb tias tsis muaj qhov yuam kev, peb tau ntxiv lub pob rau hauv cov cai no. Lub pob ua rau koj tig xim tus neeg laus tawm thiab ua raws li qhov koj xav tau txoj kev ntawd koj tuaj yeem hloov xim ntawm rooj plaub yam tsis tas tig tag nrho cov ntaub ntawv tawm thiab qhib. Nco ntsoov tias vim tias koj tsis muaj lub khawm laug ntawm qhov ntawd cov xim senor yuav nyob rau 3 vib nas this thiab tom qab ntawv tua. Tom qab khawm nyob ntawm koj tsis tas yuav hloov txoj cai los ua lub pob ua haujlwm nws yuav ua haujlwm.

Pom zoo: