DUSUN-LOGO

DUSUN DSGW-210 IoT Edge Computer Gateway

DUSUN-DSGW-210-IoT-Edge-Computer-Gateway-FEA

Tlhahisoleseding ya Sehlahiswa

Hangzhou Roombanker Technology Co., Ltd. e hlahisa IoT Edge Computer Gateway Lebitso la Mohlala: DSGW-210. Sehlahisoa sena se etselitsoe ho sebetsa joalo ka heke ea IoT lipakeng tsa lisebelisoa le leru. Heke e fana ka khokahanyo e sireletsehileng le e ka tšeptjoang ho leru, ho etsa hore ho be bonolo ho laola le ho laola lisebelisoa ka thōko.

Selelekela
Tataiso ena ea ho Qala ka Potlako e hlalosa lintlha tsa motheo: mokhoa oa ho hokahanya le ho theha sepheo sa hau ho marang-rang; mokhoa oa ho kenya SDK; le mokhoa oa ho haha ​​​​litšoantšo tsa firmware.
Linux Software Developer's Kit (SDK) ke hardware e kenyelelitsoeng le software suite e nolofalletsang baetsi ba Linux ho etsa lits'ebetso hekeng ea Dusun's DSGW-210.
E ipapisitse le 4.4 Linux kernel, le ho sebelisa software e teng e bulehileng ea mohloli, SDK e nolofatsa mokhoa oa ho eketsa lits'ebetso tsa tloaelo. Bakhanni ba lisebelisoa, ketane ea lisebelisoa tsa GNU, Pro defined configurationfiles, le samplikopo tsohle li kenyelelitsoe.

Tlhahisoleseling ea Gateway

DSGW-210 IoT Edge Computer Gateway e na le processor ea ARM Cortex-A53 quad-core, 1GB DDR3 RAM, le 8GB eMMC flash memory. E boetse e na le module ea Wi-Fi e hahelletsoeng, likou tse peli tsa Ethernet, le boema-kepe ba USB 2.0 bakeng sa lisebelisoa tsa kantle.

Litaba tsa Motheo
Heke e tšehetsa liprothokholo tse fapaneng tse kang MQTT, CoAP, le HTTP. E boetse e na le a web-e thehiloeng tsamaisong segokanyimmediamentsi sa sebolokigolo e lumellang basebedisi ba ho lokisa le ho laola heke ka remoutu.

  • SOC: RK3328
    • Quad-core ARM Cortex-A53
    • Mali-450MP2 GPU
  • Phepelo ea motlakase: DC-5V
  • LTE module: BG96 (LET CAT-1)
  • Module oa Wi-Fi: 6221A (Chip ea Wi-Fi: RTL8821CS)
  • Zigbee: EFR32MG1B232F256GM32
  • Z-wave: Setšoantšo sa ZGM130S037HGN
  • Bluetooth: EFR32BG21A020F768IM32
  • eMMC: 8GB
  • SDRAM: 2BG

Sehokedi
DSGW-210 IoT Edge Computer Gateway e na le likhokahano tse latelang:DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (1)

  • Likou tse 2 tsa Ethernet
  • 1 USB 2.0 boema-kepe
  • Mojule oa Wi-Fi o hahelletsoeng

Sepheo sa Setupo

DSGW-210 IoT Edge Computer Gateway e ka hlophisoa e le sesebelisoa se shebiloeng bakeng sa merero ea ntlafatso ea IoT. Karolo ena e hlalosa mokhoa oa ho hokela heke ho komporo ea hau e amohelang le marang-rang.

Ho hokela monyako - Matla

  1. Etsa bonnete ba hore adaptara ea matla ke 5V/3A.
  2. Khetha adaptara e nepahetseng ea polaka ea motlakase bakeng sa sebaka seo u leng ho sona. E kenye sekoting ho Phepelo ea Matla a Universal; ebe o hokela phepelo ea motlakase sebakeng sa ho tsoa.
  3. Hokela plug e hlahisoang ea phepelo ea motlakase ho heke

Ho hokela heke - koung ea USB

  1. Hokela ntlha e 'ngoe ea thapo ea USB boema-kepeng ba USB ho laptop kapa komporong
  2. Hokela pheletsong e 'ngoe ea thapo ea USB boema-kepeng ba USB hekeng.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (2)

Ho hokela boto ea PCBA - Serial Port
Haeba u batla ho debug heke, u ka bula khetla, Connect PC ho PCBA boto ka Serial ho USB sesebelisoa.
PIN ka boto bakeng sa khokahano ea serial: TP1100: RX TP1101: TXDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (3)

Kopanya Tikoloho ho Haha

Ho qala ho aha likopo tsa IoT bakeng sa DSGW-210 IoT Edge Computer Gateway, o hloka ho theha tikoloho ea nts'etsopele ka ho latela mehato ena:

Ka kopo sebelisa setšoantšo sa ubuntu 18.04 .iso ho hlophisa tikoloho ea hau ea kaho. U ka sebelisa mochini o sebetsang kapa PC ea 'mele ho kenya ubuntu 18.04.

  • Mochini oa Virtual
    Ho kgothaletswa hore basebelisi ba li-novice ba sebelise mechine ea sebele, ba kenye ubuntu 18.04 mochineng oa sebele, 'me ba siee sebaka se lekaneng sa disk (bonyane 100G) bakeng sa mochine oa sebele.
  • Ubuntu PC Kopanya Tikoloho ho 
    Ts'ebeliso ea basebelisi ba ho kopanya mochini ba ka sebelisa Ubuntu PC.

SDK Ho Fumana le ho Itokisa

  1. Khoasolla khoutu ea mohloli ho tsoa ho Dusun FTP
    Lebitso la sephutheloana sa mohloli e tla ba 3328-linux-*.tar.gz, e fumane ho Dusun FTP.
  2. Tlhahlobo ea Phakete ea Khoutu
    Mohato o latelang o ka nkoa feela ka mor'a ho hlahisa boleng ba MD5 ba sephutheloana sa khatello ea mohloli le ho bapisa boleng ba MD5 ba mongolo oa MD5 .txt ho tiisa hore boleng ba MD5 bo tšoana, 'me haeba boleng ba MD5 bo sa tšoane, matla khoutu pakete e senyehile, ka kopo, khoasolla hape.
    $ md5sum rk3328-linux-*.tar.gz
  3. The Source Compression Package ha e koaletsoe
    Kopitsa khoutu ea mohloli bukeng e tsamaisanang le eona 'me u notlolle sephutheloana sa compression sa khoutu ea mohloli.
    • $ sudo -i
    • $ mkdir workdir
    • $ cd mosebetsi
    • $ tar -zxvf /path/to/rk3328-linux-*.tar.gz
    • $ cd rk3328-linux

Ho Kopanya Likhoutu

Ho qala, Kopano ea lefats'e

  1. Qala ho Kopanya Liphetoho tsa Tikoloho (khetha file sistimi)
    U ka haha ​​​​setšoantšo sa buildroot, ubuntu kapa debian rootfs. E khethe ho "./build.sh init".DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (4)
    Re u khothaletsa ka matla hore u thehe le ho tsamaisa sistimi ka li-buildroot rootfs ho tloaelana le hardware le tikoloho ea kaho, ha u qala. Kamora hore o leke sisteme ea buildroot, o ka leka ubuntu le debian system.
  2. Lokisa Motso File Motheo oa tsamaiso
    Karolo ena ke ea ho aha ubuntu kapa debian file tsamaiso. Haeba u batla ho aha buildroot file tsamaiso, tlola karolo ena.
    Kopanya Ubuntu
    Khoasolla motso file sephutheloana sa compression ea sistimi ubuntu.tar.gz The Root file Sistimi e hatella bukana ea sephutheloana: Unzip sephutheloana sa compression
    $ tar -zxvf ubuntu.tar.gz // o fumana ubuntu.img
    Kopitsa motso file tsamaiso ka tsela e nepahetseng
    $ cd workdir/rk3328-linux
    $ mkdir ubuntu
    $ cp /path/to/ubuntu.img ./ubuntu/
    Kopanya Debian
    Khoasolla motso file sephutheloana sa compression ea sistimi debian.tar.gz Unzip sephutheloana sa compression
    $ tar -zxvf debian.tar.gz // u fumana linaro-rootfs.img
    Kopitsa motso file tsamaiso ka tsela e nepahetseng
    $ cd workdir/rk3328-linux
    $ mkdir debian
    $ cp ./linaro-rootfs.img ./debian/
  3. Qala ho Kopanya
    $ ./build.sh
    Theha lenane le felletseng la firmware files: rockdev/update.img le litšoantšo tse ling tse arohaneng, update.img e kenyelletsa firmware eohle bakeng sa ntlafatso e feletseng.
  4. Matha Setšoantšo ka boto
    Hokela serial port ea RK3328 ho PC ka USB ho UART Bridge. Sebelisa Putty kapa software e 'ngoe ea Terminal e le sesebelisoa sa hau sa console,
    LITLHAKISO TSA SERIAL CONSOLO:
    • 115200/8N1
    • Boemo: 115200
    • Lintlha tsa data: 8
    • Parity Bit: Che
    • Emisa Bit: 1
      PHAHAMA boto, u ka bona buka ea boot ho console:DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (5)

E hlophisitse Karolo ka 'ngoe ea setšoantšo ka thoko

  1. Sistimi ea kaho le sebopeho sa setšoantšo
    Update.img e entsoe ka likarolo tse 'maloa. Likarolo tse kholo ke uboot.img, boot.img, recovery.img, rootfs.img. uboot.img e na le bootloader uboot boot.img e na le sefate sa sesebelisoa .dtb setšoantšo, Linux kernel image recovery.img: The system can boot up to recovery mode, recovery.img ke rootfs e sebelisoang ka mokhoa oa ho hlaphoheloa. rootfs.img: Setšoantšo se tloaelehileng sa rootfs. Ka mokhoa o tloaelehileng, qala sistimi ebe o kenya setšoantšo sena sa rootfs. U kanna ua hloka ho aha litšoantšo ka thoko, haholo ha u tsepamisitse maikutlo ho nts'etsopele ea module e le 'ngoe (mohlala, uboot kapa kernel driver). Ebe o ka haha ​​​​karolo eo feela ea setšoantšo mme oa ntlafatsa karohano eo ka flash.
  2. Haha Uboot feela
    $ ./build.sh uboot
  3. Haha Linux Kernel Feela
    $ ./build.sh kernel
  4. Haha Pholiso File Sistimi feela
    $ ./build.sh ho hlaphoheloa
  5. Haha File Sistimi feela
    $ ./build.sh rootfs
  6. Sephutheloana sa ho qetela sa setšoantšo
    $ ./build.sh updateimg

Taelo ena e etsang rockdev/*.img scatter firmware packaging e aha ho directory update.img

Tse ling ka sistimi ea buildroot

Haeba u sebelisa li-rootroot rootfs, mangolo / lisebelisoa tse ling tsa Dusun li se li kentsoe metsong ea ho qetela ea li-buildroot. U ka bua ka buildroot/dusun_rootfs/add_ds_rootfs.sh

Likarolo tsa lisebelisoa tsa liteko
Liteko tse latelang li etsoa tlas'a sistimi ea buildroot.

  1. Lekola Wi-Fi joalo ka AP
    Sengoliloeng sa "ds_conf_ap.sh" ke sa ho theha Wi-Fi AP, SSID ke "dsap", password ke "12345678".DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (6) DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (7)
  2. Tlhahlobo ea BG96
    bg96_dial.sh e sebelisetsoa ho daela BG96.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (8) DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (9)

U hloka ho lokisa APN, username/password bakeng sa BG96, ka quectel-chat-connect le quectel-ppp. file. Pele o etsa tlhahlobo.

# katse /etc/ppp/peers/quectel-chat-connectDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (10)

# katse /etc/ppp/peers/quectel-pppDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (11)

  • LED ea tekoDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (12)
  • Teko ea I2CDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (13)
    Ha e le hantle LED e laoloang ke I2C interface.

Mokhoa oa ho etsa menuconfig ho buildroot
Mokhoa o tloaelehileng oa buildroot rootfs config file: buildroot/configs/rockchip_rk3328_defconfig Recovery mode buildroot rootfs config file: buildroot/configs/rockchip_rk3328_recovery_defconfigDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (14)

Haeba u batla ho fetola tlhophiso ea buildroot, mehato ke ena:DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (15)

Mokhoa oa ho kenya ts'ebeliso sefateng sa mohloli oa buildroot

  1. Etsa directory buildroot/dusun_package/
  2. Kenya khoutu ea mohloli oa APP files le Etsafile ho buildroot/dusun_package/< your_app > your_app.h your_app.c Makefile
  3. Etsa directory buildroot/package/< your_app > Config.in your_app.mk
  4. Kenya Config.in sourcing ho buildroot/package/Config.inDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (16)
  5. Etsa menuconfig ho khetha APP ea hau, 'me u boloke tlhophiso file joalo ka 5.2.
  6. "./build.sh rootfs" ho aha li-rootfs Ka kopo, sheba ho buildroot/dusun_package/dsled/, ke ex ea bohlokoaample.

Fetolela ho ubuntu kapa debian system
Haeba u thehile setšoantšo sa sistimi ea buildroot, 'me u batla ho fetohela ho ubuntu kapa setšoantšo sa debian. Ha ho hlokahale hore u hloekise 'make' le ho etsa mohaho o hloekileng. Etsa feela mehato e latelang:

  1. "./build.sh init" ho khetha ubuntu kapa debian
  2. "./build.sh rootfs" ho aha bocha botho kapa debian rootfs
  3. “./build.sh” ho aha ntlafatso ea ho qetela.img

Hlokomela, lisebelisoa le mengolo ea dusun li kopitsoa ho li-buildroot rootfs, eseng ho ubuntu kapa debian rootfs. Haeba u batla ho li kopitsa ho ubuntu kapa debian rootfs, u ka fetola buildroot/dusun_rootfs/add_ds_rootfs.sh. Bakeng sa li-APP, u ka kopitsa khoutu ho boto 'me ua e haha ​​​​ho botho kapa tsamaiso ea debian, kaha e na le gcc le lisebelisoa tse ling.

Nts'etsopele e se nang mohala (Zigbee, Z-Wave, BLE, LoRaWAN)

Ka kopo, theha sistimi ea debian ho etsa mehato e latelang. Khoutu e tla hlophisoa ka boto, eseng ho moamoheli.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (17)

  1. Lokisetsa laeborari e itseng botong
  2. scp SDK “buildroot/dusun_rootfs/target_scripts/export_zigbee_zwave_ble_gpio.sh” ho tloha moamoheli ho ea ho board, tlasa /rootDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (18)
  3. Matla ka li-module tsa waelese ka sekepeng.

Zigbee
Sehokelo sa Zigbee ke /dev/ttyUSB0. Khoasolla "Z3GatewayHost_EFR32MG12P433F1024GM48.tar.gz" ho tsoa ho Dusun FTP, 'me u e kopise ho board, tlasa /root.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (21)

Ebe u haha ​​​​Z3Gateway 'me u tsamaee. Bakeng sa tlhaiso-leseling e batsi ka Z3Gateway, ka kopo etela https://docs.silabs.com/ bakeng sa tlhaiso-leseling e batsi.

Z-Leqhubu
Sebopeho sa Z-Wave ke /dev/ttyS1. Khoasolla ” rk3328_zwave_test.tar.gz ” ho tsoa ho Dusun FTP, 'me u e kopille botong, tlasa /root.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (20)

E notlolle 'me u ka fumana ./zipgatewayDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (21)DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (22)

Joale theha sesebelisoa se bonolo sa teko 'me u tsamaise: Ho "my_serialapi_test", tobetsa 'a' ho kenyelletsa sesebelisoa sa zwave, 'r' ho qhelela ka thoko sesebelisoa, 'd' ho reset ho ea kamehla, 'i' ho fumana lenane la lisebelisoa le 'q' ho tlohela. Zipgateway ke siliabs software, "my_serialapi_test" ke sesebelisoa se bonolo haholo. Bakeng sa tlhaiso-leseling e batsi ka Zipgateway, ka kopo etela https://docs.silabs.com/ bakeng sa tlhaiso-leseling e batsi.

Sebaka sa Z-Wave
Haeba bakeng sa kamehla Dusun e hahiloe, maqhubu a Z-Wave a ka hlophisoa ho /etc/config/dusun/zwave/region Default ke 0x00: EU.

0x01 - US 0x02 - ANZ 0x03 - HK 0x04 - Malaysia
0x05 - India 0x06 - Iseraele 0x07 - Russia 0x08 - China
0x20 - Japane 0x21 - Korea    

LEBETSA
BLE interface ke /dev/ttyUSB1. Khoasolla "rk3328_ble_test.tar.gz" ho tsoa ho Dusun FTP, 'me u e kopitse ho board, tlasa /root.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (23)

E notlolle 'me u ka fumana ./bletest build ble sesebelisoa sa tlhahlobo' me u tsamaise: Lintlha tse ling mabapi le sesebelisoa sa tlhahlobo sa BLE, ka kopo etela https://docs.silabs.com/ bakeng sa tlhaiso-leseling e batsi.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (24)

LoRaWAN
Khetha sebopeho se nepahetseng bakeng sa LoRaWAN, mohlalaample /dev/spidev32766.0. Tlhophiso file hobane e ho ./sx1302_hal/packet_forwarder/global_conf.json. Khoasolla "sx1302_hal_0210.tar.gz" ho tsoa ho Dusun FTP, 'me u e qopille botong, tlasa /root.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (25)

E tlose 'me u ka fumana ./sx1302_hal build LoRaWAN sample code sx1302_hal and run: Lintlha tse ling mabapi le khoutu ea LoRaWAN, ka kopo etela https://www.semtech.com/products/wireless-rf/lora-core/sx1302 bakeng sa lintlha tse ling.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (26)

Ntlafatso ea setšoantšo

  1. Ntlafatsa Tool
    Ntlafatsa sesebelisoa:AndroidTool_Release_v2.69
  2. Kena ho Upgrade Mode
    1. Hokela boema-kepe ba OTG koung ea USB e tukang, e sebetsa joalo ka phepelo ea motlakase ea 5V
    2. Tobetsa "Ctrl+C" ha uboot e qala, ho kenya uboot:DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (27)
    3. uboot "rbrom" comand ho qala boto hore e be maskrom mode, bakeng sa ntlafatso e felletseng ea "update.img".DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (28)
    4. Taelo ea "rockusb 0 mmc 0" ea ho qalisa boto ho ea mochini oa loader, bakeng sa ntlafatso ea karoloana ea firmware kapa ntlafatso e felletseng ea "update.img".DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (29) DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (30)
  3. Phakete e feletseng ea Firmware "update.img" Ntlafatsa
  4. Ntlafatsa Firmware ka thokoDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (31)

Tlhophiso ea tsamaiso ea matla

Chip ea taolo ea betri Dusun e sebelisitsoeng ke Mekhoa ea BQ25895 ea ho ntlafatsa ts'ebeliso ea matla ea CPU e thathamisitsoe,

  • Fetola parameter ea cpufreq.DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (32)
  • Koala cpu, fokotsa maqhubu a phahameng ka ho fetisisa a cpuDUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (33)
  • SoC e nang le meralo ea ARM Big-Little e ka tlama mesebetsi ka ho jarisa li-cores tse nyane ka CPUSET kaha ts'ebetso ea matla ea mantlha e betere.
    Hlokomela: SoC e nang le meralo ea SMP e ka boela ea tlama mesebetsi ho cpu e le hore li-cpus tse ling li kene ka mokhoa o tlase oa tšebeliso ea matla, empa mohlomong e tla etsa hore cpu e be bonolo ho sebetsa ka maqhubu a phahameng, a tla eketsa ts'ebeliso ea matla. DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (34)
  • Fokotsa bandwidth ea cpu ea mesebetsi ka phallo e phahameng ka CPUCTL (e hloka ho nolofalletsa macro CONFIG_CFS_BANDWIDTH).DUSUN-DSGW-210-IoT-Edge-Computer-Gateway- (35)

Mokatong oa 8, moaho oa A, setsi sa Wantong, Hangzhou 310004, china
Mohala: 86-571-86769027/8 8810480
Websebaka: www.dusuniot.com
www.dusunremotes.com
www.dusunlock.com

Nalane ea Phetoho

Tlhaloso Sehlopha. Update Description By
Moruti Letsatsi
1.0 2021-08-06   Tokollo ea mofuta o mocha  
1.1 2022-04-05   Eketsa tsamaiso ea Matla  
1.2 2022-06-06   Kenya khokahano ea serial  

Litumello

Mokhatlo Lebitso Sehlooho Letsatsi
       

Litokomane / Lisebelisoa

DUSUN DSGW-210 IoT Edge Computer Gateway [pdf] Bukana ea Mosebelisi
DSGW-210 IoT Edge Computer Gateway, DSGW-210, IoT Edge Computer Gateway, Computer Gateway, Gateway

Litšupiso

Tlohela maikutlo

Aterese ea hau ea lengolo-tsoibila e ke ke ea phatlalatsoa. Libaka tse hlokahalang li tšoailoe *