The Nixie Tube Hat allows an Raspberry Pi board to connect any nixie tube you want to use in your projects.

The Nixie Tube Hat you can find here.

ezgif.com-optimize.gif

The Nixie Shield / Hat is a modular circuit board that piggyback onto your Raspberry Pi to install it with extra functionality. The Shield was designed according to Raspberry Pi HAT specification. The Nixie Shield allows an Raspberry Pi board to connect any nixie tube you want to use in your projects.

RASPBERRY PI DIAGRAM.jpg

<div class="content-image fullwidth"> <div class="wrappper"> <img src="https://maker.pro/storage/dTZ560K/dTZ560K5PxAe5KJQ7NJUC5R51gjfLXK3mWEY4L5i.jpeg" alt="Nixie Shield (Hat) for Raspberry Pi - 03.jpg"> </div> <p class="caption"></p> </div>
<div class="content-image fullwidth"> <div class="wrappper"> <img src="https://maker.pro/storage/8qfxJMY/8qfxJMYQBLJn0gjIudteNPoYU2vXpBX00Crqbro0.jpeg" alt="NIXIE SHIELD PINS USED.jpg"> </div> <p class="caption"></p> </div>
NIXIE SHIELD PINS USED PROJECT HEADER.jpg

RASPBERRY PINS USED.jpg

<div class="content-image fullwidth"> <div class="wrappper"> <img src="https://maker.pro/storage/kDDWmff/kDDWmffdgrA3sBcIntGZ2XszWpRgqxPnMqv30k8t.jpeg" alt="NIXIE SOCKET PINS USED.jpg"> </div> <p class="caption"></p> </div>
<div class="content-image fullwidth"> <div class="wrappper"> <img src="https://maker.pro/storage/54YIkA7/54YIkA7v4JkBfuhJykCgOGw6oLatN0TJIrwo8qVu.jpeg" alt="schematic_nixie_socket695.jpg"> </div> <p class="caption"></p> </div>
NIXIE SOCKET BOX 1.jpg

SOCKETS LIST.jpg

NIXIE SOCKET BOX 2.jpg

PYTHON CODE

Driving nixie tube by Raspberry Pi is very simple. The Nixie Shield use only five Raspberry Pi pins. Take a look at the following code.
More code examples you can find on github.

    '''
Raspberry Nixie Shield Python Basic Example
The Nixie Shield is compatible with Raspberry Pi: 1B+, 2B, 3B, ZERO, ZERO W.
This example shows how to control any nixie tube with a Raspberry Pi using Nixie Shield
Nixie Shield uses five digital outputs to drive nixie tube. 
Pin 29 as on/off (EN) line, 31, 33, 35, 37 as an address (A, B, C, D) of nixie tube digit/cathode.
This example code is in the public domain.
https://www.nixietester.com
'''
import time                 # Import time module
import RPi.GPIO as GPIO     # Import RPi.GPIO module as just GPIO

GPIO.setmode(GPIO.BOARD)    # Declare the type of GPIO numbering system
GPIO.setwarnings(False)     # Disable warnings

# Pin definitions / Nixie tube digit address:
EN = 29                     # On/Off Nixie tube
A = 37      
B = 33
C = 31
D = 35

GPIO.setup(EN,GPIO.OUT)     # Set up a channel EN as an output
GPIO.setup(A,GPIO.OUT)      # Set up a channel A as an output
GPIO.setup(B,GPIO.OUT)      # Set up a channel B as an output
GPIO.setup(C,GPIO.OUT)      # Set up a channel C as an output
GPIO.setup(D,GPIO.OUT)      # Set up a channel D as an output

GPIO.output(EN,GPIO.LOW)    # Turn on the Nixie Tube

# set address of the tube cathode '0':
                            #   ___ 
GPIO.output(A,GPIO.LOW)     #  |   |
GPIO.output(B,GPIO.LOW)     #  |   |
GPIO.output(C,GPIO.LOW)     #  |   |
GPIO.output(D,GPIO.LOW)     #  |___|
time.sleep(1)

# set address of the tube cathode '1':

GPIO.output(A,GPIO.HIGH)    #   /|  
GPIO.output(B,GPIO.LOW)     #  / |
GPIO.output(C,GPIO.LOW)     #    |
GPIO.output(D,GPIO.LOW)     #    |
time.sleep(1)

# set address of the tube cathode '2':
                            #   ___ 
GPIO.output(A,GPIO.LOW)     #      |   
GPIO.output(B,GPIO.HIGH)    #   ___|   
GPIO.output(C,GPIO.LOW)     #  |  
GPIO.output(D,GPIO.LOW)     #  |___
time.sleep(1)

# set address of the tube cathode '3':
                            #   ___ 
GPIO.output(A,GPIO.HIGH)    #      |   
GPIO.output(B,GPIO.HIGH)    #   ___|   
GPIO.output(C,GPIO.LOW)     #      |  
GPIO.output(D,GPIO.LOW)     #   ___|
time.sleep(1)

# set address of the tube cathode '4':

GPIO.output(A,GPIO.LOW)     #  |   | 
GPIO.output(B,GPIO.LOW)     #  |___|   
GPIO.output(C,GPIO.HIGH)    #      |  
GPIO.output(D,GPIO.LOW)     #      |
time.sleep(1)

# set address of the tube cathode '5':
                            #   ___ 
GPIO.output(A,GPIO.HIGH)    #  |      
GPIO.output(B,GPIO.LOW)     #  |___   
GPIO.output(C,GPIO.HIGH)    #      |  
GPIO.output(D,GPIO.LOW)     #   ___|
time.sleep(1)

# set address of the tube cathode '6':
                            #   ___ 
GPIO.output(A,GPIO.LOW)     #  |      
GPIO.output(B,GPIO.HIGH)    #  |___   
GPIO.output(C,GPIO.HIGH)    #  |   |  
GPIO.output(D,GPIO.LOW)     #  |___|
time.sleep(1)

# set address of the tube cathode '7':
                            #   ___
GPIO.output(A,GPIO.HIGH)    #      |   
GPIO.output(B,GPIO.HIGH)    #      |   
GPIO.output(C,GPIO.HIGH)    #      |  
GPIO.output(D,GPIO.LOW)     #      |
time.sleep(1)

# set address of the tube cathode '8':
                            #   ___ 
GPIO.output(A,GPIO.LOW)     #  |   |   
GPIO.output(B,GPIO.LOW)     #  |___|   
GPIO.output(C,GPIO.LOW)     #  |   |  
GPIO.output(D,GPIO.HIGH)    #  |___|
time.sleep(1)

# set address of the tube cathode '9':
                            #   ___ 
GPIO.output(A,GPIO.HIGH)    #  |   |   
GPIO.output(B,GPIO.LOW)     #  |___|   
GPIO.output(C,GPIO.LOW)     #      |  
GPIO.output(D,GPIO.HIGH)    #   ___|
time.sleep(1)

GPIO.output(EN,GPIO.HIGH)   # Turn off the Nixie Tube
time.sleep(1)

GPIO.cleanup()              # Cleanup GPIO on exit
<div class="content-image fullwidth"> <div class="wrappper"> <img src="https://maker.pro/storage/IqhVAM6/IqhVAM6xYVe5CJjF7jKRTbs1cT501b2lGsVQPXBU.jpeg" alt="schemat.jpg"> </div> <p class="caption"></p> </div>
<div class="content-image fullwidth"> <div class="wrappper"> <img src="https://maker.pro/storage/FTfUyyf/FTfUyyfD48XbKwJ1qehdTba3OzMXDC02GtME45xx.jpeg" alt="Nixie Shield (Hat) for Raspberry Pi - 02.jpg"> </div> <p class="caption"></p> </div>
<div class="content-image fullwidth"> <div class="wrappper"> <img src="https://maker.pro/storage/7mzGF6X/7mzGF6X1dvpRepAekDuXkXT1JsPGnvnMyn8kbU8J.jpeg" alt="Nixie Shield (Hat) for Raspberry Pi - 01.jpg"> </div> <p class="caption"></p> </div>

The Nixie Tube Hat you can find here.

Marcin Saj


Maker Pro Logo
Continue to site
Quote of the day

-