13.07.2015 Views

OLED Display, Graphics 128x64 - 3.3V, SPI Features - Sunrom ...

OLED Display, Graphics 128x64 - 3.3V, SPI Features - Sunrom ...

OLED Display, Graphics 128x64 - 3.3V, SPI Features - Sunrom ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Operating LCD with 5V boardIf your microcontroller is at 5V level and the LCD can only operate on <strong>3.3V</strong> mode then you have totake care about two things. First is the power to be regulated at <strong>3.3V</strong> from 5V. For that you can seebelow we have used LM1117-3.3 regulator. Second thing to consider is the 5V I/O voltage comingfrom microcontroller has to be dropped to <strong>3.3V</strong> as required by LCD. For that we have added resistordivider using 2K2 in series and 3K3 to ground.5VU3LCD <strong>128x64</strong>MCU 5V OperationLCD <strong>3.3V</strong> Operation<strong>128x64</strong> DOTS,<strong>SPI</strong><strong>OLED</strong> GRAPHICS LCDSUNROM.COM 1258GND+<strong>3.3V</strong>CSRSTD/C#SCKMOSI1234567C10100n3V324VOUTTABU6LM1117-3.3GND1VIN3C8100n5VR8R9R10R11R125V2K22K22K22K22K2C3100nR210KC533pC733pU4ATMega3212PB0/(XCK/T0)3PB1/(T1)4PB2/(INT2/AIN0)5PB3/(OC0/AIN1)6PB4/(SS)7PB5/(MOSI)8PB6/(MISO)PB7/(SCK)912Y28 Mhz131415161718192021RESETXTAL2XTAL1PD0/(RXD)PD1/(TXD)PD2/(INT0)PD3/(INT1)PD4/(OC1B)PD5/(OC1A)PD6/(ICP)PD7/(OC2)10VCCGNDGND1131PA0/(ADC0)PA1/(ADC1)PA2/(ADC2)PA3/(ADC3)PA4/(ADC4)PA5/(ADC5)PA6/(ADC6)PA7/(ADC7)AREFAVCCPC7/(TOSC2)PC6/(TOSC1)PC5/(TDI)PC4/(TDO)PC3/(TMS)PC2/(TCK)PC1/(SDA)PC0/(SCL)4039383736353433323029282726252423225VR33K3R43K3R53K3R63K3R73K3Demo of LCD connected to AVR Development Board with Demo Code added.The whole screen is picture stored in AVR and the <strong>128x64</strong> is the text printed using font lookup.4<strong>Sunrom</strong> Technologies Your Source for Embedded Systems Visit us at www.sunrom.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!