SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Build Yourself a Nixie Tube Clock
李祐棠 YODALEE <LC85301@GMAIL.COM>
COSCUP 2019
1
About Me
 Yodalee <lc85301@gmail.com>
 Study EE in college, Microwave in graduate school, now rookie
engineer in Synopsys.
2
Github: yodalee Blogger: http://yodalee.blogspot.tw
Why I Make This
2011 animation
Steins;Gate
3
2018 animation
Steins;Gate 0
The real reason:
Nixie Tube
4
Nixie Tube LED 7 Segment
Display
Used in 1955 - 1970 1970 - present
Drive voltage 180 V 3 V
Drive current 0.3 - 2.5 mA 10 mA
Others Fragile Robust
Cathode
Anode
Nixie Tubes Revival
5
https://en.wikipedia.org/wiki/Nixie_tube#/media/File:Nixie_Wozniak.jpg
Nixie Watch Nixie ClockPortal 2
Challenges
1. Where to buy it?
2. How to get 180V power?
3. How to control it?
4. How to make custom PCB?
6
Challenge 1 : Where to Buy It
 Ebay: IN-14 Used: USD 5 / pcs, New: USD 12 / pcs
 Totally new from Dalibor Farny: USD 145 / pcs
7
Challenges 2: High Voltage Circuit
 DC Boost Converter: from 12V to
180V.
 Make your own or buy one.
 Control chip: MC34063.
 Switch MOS: IRF840
 Inductor: 100uH coil (important!)
 Voltage Divider:
511k / 3.3k + 2k variable
Control range: 120 ~ 193 V
8
https://upload.wikimedia.org/wikipedia/commons/4/4a/Boost_circuit_2.png
Challenges 2: High Voltage Circuit
9
Challenges 2: High Voltage Circuit
10
 How do you control 180V current
Solution Disadvantage
K155ID1 high voltage driver IC Difficult to buy
TLP521 Photocoupler VCEO = 50V
MPSA42/92 NPN/PNP transistor
Challenges 3: Controller
11
 RTC: DS1307
 12V to 5V:
78M05
 Decoder:
74HC238,
74CD4514
 Controller:
Atmega328p
Challenges 3: Controller
12
 In the good old days, we write our bare metal program.
 Nowadays, we have Arduino.
 Write Arduino bootloader to Atmega328p chip.
 https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
 Configure to use internal 1MHz clock.
 Program with serial TX/RX pin
Challenges 4: Custom PCB
14
 Layout with EasyEDA: https://easyeda.com
 Fabrication with JetPCB: http://tw.jetpcb.com/
V1.01 Size 26.4 cm x 10.4 cm
Challenges 4: Custom PCB
 Software Choice: Protel, Altium (proprietary),
EasyEDA, Eagle (need register), Kicad (free)
 EasyEDA advantage:
 Component/Layout are shared, easy to import other’s
component.
 EasyEDA disadvantage:
 Lag when edit a lot of components
 Some function are difficult to use
15
EasyEDA
16
EasyEDA
17
EasyEDA
18
EasyEDA
19
 Signal line width: 0.4mm
 Power line width: 1.0 ~ 1.2 mm
EasyEDA
1. Draw schematic
2. Convert to layout
3. Draw layout
4. Place copper layer
Easy right?
20
Nixie Tube
21
 Current limiting resistor: 22K for digit, 75k for dot
 Buy nixie tube base => Difficult to buy. Use single
IC socket as base
Programming
 Control DS1307 using Arduino Library
 https://playground.arduino.cc/Code/Time
 Write my own function to read/write 56
bytes NVRam on DS1307 to store
information.
 Do not light up single digit constantly.
Cathode poisoning on other cathode.
22
// core code
fun updateTube:
for each tube:
update Tube // 74HC238
update number // 74CD4514
delay(2);
v1.02
23
V1.02 (photo by HeiHei), shrink size to 26 cm x 8 cm
 Progress so far: it can light up tube.
V2.0
24
• Split PCB to nixie tube PCB and control PCB
• New high voltage circuit
http://www.nixieclock.org/?p=1454
• Use SMT component.
• Replace DS1307 with DS3231
No schedule right now
Open Resource
 Note: https://yodalee.blogspot.com/2018/10/nixie-clock0-
introduction.html
 Source code: https://github.com/yodalee/NixieClock
 V1.01 Schematic and Layout:
https://easyeda.com/lc85301/nixieclock
 V1.02 Schematic and Layout:
https://easyeda.com/lc85301/nixieclock_v1-02
25
Reference
1. Wikipedia: https://en.wikipedia.org/wiki/Nixie_tube
2. Tube-Tester: http://www.tube-tester.com/
3. 復古咖啡 (Closed)
4. 工作狂人
26
Thank You for
Listening
EL PSY CONGROO
27

Contenu connexe

Similaire à Build Yourself a Nixie Tube Clock

Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1Felipe Belarmino
 
ISSCC 2018: "Zeppelin": an SoC for Multi-chip Architectures
ISSCC 2018: "Zeppelin": an SoC for Multi-chip ArchitecturesISSCC 2018: "Zeppelin": an SoC for Multi-chip Architectures
ISSCC 2018: "Zeppelin": an SoC for Multi-chip ArchitecturesAMD
 
Ecet 105 Education Specialist -snaptutorial.com
Ecet 105   Education Specialist -snaptutorial.comEcet 105   Education Specialist -snaptutorial.com
Ecet 105 Education Specialist -snaptutorial.comDavisMurphyC39
 
01_clere_Having fun with a solar panel, camera and raspberry. How with a few ...
01_clere_Having fun with a solar panel, camera and raspberry. How with a few ...01_clere_Having fun with a solar panel, camera and raspberry. How with a few ...
01_clere_Having fun with a solar panel, camera and raspberry. How with a few ...Jean-Frederic Clere
 
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...WiseNaeem
 
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...WiseNaeem
 
8 x8x8 3d rgb led cube 18 steps (with pictures)
8 x8x8 3d rgb led cube  18 steps (with pictures)8 x8x8 3d rgb led cube  18 steps (with pictures)
8 x8x8 3d rgb led cube 18 steps (with pictures)safepassage
 
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)ariannaschlegel
 
PyParis2017 / Circuit simulation using Python, by Fabrice Salvaire
PyParis2017 / Circuit simulation using Python, by Fabrice SalvairePyParis2017 / Circuit simulation using Python, by Fabrice Salvaire
PyParis2017 / Circuit simulation using Python, by Fabrice SalvairePôle Systematic Paris-Region
 
Build an Open Hardware GNU/Linux PowerPC Notebook
Build an Open Hardware GNU/Linux PowerPC NotebookBuild an Open Hardware GNU/Linux PowerPC Notebook
Build an Open Hardware GNU/Linux PowerPC NotebookRoberto Innocenti
 
Ultimate Modded Commodore VIC-20
Ultimate Modded Commodore VIC-20Ultimate Modded Commodore VIC-20
Ultimate Modded Commodore VIC-20Leif Bloomquist
 
Arduino Smart Weather Coat Rack
Arduino Smart Weather Coat RackArduino Smart Weather Coat Rack
Arduino Smart Weather Coat RackEdward Krische
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfIsmailkhan77481
 
Arm cross development_with_eclipse
Arm cross development_with_eclipseArm cross development_with_eclipse
Arm cross development_with_eclipseWalmar de Paula
 

Similaire à Build Yourself a Nixie Tube Clock (20)

Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
ISSCC 2018: "Zeppelin": an SoC for Multi-chip Architectures
ISSCC 2018: "Zeppelin": an SoC for Multi-chip ArchitecturesISSCC 2018: "Zeppelin": an SoC for Multi-chip Architectures
ISSCC 2018: "Zeppelin": an SoC for Multi-chip Architectures
 
Ecet 105 Education Specialist -snaptutorial.com
Ecet 105   Education Specialist -snaptutorial.comEcet 105   Education Specialist -snaptutorial.com
Ecet 105 Education Specialist -snaptutorial.com
 
01_clere_Having fun with a solar panel, camera and raspberry. How with a few ...
01_clere_Having fun with a solar panel, camera and raspberry. How with a few ...01_clere_Having fun with a solar panel, camera and raspberry. How with a few ...
01_clere_Having fun with a solar panel, camera and raspberry. How with a few ...
 
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
 
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
Advanced View of Atmega Microcontroller Projects List - Projects Tutorials Co...
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
 
How to Hack Edison
How to Hack EdisonHow to Hack Edison
How to Hack Edison
 
CMOSFab.ppt
CMOSFab.pptCMOSFab.ppt
CMOSFab.ppt
 
8 x8x8 3d rgb led cube 18 steps (with pictures)
8 x8x8 3d rgb led cube  18 steps (with pictures)8 x8x8 3d rgb led cube  18 steps (with pictures)
8 x8x8 3d rgb led cube 18 steps (with pictures)
 
Intel galileo
Intel galileoIntel galileo
Intel galileo
 
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
 
PyParis2017 / Circuit simulation using Python, by Fabrice Salvaire
PyParis2017 / Circuit simulation using Python, by Fabrice SalvairePyParis2017 / Circuit simulation using Python, by Fabrice Salvaire
PyParis2017 / Circuit simulation using Python, by Fabrice Salvaire
 
LTSpiceIntro.pdf
LTSpiceIntro.pdfLTSpiceIntro.pdf
LTSpiceIntro.pdf
 
Build an Open Hardware GNU/Linux PowerPC Notebook
Build an Open Hardware GNU/Linux PowerPC NotebookBuild an Open Hardware GNU/Linux PowerPC Notebook
Build an Open Hardware GNU/Linux PowerPC Notebook
 
Ultimate Modded Commodore VIC-20
Ultimate Modded Commodore VIC-20Ultimate Modded Commodore VIC-20
Ultimate Modded Commodore VIC-20
 
Arduino Smart Weather Coat Rack
Arduino Smart Weather Coat RackArduino Smart Weather Coat Rack
Arduino Smart Weather Coat Rack
 
Adk 101
Adk 101Adk 101
Adk 101
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
 
Arm cross development_with_eclipse
Arm cross development_with_eclipseArm cross development_with_eclipse
Arm cross development_with_eclipse
 

Plus de Yodalee

COSCUP2023 RSA256 Verilator.pdf
COSCUP2023 RSA256 Verilator.pdfCOSCUP2023 RSA256 Verilator.pdf
COSCUP2023 RSA256 Verilator.pdfYodalee
 
rrxv6 Build a Riscv xv6 Kernel in Rust.pdf
rrxv6 Build a Riscv xv6 Kernel in Rust.pdfrrxv6 Build a Riscv xv6 Kernel in Rust.pdf
rrxv6 Build a Riscv xv6 Kernel in Rust.pdfYodalee
 
Gameboy emulator in rust and web assembly
Gameboy emulator in rust and web assemblyGameboy emulator in rust and web assembly
Gameboy emulator in rust and web assemblyYodalee
 
Make A Shoot ‘Em Up Game with Amethyst Framework
Make A Shoot ‘Em Up Game with Amethyst FrameworkMake A Shoot ‘Em Up Game with Amethyst Framework
Make A Shoot ‘Em Up Game with Amethyst FrameworkYodalee
 
Use PEG to Write a Programming Language Parser
Use PEG to Write a Programming Language ParserUse PEG to Write a Programming Language Parser
Use PEG to Write a Programming Language ParserYodalee
 
Introduction to nand2 tetris
Introduction to nand2 tetrisIntroduction to nand2 tetris
Introduction to nand2 tetrisYodalee
 
Office word skills
Office word skillsOffice word skills
Office word skillsYodalee
 
Git: basic to advanced
Git: basic to advancedGit: basic to advanced
Git: basic to advancedYodalee
 

Plus de Yodalee (8)

COSCUP2023 RSA256 Verilator.pdf
COSCUP2023 RSA256 Verilator.pdfCOSCUP2023 RSA256 Verilator.pdf
COSCUP2023 RSA256 Verilator.pdf
 
rrxv6 Build a Riscv xv6 Kernel in Rust.pdf
rrxv6 Build a Riscv xv6 Kernel in Rust.pdfrrxv6 Build a Riscv xv6 Kernel in Rust.pdf
rrxv6 Build a Riscv xv6 Kernel in Rust.pdf
 
Gameboy emulator in rust and web assembly
Gameboy emulator in rust and web assemblyGameboy emulator in rust and web assembly
Gameboy emulator in rust and web assembly
 
Make A Shoot ‘Em Up Game with Amethyst Framework
Make A Shoot ‘Em Up Game with Amethyst FrameworkMake A Shoot ‘Em Up Game with Amethyst Framework
Make A Shoot ‘Em Up Game with Amethyst Framework
 
Use PEG to Write a Programming Language Parser
Use PEG to Write a Programming Language ParserUse PEG to Write a Programming Language Parser
Use PEG to Write a Programming Language Parser
 
Introduction to nand2 tetris
Introduction to nand2 tetrisIntroduction to nand2 tetris
Introduction to nand2 tetris
 
Office word skills
Office word skillsOffice word skills
Office word skills
 
Git: basic to advanced
Git: basic to advancedGit: basic to advanced
Git: basic to advanced
 

Dernier

Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...Amil baba
 
UNIT4_ESD_wfffffggggggggggggith_ARM.pptx
UNIT4_ESD_wfffffggggggggggggith_ARM.pptxUNIT4_ESD_wfffffggggggggggggith_ARM.pptx
UNIT4_ESD_wfffffggggggggggggith_ARM.pptxrealme6igamerr
 
Lecture 1: Basics of trigonometry (surveying)
Lecture 1: Basics of trigonometry (surveying)Lecture 1: Basics of trigonometry (surveying)
Lecture 1: Basics of trigonometry (surveying)Bahzad5
 
Design Analysis of Alogorithm 1 ppt 2024.pptx
Design Analysis of Alogorithm 1 ppt 2024.pptxDesign Analysis of Alogorithm 1 ppt 2024.pptx
Design Analysis of Alogorithm 1 ppt 2024.pptxrajesshs31r
 
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdfSummer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdfNaveenVerma126
 
CSR Managerial Round Questions and answers.pptx
CSR Managerial Round Questions and answers.pptxCSR Managerial Round Questions and answers.pptx
CSR Managerial Round Questions and answers.pptxssusera0771e
 
me3493 manufacturing technology unit 1 Part A
me3493 manufacturing technology unit 1 Part Ame3493 manufacturing technology unit 1 Part A
me3493 manufacturing technology unit 1 Part Akarthi keyan
 
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...amrabdallah9
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
A Seminar on Electric Vehicle Software Simulation
A Seminar on Electric Vehicle Software SimulationA Seminar on Electric Vehicle Software Simulation
A Seminar on Electric Vehicle Software SimulationMohsinKhanA
 
Oracle_PLSQL_basic_tutorial_with_workon_Exercises.ppt
Oracle_PLSQL_basic_tutorial_with_workon_Exercises.pptOracle_PLSQL_basic_tutorial_with_workon_Exercises.ppt
Oracle_PLSQL_basic_tutorial_with_workon_Exercises.pptDheerajKashnyal
 
specification estimation and valuation of a building
specification estimation and valuation of a buildingspecification estimation and valuation of a building
specification estimation and valuation of a buildingswethasekhar5
 
cme397 surface engineering unit 5 part A questions and answers
cme397 surface engineering unit 5 part A questions and answerscme397 surface engineering unit 5 part A questions and answers
cme397 surface engineering unit 5 part A questions and answerskarthi keyan
 
solar wireless electric vechicle charging system
solar wireless electric vechicle charging systemsolar wireless electric vechicle charging system
solar wireless electric vechicle charging systemgokuldongala
 
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchrohitcse52
 
sdfsadopkjpiosufoiasdoifjasldkjfl a asldkjflaskdjflkjsdsdf
sdfsadopkjpiosufoiasdoifjasldkjfl a asldkjflaskdjflkjsdsdfsdfsadopkjpiosufoiasdoifjasldkjfl a asldkjflaskdjflkjsdsdf
sdfsadopkjpiosufoiasdoifjasldkjfl a asldkjflaskdjflkjsdsdfJulia Kaye
 
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecGuardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecTrupti Shiralkar, CISSP
 
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...Sean Meyn
 
Modelling Guide for Timber Structures - FPInnovations
Modelling Guide for Timber Structures - FPInnovationsModelling Guide for Timber Structures - FPInnovations
Modelling Guide for Timber Structures - FPInnovationsYusuf Yıldız
 

Dernier (20)

Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
 
UNIT4_ESD_wfffffggggggggggggith_ARM.pptx
UNIT4_ESD_wfffffggggggggggggith_ARM.pptxUNIT4_ESD_wfffffggggggggggggith_ARM.pptx
UNIT4_ESD_wfffffggggggggggggith_ARM.pptx
 
Lecture 1: Basics of trigonometry (surveying)
Lecture 1: Basics of trigonometry (surveying)Lecture 1: Basics of trigonometry (surveying)
Lecture 1: Basics of trigonometry (surveying)
 
Présentation IIRB 2024 Marine Cordonnier.pdf
Présentation IIRB 2024 Marine Cordonnier.pdfPrésentation IIRB 2024 Marine Cordonnier.pdf
Présentation IIRB 2024 Marine Cordonnier.pdf
 
Design Analysis of Alogorithm 1 ppt 2024.pptx
Design Analysis of Alogorithm 1 ppt 2024.pptxDesign Analysis of Alogorithm 1 ppt 2024.pptx
Design Analysis of Alogorithm 1 ppt 2024.pptx
 
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdfSummer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
 
CSR Managerial Round Questions and answers.pptx
CSR Managerial Round Questions and answers.pptxCSR Managerial Round Questions and answers.pptx
CSR Managerial Round Questions and answers.pptx
 
me3493 manufacturing technology unit 1 Part A
me3493 manufacturing technology unit 1 Part Ame3493 manufacturing technology unit 1 Part A
me3493 manufacturing technology unit 1 Part A
 
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
A Seminar on Electric Vehicle Software Simulation
A Seminar on Electric Vehicle Software SimulationA Seminar on Electric Vehicle Software Simulation
A Seminar on Electric Vehicle Software Simulation
 
Oracle_PLSQL_basic_tutorial_with_workon_Exercises.ppt
Oracle_PLSQL_basic_tutorial_with_workon_Exercises.pptOracle_PLSQL_basic_tutorial_with_workon_Exercises.ppt
Oracle_PLSQL_basic_tutorial_with_workon_Exercises.ppt
 
specification estimation and valuation of a building
specification estimation and valuation of a buildingspecification estimation and valuation of a building
specification estimation and valuation of a building
 
cme397 surface engineering unit 5 part A questions and answers
cme397 surface engineering unit 5 part A questions and answerscme397 surface engineering unit 5 part A questions and answers
cme397 surface engineering unit 5 part A questions and answers
 
solar wireless electric vechicle charging system
solar wireless electric vechicle charging systemsolar wireless electric vechicle charging system
solar wireless electric vechicle charging system
 
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
 
sdfsadopkjpiosufoiasdoifjasldkjfl a asldkjflaskdjflkjsdsdf
sdfsadopkjpiosufoiasdoifjasldkjfl a asldkjflaskdjflkjsdsdfsdfsadopkjpiosufoiasdoifjasldkjfl a asldkjflaskdjflkjsdsdf
sdfsadopkjpiosufoiasdoifjasldkjfl a asldkjflaskdjflkjsdsdf
 
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecGuardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
 
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
 
Modelling Guide for Timber Structures - FPInnovations
Modelling Guide for Timber Structures - FPInnovationsModelling Guide for Timber Structures - FPInnovations
Modelling Guide for Timber Structures - FPInnovations
 

Build Yourself a Nixie Tube Clock

  • 1. Build Yourself a Nixie Tube Clock 李祐棠 YODALEE <LC85301@GMAIL.COM> COSCUP 2019 1
  • 2. About Me  Yodalee <lc85301@gmail.com>  Study EE in college, Microwave in graduate school, now rookie engineer in Synopsys. 2 Github: yodalee Blogger: http://yodalee.blogspot.tw
  • 3. Why I Make This 2011 animation Steins;Gate 3 2018 animation Steins;Gate 0 The real reason:
  • 4. Nixie Tube 4 Nixie Tube LED 7 Segment Display Used in 1955 - 1970 1970 - present Drive voltage 180 V 3 V Drive current 0.3 - 2.5 mA 10 mA Others Fragile Robust Cathode Anode
  • 6. Challenges 1. Where to buy it? 2. How to get 180V power? 3. How to control it? 4. How to make custom PCB? 6
  • 7. Challenge 1 : Where to Buy It  Ebay: IN-14 Used: USD 5 / pcs, New: USD 12 / pcs  Totally new from Dalibor Farny: USD 145 / pcs 7
  • 8. Challenges 2: High Voltage Circuit  DC Boost Converter: from 12V to 180V.  Make your own or buy one.  Control chip: MC34063.  Switch MOS: IRF840  Inductor: 100uH coil (important!)  Voltage Divider: 511k / 3.3k + 2k variable Control range: 120 ~ 193 V 8 https://upload.wikimedia.org/wikipedia/commons/4/4a/Boost_circuit_2.png
  • 9. Challenges 2: High Voltage Circuit 9
  • 10. Challenges 2: High Voltage Circuit 10  How do you control 180V current Solution Disadvantage K155ID1 high voltage driver IC Difficult to buy TLP521 Photocoupler VCEO = 50V MPSA42/92 NPN/PNP transistor
  • 11. Challenges 3: Controller 11  RTC: DS1307  12V to 5V: 78M05  Decoder: 74HC238, 74CD4514  Controller: Atmega328p
  • 12. Challenges 3: Controller 12  In the good old days, we write our bare metal program.  Nowadays, we have Arduino.  Write Arduino bootloader to Atmega328p chip.  https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard  Configure to use internal 1MHz clock.  Program with serial TX/RX pin
  • 13. Challenges 4: Custom PCB 14  Layout with EasyEDA: https://easyeda.com  Fabrication with JetPCB: http://tw.jetpcb.com/ V1.01 Size 26.4 cm x 10.4 cm
  • 14. Challenges 4: Custom PCB  Software Choice: Protel, Altium (proprietary), EasyEDA, Eagle (need register), Kicad (free)  EasyEDA advantage:  Component/Layout are shared, easy to import other’s component.  EasyEDA disadvantage:  Lag when edit a lot of components  Some function are difficult to use 15
  • 18. EasyEDA 19  Signal line width: 0.4mm  Power line width: 1.0 ~ 1.2 mm
  • 19. EasyEDA 1. Draw schematic 2. Convert to layout 3. Draw layout 4. Place copper layer Easy right? 20
  • 20. Nixie Tube 21  Current limiting resistor: 22K for digit, 75k for dot  Buy nixie tube base => Difficult to buy. Use single IC socket as base
  • 21. Programming  Control DS1307 using Arduino Library  https://playground.arduino.cc/Code/Time  Write my own function to read/write 56 bytes NVRam on DS1307 to store information.  Do not light up single digit constantly. Cathode poisoning on other cathode. 22 // core code fun updateTube: for each tube: update Tube // 74HC238 update number // 74CD4514 delay(2);
  • 22. v1.02 23 V1.02 (photo by HeiHei), shrink size to 26 cm x 8 cm  Progress so far: it can light up tube.
  • 23. V2.0 24 • Split PCB to nixie tube PCB and control PCB • New high voltage circuit http://www.nixieclock.org/?p=1454 • Use SMT component. • Replace DS1307 with DS3231 No schedule right now
  • 24. Open Resource  Note: https://yodalee.blogspot.com/2018/10/nixie-clock0- introduction.html  Source code: https://github.com/yodalee/NixieClock  V1.01 Schematic and Layout: https://easyeda.com/lc85301/nixieclock  V1.02 Schematic and Layout: https://easyeda.com/lc85301/nixieclock_v1-02 25
  • 25. Reference 1. Wikipedia: https://en.wikipedia.org/wiki/Nixie_tube 2. Tube-Tester: http://www.tube-tester.com/ 3. 復古咖啡 (Closed) 4. 工作狂人 26
  • 26. Thank You for Listening EL PSY CONGROO 27