In case you don’t know what a world line changer is, it is a prop in animation, and the effect in animation is as shown below.
The design explanation has been posted on bili, welcome to watch, my space: https://space.bilibili.com /39602674
Schematic design explanation: https://www.bilibili.com/video/av93978370
PCB design explanation: https://www.bilibili.com/video/av93981813
Give me a shout out before I start:
To be honest, my purpose of making this is to give it to girls to help them stay single. I would like to make a wish in advance. I hope I can succeed and change the world line to any value greater than 1 to save Dudulu and his assistant.
Also, why should I give this as a gift? On the one hand, I can’t afford a Tiffany diamond ring, but on the other hand, I can barely afford the price of a glow clock, so on and so forth.
Don't be fooled by this thing. To be honest, it is really not as good as a Tiffany diamond ring. But if I could afford these luxury goods at will, I think it would be impossible for me to spend so much time and experience the changes in this world. superior.
To digress, life is boring and meaningless. My mission is never to do anything to make life meaningful. To me, even pursuing meaning is an insult to myself. I have to do The pursuit of happiness is a certain nature. That's also my goal in doing this, to have fun.
This design uses the ESP32 module, which is a ready-made high-voltage module. The latter was purchased from Xianyu for 35, which is okay, but a bit too small.
My general design idea is very simple, two PCBs, one with the 74HC595 chip plus a voltage-resistant triode to drive the glow clock, the other with battery management, power supply, boost module and ESP32, two boards Using pin headers for plugging, signals and power are connected through pin headers and headers.
Let’s popularize the 74HC595 chip here. This chip is a serial-to-parallel chip that outputs serial data in parallel. Its biggest advantage is that it can leave a lot of IO. In theory, countless 595s can be connected end to end. You can Use three microcontroller pins to control countless pins. As a kind of old-fashioned electron tube, Nixie tube has two major difficulties in driving. One pin is more than one. Taking my IN-14 as an example, it has 13 pins in total, one has a common anode, and the other 12 pins are 0~ 9 and two decimal points on the left and right. Secondly, the required voltage is high, 170V . The common anode needs to be connected in series with a 20K resistor (the withstand voltage of some resistors is limited, for example, the resistor in the 0805 package may not be able to withstand this high voltage). I chose the resistor in the 1206 package, which is easy to solder and has a high withstand voltage.
595 truth table | |||||||
---|---|---|---|---|---|---|---|
enter | output | Function | |||||
SHCP | STCP | OE | MR | DS | Q7' | Qn | |
× | × | L | L | × | L | NC | When MR is low, it only affects the shift register. |
× | ↑ | L | L | × | L | L | Clear shift register to output register |
× | × | H | L | × | L | Z | Clear the shift register and put the parallel output in a high-impedance state |
↑ | × | L | H | H | Q6' | NC | A logic high level is shifted into shift register state 0, including all shift register states shifted into |
× | ↑ | L | H | × | NC | Qn' | The contents of the shift register arrive in the holding register and are output from the parallel port |
↑ | ↑ | L | H | × | Q6' | Qn' | The contents of the shift register are shifted in, and the contents of the previous shift register arrive in the holding register and out |
Let’s knock on the blackboard. It is known that the driving voltage of the Nixie tube is 170V, and the current when displaying a number is 1~2mA. During this process, a resistor is connected in series to the common anode of the Nixie tube. The lighting voltage of the Nixie tube is How much, what is the true operating voltage of the Nixie tube?
Let me solve this problem for you. The current of the Nixie tube is set to Then it came out, 130V~150V, of course, this is the voltage for lighting. The meaning of this resistor is on the one hand to limit the current, and on the other hand to divide the voltage after lighting. Why is it said after lighting? Because the Nixie tube has a starting voltage, which is the fundamental reason why 170V is needed. , so the ignition voltage of the Nixie tube is 170V and the working voltage is 130~150V.
However, the above is a theoretical speculation, and the IN-14 can still light up normally at 140V even if the Nixie tube is wearing thin clothes.
The main control ESP32 is a good choice, but since the casing of the glow clock itself is made of aluminum, the wireless signal cannot be transmitted well. My idea is to use an external antenna, but the effect is not necessarily good. I left It has an infrared receiver that can be used for control, and it also restores the shape of the world line changer in the animation.
After talking about the Nixie Tube, let’s talk about the issues with this board version. You can see that I also made another version of the Nixie Tuberclock [ https://oshwhub.com/joebbs/nixietuberclock ], which has roughly the same layout. But that version has been deprecated. Please do not continue to use it or use that board. The reason is simple. It is a 4-layer board and is expensive to build. The other one uses an Arduino nano, an 8-bit microcontroller, which is not as powerful as the 32-bit ESP32.
Since there is no real world line in this world, or my technical ability does not allow me to make a world line change meter that can measure the changes in the world line, I still have to display the time, so I added a clock chip and a temperature and humidity sensor. The former is DS3231 and the latter is SHT20. Both are IIC bus devices. Because of the characteristics of IIC, they can occupy less IO and can also make full use of the IIC bus of ESP32 to free up more IO. Because DS3231 requires an RTC battery, and I don’t want to add a large battery holder to the board, so I left two solder pads. You can connect a battery like the one on the computer motherboard, as shown in the picture below. You are done soldering the wires. Pay attention to the positive and negative poles of the battery. Remember not to wire the bare CR2032 by yourself. The battery will explode. Just buy a ready-made one from Taobao.
Because I wanted to go out with the world line changer to show off, I added a power management chip CP4061 and two 14500 battery holders. I think this is a failure. I should not use 14500 batteries. I should use lithium from Taobao. As for the battery, I recommend that if you want to do it, go to Taobao and buy a 3.7V lithium battery.
There is something strange about the Nixie tube package I drew myself. It is actually square. I think you may complain about it, so I will explain it here. There are two reasons. On the one hand, because the glow pins are relatively long and may be replaced, my idea is to add all those gold-plated pin sockets. If you don’t have this device, you can go to Taobao to search for chip IC sockets. , the pins on the general IC holder can be removed and used, provided that you have diagonal pliers to remove the pin holder; on the other hand, if it is not made into a square package, it is impossible to add two rows of transistors on this board For the two rows of 595 chips, I can only change it to a square shape so that the device can be accommodated.
There are still some areas that need to be improved on this board, such as device layout, wiring, and the most important copper laying can be changed. If you have better devices to choose from, you are welcome to recommend them to me, and you are also welcome to carry out secondary development.
EL Psy Congroo!
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet