The ePaper module is able to display bitmap images as well as text that’s formatted to a .bmp file. The first thing you want to have is a BMP file ready to load onto a micro SD card.
If you don’t have one you can convert a file to BMP format using MSPaint, or any online file converter (such as this one [1]). Be sure to select the monochrome setting within the file converter and size your bitmap image dimensions a bit smaller than the display dimensions in units of pixels.
If you want to include text in you bitmap image try using something with the word “console” in the font title, as they were designed for displays. For example, Lucida Console was used for the hashtag below the logo, overlaid on a screencapture using the Snagit editor:
Keep in mind that the ePaper is slow to update and will take approximately 45 seconds to display an image.
What is the outcome on the screen?
What is the outcome on the screen?
If you want to enhance your ePaper projects with audio, there are a few things to take into account.
Both the ePaper draw image block and the WAV play block both access files stored on your Activity Board’s SD card. However, the ePaper draw image block lets go of the SD card after fetching the .bmp file, while the WAV play block keeps ahold of the SD card for itself until you release it with a WAV stop block.
So, it is recommended that you draw your bitmap image onto the ePaper first before playing your WAV file. By arranging your blocks to draw the image first, the ePaper will begin the process of drawing your image while the Wave file block plays sound right after.
To hear the sound coming from your board when it plays the WAV file we recommend you use this “Hamburger Style” speaker (#900-00018) [2] that easily connects to the Activity Board’s audio jack.
What is the result?
Links
[1] https://image.online-convert.com/convert-to-bmp
[2] https://www.parallax.com/product/900-00018