Git Product home page Git Product logo

inkplate-6-arduino-library's Introduction

Inkplate 6 Arduino library

Arduino library for all-in-one e-paper display Inkplate 6 can be found in this repo. Inkplate 6 is a powerful, Wi-Fi enabled ESP32 based six-inch e-paper display โ€“ recycled from a Kindle e-reader. Its main feature is simplicity. Just plug in a USB cable, open Arduino IDE, and change the contents of the screen with few lines of code. Learn more about Inkplate 6 on Crowd Supply.

Setting up Inkplate 6 in Arduino IDE

In order to get a head start with Inkplate 6, follow these steps:

  1. Install Inkplate 6 board definition - add Inkplate 6 as a board into your Arduino IDE. Follow the instructions on the link.
  2. Install CH340 drivers (if you don't have them yet) - instructions here
  3. Install Inkplate 6 Arduino library - install the library from this repo into your Arduino IDE. If you don't know how, check our tutorial.
  4. Install custom SdFat library into your Arduino IDE.
  5. You are ready to get started! Select Tools -> Board -> Inkplate 6, as well as correct COM port and upload!

dev branch

If you are looking for the latest features, but not fully tested, take a look at our dev branch.

Code examples

There are many examples in the library that you demonstrate how to use any of the Inkplate functionality.

  1. Basic Inkplate Functionality

1.1. Basic Monochrome - use the screen in monochrome mode (graphics & text)

1.2. Basic Grayscale - use the screen in grayscale mode (graphics & text)

1.3. Basic Partial Update - do a partial update of the screen on Inkplate 6

1.4. Basic Custom Fonts - add custom fonts and use them to write text on the screen

  1. Advanced Inkplate Functionality

2.1. WiFi HTTP Request - make HTTP request while connected too WiFi

2.2. Low Power - put Inkplate in sleep in order to save battery

2.3. Battery Voltage And Temperature - measure battery voltage and temperature of the board

2.4. Touchpads - get readings from onboard touch pads

2.5. SD BMP Pictures - show .bmp images from the SD card on the screen

2.6. Inkplate SD TXT File - read .txt file from the SD card and show it on the screen

2.7. easyC - use easyC ecosystem (I2C) and read a sensor value

2.8. MCP23017 Expander - use onboard MCP23017 expander for your own external devices

2.9. Web Server - make Inkplate a web server

  1. Others

3.1. Slave Mode - mode that enables control of the screen from any external device using UART

3.2. Screen Cleaning - clean the screen in case of image burn-in

Using Inkplate 6 with another microcontroller

As promised in an early update, Inkplate 6's screen contents can be updated using 3rd controller (such as Raspberry Pi or another microcontroller). The "Slave Mode" (unpopular name right now, we are aware and will change) enables this. All brand new Inkplates come pre-programmed with slave mode and can be used right away.

It is based on UART (serial) communication - connect the Inkplate to "master" board either via USB cable or directly via ESP32 RX and TX pins. Using standard UART at 115200 baud, you can send commands to change screen contents. For example, send #7(123,014,050,010,005,00)#L(1) to draw a rounded rectangle on the screen. Find documentation for using it here.

Battery power

Inkplate 6 has two options for powering it. First one is obvious - USB port at side of the board. Just plug any micro USB cable and you are good to go. Second option is battery. Supported batteries are standard Li-Ion/Li-Poly batteries with 3.7V nominal voltage. Connector for the battery is standard 2.00mm pitch JST connector. The onboard charger will charge the battery with 500mA when USB is plugged at the same time. You can use battery of any size or capacity if you don't have a enclosure. If you are using our enclosure, battery size shouldn't exceed 90mm x 40mm (3.5 x 1.57 inch) and 5mm (0.19 inch) in height. This battery is good fit for the Inkplate.

Micropython

If you are looking for micropython support, it is still work in progress - we are new with it! :) When it's ready, we will let you know with new project update.

License

This repo uses the source code from Adafruit libraries: MCP23017, Adafruit GFX.

Where to buy & other

Inkplate 6 is available for purchase via:

Inkplate 6 is open-source. If you are looking for hardware design of the board, check the Hardware repo. You will find 3D printable enclosure there, as well as detailed dimensions. In this repo you will find code for driving the ED060SC7 e-paper display used by Inkplate.

For all questions and issues, please use our forum to ask an question. For sales & collaboration, please reach us via e-mail.

inkplate-6-arduino-library's People

Contributors

davidzovko avatar nitko12 avatar thorinair avatar bornabiro avatar joncar avatar quexint avatar kratz00 avatar ddd-mtl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.