This guide helps you to get started with Ynvisible Segment Display Driver 4. The driver is included in the Segment Display Kit. Follow the simple steps below and you'll be up and running in minutes.
Required Hardware
Ynvisible 2x7-segment display (or another design if you prefer)
Arduino Library for the driver 4.1, RDOT_ECD_I2C_1.0 (download here)
Connecting the components
Connect the Arduino to the driver board with the jumper wires.
SDA to A4 (On Uno) or SDA pin
SCL to A5 (On Uno) or SCL pin
VCC to 5V
GND to GND
Insert the display in the connector on the driver board. Make sure that the display electrodes are well aligned with the connector electrodes. The leftmost display electrode must be connected to the leftmost electrode in the connector.
Add the library to the Arduino IDE
Install and open Arduino IDE
Click "Sketch"/"Include Library"/"Add .ZIP Library..." in the main menu
Go to your downloads folder and choose RDOT_ECD_I2C_1.0.zip
Upload your first code
Connect the Arduino to your computer with a USB cable
Create a new file in the Arduino IDE
Replace the code in the editor with the code below:
#include<RDOT_ECD_I2C_1.0.h>int i2c_address =43;//The i2c address of driver board 4.1int number_of_segments =15;//Number of segments on display (1-15)
RDOT_ECD ECD(i2c_address, number_of_segments);//ECD Objectvoidsetup(){}voidloop(){for(int i=-99; i<100; i++){//Counting from -99 to 99.
ECD.setNumber2x7(i);//Set display to number idelay(5000);//5 seconds delay between each update}}
Click "upload" (the right arrow on the upper left in the Arduino IDE)
Congratulations! Your display should now count from -99 to 99.
For more information about the Arduino library, read the documentation here.
Please don't hesitate to contact sales@ynvisible.com if there are questions or comments.
Check out THE latest news
Press releases, success stories, and educational content from Ynvisible University.