Omnibus F4 是一片性價比好、比較大眾化的飛控 (Flight Controller, FC),500塊台幣左右,就能買到一片體積小、重量輕、功能夠用的完整飛控。我也是比較了各家飛控之後,決定採用這款夠經濟、也還不退流行的 Omnibus F4。目前拍賣網上的賣家,多半都是販售 Omnibus F4 V3 或者 Omnibus F4 V3S 這兩種版本,其中 V3S 是有加上 LC 訊號濾波器的新版本,濾波器讓圖傳讓馬達頻率改變時,減少雜訊,讓信號更純淨、畫面減少波紋。從電路板正面 (有大顆 STM32 MCU 的那面),就可以看出差異,右邊是有濾波器的 V3S:
[教學] 認識 MicroPython (三) - 移植 Blink 範例程式到 NodeMCU
[教學] 認識 MicroPython (二) - 啟用 WebREPL 遠端 WebSocket 服務
安裝了 MicroPython 之後,花了一點時間,參考官網介紹的那些模組與指令,粗淺了解一下支援 NodeMCU、ESP8266 的 Python 模組,同時也想試驗一下,把 Arduino IDE 中,最簡單的 Blink 範例程式移植到 MicroPython 來。
要在 MicroPython 裡面寫入程式,你可以直接用 Python 語言的寫檔語法:
fp = open('main.py', 'w')
fp.writeline('import time\n")
fp.writeline('from machine import Pin\n')
...
只是這樣的搞法,程式出現小錯誤,要用上述寫檔方法改正,會很麻煩。WebREPL目前有上傳、下載檔案的功能,還不如在電腦編輯好,再用這個工具上傳比較方便。
[教學] 認識 MicroPython (一) - 安裝 MicroPython 核心進去 NodeMCU v3
買來 Node MCU v3 也快一年了,開始試著學用 Arduino IDE 來操作,之前也先試驗過 ESP8266。但總覺得用 Arduino IDE 來開發 IoT ,實在不是個聰明的方法,太多瑣碎的東西需要處理。C語言缺乏一些簡單現成的資料結構、沒有好用的字串處理功能,加上Arduino IDE 對網路、檔案的處理還停留在韌體的概念,對於需要大量處理資料、字串的 IoT 應用,Arduino IDE 簡直是個惡夢。所以自從設計了 Node MCU + NodeMCU Base Ver 1.0 的殼子之後,這玩意兒就這麼擱置了。最近重新發現 MicroPython 這個社群,原來 NodeMCU (ESP8266) 或 NodeMCU 可以裝上他們的 Firmware,並用 Python 語言來開發應用,前幾年曾經看過 MicroPython,但那時還沒有學會 Python,也沒有特別注意。
如果 Microcontroller 單片機,可以用 Python 開發程式,那該是多幸福的事情啊?
如果 Microcontroller 單片機,可以用 Python 開發程式,那該是多幸福的事情啊?
3D列印,改用 ABS 線材。如何預防翹邊?
![]() |
| 用過OK的「蝦皮牌」 ABS線材 |
另外,ABS 線材比 PLA 多耐熱一百度,到 160、170度才會變軟。還能溶於便宜的丙酮,清理噴頭的時候,直接把噴頭拆下,丟到裝有丙酮的小玻璃瓶裡面(我是用雞精瓶、保鮮膜封口),隔天用牙籤、牙刷,就能把噴頭管壁上的陳年線材,清理得乾乾淨淨、開口通暢。更重要的是,ABS 線材的價格不貴,蝦皮上一捆 2xx元的ABS就很好用了。
如何讓3D列印機,印出完美的第一層?
Is Gallery3 Compatible with PHP7? Yes!
Gallery3 (http://galleryproject.org/) is a free easy-to-manage photo gallery web application. It managed the photos like the way you put them in a HDD, but allows you to make a linkage to the file with website assess. I've used it for many years as the photo storage places for blog. However, I faced some problems after the OS was upgraded from Ubuntu 16.04 Server to Ubuntu 18.04 Server, while the PHP was upgraded from PHP5 to PHP7 in Ubuntu 18.04. The gallery3 version I've installed was version 3.0.9.
After the OS was upgraded, Gallery3 service showed an error message of HTTP Error 500. I've tried to debug the reason with xdebug, but it didn't show any helpful messages. I tried to find out some information from Google, but it is said that someone said Gallery 3 is not compatible to PHP7. It was sad of the compatibility bad news.
After the OS was upgraded, Gallery3 service showed an error message of HTTP Error 500. I've tried to debug the reason with xdebug, but it didn't show any helpful messages. I tried to find out some information from Google, but it is said that someone said Gallery 3 is not compatible to PHP7. It was sad of the compatibility bad news.
訂閱:
文章 (Atom)





