本篇介紹使用Pycharm開發Python程式與用Matplotlib套件繪圖。
1. 建立新專案並新增python檔案matplot.py
- Jul 14 Sun 2019 10:59
使用Pycharm開發Python程式與用Matplotlib繪圖
- Jul 14 Sun 2019 10:57
使用Pycharm開發第一支Python程式-Hello World
本篇簡單說明如何使用Pycharm來開發Python程式,
以下是建立.py與執行的步驟:
- Jun 15 Sat 2019 18:47
Django的MTV框架Model, View, template互動流程
本篇來整理一下Django的MTV框架,了解彼此間的關係與應用,
MTV代表了Model, Template與View,由 Model 負責資料層,View 負責視覺,Controller 負責商業邏輯的部份。
用下圖來說明MTV之間的互動流程,當使用者用瀏覽器與Django寫的網頁進行互動,首先會是跟哪個URL先產生互動,url.py會有urlpatterns來定義互動的網頁/址與對應的函數,如與company/互動,就會對應到view中company函數。
- Jun 09 Sun 2019 18:09
啟動MySQL Workbench與建立Database 和 Table
- Jun 09 Sun 2019 17:25
在Windows上安裝MySQL Community Server
- May 25 Sat 2019 17:00
在Arduino IDE安裝ESP32 Add-On
為了在Arduino上開發ESP32的開發版,我們需要在Arduino IDE上裝ES32 Add-On,
安裝Arduino IDE1.8.9
1. 到 https://www.arduino.cc/en/Main/Donate 下載Arduino IDE,選just download即可。
2. 安裝Arduino IDE
- May 25 Sat 2019 13:06
Windows下安裝Python、virtualenv與 Django
- May 25 Sat 2019 12:27
Windows下安裝Pycharm與新增Django專案
- Mar 01 Fri 2019 13:09
[Python] 好用的Python編輯器-Google Colaboratory與Jupyter Notebook線上版
[若不想看pixnet的廣告,請到: https://labview-tech.blogspot.com/2019/02/python-google-colaboratory.html]
作為一個想學Python的初學者,想使用簡單可以花最少時間學習的介面,我發現Jupyter Notebook是不錯的工具,一般Jupyter Notebook是要安裝在電腦上,會需要經過一些設定的程序,但也有線上版本(如: https://jupyter.org/try)。
可以選Try Jupyter with Python試看看Jupyter Notebok的功能,
- Mar 01 Fri 2019 13:04
[Python] For Loop 迴圈練習
[若不想看pixnet廣告,請到此連結: https://labview-tech.blogspot.com/2019/02/python-for-loop.html ]
For Loop練習,使用Google colaboratory。
1. 定義一個List,print List中的值
- Mar 01 Fri 2019 12:54
[Python] IF條件判斷
[若不想看Pixnet的廣告,請看: https://labview-tech.blogspot.com/2019/03/python-if.html]
這邊來做幾個Python IF條件的判斷練習
1. if 判斷條件:
- Mar 03 Sat 2018 11:38
使用BLE Dongle (BLED112)與LabVIEW BLE Toolkt遭遇的問題
目前想使用BLED112與LabVIEW BLE Toolkit與BLE M+Arduino作結合,想Read與Write資料,
雖然這個BLE Module與App Inventor 2的資料讀寫,已經證實可行,
但在與BLED112與LabVIEW BLE Toolkit的搭配上卻還有這一些問題,
首先是Characteristic UUID與Service UUID無法被發現:
Error 0 occurred at Client Characteristic Configuration for Service: 0000FFF0-0000-1000-8000-00805f9b34fb and Characteristic 0000FFF1-0000-1000-8000-00805f9b34fb was not found
接下來內容請到我的blogger:
https://labview-tech.blogspot.tw/2018/02/bel-dongle-bled112labview-ble-toolkt.html
- Jan 21 Sun 2018 07:05
(下) BLE (Bluetooth Low Energy) Toolkit for LabVIEW (低功耗藍芽工具套件)
- Jan 13 Sat 2018 13:15
(上) BLE (Bluetooth Low Energy) Toolkit for LabVIEW (低功耗藍芽工具套件)
之前使用過 App inventor開發過BLE App,但實在是有不方便的地方
例如Debug的部分,
最近翔從 LabVIE來實現與BLE的溝通,於是搜尋相關資訊,發現LabVIEW有提供相關的套件,
1. 以下是下載資訊:
- Oct 29 Sun 2017 18:41
[未完] UX自學資訊
- May 28 Sun 2017 13:28
Arduino應用:利用analogResolution()增加類比訊號讀取的解析度
I try to increase th resolution of the analog signal. I think there are two methods to fillfull it. One is the adjustment the analog reference which is provided in Mega boards, another is to use higher resolution Arduino boards such as DUE.
I had tried these two methods and I wrote down some tips in the following:
After I tried Mega2560 and DUE, Mega2560 board can implement the function of analogReference(), but Due didn’t.
Due only has 3.3V analog reference. If you want to change AREF of DUE, external AREF and some hardware modification are required.
- May 06 Sat 2017 10:22
[贊助區] 使用Arduino與MCP3551進行RTD (PT100) 量測並在Processing顯示
我們使用MCP3551來實現RTD的量測,
主要是因為電路簡單,相關的電路可以在Microchip網站查詢,
本文是使用single mode的方式來讀取PT100的Analog數值,並換算成溫度值,
由於網路上的範例並不完整,有時會讀不到PT100的Analog數值,
- Apr 16 Sun 2017 13:19
Arduino問題 WProgram.h: No such file or directory
有時候會在網路上Download一些別人寫好的函式庫與範例,
在執行時會遇到:"WProgram.h: No such file or directory"訊息,
基本上我是在該函式庫的.cpp以及.h中,將原先的"WProgram.h" 改成 "Arduino.h",
下載的範例即可執行,
- Apr 09 Sun 2017 14:04
如何在Eagle PCB中將元件至於電路板背面
Eagle PCB提供入門者不用花昂貴的費用就可以嘗試Layout電路圖與電路板
在繪製電路圖時,如果拉線時需要經由Via將上電路板正面的線轉到電路板背面,
只需要圖在層上正反面切換,即可完成,
如下圖:
- Apr 09 Sun 2017 13:41
如何輸入已寫好的函式庫(資料夾或ZIP)到Arduino函示庫中
由於網路上有很多寫好的Arduino函式庫,大部分都是用成ZIP下載,
我查了一些關於如何撰寫的資料,如果有興趣可以試著寫看看: