Skip to content

Image converter GUI App to arduino oled display ssd1306 128x64

License

Notifications You must be signed in to change notification settings

WiktorK02/image-to-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{0ximage, 0xto, 0xarduino} (2)

Image Converter GUI APP for Arduino oled display ssd1306 128x64

About Project

Application has been created in order to easy convert images into your Arduino project with oled displays

How does it work:

As you launch the application and load an image in formats such as .png and .jpg (with potential support for additional extensions in the future), the algorithm transforms the image into a hexadecimal array. Subsequently, it generates the complete code, which is readily available for copying and pasting into the Arduino IDE. Furthermore, the application allows you to preview how the image will appear on your display.

Demo

1 3 4

Getting Started

Prerequisites

Download python, pip and check version

$ pip3 --version 
$ python --version

Installation

Windows/Linux/Mac OS:

$ pip3 install image-to-arduino

Run

Windows/Linux/Mac OS:

$ image-to-arduino

How to upgrade version

Windows/Linux/Mac OS:

$ pip3 install --upgrade image-to-arduino

How to connect display to Arduino

IMPORTANT: If you have Arduino board with inputs SCK and SDA, use them instead of A4 and A5 inputs

How to Contribute

  1. Fork the Project
  2. Clone repo with your GitHub username instead of YOUR-USERNAME:
$ git clone https://github.com/YOUR-USERNAME/Image_Converter_App 
  1. Create new branch:
$ git branch BRANCH-NAME 
$ git checkout BRANCH-NAME
  1. Make changes and test
  2. Submit Pull Request with comprehensive description of change

Task list

  • add more than one display size
  • make app as .exe
  • optimize gif extension option (or remove it)
  • test software
  • make icon of the app
  • resize window (width)
  • fix issue with generating dark png images with trancparency
  • reverse color of image
  • create function which generate full arduino code(not only arduino array) and connect it to switch button
  • show preview of an image
  • upgrade graphics and style
  • add more functions

What I have learned

  • tkinter library skills
  • basics of GUI
  • image processing

Used libraries

  • tkinter
  • customtkinter
  • openCV
  • numpy

License

MIT license

About

Image converter GUI App to arduino oled display ssd1306 128x64

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages