====== OLED Shield ======
64x48 pixels (0.66” Across) OLED Shield with I2C
[[tutorials:shields:get_started_with_oled_shield|Get Started]]
[[http://www.aliexpress.com/store/product/OLED-Shield-for-WeMos-D1-mini-0-66-inch-64X48-IIC-I2C/1331105_32627787079.html|Buy Now]]
{{:products:d1_mini_shields:oled_v1.1.0_1.jpg?direct|}}
{{:products:d1_mini_shields:oled_v1.1.0_2.jpg?direct|}}
===== Features =====
* **Screen Size:** 64x48 pixels (0.66” Across)
* **Operating Voltage:** 3.3V
* **Driver IC:** SSD1306
* **Interface:** IIC(I2C)
* **IIC Address:** 0x3C or 0x3D
===== Pins =====
^D1 mini^Shield^
|D1|SCL|
|D2|SDA|
===== Arduino Code =====
==== SparkFun Library ====
* Install [[https://github.com/sparkfun/SparkFun_Micro_OLED_Arduino_Library/tree/master|SparkFun_Micro_OLED_Arduino_Library]]
* [[https://github.com/wemos/D1_mini_Examples/tree/master/examples/04.Shields/OLED_Shield/Use_SparkFun_Library|Test Code]]
==== Adafruit SSD1306 Library ====
* Install [[https://github.com/mcauser/Adafruit_SSD1306/tree/esp8266-64x48|Adafruit_SSD1306_Library]] (Add support by [[https://github.com/mcauser|@mcauser]])
* [[https://github.com/mcauser/Adafruit_SSD1306/blob/esp8266-64x48/examples/ssd1306_64x48_i2c/ssd1306_64x48_i2c.ino|Test Code]]
===== NodeMCU Code =====
* Build NodeMCU Firmware with **ssd1306_64x48_i2C** support using [[http://nodemcu-build.com/|NodeMCU custom build]] cloud service.
{{:products:d1_mini_shields:build_u8g.png?direct&600|Build NodeMCU Firmware with ssd1306_64x48_i2C support}}
* Test code: [[https://github.com/wemos/D1_mini_Examples_lua/blob/master/Shields/OLED_Shields/oled_test.lua|oled_test.lua]]
===== Documents =====
* [[tutorials:shields:get_started_with_oled_shield]]
* {{ :products:d1_mini_shields:mini_oled.pdf |Schematic}}