Simulate Raspberry Pi add-on hardware

Soft Pi

© Lead Image © Author, 123RF.com

© Lead Image © Author, 123RF.com

Article from Issue 230/2020
Author(s):

Python and tk_tools let you create software versions of Raspberry Pi mini-displays, LED keypads, and NeoPixel hardware.

Raspberry Pis have some great hardware options for displaying information or accepting input. You can use either specialty plates that mount directly on top of the Rasp Pi or a variety of wired components.

Although nothing beats using real hardware for projects, if you're missing the hardware or you'd like to duplicate a value remotely, then a soft version of the hardware can be very useful. In this article, I look at three examples of hardware simulated with the help of Python and the tk_tools Python library [1]: a seven-segment wired display, an LCD keypad, and a NeoPixel string.

Seven-Segment Display

A seven-segment display uses seven horizontal and vertical bars, familiar in clocks, meters, and other electronic devices, to represent numbers and letters. The displays are often based on the HT16K33 [2] or TM1637 [3] chipset (Figure 1).

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • iKit: Linux Netbook as Ultra-Mini

    After the glut of netbooks on the market, Imovio, an offshoot of U.S. company Comsciences, presents the iKit Multimedia Messenger, a palm-sized netbook with Linux.

  • Linux-Controlled Model Train

    Controlling a miniature train empire with concurrent Linux processes.

  • Google Announces Its Own Pixel Phones

    Google finally enters the phone hardware business.

  • Gammu and Wammu

    The command line tool Gammu reads and modifies phone books, calendars or mobile phone settings . The GUI-based Wammu tool gives users a convenient front-end for some of the most critical functions.

  • KeyJnote

    KeyJnote is a PDF viewer with a difference, adding stylish 3D effects and powerful scripting to support impressive presentations

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News