Search this site
Embedded Files
亞魯的實體教室
  • MicroPython on the ESP32 with Wokwi Simulator
  • MicroPython on the ESP32
    • ESP32 exercise
  • HUB 8735 ultra
    • HUB 8735 ultra 前置作業
    • ST7789 TFT LCD
    • I2C with ESP32 Huge APP
    • V7RC rtsp
  • Tinka
    • Tinka前置作業
    • 範例程式
  • Pico W
    • Pico W前置作業
    • Traffic light
  • Project
    • AIoT traffic safety system
    • Computer Vision
  • 演算法
    • 排序
  • App inventor
    • AI2前置作業
    • 個人名片Resume APP
    • 以google sheet為查詢資料庫
    • 最大、最小值、平均值及AI Chatbot
    • 上傳ThingSpeak及line notify
  • AI人工智慧
    • M5stack UnitV2視覺辨識
    • SU-03T語音辨識
    • 用AI加速學習
    • wake word喚醒詞
  • ESP32-IoT
    • MQTT publish
    • MQTT subscribe
    • MQTT subscribe by Cyberpi
    • Google sheet
    • ThingSpeak
    • Line Notify
    • IFTTT
    • Mesh LAN (halocode with Cyberpi)
  • ESP32-BunHMI
    • BunHMI前置作業
    • Label
  • ESP32-CAM with Thonny
    • ESP32 CAM前置作業
    • 內建閃光燈
  • ESP32 with Thonny
    • ESP32前置作業
    • LED按鈕
    • I2C LCD
    • DHT11
    • Relay
    • I2C LCD顯示DHT11
    • PIR與ISD1820錄放音模組
    • Ultrasonic
    • LDR
    • PIR
    • Vibration
    • Ultra sonic、Servo、Led and Relay
    • 連線mqtt與google sheet進行pir、servo與buzzer控制
    • Automatic watering by soil moisture
  • ESP32-BlocklyDuino
    • LED I
    • LED II
    • Photoresistor
    • OTTO GO
  • ESP32-M5STACK
    • LINE Notify by ultrasonic
    • LINE Notify by RFID
    • watering and MQTT
    • RFID and MQTT
    • Firebase by ENVIII
    • Inventory Management by AI2、 google sheet and MQTT
    • Blynk by ENVIII
  • Python
    • projects
    • LeetCode
    • Course
  • Scratch
    • Scratch exercise
  • 關於
  • 自主學習|Self-directed Learning
  • 學生作品| student's project
    • apcs
亞魯的實體教室
  • MicroPython on the ESP32 with Wokwi Simulator
  • MicroPython on the ESP32
    • ESP32 exercise
  • HUB 8735 ultra
    • HUB 8735 ultra 前置作業
    • ST7789 TFT LCD
    • I2C with ESP32 Huge APP
    • V7RC rtsp
  • Tinka
    • Tinka前置作業
    • 範例程式
  • Pico W
    • Pico W前置作業
    • Traffic light
  • Project
    • AIoT traffic safety system
    • Computer Vision
  • 演算法
    • 排序
  • App inventor
    • AI2前置作業
    • 個人名片Resume APP
    • 以google sheet為查詢資料庫
    • 最大、最小值、平均值及AI Chatbot
    • 上傳ThingSpeak及line notify
  • AI人工智慧
    • M5stack UnitV2視覺辨識
    • SU-03T語音辨識
    • 用AI加速學習
    • wake word喚醒詞
  • ESP32-IoT
    • MQTT publish
    • MQTT subscribe
    • MQTT subscribe by Cyberpi
    • Google sheet
    • ThingSpeak
    • Line Notify
    • IFTTT
    • Mesh LAN (halocode with Cyberpi)
  • ESP32-BunHMI
    • BunHMI前置作業
    • Label
  • ESP32-CAM with Thonny
    • ESP32 CAM前置作業
    • 內建閃光燈
  • ESP32 with Thonny
    • ESP32前置作業
    • LED按鈕
    • I2C LCD
    • DHT11
    • Relay
    • I2C LCD顯示DHT11
    • PIR與ISD1820錄放音模組
    • Ultrasonic
    • LDR
    • PIR
    • Vibration
    • Ultra sonic、Servo、Led and Relay
    • 連線mqtt與google sheet進行pir、servo與buzzer控制
    • Automatic watering by soil moisture
  • ESP32-BlocklyDuino
    • LED I
    • LED II
    • Photoresistor
    • OTTO GO
  • ESP32-M5STACK
    • LINE Notify by ultrasonic
    • LINE Notify by RFID
    • watering and MQTT
    • RFID and MQTT
    • Firebase by ENVIII
    • Inventory Management by AI2、 google sheet and MQTT
    • Blynk by ENVIII
  • Python
    • projects
    • LeetCode
    • Course
  • Scratch
    • Scratch exercise
  • 關於
  • 自主學習|Self-directed Learning
  • 學生作品| student's project
    • apcs
  • More
    • MicroPython on the ESP32 with Wokwi Simulator
    • MicroPython on the ESP32
      • ESP32 exercise
    • HUB 8735 ultra
      • HUB 8735 ultra 前置作業
      • ST7789 TFT LCD
      • I2C with ESP32 Huge APP
      • V7RC rtsp
    • Tinka
      • Tinka前置作業
      • 範例程式
    • Pico W
      • Pico W前置作業
      • Traffic light
    • Project
      • AIoT traffic safety system
      • Computer Vision
    • 演算法
      • 排序
    • App inventor
      • AI2前置作業
      • 個人名片Resume APP
      • 以google sheet為查詢資料庫
      • 最大、最小值、平均值及AI Chatbot
      • 上傳ThingSpeak及line notify
    • AI人工智慧
      • M5stack UnitV2視覺辨識
      • SU-03T語音辨識
      • 用AI加速學習
      • wake word喚醒詞
    • ESP32-IoT
      • MQTT publish
      • MQTT subscribe
      • MQTT subscribe by Cyberpi
      • Google sheet
      • ThingSpeak
      • Line Notify
      • IFTTT
      • Mesh LAN (halocode with Cyberpi)
    • ESP32-BunHMI
      • BunHMI前置作業
      • Label
    • ESP32-CAM with Thonny
      • ESP32 CAM前置作業
      • 內建閃光燈
    • ESP32 with Thonny
      • ESP32前置作業
      • LED按鈕
      • I2C LCD
      • DHT11
      • Relay
      • I2C LCD顯示DHT11
      • PIR與ISD1820錄放音模組
      • Ultrasonic
      • LDR
      • PIR
      • Vibration
      • Ultra sonic、Servo、Led and Relay
      • 連線mqtt與google sheet進行pir、servo與buzzer控制
      • Automatic watering by soil moisture
    • ESP32-BlocklyDuino
      • LED I
      • LED II
      • Photoresistor
      • OTTO GO
    • ESP32-M5STACK
      • LINE Notify by ultrasonic
      • LINE Notify by RFID
      • watering and MQTT
      • RFID and MQTT
      • Firebase by ENVIII
      • Inventory Management by AI2、 google sheet and MQTT
      • Blynk by ENVIII
    • Python
      • projects
      • LeetCode
      • Course
    • Scratch
      • Scratch exercise
    • 關於
    • 自主學習|Self-directed Learning
    • 學生作品| student's project
      • apcs

Tinka

範例程式

  1. 安裝問題請參考前置作業

  2. 對照擴充板與Arduino板確認腳位

  3. 可使用GPIO腳位或gpb模組,查詢模組方式:

    • 互動環境

    • import

    • dir()

Tinka擴充板

Arduino

交錯閃燈

LED按鈕

按下按鈕控制亮燈

I2C LCD

scl對應開發板C0,sda對應開發板C1

小夜燈

利用LDR 光敏電阻控制led燈

溫濕度 DHT11

  1. dht模組與普通的不同, 不需要另外measure()

  2. f-strring在這個python版本無法使用

  3. °  英文輸入, 按住alt 再輸入 0176 , 放開alt

超音波與伺服馬達

  1. 也可以改用gpb模組

  2. servo務必保留轉動用的暫停時間,以免後面指令太早下

風扇fan PWM(反轉)

  1. ina:2號腳位、正轉

  2. inb:3號腳位、反轉

  3. not 非,如果是True,就會變成False,反之亦然。

  4. if rotate 沒給後面的值,指的是非零的情形。

風扇fan Pin(正轉)

  1. ina:2號腳位、正轉

  2. inb:3號腳位、反轉

  3. not 非,如果是True,就會變成False,反之亦然。

  4. if rotate 沒給後面的值,指的是非零的情形。

錄音機

搖桿控制伺服馬達

語音控制

  1. 如果用自訂義語音則start(10)

喇叭控制播放

  1. volume值 0~63

  2. 可利用文字轉語音網站,並將語音檔案下載到SD卡內

Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse