![]() |
發(fā)布時間: 2020-3-6 17:20
正文摘要:37款傳感器與模塊的提法,在網(wǎng)絡(luò)上廣泛流傳,其實(shí)Arduino能夠兼容的傳感器模塊肯定是不止37種的。鑒于本人手頭積累了一些傳感器和執(zhí)行器模塊,依照實(shí)踐出真知(一定要動手做)的理念,以學(xué)習(xí)和交流為目的,這里準(zhǔn)備 ... |
john_yike 發(fā)表于 2020-4-5 20:44 謝謝師傅!半年前做的實(shí)驗(yàn),有些忘記,板子也找不到了,呵呵 |
eagler8 發(fā)表于 2020-3-24 17:19 105# 如何改? |
eagler8 發(fā)表于 2020-3-24 16:45 103# Processing sipeed-maixduino (platform: kendryte210; framework: arduino; board: sipeed-maixduino) --------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION:docs.platformio點(diǎn)org/page/boards/kendryte210/sipeed-maixduino.html PLATFORM: Kendryte K210 1.2.1 #6099b97 > Sipeed MAIXDUINO HARDWARE: K210 400MHz, 6MB RAM, 16MB Flash DEBUG: Current (iot-bus-jtag) External (iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, sipeed-rv-debugger, tumpa) PACKAGES: - framework-maixduino 0.3.9 - tool-kflash-kendryte210 0.9.1 - tool-openocd-kendryte 1.203.1 (2.3) - toolchain-kendryte210 8.2.0 LDF: Library Dependency Finder -> bit點(diǎn)ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 14 compatible libraries Scanning dependencies... No dependencies Building in release mode Checking size .pio\build\sipeed-maixduino\firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [ ] 0.5% (used 32456 bytes from 6291456 bytes) Flash: [ ] 0.4% (used 68319 bytes from 16777216 bytes) Configuring upload protocol... AVAILABLE: iot-bus-jtag, jlink, kflash, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, sipeed-rv-debugger, tumpa CURRENT: upload_protocol = kflash Looking for upload port... Auto-detected: COM11 Uploading .pio\build\sipeed-maixduino\firmware.bin [INFO] COM Port Selected Manually: COM11 [INFO] Default baudrate is 115200 , later it may be changed to the value you set. [INFO] Trying to Enter the ISP Mode... *************** Greeting fail, check serial port ([ERROR] No vaild Kendryte K210 found in Auto Detect, Check Your Connection or Specify One by`-p COM3` ) *** [upload] Error 1 =========================================================== [FAILED] Took 24.30 seconds =========================================================== Environment Status Duration -------------------- -------- ------------ sipeed-maix-go FAILED 00:00:21.691 sipeed-maix-one-dock FAILED 00:00:22.965 sipeed-maix-bit FAILED 00:00:23.936 sipeed-maixduino FAILED 00:00:24.296 ====================================================== 4 failed, 0 succeeded in 00:01:32.889 ====================================================== 終端進(jìn)程已終止,退出代碼: 1 終端將被任務(wù)重用,按任意鍵關(guān)閉。 |
eagler8 發(fā)表于 2020-3-24 09:12 83樓,platformio platform install “kendryte210” 沒有雙引號,platformio platform install kendryte210 |
eagler8 發(fā)表于 2020-3-24 09:12 83號樓的操作要先運(yùn)行 88號樓,安裝 Git client端, |
eagler8 發(fā)表于 2020-3-24 09:12 打開后是這個樣子哦,如何解決? Microsoft Windows [版本 6.1.7601] 版權(quán)所有 (c) 2009 Microsoft Corporation。保留所有權(quán)利。 C:\Users\Administrator> |
4、串口終端PuTTY的控制命令: CTRL-A-在空白行上,進(jìn)入原始REPL模式 CTRL-B-在空白行上,進(jìn)入常規(guī)REPL模式 CTRL-C-中斷正在運(yùn)行的程序 CTRL-D-在空白行上,對電路板進(jìn)行軟復(fù)位 CTRL-E-在空白行上進(jìn)入粘貼模式 5、有關(guān)可用模塊的列表,請鍵入help('modules') KPU gc random uio Maix hashlib re ujson __main__ heapq sensor ulab _boot image socket uos _thread json struct urandom _webrepl lcd sys ure array machine time usocket audio math touchscreen ustruct binascii math ubinascii utime board micropython ucollections utimeq builtins modules ucryptolib uzlib cmath nes uctypes video collections network uerrno zlib errno os uhashlib fpioa_manager pye_mp uheapq Plus any modules on the filesystem |
實(shí)時采集并顯示圖像在TFT屏上,并獲取和顯示實(shí)時幀數(shù)
|
實(shí)時拍照
|
|
附:kflash_gui 特性 支持 *.bin 和 *.kfpgk 文件, 支持文件選擇器選擇 支持開發(fā)板選擇 可選擇程序燒錄到 Flash 或者 SRAM 自動檢測電腦上的串口 波特率可編輯 黑白兩種皮膚可供選擇 界面支持中英文切換 支持燒錄進(jìn)度顯示和燒錄速度顯示 支持取消下載進(jìn)程 支持合并多個 bin 文件為一個 bin 文件 支持把 kfpkg 文件轉(zhuǎn)換為一個 bin 文件 支持使能 bin 文件 自動識別文件是不是固件 kflash_gui 使用方法 下載文件(kflash_gui_v*.*) 下載地址:release頁面 解壓, 并雙擊 kflash_gui.exe 或 kflash_gui 可以自行建快捷方式或者固定到開始頁面或者固定要任務(wù)欄方便使用; 如果是 Linux, 可以修改 kflash_gui.desktop 里面的路徑, 然后用管理員身份復(fù)制到/usr/share/application 目錄, 然后就可以在系統(tǒng)菜單里面找到kflash_gui的圖標(biāo)了,點(diǎn)擊即可打開 選擇 bin 文件或者 kfpkg 文件, 如果是bin文件需要指定地址,如果是固件需要指定0x0000地址 選擇開發(fā)板 選擇燒錄到開發(fā)板的哪個位置 Flash(速度慢但是重新上電還可運(yùn)行) 或者 SRAM(RAM中運(yùn)行,下載快斷電丟失程序) 選擇串口 選擇波特率,推薦1.5M 點(diǎn)擊 下載 按鈕來開始下載 如果需要取消,點(diǎn)擊 取消 按鈕 |
Powered by 單片機(jī)教程網(wǎng)