Cov txheej txheem:

Yooj Yim DIY Logic Converter rau 3.3V Devices: 4 Cov Kauj Ruam
Yooj Yim DIY Logic Converter rau 3.3V Devices: 4 Cov Kauj Ruam

Video: Yooj Yim DIY Logic Converter rau 3.3V Devices: 4 Cov Kauj Ruam

Video: Yooj Yim DIY Logic Converter rau 3.3V Devices: 4 Cov Kauj Ruam
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Kaum ib hlis
Anonim
Yooj Yim DIY Logic Converter rau 3.3V Devices
Yooj Yim DIY Logic Converter rau 3.3V Devices

Hauv Cov Ntawv Tshaj Tawm no, Kuv yuav qhia koj li cas koj tuaj yeem ua koj tus kheej 5V rau 3.3V lub logic hloov pauv rau txuas 5V lub cim rau Arduino Boards tshiab thiab Raspberry Pi.

Vim li cas peb thiaj xav tau Logic Level Converter IC?

Feem ntau ntawm koj nyiam ua si nrog Arduino thiab Raspberry Pi thaum lub sijhawm dawb? Ntawm chav kawm uas yog yam hobbyists ua! Nrog rau Arduino, peb yuav twv yuav raug siv ntau yam ntsuas xws li IR sensor, PIR sensor thiab Ultrasonic sensor. Tab sis qhov teeb meem feem ntau ntawm cov laug niaj hnub no tsis yog 5 V zam thiab yuav luag txhua lub rooj haujlwm ua haujlwm qis dua 3.3V.

Kauj Ruam 1: 74LVC245 Logic Level Converter IC

74LVC245 Logic Level Converter IC
74LVC245 Logic Level Converter IC

74LVC245 Logic Level Converter IC

Cov nti no daws qhov teeb meem ntawm kev txuas thiab xa cov ntaub ntawv los ntawm 5 V logic qib cov cuab yeej mus rau 3.3 V logic microcontrollers xws li Raspberry Pi thiab Arduino.

Cov nti no sawv ntawm Arduino thiab Sensor thiab hloov pauv 5V cov cim los ntawm lub sensor mus rau 3.3V uas tuaj yeem ncaj qha pub rau Arduino. 74LVC245 tuaj yeem siv nrog cov cim digital thiab ua haujlwm zoo nrog SPI, Serial, Tsheb npav sib xws, thiab lwm yam kev cuam tshuam kev xav.

Kauj Ruam 2: Tsim Tus Qauv Circuit

Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court

Koj tuaj yeem yooj yim mus rau EasyEDA lub vev xaib thiab pib qhov haujlwm tshiab. Thaum koj tau qhib daim ntaub tshiab, pib ntxiv cov khoom. Txog tam sim no, JLCPCB muaj 689 cov khoom siv yooj yim thiab 30k+ Cov khoom txuas ntxiv ntawm koj qhov pov tseg. Saib daim ntawv teev cov khoom ua tiav ntawm no.

5V txog 3.3V hloov pauv qib kev sib piv ntawm kab kos Daim duab kom ntseeg tau tias koj ntxiv cov khoom siv los ntawm cov npe no thaum kos cov lej hauv EasyEDA. Koj tuaj yeem tshawb nrhiav cov khoom siv thiab tshawb xyuas nws muaj. Tshawb nrhiav cov khoom siv los ntawm lub tsev qiv ntawv thiab muab tso rau hauv daim ntaub. Siv "Hlau" cov cuab yeej los txuas cov khoom ua ke.

Ua haujlwm nrog IC no yooj yim zoo nkauj. Koj tuaj yeem teeb tsa qhov Circuit hauv ob peb feeb. Cias txuas VCC rau koj qib kev xav uas koj xav hloov mus rau. Yog tias koj tab tom hloov 5V rau 3.3V, txuas 3.3V rau VCC. Av txuas rau av. OE (tso zis tso tawm) rau hauv av kom pab tau chipDIR rau VCC (3.3V).

PCB txheej txheem

Thaum koj tau ua tiav cov duab kos, txuag lub Circuit Court los ntawm txhaj tseg thiab tsim PCB txheej txheem. Kuv yuav muab cov ntawv txuas rau txhua cov ntaub ntawv suav nrog Gerber, Pick n Place thiab Bill of Material hauv cov lus piav qhia. Tam sim no koj tuaj yeem rub tawm Gerber cov ntaub ntawv thiab siv nws los tsim koj li PCB los ntawm JLCPCB. Gerber Cov Ntaub Ntawv muaj cov ntaub ntawv hais txog koj li PCB xws li PCB txheej xwm txheej, Cov ntaub ntawv txheej, cov ntaub ntawv sib nrug, cov npe rau ob peb tus. Tam sim no cia peb xaj nws.

Kauj Ruam 3: Tau PCBs Los Ntawm JLCPCB

Tau PCBs Los Ntawm JLCPCB
Tau PCBs Los Ntawm JLCPCB
Tau PCBs Los Ntawm JLCPCB
Tau PCBs Los Ntawm JLCPCB
Tau PCBs Los Ntawm JLCPCB
Tau PCBs Los Ntawm JLCPCB
Tau PCBs Los Ntawm JLCPCB
Tau PCBs Los Ntawm JLCPCB

Mus rau JLC PCBs lub vev xaib thiab tsim tus as khauj dawb. Sau npe thiab nkag mus siv Google Account. Thaum koj tau ua tiav kev tsim tus as khauj, Nyem rau "Hais Tam Sim No" thiab xa koj li Gerber File.

Gerber Cov Ntaub Ntawv muaj cov ntaub ntawv hais txog koj li PCB xws li PCB txheej xwm txheej, Cov ntaub ntawv txheej, cov ntaub ntawv sib nrug, cov npe rau ob peb tus. Thaum cov ntaub ntawv Gerber tau rub tawm, nws yuav qhia koj ua ntej ntawm koj lub rooj tsav xwm hauv Circuit Court. Nco ntsoov qhov no yog PCB Txheej Txheem ntawm lub rooj tsavxwm uas koj xav tau. Hauv qab PCB saib ua ntej, koj yuav pom ntau txoj kev xaiv xws li PCB Quantity, Texture, Thickness, Color thiab lwm yam.

Xaiv txhua yam uas tsim nyog rau koj. Tam sim no nyem rau ntawm "Sib sau koj cov laug cam PCB". Tam sim no, koj yuav tsum xa cov ntaub ntawv BOM thiab CPL uas peb tau rub tawm ua ntej. Xaiv tag nrho cov khoom koj xav kom JLCPCB sib sau ua ke hauv koj li PCB.

Tsuas yog nyem rau ntawm lub thawv lees paub los xaiv cov khoom. Hauv nplooj ntawv no, koj tuaj yeem tshuaj xyuas koj daim ntawv xaj. Koj tuaj yeem tshawb xyuas qhov txheej txheem, pom txhua yam khoom siv thiab yog tias muaj teeb meem, koj tuaj yeem nyem rau "Rov Qab" txhawm rau kho koj li kev xaj. Qhov ntawd yog cov txiv neej. Nws Ua Tiav. PCB yuav raug tsim thiab xa tawm tsis pub dhau hnub thiab yuav xa mus rau koj lub qhov rooj tsis pub dhau lub sijhawm teev tseg.

Kauj ruam 4: Xeem

Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem

Txheeb xyuas cov PCBs sib dhos

Qhov no yog pawg thawj coj saib ua ke. Ntxuav thiab Ntxuav.

Thaum koj tau txais lub rooj tsavxwm, koj tuaj yeem nqa ib qho thiab muab cov khoom seem tso rau hauv. Kuv tau muab cov kab laug sab laug tso thiab qhov no yog lub rooj tsavxwm tiav.

Cov 8 Pins muab qhov ruaj khov 5V, cov 8 Pins muab 3.3V thiab cov pins no yog av.

Xeem Logic Level Converter

Tam sim no yog tias koj txuas 5 V Cov Cim ntawm A Pins, koj yuav tau txais 3.3 V ntawm qhov sib txuas B Pins.

Tam sim no peb yuav tshuaj xyuas tias los ntawm kev txuas 5V hauv A1 thiab 0V hauv A5 Yog li qhov no yuav muab 3.3V Tawm ntawm B1 thiab 0V ntawm B5.

Pom zoo: