Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Fais fab VoCore2
- Kauj ruam 2: Txuas rau Luci Config App
- Kauj Ruam 3: Thauj Khoom Tshiab Firmware
- Kauj Ruam 4: Teem Sijhawm Sijhawm
- Kauj Ruam 5: Ntxiv Kev Siv Internet
- Kauj Ruam 6: Txuas mus rau VoCore Console
- Kauj Ruam 7: Ntxiv Chaw Nres Tsheb (STA)
- Kauj Ruam 8: Tswj Lub Onboard Liab LED
- Kauj Ruam 9: Cov peev txheej
Video: Me Me Linux Server - VoCore2 - Pib: 9 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Lub VoCore2 Qhov kawg yog qhov ua tau zoo ntawm kev ua haujlwm me me thiab tsim nyog txiav txim siab rau cov ntawv thov tswj.
Qhov kev qhia no yuav pab koj kawm paub yuav ua li cas:
- teeb tsa lub cuab yeej teeb tsa,
- ntxiv kev nkag mus siv internet kom nyab xeeb, thiab
- tswj lub on-board LED.
Kuv yuav qhov kawg version (nrog cov ntawv thaiv thiab cov qauv sib txuas) txij li nws zoo li txoj hauv kev nrawm kom pib. Txog kev teeb tsa kev tswj hwm, PCB kuj tseem muaj thiab hais txog qhov loj me ntawm cov ntawv xa nyiaj.
Khoom siv
- VoCore2 Qhov kawg (https://vocore.io)
- USB Cable (USB rau USB-mini)
Cov cuab yeej
Txhawm rau teeb tsa VoCore2 siv qhov kev qhia no, koj yuav tsum tau siv cov ntawv sau vi thiab tus lej ua haujlwm. Yog tias koj tsis paub txog cov no, muaj cov kab ntawv txuas hauv kev qhia uas yuav muab kev pab.
Kauj ruam 1: Fais fab VoCore2
Txuas lub USB adapter cable ntawm koj lub khoos phis tawj thiab VoCore2. Kev txuas mini-USB ntawm VoCore yuav tsum siv rau qhov no.
Kauj ruam 2: Txuas rau Luci Config App
Daim ntawv thov teeb tsa ua haujlwm ntawm VoCore2 thiab koj tuaj yeem nkag mus rau nws los ntawm koj tus browser.
- Los ntawm koj tus tswv lub khoos phis tawj/laptop, txuas rau lub cuab yeej lub network wifi (SSID: VoCore2-…)
- Hauv koj tus browser mus rau:
- Koj yuav tsum pom lub vev xaib nug txog daim ntawv pov thawj.
- Nkag ID: hauv paus
- Sau tus Password: vocore
- Koj yuav tsum nyob hauv OpenWrt system teeb tsa app tam sim no.
Koj tseem tuaj yeem nkag mus teeb tsa cov lus txib siv VoCore2 console, uas peb yuav ua tom qab.
Kauj Ruam 3: Thauj Khoom Tshiab Firmware
Siv Luci Navigation mus rau:
System> Thaub qab / Flash Firmware
- Tau txais qhov rub tawm tshiab kawg los ntawm https://vocore.io/v2u.html Ntu ntu: "Hloov Kho VoCore2 Firmware". Raws li xyoo 2019-Kaum Ib Hlis-03, qhov hloov tshiab kawg tau pom nyob hauv cov duab saum toj no.
- Txuag cov ntaub ntawv rau koj lub computer.
- Siv Luci interface los xaiv nws.
- Nias lub "Flash Image" khawm kom thauj nws mus rau hauv koj li VoCore2.
Kauj Ruam 4: Teem Sijhawm Sijhawm
- Tom qab rub lub firmware tshiab, tos ob peb feeb ua ntej rov txuas rau VoCore's WiFi network (SSID: VoCore2-…)
- Hauv browser mus rau:
- Mus rau Ntawv qhia zaub mov: System> System
- Hla mus rau Timezone thiab xaiv koj lub sijhawm sijhawm
- Rov qab mus thiab nias "Sync nrog browser" khawm
- Tawm ntawm cov kev xaiv raws li lub neej ntawd
- Nias "Txuag & Thov" khawm
Kauj Ruam 5: Ntxiv Kev Siv Internet
Lub cuab yeej lub hom phiaj yog ua haujlwm raws li lub network Access Point (AP). Koj tuaj yeem txuas rau lub cuab yeej los ntawm mini-usb, WiFi, lossis Ethernet, tab sis lub cuab yeej yuav tsis muaj Is Taws Nem siv. Txhawm rau ntxiv kev nkag mus rau Is Taws Nem, ua raws cov lus qhia hauv qab no uas yuav pab kom STA (network Chaw Nres Tsheb) hom ua haujlwm. (Tom qab ntxiv STA hom, lub cuab yeej tseem yuav ua haujlwm zoo li AP thiab Luci teeb tsa app tseem yuav muaj.)
Cov theem hauv qab no yuav ntxiv Kev Nkag Mus Rau Internet.
Kauj Ruam 6: Txuas mus rau VoCore Console
Los ntawm PC
- Qhib Tswj Vaj Huam Sib Luag> Tus Thawj Saib Xyuas Haujlwm> Chaw Nres Nkoj, nrhiav "USB Serial Device", nco ntsoov COM chaw nres nkoj tus lej
- Siv Serial Terminal Emulator (Piv txwv: Putty)
- Teeb tsa kev sib txuas params: Com_Port_Number, 115200 bps, 8 cov ntaub ntawv me me, 1 nres me ntsis, tsis muaj kev ncaj ncees, tsis muaj kev tswj ntws
- Thaum txuas nrog, nyem Enter kom tau txais Linux plhaub tam sim
Los ntawm Mac
Qhib Mac's Terminal app thiab khiav cov lus txib hauv qab no kom pom cov ntaub ntawv xov xwm Chaw nres nkoj.
ls /dev /cu*
Cov lus teb zoo li:
/dev/cu.usbmodem6A68DE4F34311
Nkag mus rau koj cov lus teb nyob rau hauv cov lus txib tom ntej, kom pib lub davhlau ya nyob twg emulator.
screen /dev/cu.usbmodem6A68DE4F34311 115200, cs8, -isb, -cstopb
Qhov ntawd yuav qhib qhov Screen davhlau ya nyob twg emulator. Tam sim no koj tuaj yeem nias Enter kom tau txais Linux plhaub tam sim.
Kauj Ruam 7: Ntxiv Chaw Nres Tsheb (STA)
Keeb kwm yav dhau
Seem no siv uci cov lus txib uas pab teeb tsa OpenWrt kev ua haujlwm. (Raws li lwm txoj hauv kev, koj tuaj yeem hloov kho cov ntaub ntawv OS cuam tshuam ncaj qha.)
Tshooj lus no tau los ntawm: https://vocore.io/v2u.html. Kuv qhia cov lus qhia kom meej. Txhawm rau zam kev ua yuam kev nrog "uci ua phem":
- Kuv muab tag nrho uci qhov ntsuas qhov tseem ceeb hauv nqe lus.
- Kuv tsis suav cov lus txib rau qhov tsis uas twb tau teeb tsa hauv lawv cov ntawv /lwm yam /teeb tsa cov ntaub ntawv.
Kuv kuj tau ntxiv ob peb lo lus txib ntxiv los teeb tsa lub Access Point tshiab WiFi network, suav nrog:
- tsim nyog zaus kom haum koj lub teb chaws cov kev cai, thiab
- ruaj ntseg ID nkag mus.
Cov lus qhia
1. Txuas mus rau lub cuab yeej lub console los ntawm nws microUSB (saib ntu ua ntej)
2. Khiav cov lus txib hauv qab no hauv lub console.
uci teeb wireless.sta.ssid = "Koj_Existing_WiFi_SSID"
uci teeb wireless.sta.key = "Your_Existing_WiFi_Password" uci teeb wireless.sta.network = "wwan" uci cog lus
3. Txheeb teeb tsa cov ntawv sau kom yog tias koj lub WiFi network tam sim no poob qis, koj tseem tuaj yeem txuas rau VoCore2.
Siv tus vi editor (suav nrog OpenWrt) txhawm rau ntxig cov cai hauv qab no rau hauv /etc/rc.local
uci teeb wireless.sta.disabled = "0"
uci ua txhaum/etc/init.d/network restart pw 10 uci teeb wireless.sta.disabled = "1" uci cog lus
4. Teeb firewall kom nkag tau internet siv tau los ntawm koj lub hotspot.
uci teeb tsa phab ntsa.@tsam [1].forward = "ACCEPT"
uci cog
5. Ntxiv qhov ntsuas ntxiv los teeb tsa tsim nyog tsim nyog siv WiFI xov tooj cua raws koj lub tebchaws xws li Canada lossis Asmeskas, raws li:
uci teeb wireless.ra0.country = "CA"
uci teeb wireless.ra0.country = "Asmeskas"
Ntau lub tebchaws cov lej ntawm:
uci cog
6. Teeb Nkag Nkag Nkag Nkag Nkag Nkag Pov Thawj thiab Nkag Nkag
Lub cuab yeej los yam tsis muaj tus password ntawm nws qhov chaw nkag mus rau WiFi (SSID: VoCore2…), yog li ntxiv ib qho ntawm no.
uci teeb wireless.ap.key = "New_WiFi_Password"
uci teeb wireless.ap.encryption = "psk2" uci cog lus
Nco ntsoov tias psk2 suav nrog WPA2
7. Hloov Wirelesss los ntawm kev khiav:
rov qab wifi
los yog los ntawm kev khiav
/etc/init.d/network rov pib dua
lossis yog tias nws tseem tsis coj tus cwj pwm, los ntawm rebooting ntaus ntawv:
rov pib dua
uas yuav tau siv sijhawm ntev dua li rov qhib lossis rov pib dua.
8. Tos 30-60 vib nas this rau lub cuab yeej nkag mus rau AP+STA hom.
9. Txuas koj lub khoos phis tawj host mus rau WiFi, xaiv lub network hu ua VoCore2…
10. Txheeb xyuas Is Taws Nem kev txuas los ntawm kev khiav:
ping -w 5 www.vocore.io
Cov lus teb yuav tsum qhia qee yam xws li:
64 bytes los ntawm 192.81.249.134: seq = 0 ttl = 56 lub sij hawm = 76.269 ms
64 bytes los ntawm 192.81.249.134: seq = 1 ttl = 56 sij hawm = 65.666 ms 64 bytes los ntawm 192.81.249.134: seq = 2 ttl = 56 sij hawm = 68.216 ms 64 bytes los ntawm 192.81.249.134: seq = 3 ttl = 56 sij hawm = 63.554 ms 64 bytes los ntawm 192.81.249.134: seq = 4 ttl = 56 lub sij hawm = 66.769 ms
Yog tias koj muaj teeb meem tau txais kev sib txuas hauv network los ua haujlwm, siv cov lus hais ua ntej rov pib dua. Yog tias qhov ntawd tsis ua haujlwm, txuas lub USB cable, tos 30 vib nas this, rov txuas lub xov tooj. Koj tseem tuaj yeem tshawb xyuas/sys/config/folder kom ntseeg tau tias cov lus txib (saum toj no) teeb tsa lawv cov ntaub ntawv cuam tshuam raug.
Kauj Ruam 8: Tswj Lub Onboard Liab LED
Txhawm rau tswj lub onboard LED uas ua rau liab thaum lub sijhawm ua haujlwm WiFi, Kuv pom tias cov hauv qab no ua haujlwm:
Un-trigger LED hauv Luci App
Los ntawm Luci app:
- Siv cov ntawv qhia zaub mov mus rau System> LED teeb tsa.
- Teeb tus txhais rau "tsis muaj".
- Nias Txuag thiab Thov
Tej zaum lub chaw teeb tsa yuav ua rau lub xeev no tom qab khau raj, tab sis kuv tsis tau sim qhov ntawd.
Tswj LED nrog Console Commands
Txhawm rau qhib LED:
ncha 1>/sys/class/leds/vocore2 \: fuchsia \: xwm txheej/ci ntsa iab
Txhawm rau tua LED tawm:
ncha 0>/sys/class/leds/vocore2 \: fuchsia \: status/brightness
Ceev faj
Kev tswj hwm LED li no yuav cuam tshuam nrog OpenWrt kev siv LED, tab sis ua haujlwm thaum lub sijhawm kuv sim.
Ib txoj hauv kev zoo dua ntawm kev tswj hwm GPIO yog siv cov lus txib xa tawm, txawm li cas los xij cov lus txib no tsis ua haujlwm rau GPIO44 (uas tswj hwm LED, raws li kev qhia paub thiab router phau ntawv teev cov duab qhia saum toj no). Yog li Cov Txheej Txheem Ua Haujlwm yuav zoo li, tseem tuav lub LED no, txawm hais tias Luci teeb tsa.
Kauj Ruam 9: Cov peev txheej
Nov yog qee qhov txuas uas kuv pom muaj txiaj ntsig lossis txaus nyiam raws li kuv tau kawm txog VoCore-OpenWrt ecosystem.
VoCore
Qhov kawg
Wiki VoCore
Schematics
GitHub www.github.com/vonger/vocore2
Luci https://192.168.61.1/cgi-bin/luci (ib zaug txuas nrog VoCore WiFi)
Designer Blog
OpenWrt
Phau Ntawv Qhia Neeg Siv
Pib sai
uci
Network
Wireless
- Client
- Nkag mus
- Utilities
Lo lus zais
Tsev Automation
cRelay Library
uBoot
Cov ntawv thov
Puffy LEDs
LED/unbrick
Mediatek
Global Engineer
Hackaday
VoCore 1
PC Txuas
Lwm yam
CLI pib
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
Kawm Yuav Ua Li Cas Kos Tus Tswm Ciab - Kauj Ruam Ib Kauj Ruam: 6 Kauj Ruam
Kawm Yuav Ua Li Cas Thiaj Li Tswmciab - Kauj Ruam Ib kauj ruam: Cov tswm ciab no siv sijhawm 10 feeb los kos yog tias koj ua raws kuv cov kauj ruam ua tib zoo
Ntxiv dag zog SSL Cov Kev Pabcuam ntawm Koj Lub Web Server (Apache/ Linux): 3 Cov Kauj Ruam
Ntxiv dag zog SSL Cov Kev Pabcuam ntawm Koj Lub Vev Xaib (Apache/ Linux): Nov yog cov lus qhia luv luv txhawj xeeb txog ib yam ntawm kev ruaj ntseg hauv internet - lub zog ntawm ssl kev pabcuam ntawm koj lub web server. Cov keeb kwm yav dhau los yog ssl cov kev pabcuam ntawm koj lub vev xaib tau siv los xyuas kom tsis muaj leej twg tuaj yeem nyiag cov ntaub ntawv uas yog kis