「Parts:DevBoard:Raspberry Pi Pico」の版間の差分
68行目: | 68行目: | ||
!'''Name''' | !'''Name''' | ||
!'''pin''' | !'''pin''' | ||
− | |rowspan="20" |[[ | + | |rowspan="20" |[[file:RpiPicoV.jpg|200px]] |
!'''pin''' | !'''pin''' | ||
!'''Name''' | !'''Name''' |
2023年10月14日 (土) 17:30時点における版
メーカー Ai-Thinker 商社 HiLetgo ボード名 NodeMCU-32S (ArduinoIDE設定有) CPU Espressif ESP32-WROOM-32 240MHz FLASH 4MB 80MHz SRAM 512kB Schematic Diagram EasyEDA Dimensional drawing 25.4x38.26mm Document Specification:---
NodeMCU Specification ReleaseGitHub:Arduino core for the ESP32, ESP32-S2 and ESP32-C3
GitHub:NodeMCU on ESP32
GitHub:NodeMCU DevKit V1.0
Datasheet Module NodeMCU-32S_v1.pdf(Ai-Thikner製NodeMCU-32Sの資料) ※HiLetgo製のDevBoardには#ENにC1:1μFがないので外付け必須です。
CPU esp32-wroom-32_datasheet_en.pdf 販売店 日本 Amazon \1168 中国
Pin Function
ESP32-DevKitC-32Dとピンコンパチ
注意事項
下記端子は他の用途での使用は禁止。
・SPI:SCK=P18 / MOSI=P23 / MISO=P19
・I2C:SDA=P21 / SCL=P22
・指定用途以外で使用禁止:#EN / IO0 / U0TX / U0RX / SD1 / SD2 / SD3 / SD4
※pin16,17はSerial2 ????
※タッチセンサ touchAttatchInterrupt(T0,実行関数,logic) 応答の読み方は未調査
HiLetgo製NodeMCU-32Sは、EN端子~GND間に積層セラミックコンデンサ1μFを追加する必要があります。
・Ai-Thinker製ボードは上記データシートの通りに#ENに1μFが追加されており、この問題が対策されています。
・このコンデンサがあると、PCからプログラムを書き込んだ時にシリアル通信のDTR信号により自動的にENがLowになりResetされ、自動的に書き込みが開始されます。
・このコンデンサを付けなくても、プログラム書き込み時にENスイッチを約1秒押す事により正常に書き込みができます。
基本的な使い方
VSCodeでプログラムを作る場合でも、ArduinoIDEの機能を使うため、両方をインストールします。
Arduino IDEしか使わない場合にはVSCodeをインストールする必要はありません。
Arduino IDE
Visual Studio Code (VSCode)
HiLetgo HP内の説明
Description:
HiLetgo ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller
The ESP32 integrated with Antenna switches, RF Balun, power amplifiers, low-noise amplifiers, filters, and management modules, and the entire solution occupies the least area of PCB.
2.4 GHz Wi-Fi plus Bluetooth dual-mode chip, with TSMC Ultra-low power consumption 40nm technology, power dissipation performance and RF performance is the best, safe and reliable, easy to extend to a variety of applications.
Reference links of ESP32 at below: https://github.com/espressif/arduino-esp32 https://github.com/nodemcu/nodemcu-firmware/tree/dev-esp32 Package included: 1 * ESP-WROOM-32 ESP32 ESP-32S Development Board
If it cann't get bluetooth working? Using Node32s as the Board selection. To reference GPIO pins in code use just the number, for example "digitalWrite(13, HIGH)" sets GPIO13 high. The built-in LED to GPIO2.