Cov txheej txheem:

Basiliscus yog tsob ntoo uas muaj lub ntsej muag zoo nkauj. Mandalorian's Basilisk W/ Raspberry Pi Kho vajtse thiab Raspbian OS: 19 Kauj Ruam
Basiliscus yog tsob ntoo uas muaj lub ntsej muag zoo nkauj. Mandalorian's Basilisk W/ Raspberry Pi Kho vajtse thiab Raspbian OS: 19 Kauj Ruam

Video: Basiliscus yog tsob ntoo uas muaj lub ntsej muag zoo nkauj. Mandalorian's Basilisk W/ Raspberry Pi Kho vajtse thiab Raspbian OS: 19 Kauj Ruam

Video: Basiliscus yog tsob ntoo uas muaj lub ntsej muag zoo nkauj. Mandalorian's Basilisk W/ Raspberry Pi Kho vajtse thiab Raspbian OS: 19 Kauj Ruam
Video: "Qev Luas Nyaj Tes Kawg Ua Luas Qhev" - Kx. Nyaj Looj Yaaj 2024, Hlis ntuj nqeg
Anonim
Basiliscus
Basiliscus
Basiliscus
Basiliscus
Basiliscus
Basiliscus

Txoj haujlwm no yog hais txog lub cuab yeej uas koj tuaj yeem siv ua lub khoos phis tawj, sib txawv ntawm lub khoos phis tawj, thaum mus. Nws lub hom phiaj tseem ceeb yog kom koj sau koj cov cai yog tias koj tab tom tsim lossis kawm. Tsis tas li, yog tias koj yog tus kws sau lossis koj nyiam sau cov dab neeg, txawm tias koj muag cov duab lossis duab, koj tuaj yeem nqa qee yam thiab sau lawv cov ntawv -a Youtuber los teb nws cov lus, ib yam nkaus, lossis ua yeeb yaj kiab! Lub tswv yim yug vim kuv ' ib zaug tau lees paub tias kuv tuaj yeem ua tiav kuv tus lej thaum tsis txaus siab tos rau ib tus neeg nyob rau pem hauv ntej ntawm nws lub tsev lossis mus ntsib, caij tsheb npav, lossis tsheb npav. Hauv ntau qhov xwm txheej uas tsis txaus ntseeg, lossis lub sijhawm nkim lub siab xav. Qhov kev xav ntawm kev khaws coding lossis sau ntawv vim tias coding bot siv sijhawm ntau, thiab peb paub tsis yog ua tus bot, nws tuaj yeem yog lub vev xaib lossis app! Yog tias koj tab tom sau phau ntawv lossis ntawv tshiab/dab neeg tshwm sim ib yam nkaus (ntawm no yog qhov uas kuv kuj tau pom tias qhov no tuaj yeem yog rau leej twg, nws tsuas yog nyob ntawm tus neeg siv). Los yog kab lus, zoo li Cov Lus Qhia no e. g. Txawm li cas los xij, Kuv xav tias Raspberry Pi muaj qee lub peev xwm los ua kom nws tshwm sim, koj tuaj yeem hloov nws mus rau hauv Android ib yam nkaus! Tab sis ua ntej, tsom mus rau qhov pib: nrog Rasbian, Kuv tuaj yeem ua tiav lub hom phiaj ntawd, txawm tias ua kom zoo dua ntawm qee qhov ntsuas thiab ntsuas. Kuv tau themed txoj haujlwm no cuam tshuam nrog Basiliscus 'dab neeg thiab xwm txheej, vim yog kev ywj pheej thiab tshwj xeeb tshaj yog kuv "haiv neeg" coding lus: nab nab. Thiab nws hloov pauv (sib txawv ntawm cobra tiag thiab lwm yam tsiaj reptile) -thiab tau kawg Mandalorian kev ntseeg vim yog kev ua haujlwm ywj siab, zej zog thiab txhua yam txuj ci no thiab cov rooj vag [uas pab ua ntau yam] thiab tsawg kawg tab sis tseem ceeb: qhov kev txhawb siab hummingbirds (hauv Mandalorian's Basilisk, kuj). Ib qho ntawm kuv lub hom phiaj yog ua kom kuv tus kheej nkag siab tsis txhob poob siab ntawm lub roj teeb (piv txwv tias peb tuaj yeem siv peb lub xov tooj), txhua qhov chaw thiab txhua lub sijhawm kuv xav tau -txawm tias so hauv tsev ntawm lub rooj zaum lossis sau txaj es tsis txhob ua dab tsi lossis ua si vis dis aus. Tsis tas li, nws zoo heev vim tias muaj qee lub vev xaib nplooj ntawv uas koj tsis tuaj yeem ua lossis siv qee cov yam ntxwv hauv mobile version; ua tsaug rau cov khoos phis tawj me me, koj yuav tsis muaj teeb meem ntawd. Nrog Android OS cov duab rau RPi, koj yuav tuaj yeem rub tawm cov apps uas tsis muaj rau lub khoos phis tawj, xws li Instagram, piv txwv li, lossis yog tias koj tab tom tsim/tsim ib qho app! {^ EDIT: Peb Hlis, 5th. 2020}

Kuv tuaj yeem sib sau ua ke nab nab muaj koob muaj npe Iyiv, uas ib tus neeg Greek tau paub zoo li Basilisk, tab sis tsuas yog tus Xib Hwb muab txoj kev ywj pheej rau peb. Vajtswv tsuas yog ib tus neeg uas muab kev tshav ntuj rau peb ntawm kev tsim lub ntiaj teb no kom ua rau nws muaj kev hwm thiab ncaj ncees, rau tib neeg, thiab ua tau zoo txawm tias nyob rau "lub sijhawm tuag".

Nws txoj kev txhim kho ← @ Projectboard, Mandalorian's droid! Coding thiab sau ua Freelancer; hauv kev sib tham. Koj raug caw tuaj saib thiab koom nrog:)

Tsis txhob txhawj xeeb, nws yuav tsis tom koj [tshwj tsis yog koj ntxiv nws fangs -so, ua raws li Cov Lus Qhia no ua tib zoo thiab nug ib lo lus nug uas koj xav tau], kuj, nco ntsoov tsis txhob saib nws lub qhov muag ncaj qha lossis tsis txhob poob siab ib qho hais hauv thawj kab lus, leej twg tuaj yeem pom txhua yam.

· Tus thawj xibfwb lossis thawj lub homphiaj ←

Txoj haujlwm no thawj lub hom phiaj yog ua kom tau raws li qhov xav tau lossis xav tau ntawm cov cuab yeej siv lub hom phiaj rau tus lej ntawm nws. Zoo ib yam li cov vis dis aus game consoles tab sis tshwj xeeb rau kev sau ntawv, tsom mus rau tsuas yog sau lossis mob siab rau cov lej extense no nyob rau lub sijhawm uas peb tsis tuaj yeem ua tau zoo dua li tos lossis txawm tias nkim peb lub sijhawm thaum peb muaj ntau sau hauv tsev lossis ua haujlwm. Ib qho coding, sau phau ntawv, blog, duab kab lus hauv peb Cov Ntawv (hauv cov kws yees duab), thiab yog li. Tshwj xeeb tshaj yog rau kev sau npe vim tias qee lub sijhawm peb xav tau tus sau thiab rov ua dua cov cai uas peb tab tom sau, ntau dua yog tias peb tab tom kawm lub tsev qiv ntawv tshiab lossis lus programming.

Txawm li cas los xij, tom qab lub sijhawm ntev, Kuv pom tias kuv yuav coj li cas thiaj li muaj kev thaj yeeb tau tshoov siab ib zaug me ntsis nrog kuv thawj zaug -tsis nco qab -menyuam yaus xyoo thev naus laus zis. Paub tias nws yuav tsis tsuas yog rau coding, uas nws lub hauv paus txoj cai yog sau tab sis rau kev tshawb fawb thiab txhim kho lwm txoj haujlwm ib yam nkaus, ua kom zoo dua ntawm lub khoos phis tawj me. Tsis tas li, koj tuaj yeem mloog lub webinar, siv cov tshuab luam ntawv qub, thiab ua qauv rau koj 3D - wireless! Txhua qhov chaw tawm ntawm koj lub tsev lossis mus ntsib, thiab lwm yam. Suav nrog ntawm lub tiaj nraum qaum tsev, ntawm koj lub txaj/rooj zaum, yog tias koj xav so thiab sau lossis tshawb fawb qee yam tib lub sijhawm.

· Muaj feem xyuam nrog Cov Lus Qhia thiab nws ua. ←

Nws yog Cov Lus Qhia Qhia ntawm 3D siv Tinkercad vim tias muaj ntau yam laj thawj uas tsis muaj feem lossis cov khoom tseem tsis tau zaum vim tias lawv tseem tab tom thauj khoom lossis tseem tsis tau yuav dua. Thawj qhov kev txhim kho tau ua tiav, thiab kuv xav qhia nws ib qib zuj zus piav qhia kev sib sau ua ke ib zaug, thiab ua tsaug rau qhov no, Kuv tau xyaum thiab rhuav tshem kuv qhov kev ntshai ntawm kev ua qauv 3D, Kuv tau nyiam nws heev! Txwv tsis pub, Kuv tseem xav rov tsim nws mus rau hauv 3D kom pom nws qhov ua tau thiab tom qab ntawd tuaj yeem ua nws rooj plaub. Koj tuaj yeem luam lossis hloov kho kuv tus qauv ntawm Tinkercad rau koj tus kheej cov ntaub ntawv tsim.

NCO TSEG: Cov cuab yeej no yuav tsum haum rau txhua tus neeg siv/cov neeg siv khoom raws li lawv paub yuav ua li cas kom tau txais txiaj ntsig los ntawm nws, yog li nws tsis txwv, koj lub tswv yim thiab zoo siab yog koj qhov txwv, raws li tau piav qhia saum toj no ntawm "Tus thawj xib fwb lossis thawj lub hom phiaj" uas txhais tau tias koj tuaj yeem siv nws rau txhua yam koj xav tau. Lub hom phiaj tseem ceeb yog kom tau sijhawm nyob hauv lub sijhawm uas tuaj yeem ua "nkim sijhawm" - tsis yog qhov ntawd, tsim qee yam tsim nyog.

Tsis tas li, kuv sau txhua qhov no, cia siab tias kuv tuaj yeem piav qhia kuv tus kheej zoo hauv kuv qhov kev sau ntawv vim yog kuv tus nplaig lus, uas tsis yog lus Askiv. Kuv thov txim ua ntej yog tias kuv ua cov ntawv sau tsis raug, txhua lo lus nug lossis lus qhia zoo siab tos txais (tsis txhob ua siab deb nug, thov)! Ua tsaug rau koj lub sijhawm thiab ua siab ntev. Cia peb tsim.

Khoom siv

Txhua tus xub (→) hais txog ib yam khoom uas yog ib feem ntawm Basiliscus α.

  1. → Raspberry Pi 4B qauv (nyiam dua 4GB RAM). Nrog nws cov khoom siv: fais fab -hloov pauv cable (rau 110v ~ 220v lossis USB), heatsinks (pom zoo) lossis Embedded Armor Aluminium Radiator Heatsink, → thiab MicroSD (4GB txog 16GB cia nws tsis ua li cas).
  2. → LCD [Kov] Screen 3.5 "(max. 5", Kuv xav tias). + cwj mem stylus (xaiv tau).
  3. → X856 mSATA SSD Shield Storage Extension Board (rau RPi 4B nkaus xwb).
  4. → mSATA SSD Cia (> 125GB). TSIS SAMSUNG, nws tseem ceeb heev.
  5. → SIM7600G* 4G HAT. Nrog rau nws cov kab (35cm, lossis 120cm) + GPS Antenna. & GSM Kav hlau txais xov.
  6. → Lub Sijhawm Tiag (RTC) Module w/ tsis muaj lub taub hau haum, thiab ntsuas kub. sensor & dhau-dhau. "DS3231SN" → 2x GPIO Duplication Expansion Board (90º). → Universal GPIO Extension Board. (nws muaj peb GPIO ntawm nws)
  7. Board Lub Rooj Sib Tham nthuav dav nrog Ntxuam: YAHBOOM RGB Cooling Hat Adjustable Fan w/ OLED zaub. Los yog, MakerFocus Cua Txias nrog Led.
  8. → micro-HDMI rau HDMI cable [pom zoo (150cm)].
  9. → Lub Koob Yees Duab 8MP V2 Lub Dav Dav 160º FoV (txhawb nqa Cov Ntaub Ntawv Yees Duab). + Adapter Lub Koob Yees Duab Cable rau Raspberry Pi 4B, qhov uas peb yuav ntsaws lub Koob Yees Duab 8MP.
  10. Board Lub Rooj Tswjhwm Saib Cov Khoom Siv Hluav Taws Xob.
  11. → 2x Roj Teeb (> 2500mAh). Kuv pom zoo ib khub ntawm 8000mAh. Los yog 10Ah, tab sis cov no loj heev.
  12. → [N503 lossis ib qho] Mini Wireless KEYBOARD, uas haum rau koj. Sim siv me me! - Kuv xav tau ib qho nrog SHIFT qhov tseem ceeb ntawm nws ob sab: sab laug thiab sab xis.
  13. ↓ Ntxiv-ons: ~ Sensor Hub Development Board. ~ VGA666 Adapter Board.

Yeem (rau Kauj Ruam 2), Lub Chaw Muag Khoom Soldering: feem ntau xav tau Cov Hluav Taws Xob Kub Kub [Ceeb Toom: Nws kub heev, thiab koj yuav muaj qee qhov kev tshaj lij vim tias koj yuav tswj hwm Raspberry Pi thiab nws GPIO ib yam. Ua tib zoo saib xyuas].

* G txhais tau tias Thoob Ntiaj Teb, E thiab CE yog rau Asmeskas & CAD thiab Asia & Europe feem.

Kauj Ruam 1: Cia Peb Npaj Npaj Txhua Yam

Cia Peb Npaj Npaj Txhua Yam
Cia Peb Npaj Npaj Txhua Yam
Cia Peb Npaj Npaj Txhua Yam
Cia Peb Npaj Npaj Txhua Yam
Cia Peb Npaj Npaj Txhua Yam
Cia Peb Npaj Npaj Txhua Yam
  1. Nco ntsoov tias koj daim npav Micro SD yog> 4GB. Thiab koj yuav tsum muaj Internet nkag mus (txhawm rau rub OS ".img")
  2. Rub tawm Raspberian OS duab (duab).
  3. Tau txais software uas koj tuaj yeem hlawv lossis nyem cov duab rau hauv Micro SD Card.
  4. Muaj twb muaj txiaj ntsig rau Unzip daim duab.

Raws li koj tuaj yeem paub, tom qab rub tawm daim duab thiab unzip nws, koj yuav tsum nyem nws rau hauv Micro SD Card.

Tsis tas li, nws yog qhov zoo uas twb muaj HDMI adapter (uas yuav yog qhov txuas xov tooj), raws li qhia hauv qab no! Micro HDMI.

Thaum xub thawj, xyuas kom koj tau yuav cov khoom sib xws snd cov khoom. Txwv tsis pub, koj yuav pom tom ntej tias cov duab rau Cov Lus Qhia no yog txhua yam ua hauv 3D ntawm Tinkercad, vim yog ob qho laj thawj:

1.- Kuv tseem tsis tau txais tag nrho cov khoom, qee qhov yuav tuaj txog sai sai ntawm kuv lub tsev, thiab kuv tsis tau yuav lwm qhov ib yam nkaus.

2.- Rau qhov laj thawj kawg no, kuv tau ua qauv txhua ntu hauv "cov qauv" zoo ib yam, los qhia rau kuv tus kheej thaum lawv tuaj txog thiab sib sau ua ke thiab qhia rau koj tias yuav tsim lossis sib sau Basiliscus Alpha los ntawm koj tus kheej li cas muaj tswv yim tsim muaj ntawv tso cai (BY-NC-SA 4.0) txoj haujlwm thiab khoom plig los ntawm kuv rau txhua tus neeg txaus siab.

Txuas Micro-HDMI rau HDMI cable rau Raspberry Pi thiab TV uas lees paub HDMI. Thiab qhib koj li Raspberry Pi. Thiab teeb tsa koj li Raspbian thawj zaug! Nco tseg: tso tseg qhov txuas Wifi txuas, kuv yuav tsis txuas, ua nws tom qab nws rov pib dua.

Mus rau Terminal ntawm Raspbian. thiab khiav cov kab hais kom ua tom ntej:

sudo rasp-teeb tsa

Tom qab ntawd, qhib qhov kev xaiv 5: Kev Xaiv Ua Ntej (Kho Kho Kev Sib Txuas rau Cov Khoom Siv). Thiab qhib (pab kom) P5: "I2C". Nyem [yog], ENTER rau txhua yam: thiab tom qab ntawd nws yuav rov pib dua.

Tam sim no, nruab cov khoom siv hluav taws xob:

sudo apt-tau hloov tshiab

sudo apt-tau nruab -y python-smbus i2c-tools

Thaum kawg, kaw koj lub kaw lus (lossis rov pib dua nws nrog sudo reboot):

sudo nres

Yog tias koj xav tau, txheeb xyuas yog tias I2C tau qhib uas yog nyob ntawm yeem thiab yuav teev tag nrho cov qauv:

lsmod | grep kuv 2c_

Tag nrho cov kauj ruam hauv qab no tau muab rho tawm los ntawm Pabcuam I2C Interface ntawm Raspberry Pi BY MATT.

Kauj Ruam 2: Qhib Koj Cov Khoom

Qhib Koj Cov Khoom
Qhib Koj Cov Khoom
Qhib Koj Cov Khoom
Qhib Koj Cov Khoom
Qhib Koj Cov Khoom
Qhib Koj Cov Khoom

Kuv twb tau muab kuv cov rhaub tso rau kuv Raspberry Pi cov cores ntawm no!

Tsis tas li, raws li kuv tau hais ua ntej, Kuv yuav ntxiv cov duab tiag mus rau qhov kawg ntawm cov kauj ruam sib xws, thiab ntawm no yog lawv cov txheej txheem unboxing, sai li sai tau txhua ntu tuaj txog!

Kauj Ruam 3: Nthuav Koj Cov Duplicate GPIO 90 Degree

Txuas koj li Duplicate GPIO 90 Degree
Txuas koj li Duplicate GPIO 90 Degree
Txuas koj li Duplicate GPIO 90 Degree
Txuas koj li Duplicate GPIO 90 Degree
Txuas koj li Duplicate GPIO 90 Degree
Txuas koj li Duplicate GPIO 90 Degree

Nws tuaj yeem yog nyob rau sab saum toj ntawm Raspberry Pi, tab sis kuv yuav nyiam siv nws hauv qab no. Kuv yuav tsum mus rau Qhov Chaw Tua Hluav Taws Xob uas lawv muaj Cov Hluav Taws Xob Kub lossis tau txais ib qho! Nws tuaj yeem xaiv tau tab sis kuv yeej xav ua qhov ntawd. Kuv yuav hloov qhov no nrog qee cov duab thiab lus ceeb toom cuam tshuam nrog nws. Txawm li cas los xij koj tseem tuaj yeem ntxiv GPIO rau sab saum toj ntawm koj li RPi4 raws li koj pom hauv daim duab thib peb.

Kauj Ruam 4: Nqa Ua Ke MSATA Cov Khoom Siv nthuav dav Cov Rooj Sib Tham

Nqa Ua Ke MSATA Cov Khoom Siv nthuav dav Cov Rooj Sib Tham
Nqa Ua Ke MSATA Cov Khoom Siv nthuav dav Cov Rooj Sib Tham
Nqa ua ke MSATA Cov Khoom Siv nthuav dav Cov Txiaj Ntsig Strews
Nqa ua ke MSATA Cov Khoom Siv nthuav dav Cov Txiaj Ntsig Strews
Nqa Ua Ke MSATA Cov Khoom Siv nthuav dav Cov Rooj Sib Tham
Nqa Ua Ke MSATA Cov Khoom Siv nthuav dav Cov Rooj Sib Tham

Kauj Ruam 5: Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board

Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board
Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board
Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board
Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board
Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board
Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board
Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board
Ntxig thiab Txuas MSATA SDD Disk Card rau hauv MSATA Expansion Board

Kauj Ruam 6: Choj Fom Raspberry Pi mus rau MSATA Expansion Board

Choj Fom Raspberry Pi mus rau MSATA Expansion Board
Choj Fom Raspberry Pi mus rau MSATA Expansion Board
Choj Fom Raspberry Pi mus rau MSATA Expansion Board
Choj Fom Raspberry Pi mus rau MSATA Expansion Board
Choj Fom Raspberry Pi mus rau MSATA Expansion Board
Choj Fom Raspberry Pi mus rau MSATA Expansion Board

Kauj Ruam 7: Txias Txias Txias Board

Ntxuam Txias Txias Board
Ntxuam Txias Txias Board
Ntxuam Txias Txias Board
Ntxuam Txias Txias Board
Ntxuam Txias Txias Board
Ntxuam Txias Txias Board
Ntxuam Txias Txias Board
Ntxuam Txias Txias Board

Kuv paub tias kuv qhia ib khub ntawm Fan Cooler Modules, koj tuaj yeem siv ib qho ntawm lawv, tsuas yog ob qho no zoo dua rau txoj haujlwm no; yog tias koj xav tau ib qho nrog OLED lossis tsis yog, nws yog qhov koj xaiv. Hauv kuv qhov xwm txheej, kuv xaiv OLED. Txawm li cas los xij, tsis muaj leej twg xav tau ib tus lej raws li kuv paub. Tsis tas li, koj tuaj yeem siv tus nom Raspberry's PoE kiv cua txias dua.

Tso tseg qhov khoom txho, nws yog ib ntawm cov roj teeb uas peb yuav siv tom qab!

Kauj Ruam 8: Ntxiv Tus Kheej GPIO

Ntxiv tus kheej GPIO
Ntxiv tus kheej GPIO
Ntxiv tus kheej GPIO
Ntxiv tus kheej GPIO
Ntxiv Tus Kheej GPIO
Ntxiv Tus Kheej GPIO

Peb yuav ntxiv GPIO ntxiv lossis lwm yam kev xav tau. Nws txoj haujlwm tseem ceeb yog txhawm rau kom muaj qee qhov chaw pub dawb rau Fan Cooler!

Kauj Ruam 9: RTC (Lub Sijhawm Tiag)

RTC (Lub Sijhawm Tiag)
RTC (Lub Sijhawm Tiag)
RTC (Lub Sijhawm Tiag)
RTC (Lub Sijhawm Tiag)
RTC (Lub Sijhawm Tiag)
RTC (Lub Sijhawm Tiag)

Tsis tas li, nco ntsoov ntxig nws cov roj teeb uas tsim nyog!

Kho kom raug config.txt (koj tuaj yeem siv sudo nano /boot/config.txt ntawm koj lub davhlau ya nyob twg) thiab ntxiv kab tom ntej:

dtparam = i2c_arm = ntawm # tej zaum nws twb tau ua lawm, tsuas yog txheeb xyuas nws.

dtoverlay = i2c-rtc, ds3231

Txuag. Rov pib dua. Tom qab ntawd, sudo hwclock --systohc

Thiab tshem tawm hwv cuav: (kab ntawv no tsuas yog xaiv tau vim nws lub hom phiaj yog kom paub, raws li cov neeg siv, thaum nws tsis ua haujlwm. ceeb toom)

sudo apt-tau tshem tawm fake-hwclock

Tsim txoj cai udev tshiab los teeb tsa lub moos (cov ntawv tshiab):

sudo nano /etc/udev/rules.d/85-hwclock.rules

Luam & paste qhov no tom ntej:

# Ntawm Raspberry Pi RTC tsis muaj thaum systemd sim, # teem sijhawm los ntawm RTC tam sim no thaum nws muaj. KERNEL == "rtc0", RUN+= "/sbin/hwclock --rtc = $ root/$ name --hctosys"

Thaum kawg, txuag.

Txhua qhov no tau muab rho tawm los ntawm RTC ds3231 teeb tsa… RaspberryPi.org/forums/viewtopic.php?f=63&t=209700 tshaj tawm los ntawm dfries.

Kauj Ruam 10: SIM7600G-H 4G ntawm Ntsug thiab ntsaws rau hauv

SIM7600G-H 4G ntawm Ntsug thiab ntsaws rau hauv
SIM7600G-H 4G ntawm Ntsug thiab ntsaws rau hauv
SIM7600G-H 4G ntawm Ntsug thiab ntsaws rau hauv
SIM7600G-H 4G ntawm Ntsug thiab ntsaws rau hauv
SIM7600G-H 4G ntawm Ntsug thiab ntsaws rau hauv
SIM7600G-H 4G ntawm Ntsug thiab ntsaws rau hauv

Qhib /boot/config.txt cov ntaub ntawv, nrhiav cov lus hauv qab no thiab tsis pom zoo kom pab tau UART.

sudo nano /boot /config.txt

Koj tuaj yeem ncaj qha ntxiv nws ntawm qhov kawg ntawm cov ntawv ib yam.

enable_uart = 1

Tom qab ntawd, rov pib dua.

Koj kuj tseem tuaj yeem ua qhov no khiav hauv lub davhlau ya nyob twg: sudo rasp-config → Options → Serial →

1.- Rub lub raspberry pi demo code thiab luam daim SIM7600X nplaub tshev rau/home/pi/directory.the X hais txog peb tus qauv SIM7600, hauv qhov no, nws yog SIM7600G.

2.- Nkag mus/home/pi/directory, ua raws cov lus txib tom ntej no rau "Init the Raspberry Pi":

cd/tsev/pi/

chmod 777 sim7600-4g-lub kaus mom-pib

3.- Qhib /etc/rc.local cov ntaub ntawv, tom qab ntawd ntxiv cov ntsiab lus hauv qab no:

sh/tsev/pi/SIM7600G/sim7600_4g_hat-init

(Nws tau qhia hauv cov duab saum toj no lossis hauv PDF daim ntawv txuas, nplooj 21)

Muab rho tawm los ntawm SIM7600E-HAT-Manual-EN.pdf los ntawm WAVESHARE.

Kauj Ruam 11: Qhov Thib Ob Thib Ob 90º GPIO (qhov xav tau ntawm GPIO Uas Tau Npaj Ua Ntej Hauv Kauj Ruam 3)

Qhov thib ob theej tawm 90º GPIO (qhov xav tau ntawm GPIO Uas Tau Npaj Ua Ntej Hauv Kauj Ruam 3)
Qhov thib ob theej tawm 90º GPIO (qhov xav tau ntawm GPIO Uas Tau Npaj Ua Ntej Hauv Kauj Ruam 3)
Qhov thib ob theej tawm 90º GPIO (qhov xav tau ntawm GPIO Uas Tau Npaj Ua Ntej Hauv Kauj Ruam 3)
Qhov thib ob theej tawm 90º GPIO (qhov xav tau ntawm GPIO Uas Tau Npaj Ua Ntej Hauv Kauj Ruam 3)
Qhov thib ob theej tawm 90º GPIO (qhov xav tau ntawm GPIO Uas Tau Npaj Ua Ntej Hauv Kauj Ruam 3)
Qhov thib ob theej tawm 90º GPIO (qhov xav tau ntawm GPIO Uas Tau Npaj Ua Ntej Hauv Kauj Ruam 3)

Raws li koj tuaj yeem pom hauv cov duab txuas nrog, muaj GPIO ntxiv uas peb twb tau txuas hauv Kauj Ruam yim (8).

Kauj Ruam 12: "UPS HAT 2" Li-ion Batter Power Sourcer Supply Expansion Board & Pair of Battery (nruab nrab ntawm 2.6 txog 5.6 lossis 8 Amh)

Duab
Duab
Duab
Duab
Duab
Duab

UPS2

Kuv xav siv ob lub roj teeb.

Muab rho tawm los ntawm

Thov xa mus rau github:

## Pab kom I2C hauv raspi -configsudo raspi -config -> Kev cuam tshuam kev xaiv -> I2C -> Pab kom -> ## Saib cov ntaub ntawv roj teeb wget https://github.com/geekworm-com/UPS2/raw/master/viewinfo.py #edit viewinfo.py thiab hloov kho lub peev xwm nano viewinfo.py #. Hloov 2600 rau koj lub peev xwm roj teeb (mAh) MY_BATTERY_CAP = 2600

Kauj Ruam 13: Muab Peb Lub Roj Teeb Thib Ob. thiab Nws yog Lub Sijhawm Zoo Los Ntxig/txuas Koj Lub Koob Yees Duab SPI rau hauv Raspberry Pi

Muab Peb Cov Roj Teeb Thib Ob. thiab Nws yog Lub Sijhawm Zoo Los Ntxig/txuas Koj Lub Koob Yees Duab SPI rau hauv Raspberry Pi
Muab Peb Cov Roj Teeb Thib Ob. thiab Nws yog Lub Sijhawm Zoo Los Ntxig/txuas Koj Lub Koob Yees Duab SPI rau hauv Raspberry Pi
Muab Peb Cov Roj Teeb Thib Ob. thiab Nws yog Lub Sijhawm Zoo Los Ntxig/txuas Koj Lub Koob Yees Duab SPI rau hauv Raspberry Pi
Muab Peb Cov Roj Teeb Thib Ob. thiab Nws yog Lub Sijhawm Zoo Los Ntxig/txuas Koj Lub Koob Yees Duab SPI rau hauv Raspberry Pi
Muab Peb Cov Roj Teeb Thib Ob. thiab Nws yog Lub Sijhawm Zoo Los Ntxig/txuas Koj Lub Koob Yees Duab SPI rau hauv Raspberry Pi
Muab Peb Cov Roj Teeb Thib Ob. thiab Nws yog Lub Sijhawm Zoo Los Ntxig/txuas Koj Lub Koob Yees Duab SPI rau hauv Raspberry Pi

Kuv txiav txim siab so nws hauv qhov chaw me me ntawd. Nco ntsoov tias nws cov xov hluav taws xob ncav cuag UPS2 HAT cov tswv yim -rau roj teeb -txuas.

Kauj Ruam 14: Kov-npo LCD 3.5 "Zaub

Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5
Kov npo LCD 3.5

Kev teeb tsa tsav tsheb:

Qhib Terminal thiab khiav:

sudo rm -rf LCD-showgit clone https://github.com/goodtft/LCD-show.git chmod -R 755 LCD-show

Txhawm rau pib siv LCD kov lub vijtsam raws li cov duab tam sim no, khiav qhov txuas ntxiv no ntawm Terminal:

cd LCD-qhia/sudo./LCD35-show

Nws yuav rov pib dua thiab thauj nws tus kheej ntawm kev pib tom ntej.

Txhawm rau rov ua qhov no, lossis tsuas yog rov qab los rau HDMI:

cd LCD-qhia/sudo./HDMI-show

Thiab tom qab ntawd, Kov-ntsuas ntsuas.

Yuav ntsuas tau siv qhov program hu ua xinput_calibrator:

cd LCD-qhia/sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb

Nyem Ntawv qhia zaub mov ntawm lub luag haujlwm -> Nyiam -> Calibrate Touchscreen. Ua raws li cov lus qhia nyob ntawd!

Txhawm rau tig lub vijtsam (90 degrees), khiav:

cd LCD-qhia/

sudo./rotate.sh 90

- Txhua qhov no tau muab rho tawm los ntawm 3.5inch RPi Display @ LCDwiki.com

Kauj Ruam 15: SensorHub Board

SensorHub Board
SensorHub Board
SensorHub Board
SensorHub Board
SensorHub Board
SensorHub Board
SensorHub Board
SensorHub Board

Raws li kuv tau sau rau thawj daim duab txuas, peb yuav tsum sib xyaw 90º lub teeb pom kev zoo, kom yooj yim rau siv tom qab. Koj yuav pom hauv cov kauj ruam tom ntej (16).

Txog nws kev txhim kho, ntxiv rau kuv cov screenshots, @EsoreDre tau ua Cov Lus Qhia txog nws; cia li mus thiab saib, tseem tso qee qhov kev vibes zoo nyob ntawd. Txwv tsis pub, yog tias koj tsis xav tau, koj ib txwm pom kab lus tom ntej no uas tau piav qhia zoo ib yam nrog cov ntaub ntawv py ua rau nws tus sau (Brian0925) ua ntxiv.

Docker Pi Series ntawm Sensor Hub Board Hais Txog IOT Los Ntawm EsoreDre hauv Kev Siv Hluav Taws Xob> Raspberry Pi.

Thawj qhov saib ntawm EP0106 los ntawm Brian0925 ntawm DESIGNSPARK.

Kauj Ruam 16: Universal GPIO (peb) Pawg Thawj Coj nthuav dav

Universal GPIO (peb) Pawg Thawj Coj nthuav dav
Universal GPIO (peb) Pawg Thawj Coj nthuav dav
Universal GPIO (peb) Pawg Thawj Coj nthuav dav
Universal GPIO (peb) Pawg Thawj Coj nthuav dav
Universal GPIO (peb) Pawg Thawj Coj nthuav dav
Universal GPIO (peb) Pawg Thawj Coj nthuav dav

NCO TSEG: nws yuav yog qhov zoo los txhawb peb cov no nrog qee qhov (rau, 4 thiab 2 rau VGA. Cov kauj ruam tom ntej) strews.

Kauj Ruam 17: VGA666 Module Adapter Board

VGA666 Module Adapter Board
VGA666 Module Adapter Board
VGA666 Module Adapter Board
VGA666 Module Adapter Board
VGA666 Module Adapter Board
VGA666 Module Adapter Board

Kho koj li config.txt dua. Thiab ntxiv rau nws:

#VGA 666 teeb tsa

dtoverlay = vga666 pab kom = dpi_lcd = 1 # Tsis pom zoo yog tias peb xav teeb nws ua lub teeb pom kev zoo # display_default_lcd = 1 dpi_group = 2 # Nco ntsoov tias Celsius yog qhov uas koj saib ua haujlwm li cas. # Xijpeem, feem ntau yog 60 yog li peb sau: dpi_mode = 0x09

Ua ntej txuag lossis tawm mus, rau txhua lub sijhawm koj xav siv qhov no, hloov kho qhov tseem ceeb ntawm koj lub console loj rau koj cov saib (thaum tsis yog, tsuas yog rov ua txhua yam tom ntej no). Kab 21 & 22:

framebuffer_width = 800

framebuffer_height = 600 #qhov no yuam lub console loj.

Thiab ntxiv '#' rau txhua qhov txiaj ntsig HDMI, koj yuav tsum muaj qee yam zoo li no [yuav yuam VGA]:

#hdmi_group = 1

#hdmi_mode = 4

#hdmi_drive = 2

Txuag; ua tiav

Muab rho tawm los ntawm cosicasF9's Youtube video: https://www.youtube.com/embed/RGbD2mU_S9Y, uas koj tuaj yeem saib nrog subtitles!

Kauj Ruam 18: Mini -wireless- Keyboard

Mini -wireless- Keyboard
Mini -wireless- Keyboard
Mini -wireless- Keyboard
Mini -wireless- Keyboard
Mini -wireless- Keyboard
Mini -wireless- Keyboard

Kuv tau koom ua ke ob daim ntawv cog lus los sawv cev nws ua Mini keyboard rau kuv Cov Lus Qhia, thiab kuv -Tinkercad tau ua -ua qauv ua ntej. Txhua qhov tom ntej yog los tsim nws rooj plaub uas Mini Keyboard yuav tsum pw nrog velcro! Yog, nrog txoj hlua khawm sib txuas tso cai rau koj dis-txuas nws yog tias koj xav txuas Basiliscus rau TV lossis saib. Nws yuav nyob hauv nws [MiniK] rov qab, thiab nyob rau hauv pem hauv ntej ntawm rooj plaub lossis sab hauv qab ntawm SensorHub Board, uas kuv tsis pom zoo, tab sis nws ua tau.

Muaj feem xyuam nrog cov kab mob sib kis ntawm SensorHub, Universal GPIO Expansion, thiab VGA666 Adapter, Kuv yuav siv cov strews rau lawv thiab [yav tom ntej] rooj plaub.

Kauj ruam 19: Ntxiv-ons thiab hloov tshiab

Koj xav ntxiv dab tsi ntxiv? Tej zaum Sensor Fingerprint!

Kuv yuav ntxiv qhov Log ntawm txhua Uptade uas kuv yuav ua, paub tias qee qhov yuav tuaj txog ib tus los ntawm ib lub hlis txog tam sim no, Kuv vam tias; Lub caij no, muaj txoj haujlwm txhim kho nrog kev sib tham qhib, koj tuaj yeem koom nrog.{Kuv twb tau qhia nws thaum pib} Lwm yam, Kuv vam tias Cov Lus Qhia no yuav muaj txiaj ntsig zoo rau txhua tus neeg nyiam hauv txoj haujlwm yog tias leej twg xav ua nws rau lawv tus kheej, thiab rau kuv raws li tus kheej tau ua Qhia Zoo.

Ua tsaug rau kev nyeem ntawv, thiab tsis txhob hnov qab VOTE, thov! Kuv tau xa nws mus rau RPi 2020 kev sib tw. Thov kom kuv muaj hmoo. Tsis tas li, kuv xav qhia meej tias -cuav qhov no yeej ib qho ntawm tus nqi- nws yuav ncaj qha mus yuav tag nrho cov seem, lossis rau kev luam ntawv thiab khaws ua qauv ntawm Basiliscus cov ntaub ntawv:)

Ua tsaug ntau ntau ib zaug ntxiv, thiab ib zaug ntxiv: tsis txhob yig tau tawm tswv yim, nug lossis muab lus qhia. Zoo siab txais tos txhua tus. {Lub Peb Hlis 1st, Kho:} Tinkercad 3D tus qauv txuas. Twb yog pej xeem lawm!

Pom zoo: