Skip to content

Ynvisible-Electronics/YNV-Driver-v5-Arduino-Library

Repository files navigation

YNV_Driver_v5 Arduino Library – GEN2 (Legacy)

Updated driver library for Ynvisible Gen2 Electrochromic Displays using Driver v5

Release Version


⚠️ Important Notes


📦 Overview

This library provides complete control of Ynvisible GEN2 electrochromic displays using the Driver v5 evaluation board.

It includes:

✔ Core Gen3 ECD Driver (YNV_ECD)

  • Color and Bleach transitions
  • Open‑circuit potential (OCP) sampling
  • Automatic refresh engine
  • Safe CE driving (DAC‑based virtual ground)
  • Accurate LSB-based amplitude logic

✔ Evaluation Kit Helpers

  • Ready-to-use control functions for:
    • 7‑segment (dot)
    • 15‑segment (negative & dot)
    • 3‑bars and 7‑bars displays

✔ Driver v5 Board Helpers

  • LED animations
  • Startup sequences
  • Simple debug indicators

📁 Repository Structure

YNV-Driver-v5-Gen3-Arduino-Library/
│
├── src/
│   ├── YnvisibleECD.cpp
│   ├── YnvisibleECD.h
│   ├── YnvisibleDriverV5.cpp
│   ├── YnvisibleDriverV5.h
│   ├── YnvisibleEvaluationKit.cpp
│   └── YnvisibleEvaluationKit.h
│
├── examples/
│   └── EvaluationKit/
│
├── keywords.txt
├── CHANGELOG.md
└── library.properties

🔧 Installation (Arduino IDE)

  1. Open Arduino IDE
  2. Go to: Tools → Manage Libraries…
  3. Search for YNV_Driver_v5
  4. Install the library

Done! 🎉


🖥 Getting Started

Include the driver:

#include <YnvisibleECD.h>
#include <YnvisibleEvaluationKit.h>

Initialize the Evaluation Kit:

evaluationKitInit();
display7SegDotRun(5, false);

Basic example:

int myPins[] = {2, 3, 4};
YNV_ECD display(3, myPins);

display.begin();                     // Color all → Bleach all
display.setSegmentState(0, true);    // ON
display.executeDisplay();

delay(2000);

display.setSegmentState(0, false);   // OFF
display.executeDisplay();

More examples:
File → Examples → YNV_Driver_v5_Gen3 → EvaluationKit


📚 Supported Hardware

✔ Driver board

  • Ynvisible Driver v5

✔ Displays (Gen2)

  • 7‑Segment (w/ dot)
  • 15‑Segment (negative)
  • 15‑Segment (middle dot)
  • Single segment
  • 3‑Bar, 7‑Bar displays

🛠 Version History

v1.1.0 – Major Driving Engine Update

  • Full documentation overhaul (headers, Doxygen, inline comments)
  • New organization of .h / .cpp files
  • Fixed Evaluation Kit configuration bugs
  • Improved safety: pointer protection, index bounds checks
  • Revamped electrochromic driving engine**
  • Removed Signage Kit from the library (until launch)
  • No API-breaking changes

v1.0.5

  • Updated display settings and added new animation profiles for Gen2 Displays

v1.0.4

  • General code clean‑up and formatting improvements

v1.0.3

  • Reverted incorrect changes introduced in v1.0.2
  • Returned library to validated behaviour based on correct documentation

v1.0.2

  • Expanded README with installation and usage sections
  • Fixed Signage Kit message handling

v1.0.1

  • Renamed library to comply with Arduino Library Specification (“Ynvisible Driver v5 Arduino Library” → YNV_Driver_v5)

v1.0.0

  • Initial release of the Driver v5 Arduino Library

📘 Documentation

Product documentation:
https://www.ynvisible.com/shop


🧩 Support

For questions or commercial support:
📧 sales@ynvisible.com

About

Arduino Library for the Driver v5 board

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors