Go to file
2021-07-21 12:36:18 +03:00
firmware Bump Micropython version 2021-07-21 12:36:18 +03:00
.gitignore Increase pin socket diameter to 1.6mm 2021-07-11 21:16:07 +03:00
74141.lib Hopefully final changes 2017-08-09 01:27:36 +03:00
fp-lib-table Initial commit 2017-05-31 20:56:41 +03:00
frame.scad Final fixes 2018-12-23 23:22:02 +02:00
IN-12B.wrl Initial commit 2017-05-31 20:56:41 +03:00
Makefile Hopefully final changes 2017-08-09 01:27:36 +03:00
nixiesp-cache.lib Final fixes 2018-12-23 23:22:02 +02:00
nixiesp.kicad_pcb Increase pin socket diameter to 1.6mm 2021-07-11 21:16:07 +03:00
nixiesp.net Final fixes 2018-12-23 23:22:02 +02:00
nixiesp.png Hopefully final changes 2017-08-09 01:27:36 +03:00
nixiesp.pro Perfected design 2018-11-25 23:17:39 +02:00
nixiesp.sch Final fixes 2018-12-23 23:22:02 +02:00
photo.jpg Add photo 2017-08-08 14:18:27 +03:00
README.md Update README 2021-07-11 21:19:57 +03:00
russian-nixies-IN-6.kicad_mod Hopefully final changes 2017-08-09 01:27:36 +03:00
russian-nixies-IN-12.kicad_mod Increase pin socket diameter to 1.6mm 2021-07-11 21:16:07 +03:00
russian-nixies.lib Initial commit 2017-05-31 20:56:41 +03:00

NixiESP12

Intro

Yet another Nixie clock project!

Some highlights:

  • K155ID1 driven IN-12A or IN-12B tubes for hour, minute, seconds
  • BS108 driven IN-6 or similar neon bulbs for digit separation
  • 74HC595 for serial to parallel conversion
  • ESP8266 for time synchronization
  • LM1117-3.3V and LM1117-5V regulators for logic power supply
  • No tube step up converter on-board, pin headers for connecting third party power supply
  • KiCad design with 3D models from http://miniwatt.info

Some KiCad screenshots:

Install

Install dependencies on an Ubuntu 18.04 box:

apt install -y python3-pip wget picocom make
pip3 install adafruit-ampy esptool

Boot ESP8266 with program pin held low and flash MicroPython:

cd firmware
make erase
make flash

Reboot ESP8266, open serial to to the controller and format filesystem:

import os
os.umount('/')
os.VfsLfs2.mkfs(bdev)
os.mount(bdev, '/')

Finish with by uploading scripts:

make upload

Power cycle the device and via WiFi connect to the device, network name is MicroPython-XXXXXX and password is micropythoN. Navigate to http://192.168.4.1 to start the configuration wizard.

Configuring

If firmware is unable to connect to preconfigured wireless network or it is started up for the first time wireless network with password micropythoN is created.

Connect to that wireless network and open http://192.168.4.1 in web browser to configure the clock.

Assembly tips

Some cheap 1117V regulators don't offer short circuit protection and once blown pass through input voltage, make sure you get ones with protection otherwise you can fry ESP8266 or serial-to-parallel chips.

Once the PCB is milled or etched make sure you clean the 180V rails thoroughly, that voltage is high enough to cross gaps of 0.1mm. Once that happens it burns a thick dark trace into the fiberglass of PCB and it's pretty tricky to clean up. The PCB is designed with 0.4mm clearance to be compliant with HV designs. This clearance of course assumes that PCB traces are covered. Either use solder mask or conformal coating.

Use the bench power supply to gradually power up the device, at 9V set current limiter to 0.5A max. 5V linear regulator can be omitted and bypassed if 5V wall adapter is always used. Otherwise 6V-12V wall adapters are suitable, Thincan DBE60 9V wall adapters are pretty much perfect for the job. Note that the higher the input voltage the more power is dissipated as heat on the 3.3V and 5V voltage regulators, thus at 12V the device gets really hot.

Debugging

  • If you get nonsense reading during boot up sequence 0..9 likely the connection between serial-to-parallel chips and high voltage drivers is flaky. Either there are shorted pins or there is no connection at all. Check soldering joints and check for shorts between lines and line to ground.
  • If single tube doesn't light up likely the gas has escaped the tube, find replacement tube.
  • If single digit does not light up likely the tube socket pin is mangled or it is not properly soldered on the side where the PCB trace runs.