background image

Forums

Forums (http://adafru.it/forums)

 

© Adafruit Industries

Last Updated: 2014-03-05 08:15:09 AM EST

Page 22 of 22

Summary of Contents for SSD1306

Page 1: ...Monochrome OLED Breakouts Created by Ladyada Last updated on 2014 03 05 08 15 08 AM EST...

Page 2: ...64 OLED Arduino Library Examples Create Bitmaps Wiring 128x64 OLEDs Solder Header I2C or SPI Using with I2C Using with SPI Wiring 128x32 SPI OLED display 128x32 SPI OLED Wiring 128x32 I2C Display 128x...

Page 3: ...display is made of 128x64 or 128x32 individual white OLEDs each one is turned on or off by the controller chip Because the display makes its own light no backlight is required This reduces the power...

Page 4: ...28x64 display has all these interfaces available For the 128x32 OLED only SPI is available Frankly we prefer SPI since its the most flexible and uses a small number of I O pins so our example code and...

Page 5: ...st assured that your OLED is 5V ready All 1 3 128x64 and the small 128x32 SPI and I2C are 5V ready if you have a v2 0 96 128x64 OLED with the 5V ready mark on the front it s also 5V safe If you have a...

Page 6: ...high voltage OLED pin If you re using the internal charge pump this must be left unconnected If you re not using the charge pump connect this to a 7 9V DC power supply For most users we suggest conne...

Page 7: ...stalling the Adafruit_SSD1306 and Adafruit_GFX library restart the Arduino IDE You should now be able to access the sample code by navigating through menus in this order File Sketchbook Libraries Adaf...

Page 8: ...with the LCD assistant software http adafru it aPs First make your image using any kind of graphics software such as photoshop or Paint and save as a Monochrome Bitmap bmp Adafruit Industries http le...

Page 9: ...You might also want to try Horizontal if Vertical is not coming out right and import your monochrome bitmap image Save the output to a cpp file Adafruit Industries http learn adafruit com monochrome...

Page 10: ...You can use the output directly with our example code Adafruit Industries http learn adafruit com monochrome oled breakouts Page 10 of 22...

Page 11: ...D on top so all the short ends of the header stick thru the header pads Finish by soldering each of the 8 pins to the 8 pads I2C or SPI The nice thing about the 128x64 OLEDs is that they can be used w...

Page 12: ...ega it is 20 and on the Leonardo digital 2 Clk to I2C SCL on the Uno this is A5 on the Mega it is 21 and on the Leonardo digital 3 RST to digital 4 you can change this pin in the code later This match...

Page 13: ...display with other SPI devices D C CLK and DAT may be shared but CS must be unique for each device This matches the example code we have written Once you get this working you can try another set of p...

Page 14: ...a breadboard and place the OLED on top Solder the short pins into the OLED PCB Finally connect the pins to your Arduino GND goes to ground Vin goes to 5V DATA to digital 9 CLK to digital 10 D C to dig...

Page 15: ...SSD1306 SSD1306_128x32_SPI example If you re using the 128x32 OLED be sure to uncomment the define If you re using the 128x32 OLED be sure to uncomment the define SSD1306_128_32 in the top of Adafruit...

Page 16: ...because it has built in level shifting and regulator First up take a piece of 0 1 header 6 pins long Plug the header long end down into a breadboard Place the OLED on top Solder the short pins into t...

Page 17: ...and on the Leonardo digital 3 RST to digital 4 you can change this pin in the code later This matches the example code we have written Once you get this working you can change the RST pin You cannot c...

Page 18: ...f 0 1 header 10 pins long Place the header in a breadboard and then place the left hand side of the OLED on top And solder the pins This wiring diagram is only for the older 0 96 OLED that comes with...

Page 19: ...and pin 8 to ground Note If using the display with other SPI devices D C CLK and DAT may be shared but CS must be unique for each device You can connect the inputs of the level shifter to any pins yo...

Page 20: ...other microcontroller You ll also have to install the Adafruit GFX graphics core library at this github repo http adafru it aJa and install it after you ve gotten the OLED driver library UG 2864HSWEG...

Page 21: ...Buy OLED Displays Buy OLED Displays http adafru it aJN Adafruit Industries http learn adafruit com monochrome oled breakouts Page 21 of 22...

Page 22: ...Forums Forums http adafru it forums Adafruit Industries Last Updated 2014 03 05 08 15 09 AM EST Page 22 of 22...

Reviews: