aytwartoofyoroo

Arduino 1.3'' OLED Shield

 
Overview

Introduction

This module has a 1.3-inch OLED screen with a resolution of 128x64, a standard micro SD card slot, and a five-way switch. It can be used on any development board with a standard Arduino UNO interface (including but not limited to Arduino, STM32-Nucleo/Disc, NXP-EVK, Rensas-EK and other development boards). The onboard level converter can achieve perfect compatibility between 5V and 3.3V.

Xianyu is now on the shelves, click on the link (the link needs to be opened in the mobile phone’s built-in browser):
[Xianyu] https://m.tb.cn/h.fCOXm0K?tk=6uqS2IsVnn2 CZ3457 "I posted on Xianyu [ Arduino 1.3-inch OLED expansion module]"
or directly search for the user "Three Hanzo equals" in Xianyu

characteristic

  • 1.3 (1.29) inch OLED display, resolution 128x64, SPI interface
  • Designed for Arduino UNO, but compatible with all development boards with standard UNO R3 interface
  • The level conversion chip ensures that the module can work at 5V (Arduino AVR) and 3.3V (STM32 or other) levels
  • A standard MicroSD card slot
  • A five-way switch, connected using ADC analog button, occupying only 1 IO (ADC interface)
  • Additional reset button
  • There is another set of IO interface pads reserved on the expansion board. You can manually weld pin headers or female headers to expand the IO interface.

make

OLED screen purchase link: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.1e9d2e8dAJkqNQ&id=601041736707&_u=1nd0n7r655c

Other components can be purchased at Lichuang Mall according to the BOM. TVS does not need to be soldered, and components marked TBD do not need to be soldered.

Precautions

  • When programming, please do not exceed the SPI communication rate of 10MHz. Normally, a bus speed of about 1MHz is enough to meet the needs of this module.
  • When the SD card is initialized, the bus speed cannot exceed 400kHz (if you use Arduino's SD library, no additional processing is required)
  • When used in a 5V system, during initialization, regardless of whether a microSD card is used or not, the Arduino pin (D12) connected to the MISO signal of the microSD card should be set to input mode at the first time. It is strictly prohibited to set the D12 interface to output mode and output 1 (high level), which may damage your microSD card. code show as below:
void setup(void) {
  // Set the SD's MISO Pin as input mode first, VERY IMPORTANT!
  pinMode(12,INPUT); 
  // ---Other codes below---
}
  • If you use this module on a platform other than Arduino, you need to be careful not to pull the CS pins of the SD card and OLED display low at the same time, which may damage the SD card or OLED screen.

Attachment description

The attached Arduino 1.3''OLED Shield Examples_v1.0.zip contains sample code for Arduino, including three examples:

  • Joystick_Test joystick test program
  • OLED_Graphics_Test OLED drawing test program
  • SDCard_ImageBrowser SD card test program requires preparing an SD card formatted as FAT32 in advance, and placing the two bin files in the media folder in the root directory of the SD. Note that this example requires a minimum of 4KB of memory, so it will not run on the Arduino UNO.

The sample code needs to rely on the Adafruit SSD1306 library, which can be installed in the library manager.
The ESP8266 development board used in the test is also an open source project, link: https://oshwhub.com/micespring/esp8266duino

picture

Finished product picture

image.png

Run chart

image.png

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-15 02:18:12
  • FPGA Design Practice (Logic)
  • SIMterix-Simplies~4~ Verilog
  • [Repost] Discover Schottky diodes in life
  • For a 4-layer board, is it possible to lay ground on all 4 layers?
  • 6. [Learning LPC1768 library functions] Watchdog experiment
  • [AT32F421 Review] +PWM adjusts fan speed

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号