Cov txheej txheem:

Tham Nrog Cov Ntsej Muag iav rau Cov Neeg Dig Muag: 7 Cov Kauj Ruam
Tham Nrog Cov Ntsej Muag iav rau Cov Neeg Dig Muag: 7 Cov Kauj Ruam

Video: Tham Nrog Cov Ntsej Muag iav rau Cov Neeg Dig Muag: 7 Cov Kauj Ruam

Video: Tham Nrog Cov Ntsej Muag iav rau Cov Neeg Dig Muag: 7 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Tham Nrog Cov Ntsej Muag iav rau Cov Neeg Dig Muag
Tham Nrog Cov Ntsej Muag iav rau Cov Neeg Dig Muag

Muaj ntau yam khoom siv ntse xws li tsom iav ntse, ntse saib, thiab lwm yam muaj nyob hauv khw. Tab sis txhua tus ntawm lawv tau tsim rau peb. Muaj qhov tsis txaus siv thev naus laus zis los pab rau lub cev muaj teeb meem.

Kuv xav tsim ib yam dab tsi uas muaj txiaj ntsig zoo rau cov tib neeg muaj teeb meem pom kev. Yog li kuv tau tsim cov iav qis uas tsis muaj nqi uas tuaj yeem siv los pab rau cov neeg tsis pom kev.

Txoj haujlwm no siv ob peb lub ntsuas hluav taws xob ultrasonic nrug deb deb, Arduino Pro Mini, lub tshuab MP3 player, thiab qee qhov kev co lub cev muaj zog. Lub rooj tsav xwm hauv Circuit Court siv hauv txoj haujlwm no hauv daim ntawv ntawm lub ntsej muag, uas tuaj yeem hnav los ntawm tus neeg tsis pom kev. Ib qho Arduino tau teeb tsa ntawm lub ntsej muag yuav pom qhov teeb meem nrog kev pab ntawm lub ntsuas hluav taws xob thiab ceeb toom rau tus neeg siv nrug thiab kev taw qhia ntawm qhov teeb meem dhau los ntawm lub mloog pob ntseg thiab lub zog ua haujlwm.

Kauj Ruam 1: Sau cov Cheebtsam

Sau cov Cheebtsam
Sau cov Cheebtsam

Software:

Arduino IDE Cov

Kho vajtse Cheebtsam:

  • HC -SR04 - Ultrasonic Sensor X 3
  • DFRobot DF Player mini X 1
  • Arduino Pro Mini X 1
  • 3.5mm Audio jack X 1
  • Kev co lub cev muaj zog X 3

  • USB rau Serial Converter zoo li FTDI
  • Xaub Hloov X 1
  • SD Card (Txhua qhov loj me)
  • Kev Cai PCB Los Ntawm JLCPCB.com (Tsis teb los tau)

Kauj Ruam 2: Coding Time - Program Arduino Pro Mini

Coding Time - Program Arduino Pro Mini
Coding Time - Program Arduino Pro Mini
  • Mus rau https://github.com/B45i/Talking-Smart-Glass-For-Blind thiab nyem rau clone lossis rub tawm, thiab rub tawm thiab rho tawm cov ntawv.
  • Qhib Smart_glass_for_blind.ino Cov Ntaub Ntawv hauv Arduino IDE.
  • Txuas lub Pro Mini rau lub khoos phis tawj siv FTDI cable.
  • Xaiv qhov chaw nres nkoj COM kom raug.
  • Xaiv 'Arduino Pro lossis Pro Mini.'
  • Nyem upload

Nco ntsoov nyem Arduino ua ntej yuav siv nws rau PCB. Thaum tag nrho cov Cheebtsam raug muag, nws yuav nyuaj me ntsis los txuas lub cajmeem ntawm lub cajmeem.

Hloov qhov minLeftDistance, minCenterDistance, minRightDistance los kho qhov qis tshaj plaws ua rau kom nrug deb.

Kauj Ruam 3: Txhim Kho Yuam Kev !

Kho yuam kev !!!
Kho yuam kev !!!

Koj yuav zaum pom qee qhov yuam kev zoo li

yuam kev tuag: NewPing.h: Tsis muaj cov ntaub ntawv lossis cov npe#suav nrog^ muab tso ua ke. tawm ntawm xwm txheej 1 Kev ua yuam kev ua ke rau board Arduino Pro lossis Pro Mini.

los yog qee yam xws li:

yuam kev tuag: DFRobotDFPlayerMini.h: Tsis muaj cov ntaub ntawv lossis cov npe#suav nrog^ muab tso ua ke. tawm ntawm xwm txheej 1 Kev ua yuam kev ua ke rau board Arduino Pro lossis Pro Mini.

Qhov no vim tias cov tsev qiv ntawv zoo li NewPing thiab DFRobotDFPlayerMini tsis tau teeb tsa ntawm koj li IDE.

Txhawm rau kho qhov no, Mus rau

Sketch> suav nrog Tsev Qiv Ntawv> Tswj Tsev Qiv Ntawv

Nkag mus rau lub npe tsev qiv ntawv ploj ntawm qhov tshawb nrhiav bar thiab nyem rau nruab, qhov no yuav teeb tsa lub tsev qiv ntawv uas ploj lawm.

Ua qhov no rau txhua lub tsev qiv ntawv uas ploj lawm

Txoj cai yuav suav sau thiab rub tawm tam sim no.

Kauj ruam 4: Npaj SD Card

Npaj SD Card
Npaj SD Card

Luam cov ntsiab lus ntawm Cov ntaub ntawv kaw suab rau hauv paus ntawm SD daim npav.

Nco tseg: Luam cov ntawv (01, 02, 03) nws tus kheej, tsis yog nws cov ntsiab lus, tsis yog Cov ntaub ntawv kaw suab.

Daim npav SD yuav tsum zoo li hauv daim duab tom qab luam.

Kauj Ruam 5: Txiav txim rau PCB

Kev txiav txim rau PCB
Kev txiav txim rau PCB

Cia peb xaj cov PCBs.

Koj tuaj yeem pom cov ntaub ntawv PCB ntawm no:

Koj tuaj yeem ua txoj haujlwm no yam tsis muaj PCBs ib yam. Tab sis muaj PCB ua rau nws yooj yim dua.

Rau xaj PCB kuv cov chaw tsim khoom nyiam yog JLCPCB.com.

Lawv ua PCB zoo tiag tiag rau tus nqi pheej yig heev.

Thaum kuv pib tsim PCBs, Nws raug nqi rau nyiaj ntau los tsim PCBs. Yog li kuv yuav tsum kos lawv tus kheej.

Nws yog cov txheej txheem tsis zoo thiab txaus siab, thiab ua ob tog PCBs yog ib txoj haujlwm nyuaj heev.

Tam sim no kuv tsis ua qhov ntawd ntxiv lawm. JLCPCB yog qhov pheej yig heev uas kuv tsis xav txog ib qho ntxiv lawm.

Koj yuav tau txais 5 lossis 10 daim PCB rau kwv yees li $ 2 (yog tias nws loj dua 10cm * 10cm).

Kuv siv easyEDA rau tsim PCB. Uas yog huab-raws cov cuab yeej. Txhais tau tias kuv tsis tas yuav rub dab tsi thiab kuv tuaj yeem ua haujlwm los ntawm yuav luag txhua lub khoos phis tawj uas muaj internet txuas.

JLCPCB, EASYEDA, thiab LCSC (tus muab khoom siv hluav taws xob) ua haujlwm ua ke.

Koj tuaj yeem xaj PCBs los ntawm JLC hauv easyeda nws tus kheej.

Kev xaj cov khoom siv hauv koj li PCB los ntawm LCSC tsuas yog siv ob peb nias.

Txij li JLCPCB thiab LCSC nkoj zoo ua ke koj txuag tus nqi ntawm kev thauj khoom ib yam

JLCPCB, EASYEDA, thiab LCSC ua ke muab lub platform zoo rau hluav taws xob ua.

Kauj Ruam 6: Lub Sij Hawm Soldering

Lub Sijhawm Soldering
Lub Sijhawm Soldering
Lub Sijhawm Soldering
Lub Sijhawm Soldering
Lub Sijhawm Soldering
Lub Sijhawm Soldering

Solder cov khoom siv xws li Arduino, DF Player, Audio Jack, Swb Hloov mus rau PCB thawj zaug.

Tsis txhob cuam tshuam ncaj qha rau HC-SR04 tus qauv, Peb yuav tsum ua qee qhov kev hloov kho

  1. Ncaj tus txiv neej lub taub hau siv lub plier lossis de-solder lub 90 ° lub taub hau thiab cov laug txuas ib txwm.
  2. Ntxiv cov kab xev hluav taws xob rau sab nraum qab ntawm HC-SR04 kom tsis txhob muaj hluav taws xob luv.
  3. Ntxig HC-SR04 rau cov ntaub qhwv uas tau xaiv. tuav sab laug thiab sab xis HC-SR04 ntawm lub kaum sab xis kom nws taw tes rau sab laug thiab taw qhia thiab siv cov laug.

Cov laug seem ntawm cov khoom siv xws li cov khoom siv hluav taws xob, cov khoom siv swb, cov tshuab kev co thiab lwm yam.

Cov tshuab kev co yuav tsum tau muab tso rau sab nraum qab ntawm PCB kom tus neeg hnav iav tuaj yeem hnov qhov kev co.

Yog tias koj tsis muaj PCB, koj tseem tuaj yeem ua qhov haujlwm los ntawm kev txuas cov khoom siv raws li tau qhia hauv daim duab qhia chaw.

Yog tias koj tab tom ua txoj haujlwm yam tsis muaj PCB, tom qab ntawv thov xa mus rau daim duab txuas nrog

Hauv daim duab, kuv yuam kev pauv tus Pin 8 thiab 9. Thov txim qhov ua tsis raug, Yog kev twb kev txuas yog

  • Rx ntawm DF Player => PIN 9 ntawm Arduino.
  • Tx ntawm DF Player => Pin 8 ntawm Arduino.

Ua kom raug yog tias koj tsis siv PCB, Kuv tsis muaj daim ntawv fritzing nrog kuv ntxiv lawm.

Koj tuaj yeem ntxig daim npav SD rau hauv DFPlayer tam sim no.

Tom qab txuas lub zog, lub cav yuav tsum co thiab lub suab yuav los ntawm lub mloog pob ntseg thaum muaj teeb meem.

Kauj ruam 7: Ua tau

Ua tiav
Ua tiav
Ua tiav
Ua tiav
Ua tiav
Ua tiav

Tam sim no koj ua tiav.

Koj tuaj yeem pom tag nrho cov peev txheej ntawm no.

GitHub

HackSter.io

Nov yog kuv nkag mus rau PCB kev sib tw, Pov npav yog tias koj nyiam qhov kev qhia no.

Kuv nkag mus rau PCBWAY PCB desi gning contest. Yog tias koj nyiam txoj haujlwm no txiav txim siab pov npav rau kuv nkag mus:

Yog tias koj ntsib teeb meem, tawm tswv yim rau lawv. Kuv yuav sim pab

Pom zoo: