Skip to content

m1cr0lab-espboy/first-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My First Experiments with ESPboy2

ESPboy2

This project gathers my first programming experiences with the ESPboy2, designed by Roman Sokolov. My code is at your disposal to help you get your feet wet and start your adventure with this endearing tiny handheld, in the STEAM spirit.

However, note that this project is experimental and therefore is likely to evolve frequently. The code can be modified at any time and reworked in-depth as I experiment.

At the stage where I am today, I use the following libraries to simplify the use of the various peripherals of the microcontroller:

I noticed that most of the developments around the ESPboy adopted Bodmer's TFT_eSPI library, but I personally preferred to use the LovyanGFX library, which provides impressive optimizations. Its author, lovyan03, has kindly agreed to add support for ESP8266 to make our life with ESPboy easier. You can thank him by starring ⭐ his library.

To factorize the initialization and interaction procedures with the handheld, I coded an embryonic ESPboy library that provides a primary controller and simplifies the writing of programs that rely on it. This library is likely to evolve over time.

The source code is organized as a PlatformIO project and is therefore built around the platformio.ini configuration file. The example applications are located in the src folder and correspond to separate environments in the platformio.ini configuration file. To test an application, you will need to switch to the appropriate one in PlatformIO:

Switch PlatformIO project environment

Run the applications on your ESPboy

You can try out the applications without compiling them by uploading the precompiled binaries to your ESPboy. To do this, you need to connect the handheld to your PC with a USB cable. Then go to this page with Google Chrome or Microsoft Edge.

Releases

No releases published

Packages

No packages published