NixiePop 4-Digit Nixie Tube Controller

Similar documents
ET-BASE AVR ATmega64/128

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

PolyBot Board. User's Guide V1.11 9/20/08

The Programming Interface

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Lab Experiment 1: The LPC 2148 Education Board

EvB 5.1 v5 User s Guide

Controlling a Dot Matrix LED Display with a Microcontroller

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

AC-PG-USBASP USBASP AVR Programmer

AN2531 Application note

STK User Guide

POCKET SCOPE 2. The idea 2. Design criteria 3

RC2200DK Demonstration Kit User Manual

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

A DIY Hardware Packet Sniffer

Touch Screen for Pictiva OLED display. Application Note. Introduction

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming

Designing VM2 Application Boards

Atmel Norway XMEGA Introduction

Using the Siemens S65 Display

Modification of an AOR AR-8600 receiver to tune it with a ACECO FC-3002 frequency finder

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

HARDWARE MANUAL. BrightSign HD120, HD220, HD1020. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

K128. USB PICmicro Programmer. DIY Electronics (HK) Ltd PO Box 88458, Sham Shui Po, Hong Kong. mailto:

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

PN532 NFC RFID Module User Guide

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

WICE-SPI Hardware Operation Manual

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Technical data. General specifications. Indicators/operating means. 30 Hz Multiplex operation 30 Hz / n, n = number of sensors, n 5

SYSTEM 4C. C R H Electronics Design

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

Introducing AVR Dragon

GLOLAB Universal Telephone Hold

Technical data. General specifications. Indicators/operating means. Electrical specifications Operating voltage U B Power consumption P 0 Interface

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

Manual Serial PCI Cards

Android Controlled Based Interface

US-SPI New generation of High performances Ultrasonic device

Chapter 13. PIC Family Microcontroller

Part 1. MAX BIT DAC with an Arduino Board. MIDI to Voltage Converter Part1

8051 MICROCONTROLLER COURSE

SYSTEM 45. C R H Electronics Design

TEECES DOME LIGHTING SYSTEMS

AVR Butterfly Training. Atmel Norway, AVR Applications Group

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

User Manual. AS-Interface Programmer

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Bluetooth to serial HC-06 wireless module

Hardware. NetDCUA5. Documentation. PRELIMINARY This document is subject to change without notice. Version 0.01 ( )

Web Site: Forums: forums.parallax.com Sales: Technical:

Serial Communications

FLYPORT Wi-Fi G

Advanced Data Capture and Control Systems

Tire pressure monitoring

AND8480/D. CrM Buck LED Driver Evaluation Board APPLICATION NOTE

Keep it Simple Timing

2.0 Command and Data Handling Subsystem

Atmel AVR ATxmega384C3 microcontroller OLED display with pixels resolution Analog sensors. Ambient light sensor Temperature sensor

Information Board User s Guide

MC433 Stepper Motor Controller

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

DAC Digital To Analog Converter

Implementing SPI Communication Between MSP430 G2452 and LTC ADC

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

Bluetooth UART/RS232 Module

Troubleshooting and Diagnostics

Newhaven Display International, Inc Galvin Ct. Elgin IL, Ph: Fax:

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

User Guide Reflow Toaster Oven Controller

Voltage boost and buck circuits using Atmel AVR Tiny13V for driving a white LED.

Technical description MX-1 VB Edge

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Advanced LED Controller (LED Chaser)

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

CHAPTER 11: Flip Flops

AVR126: ADC of megaavr in Single Ended Mode. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

ECEN 1400, Introduction to Analog and Digital Electronics

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

Model 5511 Filler Controller User s Manual Version 1.1 October 2011

UniPi technical documentation REV 1.1

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Nixie Clock Universal Kit V1.08. Assembly and Operation. Software Version 6.3 Revision

RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available

The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.

DK40 Datasheet & Hardware manual Version 2

Flight Controller. Mini Fun Fly

Transcription:

NixiePop 4-Digit Nixie Tube Controller The NixiePop controller is a general-purpose 4-digit Nixie tube controller with programmable colon and backlighting. Features High quality gold plated surface mount PCB Four-digit Nixie display RGB LED back-lighting on each tube independently programmable to generate multiple colors The colon indicator can also be turned on and off Modules can be stacked next to each other for more digits Runs from 9-12V, with on-board 180V power supply Easily controlled by a serial line from the Arduino or any micro-controller or laptop to display any digits The board can also function as a stand-alone voltmeter Based on the familiar ATMega328P Comes pre-programmed with open source display software Easily customized via the ISP port using standard tools Most spare micro-controller pins are accessible at the connector Based on plug-in IN-4 Nixies which are easily replaced Schematics and code are available for easy hacking WARNING SHOCK HAZARD! During normal operation this unit generates a high voltage, and this can give you an electric shock if you handle the wrong part of the board. The current is not very high but a shock from the unit is unpleasant. Do not handle the board unnecessarily while it is turned on, or if you do hold it, hold only the corners of the board and avoid touching the copper traces or Nixie pins. It is normal for the high voltage supply to produce a whistling noise. The Nixie tubes are fragile glass objects. In particular it can be easy to snap off the bottom sharp ends of the tubes that protrude through the board. Be careful when placing the board down on a surface. If the ends crack then the gas is lost and the tubes will no longer function.

Operational Modes The NixiePop unit comes pre-programmed with software that provides two modes of operation: In the serial mode the unit is entirely controlled by the serial port of another computer (e.g. an Arduino board). Commands can be used to set the digits to be displayed, control the backlighting, or turn the colon on and off. Digits can range from 0 through 9, or optionally can be turned off. If all the digits are turned off then the display powers down the high voltage supply to reduce power consumption, electrical noise, and acoustic noise. In the voltmeter mode the unit reads the analog voltage on a port pin in the range 0-5V. This is converted to a digital readout of millivolts in the range 0-5000. This mode does not require a connection to an external computer. In this mode the display always has a white backlight. Connector Pinout All digital signals use 5V logic levels. Pin Name Function 1 5V Regulated 5V output. This output has a limited current capability. Check the specifications at the end of this document. 2 GND Ground. 3 ADC6 In voltmeter mode this input should be an analog voltage in the range 0-5V and will be converted to a number to display in the range 0-5000. In serial mode this input is unused. 4 ADC7 Spare analog input to the CPU. Not used by the current software. 5 PD2 Spare port connected to the CPU. Not used by the current software. 6 PD3 If this input is tied to ground while the unit is powered up then the display will enter voltmeter mode and will display the voltage on ADC6. If this input is left floating or tied to 5V then the display will enter serial mode and wait for commands on RXD. 7 VIN Input voltage in the range 9-12V. 8 GND Ground. 9 MISO SPI master in slave out (PB4) of the CPU. Not used by the current software. 10 MOSI SPI master out slave in (PB3) of the CPU. Not used by the current software. 11 SCK SPI serial clock (PB5) on the CPU. Not used by the current software. 12 RES Active low reset line to the CPU. This is pulled high through a 10K resistor on the board. Grounding this line will reset the CPU. 13 SS SPI slave select (PB2) of the CPU. Not used by the current software. 14 RXD Serial data into the display. Send commands to the display using this pin. 15 TXD Serial data out from the display unit. The display uses this line to acknowledge commands that are sent on RXD. Connecting this line is optional. 16 GND Ground.

Serial Protocol The unit receives serial data on RXD and acknowledges serial data using TXD. The serial protocol is 19200 baud with 8 bits, 1 stop bit and no parity. The commands are described in the following table: Command Description : Turn the colon on. (colon) ; Turn the colon off. (semicolon) $nnnn Displays the digits nnnn. Here n can range from 0-9 and also the - character can be used to indicate a blank (non-displaying) digit. The display can be turned off completely by sending $----. #rgbrgbrgbrgb This command is used to set the color of the backlighting for each of the digits independently. The order of the components is from left to right on the display. The values of r, g, and b can be 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f, representing 16 levels of brightness. So for example sending the command #888f000f000f sets the first (leftmost) digit to a middle grey, the second digit to full red, the third digit to full green, and the last (rightmost) digit to full blue. The backlight can be turned off by sending #000000000000. It is not necessary to insert carriage returns in the command sequence. The acknowledgment response from the unit is to echo the command as it is sent, unless an error is detected, in which case a? character is returned. ISP Port The ISP port can be used to erase the existing software and re-program the CPU with user software for novel functionality. The port is a standard 6 pin programming port: Pin 1 of the ISP port is the pin closest to R29. Conventional Atmel programming tools can be used to re-program the CPU. We recommend using the AVR JTAGICE3 interface unit and Atmel Studio development environment. Hardware Description The design is based around the Atmel ATMega328P microcontroller. This is a common type that is also used on some Arduino boards. It has 32K flash ROM and 2K RAM. The CPU is programmed via the 6-pin ISP port that is built into the board. A 16MHz crystal is provided for generating the CPU clock. Spare port lines for the CPU are brought out to the connector to allow for greater flexibility. The power supply generates 5V for the logic and 180V to drive the Nixies. The 5V comes from a fixed linear voltage regulator. The 180V supply is generated by a switching boost converter

based around the MAX1771. This design uses a transformer rather than an inductor to increase the stability and lengthens the on-time of the MOSFET. The Nixie tubes are multiplexed and switched at both the anodes and the cathodes. During normal operation each digit anode is turned on one by one. The cathode corresponding to the desired digit is connected to ground. The anodes are switched though a level shifter involving NPN and PNP high voltage transistors. A four-bit code from the CPU is decoded using an MC14028 IC to give one-of-ten active high outputs. These drive the cathode transistors. The cathodes are also connected to ground via 51V zener diodes. This is done to prevent ghosting between digits, because otherwise the voltage differential between cathodes that are on and cathodes that are off can rise high enough to energize digits in the tubes that are intended to be off. However the addition of these zeners causes tubes to partially illuminate if the cathodes are all turned off while the anode is on, and so the software must turn both the anode and the cathode off for digits that are intended to be blank. The LEDs are driven by a TLC5971, which is employed to PWM control four channels of RGB LEDs using constant current drive. Software Description On start-up the software configures the ports and configures the timer for the interrupt service routine (ISR). It also sets the backlight to a mid white. The code then checks the logic value on PD3 and if low, the system enters voltmeter mode, otherwise it enters serial command mode. The digits are multiplexed by an ISR that is called when Timer0 expires. On every interrupt the next digit is selected. The code reads the current desired number from a global variable. Values 0-9 indicate the digit, and 0xf is reserved to indicate a blank digit. If an active digit is on, the interrupt routine energizes the Nixie anode and turns on the correct cathode. If the digit is blank, the routine turns off both the anode and the cathode. The ISR also is responsible for incrementing a timer variable that is used by the voltmeter mode. In serial mode the serial port is programmed for 19200 baud. The code waits for serial command bytes and echoes these back to the user. When each command is validated it is then used to change the state of the display. The $ command changes the global variables that are read by the ISR. If the digits are all commanded to be off then the power supply disable control bit is set in order to turn off the HV supply, otherwise this supply is enabled. If the color of the backlight LEDs is changed then the code serializes the new color data into the TLC5971 chip. In analog voltmeter mode the code initializes the ADC module. Using the timer byte which is incremented by the ISR, the voltmeter code regularly does an ADC conversion of the voltage on ADC6 and converts this reading into a value which is suitable for display on the Nixie digits. The code handles leading zero suppression. It is recommended to place a capacitor across the analog input to stabilize the display reading. The CPU is intended to run from the on-board 16MHz crystal. For this reason the fuse bytes are set to Ext=FF, High=D9, Low=DE, although they can be changed by the user via the ISP port for other applications.

Specifications Dimensions 153 x 64 x 41 mm Weight 105 g Mounting holes 6-32 Nixie tube type IN-4 CPU ATMega328P Supply voltage 9 12V Supply current (typical) 230mA 5V supply output current (maximum) 200mA Nixie voltage 180V Further Information Software, the latest updates, and a high-resolution schematic can be found at https://github.com/impressivemachines/nixiepop Contact http://impressivemachines.com Impressive Machines LLC 3703 S Edmunds St #105 Seattle WA 98118 Technical Support support@impressivemachines.com