Skip to content

Add 4-gray for 4.2" bare E-Ink Display SSD1683 (ADA #6381) - #111

Merged
BlitzCityDIY merged 2 commits into
adafruit:mainfrom
mikeysklar:feather-epd-grayscale4-4in2-6381
Jun 15, 2026
Merged

BlitzCityDIY merged 2 commits into
adafruit:mainfrom
mikeysklar:feather-epd-grayscale4-4in2-6381

Conversation

@mikeysklar

@mikeysklar mikeysklar commented Jun 13, 2026 •

Copy link
Copy Markdown
Contributor

Adds 4-level grayscale support for the 4.2" bare E-Ink Display (#6381)

  • 400×300 GDEY042T81 panel with SSD1683 controller (FPC-190 ribbon).

Testing

Feather RP2040 ThinkInk direct-connect

6381-ssd1683-4gray-infocard-final

@mikeysklar
mikeysklar force-pushed the feather-epd-grayscale4-4in2-6381 branch from 57ba828 to f07039c Compare June 13, 2026 23:07
…(#6381)

Adds Adafruit_SSD1683_Grayscale4 class to adafruit_epd/ssd1683.py with
227-byte LUT and example for the 400x300 GDEY042T81 / FPC-190 panel.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@mikeysklar
mikeysklar force-pushed the feather-epd-grayscale4-4in2-6381 branch from f07039c to 7a15a9e Compare June 13, 2026 23:13
@mikeysklar

Copy link
Copy Markdown
Contributor Author

@BlitzCityDIY

@mikeysklar mikeysklar changed the title Add 4-gray grayscale support for 4.2" bare E-Ink Display SSD1683 (#6381) Add 4-gray for 4.2" bare E-Ink Display SSD1683 (ADA #6381) Jun 13, 2026
Comment thread adafruit_epd/ssd1683.py Outdated
0x01,
0x01,
0x01,
0x00,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format this better

Reformat _SSD1683_GRAY4_LUT from 231-line bytes([...]) into a compact
bytes.fromhex() block matching the ssd1680.py convention, grouped into
the GxEPD2 lut_4G 7-byte rows (byte-identical, 227 bytes). Addresses the
PR adafruit#111 review note about readability.

Bump the 4.2" example text sizes (3/4) and grow the bottom gray ramp to a
full 120px band to better fill the 400x300 panel. Hardware-verified on a
Feather RP2040 ThinkInk.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@mikeysklar

Copy link
Copy Markdown
Contributor Author

Compressed down to five waveform groups . Reduced LoC 231 -> 42.

Re-Tested and increased example size to match this giant screen.

6381-ssd1683-4gray-infocard-final

@BlitzCityDIY
BlitzCityDIY merged commit 7ed4e73 into adafruit:main Jun 15, 2026
1 check passed
adafruit-adabot pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 15, 2026
Updating https://github.com/adafruit/Adafruit_CircuitPython_EPD to 2.20.0 from 2.19.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#112 from mikeysklar/feather-epd-grayscale4-1in54-breakout
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#108 from mikeysklar/feather-epd-grayscale4-2in66-6392
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#110 from mikeysklar/feather-epd-grayscale4-2in13-6383
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#111 from mikeysklar/feather-epd-grayscale4-4in2-6381
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#105 from mikeysklar/feather-epd-grayscale4-2in13-breakout
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#106 from mikeysklar/feather-epd-grayscale4-2in9
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#107 from mikeysklar/feather-epd-grayscale4-2in13-featherwing
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#104 from mikeysklar/ssd1680-grayscale4-gdey0213b74

Updating https://github.com/adafruit/Adafruit_CircuitPython_GPS to 3.11.10 from 3.11.9:
  > Merge pull request adafruit/Adafruit_CircuitPython_GPS#128 from grgrant/fix-gtop_i2c_edge_case

Updating https://github.com/adafruit/Adafruit_CircuitPython_LIS331 to 1.1.0 from 1.0.25:
  > Merge pull request adafruit/Adafruit_CircuitPython_LIS331#10 from FoamyGuy/alternate_chip_id

Updating https://github.com/adafruit/Adafruit_CircuitPython_NAU88L21 to 1.0.1 from 1.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_NAU88L21#1 from FoamyGuy/left_justified_change

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1680 to 2.2.0 from 2.1.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#46 from mikeysklar/ssd1683-4.2-6381
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#45 from mikeysklar/grayscale4-2in13-bare-6383
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#44 from mikeysklar/grayscale4-2in66-6392
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#43 from mikeysklar/grayscale4-2in13-featherwing
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#42 from mikeysklar/grayscale4-2in9-featherwing
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#41 from mikeysklar/grayscale4-breakout-2in13

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1681 to 2.1.0 from 2.0.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1681#17 from mikeysklar/grayscale4-1in54-breakout

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font to 2.4.3 from 2.4.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_Bitmap_Font#76 from mtraver/glyph-cache-and-tests

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Emoji_Text to 1.0.5 from 1.0.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Emoji_Text#7 from FoamyGuy/fix_xy_props

Updating https://github.com/adafruit/Adafruit_CircuitPython_Pixelbuf to 2.1.0 from 2.0.12:
  > Merge pull request adafruit/Adafruit_CircuitPython_Pixelbuf#15 from giri256/feat/slice-single-color

Updating https://github.com/adafruit/Adafruit_CircuitPython_PyBadger to 4.0.10 from 4.0.9:
  > Merge pull request adafruit/Adafruit_CircuitPython_PyBadger#74 from FoamyGuy/fix_docs_build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants