Arduino Library for Flip-disc Displays. The library allows you to easily control flip-disc displays connected in series. You can connect up to 8 different displays in any order. This library is intended for use with the displays designed by www.Flipo.io - Marcin Saj.
 
 
Go to file
Marcin Saj 44667a9f33
Rename readme.md to README.md
2023-01-18 21:00:08 +01:00
datasheet
examples Rename readme.md to README.md 2023-01-18 21:00:08 +01:00
extras Add files via upload 2023-01-18 20:06:11 +01:00
src
LICENSE
README.md Update README.md 2023-01-18 20:56:29 +01:00
keywords.txt
library.json
library.properties

README.md

...work in progress...:

Arduino FlipDisc Library v1.0.0

https://github.com/marcinsaj/FlipDisc
The MIT License
Marcin Saj 15 Jan 2023


Introduction


Library Installation

To use the FlipDisc library:

  • First method
    • Open Library Manager in Arduino IDE.
    • Type library name "FlipDisc" and install it.
  • Second method
    • Go to https://github.com/marcinsaj/FlipDisc, click the Download ZIP button and save the ZIP file to a convenient location on your PC.
    • Uncompress the downloaded file. This will result in a folder containing all the files for the library, that has a name that includes the branch name, usually FlipDisc-master or FlipDisc-main.
    • Rename the folder to just FlipDisc.
    • Copy the renamed folder to the Arduino sketchbook\libraries folder.

Examples - Code & Diagrams

Several example sketches are included with the FlipDisc library.
In the examples section, in order to better understand the code, a visualization of connecting individual modules has been attached to each program code.

1 Show me code   Download diagram 🔻


2 Show me code   Download diagram 🔻


3 Show me code   Download diagram 🔻


4 Show me code   Download diagram 🔻


5 Show me code   Download diagram 🔻


6 Show me code   Download diagram 🔻


7 Show me code   Download diagram 🔻


8 Show me code   Download diagram 🔻


9 Show me code   Download diagram 🔻


10 Show me code   Download diagram 🔻


Warning!

The library uses SPI to control flip-disc displays. The user must remember to connect the display inputs marked DIN - data in - to the MOSI (SPI) output of the microcontroller and the CLK - clock - input of the display to the SCK (SPI) output of the microcontroller. In addition, it is very important to connect and declare EN, CH, PL pins. The declaration of DIN (MOSI) and CLK (SCK) is not necessary, because the <SPI.h> library handles the SPI hardware pins.

display -> microcontroller  
DIN -----> MOSI (SPI)  
CLK -----> SCK (SPI)  
EN ------> any digital pin  
CH ------> any digital pin  
PL ------> any digital pin 

Incorrect declaration of control pins or incorrect connection of modules may result in damage to flip-disc displays. When using the FlipDisc library with flip-disc displays, the user is responsible for ensuring that the connection of the display and power module corresponds to the declared control pins.

#define EN_PIN  'Set your pin'  // Start & End SPI transfer data
#define CH_PIN  'Set your pin'  // Charging PSPS module - turn ON/OFF
#define PL_PIN  'Set your pin'  // Release the current pulse - turn ON/OFF

Supported displays