Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi-PICO PAINT

PiPicoPaint App

PiPicoPaint Program

Pi-Pico paint is a physical computing project which implements a web server on a Raspberry Pi Pico 2W and allows users to use a simple paint interface to then show their creations on a sh1106 oled display.

The web app contains a basic paint program where users can change stroke width, select white or black background and then 'print' their creations.

Technology used

Software libraries

  • sh1106
  • Micro-python
  • Google Fonts Icons

Physical Requirements

  • Raspberry Pi Pico (2W/W)
  • SH1106 OLED module dimensions 128x64px (I may upgrade the project to adapt to multiple screen sizes in the future)
  • A handful of jumper cables

How to

To use this project download the code and install the software libraries required. Some tools may filter out the .gz files which is ok but for optimum performance ensure they are loaded.

Then create a config.py in the format of config.example.py in the repo.

Ensure you change the country to the correct code.

Run main.py!

If you have a different dimension screen the code can be altered, just ensure you update both backend and frontend code and you can re-zip the files using gzip -k -9 <filepath>

About the project

This project is my first attempt at physical computing and it was an interesting exploration. I found the following document particularly useful for the boilerplate async server code: Connecting to the internet with Pico W.

The design of the web app is based on the old MS Paint application with some modernisation with google fonts.

About

Paint webapp running on Raspberry Pi Pico for displaying creations on SH1106 OLED

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages