This video shows how to use ChatGPT to implement Observer Pattern code in Arduino.
The content includes:

fishark 發表在 痞客邦 留言(0) 人氣()

 This Video shows how to use VS Code and PlatformIO to debug Arduino code in the ESP Wrover Kit with internal JTAG.
1. Introduce PlatformIO

fishark 發表在 痞客邦 留言(0) 人氣()

This video shows the test procedure of the software debugger used in the Arduino IDE.
本視頻展示一個軟體偵錯器在Arduino開發環境中的測試過程。

fishark 發表在 痞客邦 留言(0) 人氣()

This example shows how read the raw data of MPU6050 by using Arduino Mega2560.
There are several steps:

fishark 發表在 痞客邦 留言(0) 人氣()

 This video show the blinking of RGB LED controlled by Mega2560.
本影片展示用Mega2560控制RGB LED閃爍的狀況。

fishark 發表在 痞客邦 留言(0) 人氣()

This example shows how to install Arduino extension and edit Arduino code in the VS code.
這個範例說明如何在VS Code中安裝Arduino extension以及編輯Arduino程式碼。
1. Install Arduino extension in the VS code.
在VS code中安裝Arduino extension。
2. Set Arduino installation Path.
設定 Arduino的安裝路徑。
3. Ctrl+Shift+P to input command " Arduino: Examples".
使用 Ctrl+Shift+P去輸入"Arduino: Examples"指令。
4. Open Blinky example
打開Blink的範例
5. Select COM port and board type "Mega2560".
選擇COM port, 以及Mega2560開發版。
6. Modify code and upload to Mega2560.
修改程式碼然後上傳到Mega2560上。

fishark 發表在 痞客邦 留言(0) 人氣()

Read A0, A1 and A15 analog input and transfer to voltage value. in Range function check if voltage is in the right range.
讀出A0, A1和A15的類比訊號,轉換成電壓訊號,
然後再用inRange函式判斷是否有在正確的範圍內。

fishark 發表在 痞客邦 留言(0) 人氣()

由於一段時間沒使用Arduino,於是裝了最新的Arduinon IDE 1.8.10,
沒想到在執行LabVIEW程式時一直出現error 5003,讓我一度以為Mega2560的板子壞了,

fishark 發表在 痞客邦 留言(0) 人氣()


為了在Arduino上開發ESP32的開發版,我們需要在Arduino IDE上裝ES32 Add-On,
安裝Arduino IDE1.8.9 

fishark 發表在 痞客邦 留言(0) 人氣()

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.

fishark 發表在 痞客邦 留言(0) 人氣()

有時候會在網路上Download一些別人寫好的函式庫與範例,
在執行時會遇到:"WProgram.h: No such file or directory"訊息,
基本上我是在該函式庫的.cpp以及.h中,將原先的"WProgram.h" 改成 "Arduino.h",
下載的範例即可執行,

fishark 發表在 痞客邦 留言(0) 人氣()

lib_input001.jpg

由於網路上有很多寫好的Arduino函式庫,大部分都是用成ZIP下載,
我查了一些關於如何撰寫的資料,如果有興趣可以試著寫看看:
1. http://yehnan.blogspot.tw/2013/01/arduino.html

fishark 發表在 痞客邦 留言(0) 人氣()

1 2 3 4
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。