Onion Omega2 Dash

by Onion

An open-source touchscreen & Wi-Fi-connected Linux dev board

View all updates Dec 24, 2019

Display Images with your Omega2 Dash

Hey everyone,

Hope you’re enjoying the holidays! We thought you might enjoy a quick guide on using the Omega2 Dash to display images.

The Omega2 Dash uses a small application called fbi to draw jpg and png images to the TFT display. It comes preloaded as part of the operating system on the Omega2 Dash and it’s actually quite capable.

Let’s dive in!

First, disable the blinking cursor

Before we start, let’s disable the blinking cursor on the display so it doesn’t get in the way of our images. Run this on the command line:

echo 0 > /sys/class/graphics/fbcon/cursor_blink

More info on controlling the display can be found on the Omega2-Dash repo on GitHub.

Displaying images from the Omega’s filesystem

First and foremost, let’s display an image that we have on the Omega’s filesystem.

If you’re curious about how to transfer images to your Omega, see our documentation article on the subject.

The command is straight-forward:

fbi -d /dev/fb0 -notty -nocomments --noverbose <PATH TO FILE>

We have an onion-logo.png file in the /root directory, so we can do this:

cd /root
fbi -d /dev/fb0 -notty -nocomments --noverbose onion-logo.png 

When the image is displayed, you can choose to leave it there, or hit Enter to clear the screen:

Downloading and displaying images

It’s also pretty handy to download an image from the internet and display it. We’ve put together a small script to do just that, it can be found here in the Omega2-Dash repo on GitHub.

The script will download the image file to the Omega, name it with a timestamp, and display it to the screen. Here’s how to run it:

sh image-dl-display.sh <URL TO IMAGE>

A festive example:

sh image-dl-display.sh https://deepundergroundpoetry.com/images/uploads/poemimages/330742.jpg?1545072728


One more thing, you can also display images one after the other, like a slide show. Just add the images to the fbi command:

fbi -d /dev/fb0 -notty -nocomments --noverbose <FIRST IMAGE> <SECOND IMAGE> <THIRD IMAGE> <ETC>

Hit Enter or Space to move on to the next image

We had a nice little collection for our slideshow:

fbi -d /dev/fb0 -notty -nocomments --noverbose onion-logo.png omega2-pinout.png map.png img_2019-12-23_16-24-09.jpg img_2019-12-23_16-08-38.jpg img_2019-12-23_16-22-47.jpg

$39,134 raised

of $10,000 goal

391% Funded! Order Below

Product Choices


Omega2 Dash

An Omega2 Dash IoT computer. Perfect for making internet-connected control panels and user interfaces.


Ethernet Expansion

From the Onion Omega2 Pro project.

An Ethernet Expansion board for your Omega2 Dash

The Ethernet Expansion adds an Ethernet port to your Omega with a maximum connection speed of 100Mbps. While the Omega is all about wireless connectivity, a reliable wired network connection can be a great addition to a project, and the Ethernet Expansion is a great tool for quickly reflashing your Omega’s firmware.


NFC/RFID Expansion

From the Onion Omega2 Pro project.

An NFC/RFID Expansion board for your Omega2 Dash

Bring contact-less RFID and NFC communication to your Omega2. It supports reading and writing with several NFC and RFID protocols at 13.56 MHz. Comes bundled with two programmable Mifare Ultralight tags.


ADC Expansion

From the Onion Omega2 Pro project.

An ADC Expansion board for your Omega2 Dash

Omega2 can now read all types of analog voltages and sensors with the help of this ADC Expansion. Read and interpret up to 4 analog voltage or sensor inputs, each with 16 bits of precision.


Proto Expansion

From the Onion Omega2 Pro project.

A Proto Expansion board for your Omega2 Dash

The Proto Expansion for the Onion Omega allows you to create your very own expansion that interfaces with your Omega. It provides a small soldering area and 30-pin header that plugs into the Expansion Dock. With it you will have full control over what kind of project you design for your Omega.


Servo Expansion

From the Onion Omega2 Pro project.

A Servo Expansion board for your Omega2 Dash

The Servo Expansion adds 16 PWM (Pulse Width Modulation) outputs to your Omega. Connect standard servos directly to the Expansion since each channel has its own 3-pin connectors, making it that much easier to get started with your project! This Expansion is great in any application that requires servos, like a robotics project or anything with moving parts. Given that PWM is so useful, you can also use this Expansion to precisely control LEDs or drive a DC motor using an H-bridge. The Servo Expansion is often also called the PWM Expansion.



Onion is a team of technology enthusiasts, creators, and strivers, looking to make amazing products and even better user experiences. Onion has been in business since 2014, graduating from the TechStars Startup Accelerator in Boston that year. In 2015, we introduced the world to the Onion Omega IoT computer.

Lazar Demin

Zheng Han

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: