WHADDA WPI437 1.3 Inch OLED Screen for Arduino User Manual

June 10, 2024
WHADDA

WPI437 1.3 Inch OLED Screen for Arduino

WPI437 1.3 Inch OLED Screen for Arduino

Product Overview

The Whadda product is an OLED display that has several advantages such as low power consumption, high resolution, and a bright, large viewing angle for better readability. It requires a 2.8-5.5 V power supply and has a pin layout that includes SCK clock, MOSI data, reset, data/command, chip-select signal, and ground.

Safety Instructions

Before using the Whadda product, it is important to read and understand the instruction manual and all safety signs. The product is designed for indoor use only to ensure safe usage.

Product Usage Instructions

Before bringing the Whadda product into service, it is recommended to read the manual thoroughly. If the device was damaged during delivery, do not install or use it and contact your dealer for assistance.

To connect the Whadda product:

  1. Connect VCC pin to 5V and GND pin to GND
  2. Connect D0 (SCL) to D4, and RES (reset) to RESET
  3. Connect D1 (SCK) to D5, CS to D6, and DC (data/command) to D7

To upload the sketch:

  1. Go to Files Examples and scroll down to U8glib.
  2. Open the example Graphicstest.
  3. In the sketch Graphicstest, several types of displays can be selected. Un-comment U8GLIB_SH1106_128X64 u8g(4, 5, 6, 7) for WPI437.
  4. Compile and upload the sketch to your WPB100 for usage.

The Graphics test sketch with only the correct driver line for WPI437 is available in the code section of the manual. The product can now be used for its intended purpose.

Introduction

To all residents of the European Union
Important environmental information about this product
This symbol on the device or the package indicates that disposal of the device after its lifecycle could harm the environment. Do not dispose of the unit (or batteries) as unsorted municipal waste; it should be taken to a specialized company for recycling. This device should be returned to your distributor or to a local recycling service. Respect the local environmental rules.

If in doubt, contact your local waste disposal authorities.
Thank you for choosing Whadda! Please read the manual thoroughly before bringing this device into service. If the device was damaged in transit, do not install or use it and contact your dealer.

Safety Instructions

  • Read and understand this manual and all safety signs before using this appliance.
  • For indoor use only.
  • This device can be used by children aged from 8 years and above, and persons with reduced physical, sensory or mental capabilities or lack of experience and knowledge if they have been given supervision or instruction concerning the use of the device in a safe way and understand the hazards involved. Children shall not play with the device. Cleaning and user maintenance shall not be made by children without supervision.

General Guidelines

  • Refer to the Velleman® Service and Quality Warranty on the last pages of this manual.
  • All modifications of the device are forbidden for safety reasons. Damage caused by user modifications to the device is not covered by the warranty.
  • Only use the device for its intended purpose. Using the device in an unauthorized way will void the warranty.
  • Damage caused by disregard of certain guidelines in this manual is not covered by the warranty and the dealer will not accept responsibility for any ensuing defects or problems.
  • Nor Velleman Group nv nor its dealers can be held responsible for any damage (extraordinary, incidental or indirect) – of any nature (financial, physical…) arising from the possession, use or failure of this product.
  • Keep this manual for future reference.

What is Arduino

Arduino® is an open-source prototyping platform based on easy-to-use hardware and software. Arduino® boards are able to read inputs – light-on sensor, a finger on a button or a Twitter message – and turn it into an output – activating of a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so, you use the Arduino programming language (based on Wiring) and the Arduino® software IDE (based on Processing). Additional shields/modules/components are required for reading a twitter message or publishing online. Surf to www.arduino.cc for more information.

Product Overview

OLED displays have several advantages: low power consumption, a bright, large viewing angle for better readability and high resolution.

Specifications

  • resolution: 128 x 64 dots
  • viewing angle: > 160°
  • working voltage: 3-5 V
  • recommended library: U8glib
  • interface: SPI
  • driver: SSH1106
  • working temperature: -30 °C – 70 °C
  • OLED colour: blue
  • dimensions: 35 x 33.5 mm

Pin Layout

  • VDD: 2.8-5.5 V power supply
  • SCK: CLK clock
  • SDA: MOSI data
  • RES: reset
  • DC: data/command
  • CS: chip-select signal
  • GND: ground

Example

Connection

  • VCC → 5 V
  • GND → GND
  • D0 (SCL) → D4
  • RES → RESET
  • D1 (SCK) → D5
  • CS → D6
  • DC → D7

Uploading the Sketch

Go to the product page on www.velleman.eu and download the U8glib.zip file. Start the Arduino® IDE and import this library: Sketch → Include Library → Add Zip library. Once finished, go back to Sketch → Include Library → Manage libraries, and scroll down until you find the U8glib library. Select this library and tap “Update”. Now you have the latest version with examples

Go to Files → Examples and scroll down to U8glib. Open the example Graphicstest. In the sketch “Graphicstest”, several types of displays can be selected. Just “un-comment”
the one you need. For the WPI437 you have to un-comment: U8GLIB_SH1106_128X64 u8g(4, 5, 6, 7); Compile and upload the sketch to your WPB100 and enjoy

Code
The “Graphicstest” sketch with only the correct driver line for WPI437 looks like this:

GraphicsTest.pde

  • Before compiling: Please remove comment from the constructor of the
  • connected graphics display (see below).

Universal 8bit Graphics Library, https://github.com/olikraus/u8glib/ Copyright (c) 2012, olikraus@gmail.com

All rights reserved

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE

WPI437 1.3 Inch OLED Screen for Arduino 1 WPI437 1.3 Inch OLED Screen for Arduino 2 WPI437 1.3 Inch OLED Screen for Arduino 3

Modifications and typographical errors reserved
Velleman Group nv. WPI437_v01
Velleman Group nv, Legen Heirweg 33 – 9890 Gavere.

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals