Sparkfun Pro Micro 備忘録

2023.12.04追記

Arduino IDE 2.2.1使用。

①32U4のドライバーをインストールする。 Arduino_Boards-masterのsigned_driver

追加のボードマネージャの URL

https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json

③ボードマネージャで「SparkFun AVR Boards」 を探してインストール

~~~~~~~~~~~~~~~~~~~~~

i2cのピンが異なる。 

For i2C connections to Sparkfun Pro Micro or Arduino Micro, physical wiring is as follows:


SDA connects to Arduino Micro pin Labeled 2 (not A2)
SCL connects to Arduino Micro, pin Labeled 3 (not A3)
GND connects to GND

POWER: i2C devices usually require power. Pins may be labeled VCC, 5V or 3V. (*** BE CAREFUL HERE ***) This may be connected to Arduino Micro under the following conditions.
1) The i2C device consumes less current (ma) ,at all times, than your Arduino can provide.
2a) The i2C device consumes the same voltage that your Arduino provides.
2b) The i2C device consumes the less voltage that your Arduino provides, but has an added regulator that lowers the voltage to the correct level. Here's a trick: Place three 1N4007 diodes in series, to drop 5V down to 3V if you don't have a proper regulator on hand.

Pro MicroとOLEDディスプレイの接続

https://tomosoft.jp/design/?p=20376

Pro MicroとOLEDディスプレイの接続
Pro MicroOLEDディスプレイ
GNDGND
VCCVCC
3SCL
2SDA

割り込み番号

デジタルピンに対応した割り込みの番号を指定。

Boardint.0int.1int.2int.3int.4int.5
Uno, Ethernet23
Mega25602321201918
32u4 based (e.g Leonardo, Micro)32017

または

Uno、Nano、Mini、他の328ベースのボード2、3
Mega、Mega2560、MegaADK2、3、18、19、20、21
Micro、Leonardo、他の32u4ベースのボード0、1、2、3、7
Zero4番ピン以外のすべてのデジタルピン
Dueすべてのデジタルピン

コメント

このブログの人気の投稿

オンボード・グロープラグヒート製作(On-board glow plug heat circuit)①構想編

ICD2 clone project (completed)

オンボード・グロープラグヒート製作(On-board glow plug heat circuit)④ソフトウェア編