Skip to content

ViSi-Genie: Arduino Scope

Introduction

This codebase example shows how to display analog data to a Scope Object. The Arduino reads a potentiometer connected to pin A0 and then maps the values read to comply with the minumum and maximum range of the scope object.

Prerequisites

This codebase example assumes the reader can program the 4D Systems display module using Workshop4 IDE ViSi-Genie environment. Beginners are advised to read the following aplication notes.

Instructions

This codebase presents a working example of the above. Below are the steps involved in programming the display and the host.

  1. Compile and upload the attached sketch to an Arduino Uno.

  2. Compile the project and upload it to any 4D Systems displays with PICASO, DIABLO-16, PIXXI-28 and PIXXI-44 graphics processors in this codebase example we are using uLCD-32PTU. Copy the supporting files to a uSD mounted to the PC. Properly unmount the uSD card from the PC and mount it to the target display.

  3. Properly connect the Arduino Uno to the traget display. See the application notes - ViSi-Genie: Connecting a 4D Display to an Arduino for this.

  4. Reset your Arduino Uno.

Attachment

Project File