Powering a Nixie Tube from USB with a 10¢ RISC-V, the CH32V003

  Рет қаралды 55,974

CNLohr

CNLohr

Күн бұрын

Running a Nixie Tube off USB with a software-defined flyback power supply running on the CH32V003 RISC-V microcontroller.
Console Font: audiolink.dev/
Patreon: / cnlohr
ch32v003: github.com/cnl...
cnixxi: github.com/cnl... (Look in the firmware and nixitest1 folders)

Пікірлер: 239
@guatagel2454
@guatagel2454 Жыл бұрын
Cool. That's the only thing I can say. Man, you are one of the few truly "Full stack" developers. Now we know that, in adition to all your knowledge, you are not afraid of analog electronics.
@CNLohr
@CNLohr Жыл бұрын
I learned a TON From Sam Ben-Yaakov lectures. You should totally check him out on youtube.
@guatagel2454
@guatagel2454 Жыл бұрын
@@CNLohr now I will
@stickyfox
@stickyfox Жыл бұрын
There is no such thing as digital electronics. I never *saw* so much analog circuit analysis as in my "digital electronics" course in engineering.
@gblargg
@gblargg Жыл бұрын
@@stickyfox You do all the analog engineering of digital circuits so the code running on it doesn't have to deal with it (except things like the flyback control code here).
@stickyfox
@stickyfox Жыл бұрын
@@gblargg That's kind of the flip side. People get so wrapped up in math and signal processing they forget that a processor can generate an AC waveform too! It's good to keep the fundamentals in mind.
@Bakamoichigei
@Bakamoichigei Жыл бұрын
I was _actively_ in the middle of having a breakdown over power supply design being a gap in my knowledge base, and _you upload _*_this._* 😂
@CNLohr
@CNLohr Жыл бұрын
You should watch a bunch of Sam Ben-Yaakov lectures on youtube. That's how I became comfortable with power supply design.
@paulstubbs7678
@paulstubbs7678 Жыл бұрын
Years ago I found a nice single transistor oscillator design that worked with a centre tapped primary transformer, using an smallish audio coupling transformer from an old radio on a 12V supply there was enough HV transients coming out to light a neon bulb. I then added a nixie tube etc, and had a really simple single digit nixie counter. The nixie is, apart from a diode, directly driven from the transformer, no limiting resistor required. I can run my thumb under the nixie & 7441 decoder driver with no tingles etc, something unthinkable when using a conventional 200VDC supply and limiting resistor. Currently the 7441 is driven by a 7490 decade counter (This thing was built 20+ years ago) for a single digit counter. Lately I've been toying with the idea of replacing the 7490 with a micro from an Arduino etc, so I can make it do something a bit like yours, and also drive the inverter instead of it being self excited, so I can stop the HV and blank the display, a function not available from a 7441, as doing so in a conventional 200V setup would see its outputs raise way too high for the chip (This is why most retro nixie devices have a pile of always lit leading zero's) Pity I cannot post a pic of it in the comments.
@CNLohr
@CNLohr Жыл бұрын
You can always make a youtube video about it. I'd watch!
@teslatrooper
@teslatrooper Жыл бұрын
You almost tempted me to buy a set of nixie tubes, very cool project. A well written HAL doesn't need to be resource intensive by the way, the vendor supplied ones usually are though.
@CNLohr
@CNLohr Жыл бұрын
There is the law of leaky abstraction. No matter how careful or well thought out a HAL is, it will always be a net loss.
@happilicious
@happilicious Жыл бұрын
That thumbnail caught my attention, I saw it initially on twitter and clicked on the video immediately. Brilliant project.
@CNLohr
@CNLohr Жыл бұрын
Thanks!
@Aerobiker1
@Aerobiker1 Жыл бұрын
Your creations are amazing as always, truly an inspiration for engineers :D
@CNLohr
@CNLohr Жыл бұрын
Thanks! I try.
@Mr.Leeroy
@Mr.Leeroy Жыл бұрын
Couldn't care less about glowing symbols, but the rest of the project is a joy to witness. You really succeeded in making boring common project like nixie display to be packed with intriguing details.
@CNLohr
@CNLohr Жыл бұрын
Any time you look at anything, when you try to simplify it you find beautiful symmetries and properties of reality.
@bendito999
@bendito999 Жыл бұрын
This is so cool, usually to try to control these tubes people try to make you buy ancient chips that aren't made anymore. I have 8 of the tubes you have pictured here that would love to be used for some kind of display. I definitely need to see how to get my hands on these boards/the parts for them.
@CNLohr
@CNLohr Жыл бұрын
I have my kicad projects on git!
@apo_chromatic
@apo_chromatic Жыл бұрын
The K155ID1 ic for controlling nixies is actually still being manufactured in one single factory
@CNLohr
@CNLohr Жыл бұрын
@@apo_chromatic Now if only I could find one in a QFN package.
@apo_chromatic
@apo_chromatic Жыл бұрын
@@CNLohr Fair, though they do exist in SOIC-16
@bendito999
@bendito999 Жыл бұрын
Very cool extra helpful info guys, good to know that there is still a chip that can do it, I had just remembered some kind seemed hard to get last time I looked into it a few years ago, maybe I was thinking of an older kind. This project is so cool though, such a compact high voltage supply design compared to others. Love this project a lot!
@vincei4252
@vincei4252 Жыл бұрын
Very cool, man. I gave you a RISC-V shout out in the comments on Dave's video. Not surprised that you'd seen that video.
@CNLohr
@CNLohr Жыл бұрын
I'm really glad he found and showed off the parts.
@tommihommi1
@tommihommi1 Жыл бұрын
cool, the chip even has a configurable IO rise time so you can slow it down to prevent EMI issues. Super duper useful these days, and missing on many cheap controllers.
@CNLohr
@CNLohr Жыл бұрын
I love these little buggers.
@vk2zay
@vk2zay Жыл бұрын
This is a really nice little Nixie driver project! If you wanted to make the HV supply inherently safe if the control loop fails you could add some kind of voltage clamp across the HV node, like a zener diode or something else that avalanches at around 200 volts. You could even use this to reduce the drive, say feed it into a BJT that pulls down on the HVCTL and shunts the drive, although this would risk bringing the FET out of saturation and increasing its dissipation, but I suspect an equilibrium would be rapidly established that could be designed to be tolerable continuously as the current limit is mostly set by the transformer inductance and pulse width.
@CNLohr
@CNLohr Жыл бұрын
I have wondered if I was naturally hitting the reverse conduction voltage with my existing diode. I was toying with using a 200V diode, to push that reverse conductance even lower. If I can tailor my supply to leverage that, it would be even cooler! I try to avoid having any extra components in my designs that I can. And, things seem safe enough considering how much I had to do to try to overvolt the supply anyway.
@vk2zay
@vk2zay Жыл бұрын
@@CNLohr yeah that would work, also the drain source breakdown of the switch fet but that would be a low voltage because of the transformer ratio.
@CNLohr
@CNLohr Жыл бұрын
@@vk2zay Is it safe to use the VGS breakdown of the switching FET? I thought that would permanently damage the FET.
@vk2zay
@vk2zay Жыл бұрын
@@CNLohr depends on the FET, some power fets are specified explicitly to allow it and the datasheet has limits for it. However in general 1st breakdown isn't damaging as long as the dissipation isn't excessive, so as long as the current is limited so the drain current limit isn't violated and the IV dissipation doesn't overheat the device it can probably tolerate it indefinitely.
@CNLohr
@CNLohr Жыл бұрын
@@vk2zay Interesting. I will look into it more. But these are some lame chinese datasheets 😕
@benbencom
@benbencom Жыл бұрын
LOL the initial warning after I had to run screaming from your desk to avoid your demonstration of how it "barely tingled" if you touched it
@CNLohr
@CNLohr Жыл бұрын
A day or two later, I got hit hand-to-hand by accident and WOW did that hurt. So much worse than 170V in the palm of your hand.
@sicurr1
@sicurr1 Жыл бұрын
I would love to see whatever people can come up with to apply to some sort of project. You're projects always bring a new angle for me to see things from.
@CNLohr
@CNLohr Жыл бұрын
I would love to see as well!
@sicurr1
@sicurr1 Жыл бұрын
@@CNLohr I'd love to see a nixie clock design with this technique for example. Maybe something crazier, who knows? lol
@flomojo2u
@flomojo2u Жыл бұрын
Well done, thanks for all the work you've done to get this awesome little mcu off the ground and out of the HAL framework that consumes such a massive amount of resources!
@CNLohr
@CNLohr Жыл бұрын
Be sure to spread the knowledge and viewpoint about EVTs/HALs and show people the beautiful way.
@JohnUllrey
@JohnUllrey Жыл бұрын
Looking forward to seeing the finished clock.
@Markfps
@Markfps Жыл бұрын
This is truly amazing, like the rest of your projects, I wonder what you'd do with unlimited funds, you look like the kind of person that has everything he needs and if he doesn't he'll create it.
@CNLohr
@CNLohr Жыл бұрын
Even with unlimited funds, I'd find a way of doing everything cheaply.
@otheraccount5252
@otheraccount5252 Жыл бұрын
you would be well suited for mass manufacturing of consumer electronics
@Spirit532
@Spirit532 Жыл бұрын
Oh look I'm in the video 👀
@CNLohr
@CNLohr Жыл бұрын
Thanks so much for all the guidance.
@Ferraday
@Ferraday Жыл бұрын
“CH32V003? You wouldn’t be able to afford it.”
@CBWP
@CBWP Жыл бұрын
Sweet. I look forward to watching the rest of your videos.
@geraperl4741
@geraperl4741 Жыл бұрын
You did some amazing work here.. Thank you for sharing!
@CNLohr
@CNLohr Жыл бұрын
Thanks!
@avejst
@avejst Жыл бұрын
Great design Great walk-through of the process Thanks for sharing your expirence with all of us 👍 😀
@CNLohr
@CNLohr Жыл бұрын
I do a lot of projects, just hard to make time to make YT vids!
@macyler
@macyler Жыл бұрын
There's an unsoldered-looking pin on the header at 8:50 :P
@CNLohr
@CNLohr Жыл бұрын
Just so everyone can breath easy, it is soldered. It just didn't wick all the way through.
@nobodynoone2500
@nobodynoone2500 Жыл бұрын
This is great. Now I can drive the nixies I can't afford.
@CNLohr
@CNLohr Жыл бұрын
Apparently there are cheaper sources for them yet!
@RPS2443
@RPS2443 Жыл бұрын
Way past my skill level, but that's a really nice project. The PWM ramp between segments is amazing!
@CNLohr
@CNLohr Жыл бұрын
I know! Spirit knew what they were doing!
@Scrogan
@Scrogan Жыл бұрын
Very cool, especially the 5 being an upside down 2. But I’m surprised that the RISC-V core lacks a multiply instruction, even bottom-level ATtiny chips these days (e.g. tiny202) have hardware multiplication. But in basically every other respect it’s a great replacement for an ATtiny. The CH32V103 seems to be more inline with what I’d expect from an entry-level 32-bit MCU, like the RP2040 or bluepill or ESP. Be interesting to see if CH32Vs or GD32Vs (or ESP32C3s) become the mainstay of RISC-V in the hobby space. I hear some allow direct programming through USB without needing a boot loader like how the RP2040 does, which would go a good way towards making them more accessible to noobs. Not sure if you can also do debugging though, not that debugging has ever been accessible to noobs. I gotta look into getting a GDB workflow up and running.
@CNLohr
@CNLohr Жыл бұрын
The core, in spite of its lack of multiply is still VERY capable. At 48MHz, and 32-bit for math operations it is more than capable enough for most projects - so long as you don't burn all your perf in HALs. And indeed, the 103 and 203 are along those lines. Side-note: Bitluni and I have talked about writing a USB-bootloader for the 003!
@gilgameshismist
@gilgameshismist Жыл бұрын
Many moons ago I made bought a few old stock nixie counter racks with 12 nixie tubes in each rack. Then I build a nixie clock using regular ttl logic, a bunch of transistors and a custom transformer. I would love to use this project to drive a new 6 digit nixie clock with the rest of the tubes I still have lying around.
@CNLohr
@CNLohr Жыл бұрын
No time like the present to get started
@armisteadab
@armisteadab Жыл бұрын
I have greatly enjoyed and been inspired by all your content. Thank you
@CNLohr
@CNLohr Жыл бұрын
Thanks!
@niklasprobst5241
@niklasprobst5241 4 ай бұрын
I want more videos like this. I‘m literally watching this video the 6th time because I enjoy it that much. Are there more small youtubers with that in depth hardware videos???
@CNLohr
@CNLohr 4 ай бұрын
What is missing in my other videos? Like what made this video so cool to watch?
@niklasprobst5241
@niklasprobst5241 4 ай бұрын
@@CNLohr I think it‘s the Quality. I‘ve watched many of your videos but this one stands out in terms of video and sound quality as well as video editing. Also the Thumbnail is insane and I really like how you are presenting your projekt. You did a really good job in explaining the technologies, without going into too much detail about the implementation. I love projekts with PID controllers, low level programmed microcontrollers and power converters. The fact you designed your own PCB particulary stands out because other youtubers mostly connect breadboards while you really understand what you are doing. Not only in software you are complete genious but also your Hardware knowledge is insane. I would love more Projekts like these. I recently tried to control a Piezo atomizer with a transformer, to build up an oscillator circuit. A microcontroller is needed to drive the other side of the coil to put energy into the system. Maybe this project would be something for you. In the Internet, there are virtually no tutorials about how to do it with an LC Oscillator circuit and a PWM signal. Have a nice day! Niklas
@stevebabiak6997
@stevebabiak6997 Жыл бұрын
I didn’t see any snubber across the primary of the flyback transformer - I suggest that one be used, whether a diode or RC or combination.
@CNLohr
@CNLohr Жыл бұрын
Should not be needed. There's enough clearance on the FET and it has enough Coss to be that snubbing capacitor from leakage inductance.
@user-cr4sc1ht9t
@user-cr4sc1ht9t Жыл бұрын
I'm def stealing this, but iirc "dynamic" driving - pulsing the display harder but shorter to reduce total energy going through - is recommended just as it is for LEDs for longevity
@CNLohr
@CNLohr Жыл бұрын
Totes a thing you can do with this!
@Spirit532
@Spirit532 Жыл бұрын
Not with nixies. If you're pulsing it to normal operating current, then it's fine, but compensating for PWM with higher drive currents will definitely cause cathode poisoning.
@caiopedreira6643
@caiopedreira6643 Жыл бұрын
Congratulations!! Please allow us to use these Nixies on Arduino framework of the ESP32 as a library or something.
@CNLohr
@CNLohr Жыл бұрын
My hope is I want to make it so they "look like" WS2812's so you can just use the basic WS2812 libraries.
@jon_vannatto
@jon_vannatto Жыл бұрын
Really enjoy these videos/projects.
@CNLohr
@CNLohr Жыл бұрын
Thanks! I still do a lot of them but they rarely get to youtube.
@niklasprobst5241
@niklasprobst5241 5 ай бұрын
Insane
@repairstudio4940
@repairstudio4940 Жыл бұрын
Wow found you via Sammy K's channel. Your content is amazing! Who does those boards again? Do you mind sharing the link? Love this! 💙⚡
@CNLohr
@CNLohr Жыл бұрын
I got these made via JLCPCB.
@CNLohr
@CNLohr Жыл бұрын
Link to board design is indescription.
@repairstudio4940
@repairstudio4940 Жыл бұрын
@@CNLohr you sir are incredible. Thank you 🏆
@repairstudio4940
@repairstudio4940 Жыл бұрын
@@CNLohr I've used them for a few projects they're pretty awesome. I use PCBway for flexible boards.
@CNLohr
@CNLohr Жыл бұрын
@@repairstudio4940 they're great!
@randallyoung6715
@randallyoung6715 Жыл бұрын
Wow what a great project, would love to see code deep dive, I am looking at codebase for/on CH32V003fun and it's pretty dense... You know a lot of tricks and short cuts!
@CNLohr
@CNLohr Жыл бұрын
Make sure to sub and ring the bell, then you'll see if/when I do the deep dive!
@maksgrabowy9842
@maksgrabowy9842 Жыл бұрын
This is awesome. I'm glad this got recommended to me
@CNLohr
@CNLohr Жыл бұрын
Glad it did too! Did I get a sub?
@maksgrabowy9842
@maksgrabowy9842 Жыл бұрын
@@CNLohr Yes! Of course! I just watched some of your videos and it is mind blowing how you come up with some of the stuff. I will adapt some of your ideas to my own projects
@CNLohr
@CNLohr Жыл бұрын
@@maksgrabowy9842 That is my biggest hope!
@anzhel3268
@anzhel3268 10 ай бұрын
insane video! ❤
@daviddong1286
@daviddong1286 5 ай бұрын
This is great! Thank you so much for sharing! Just wondering if is there any way I can purchase some of those boards?
@talhaakram
@talhaakram Жыл бұрын
Phenomenal work 👍
@CNLohr
@CNLohr Жыл бұрын
Thanks
@TheDoctor1492
@TheDoctor1492 Жыл бұрын
Would love to put a couple of these in my computer to replace the mobo code display
@CNLohr
@CNLohr Жыл бұрын
Do ett
@sparc5
@sparc5 Жыл бұрын
Add a crystal oscillator to keep reasonably time since it doesn't have the ability to sync from the internet.
@CNLohr
@CNLohr Жыл бұрын
I may do that, but with an external ESP32-S2
@CagnPolat
@CagnPolat Жыл бұрын
Great project and thank you for your effort. 👏
@CNLohr
@CNLohr Жыл бұрын
Thank you!
@leosmith5209
@leosmith5209 Жыл бұрын
Deep dive into code please- liked ,subscribed , and commented!
@trashviewer3521
@trashviewer3521 Жыл бұрын
Nice thumbnail photo.
@CNLohr
@CNLohr Жыл бұрын
Thanks!
@Montso
@Montso Жыл бұрын
After seeing those tiny transformers and learning the operation, what comes to my mind is a USB killer. Given the transformer size, you can get a stealth killer that just looks like and has the size of normal USB drive.
@Ruth_Asada
@Ruth_Asada Жыл бұрын
A lot of these ИН-12 lamps were produced in the USSR. They are common and cost us 1$ apiece.
@CNLohr
@CNLohr Жыл бұрын
Any chance you could collect up a few hundred and mail them over here?
@Ruth_Asada
@Ruth_Asada Жыл бұрын
@@CNLohr If there are no problems with sending the parcel and transferring money now, then maybe. I don't know about the package, but the transfer of money will definitely be problematic.
@Ruth_Asada
@Ruth_Asada Жыл бұрын
@@CNLohr Try to find out if it is now allowed to send electronic components to you from Russia and how much the delivery will cost.
@CNLohr
@CNLohr Жыл бұрын
@@Ruth_Asada Maybe give it another couple of months... 😕
@Ruth_Asada
@Ruth_Asada Жыл бұрын
@@CNLohr Write as in there will be ideas. I'll stay in touch.
@ivolol
@ivolol 5 ай бұрын
The CH32V203 seems just a bit easier to work with for not much more cost. EG has hardware multiply...
@CNLohr
@CNLohr 16 күн бұрын
the upcoming 002, 005, 006 and 007 all have a hardware multiplier.
@rascalwind
@rascalwind Жыл бұрын
Thats redonkulous
@CNLohr
@CNLohr Жыл бұрын
Or juust right?
@davidwillmore
@davidwillmore Жыл бұрын
Did you measure the gamma of the tube for the dimming? With LEDs, i find that i have to keep in mind that the human eye is non-linear when doing fading.
@CNLohr
@CNLohr Жыл бұрын
I did not. But realistically, I only have about 8 bits of dynamic range. Any gamma curves should be applied by the users of the nixie, instead of by the ch32v003.
@davidwillmore
@davidwillmore Жыл бұрын
@@CNLohr I may have to add dithering just because. ;)
@MikeNielsen12
@MikeNielsen12 Жыл бұрын
nice octopus!
@CNLohr
@CNLohr Жыл бұрын
Thanks!
@testboga5991
@testboga5991 Жыл бұрын
Suuuper cool
@CNLohr
@CNLohr Жыл бұрын
Thanks!
@morbos
@morbos Жыл бұрын
Prob this would work for a magic eye tube also. Use the adc for sampling the magic eye measurement.
@CNLohr
@CNLohr Жыл бұрын
I agree. I haven't gotten a chance to play with any of them.
@selfawaredevices
@selfawaredevices Жыл бұрын
excellent as always.
@CNLohr
@CNLohr Жыл бұрын
Thanks!
@AaronJohnsonSTL
@AaronJohnsonSTL 10 ай бұрын
What is that header you're using for the nixie leads? I'm having trouble finding one of the correct size.
@teslastellar
@teslastellar Жыл бұрын
Excellent video 👍 Thank you 🙂
@CNLohr
@CNLohr Жыл бұрын
Thanks
@tomashubelbauer
@tomashubelbauer Жыл бұрын
Magnificent
@CNLohr
@CNLohr Жыл бұрын
Thank you! Any interest in one of the dev kits I mentioned in the video?
@CNLohr
@CNLohr Жыл бұрын
@@tomashubelbauer Send me an email and I can try!
@MathPiSG
@MathPiSG Жыл бұрын
Great video. You got a new sub in me.
@TheRcEngineer
@TheRcEngineer 4 ай бұрын
Hi Thank you for sharing this project, I ordered pcbs for the nixies and the esp32 host. Could you upload a basic code for the esp32 nixie host so I can test drive the nixie pcbs?
@CNLohr
@CNLohr 16 күн бұрын
it's just my programmer at esp32s2-cookbook/ch32v003programmer
@geraperl4741
@geraperl4741 Жыл бұрын
Thanks!
@CNLohr
@CNLohr Жыл бұрын
I appreciate the tip. Contact me directly and I can give you a dev board.
@PoiSonSonic
@PoiSonSonic Жыл бұрын
That made me sub
@CNLohr
@CNLohr Жыл бұрын
Suuuuper helps the algo
@kstof
@kstof Жыл бұрын
Love this. Curious though, why is your audio favoring the right side?
@CNLohr
@CNLohr Жыл бұрын
I've been recording in stereo recently.
@pietheijn-vo1gt
@pietheijn-vo1gt Жыл бұрын
Very cool, this looks like a much better driver for my IN18 clock than the expensive HV switching chip from TI I have now. Two questions: did you document the control loop somewhere? Does it require a PID or something simpler? Why does your interface to the chip require microsecond accurate timing, is it because of the SWI? Can't we use something simple like UART to interface with it?
@CNLohr
@CNLohr Жыл бұрын
The PID is overkill. I will likely switch it for a PI + expectancy or just P + expectancy loop. Can't use UART with current firmware but it isn't hard to add that as a feature. You can just copy&paste the single file header to access the debug registers as it stands. But I do intend to continue to develop them.
@pietheijn-vo1gt
@pietheijn-vo1gt Жыл бұрын
@@CNLohr Great, thanks for responding. I think I2C would be even better. Then we would only need a single bus to communicate to the controllers and would make it scalable from 2 to perhaps even 8 digit clocks. I am looking to built this project soon so I will look into that
@CNLohr
@CNLohr Жыл бұрын
@@pietheijn-vo1gt good point!
@stevenalexander6262
@stevenalexander6262 Жыл бұрын
@@pietheijn-vo1gt yoo, if you get I2C working on it, that would be so cool. I'm very new to the scene of electronics, but I'd be happy to learn from you if you get it working :D
@xernerac
@xernerac Жыл бұрын
Those PCBs look like they were routed with topor
@CNLohr
@CNLohr Жыл бұрын
They were not. I hand routed everything.
@xernerac
@xernerac Жыл бұрын
@@CNLohr nice! I love PCBs that don't follow the grid...
@Latvian3Dman
@Latvian3Dman Жыл бұрын
This is sweet...
@CNLohr
@CNLohr Жыл бұрын
Thanks
@AdilKhan-jp7hn
@AdilKhan-jp7hn Жыл бұрын
Very Cool Project. Do you have the dev. Board and the programmer available? Although I am not a patreon member but would like to get this board to try it. I am in the US.
@CNLohr
@CNLohr Жыл бұрын
I do - bleh. I am set up to handle things through patreon. You could just do $1/video and I'd send it. No need to stay. If you really don't like patreon, I could consider a kofi?
@unkowndata2338
@unkowndata2338 Жыл бұрын
This is awesome! I have some of the same nixie tubes! Would love to see a follow up on this on controlling them via an external microcontroller like an esp32. How did you learn how to build the boards? I would love to be able to have access to these tiny components and not have to solder them myself.
@CNLohr
@CNLohr Жыл бұрын
If I do, maybe by then I will have the boards for sale too!
@user-jb2le9el3x
@user-jb2le9el3x Жыл бұрын
I would love to get a few of these if you ever do sell the boards, I have a few sets of Nixie tubes that aren't doing anything so it would be great to use them.
@CNLohr
@CNLohr Жыл бұрын
@@user-jb2le9el3x Are they IN-12 or IN-15's or a different size?
@user-jb2le9el3x
@user-jb2le9el3x Жыл бұрын
@@CNLohr IN 12 rings a bell, I am pretty that's them
@MBaadsgaard
@MBaadsgaard Жыл бұрын
You point out a transformer IC but it sounds like you drive the FET from the MCU, so what does the transformer do?
@CNLohr
@CNLohr Жыл бұрын
The transformer both acts as an inductor to be the boost AND provides a 10:1 voltage multiplier.
@MBaadsgaard
@MBaadsgaard Жыл бұрын
@@CNLohr Ooooh! Silly me I realise now. It's because the bottom side with the visible windings are whats in the screengrab from LCSC so when you pointed to it on the PCB I thought it was something else, like a SMPS IC of sorts. This thing does 0.7A and up to 500V?! There are so many of these old display tubes you could power with this. So thanks a ton for showing this!
@urufusan
@urufusan Жыл бұрын
What font are you using in your Notepad++ config? It's really interesting and I've never seen it before.
@CNLohr
@CNLohr Жыл бұрын
AudioLink Console, available from audiolink dot dev.
@NeuroMod
@NeuroMod Жыл бұрын
How much power is required to power one of these? I'm wondering how many nixies you could be powered from a single USB
@CNLohr
@CNLohr Жыл бұрын
My PSU uses about 300mW. Only about 300mW actually goes into the tube.
@MikeNielsen12
@MikeNielsen12 Жыл бұрын
nice apple
@CNLohr
@CNLohr Жыл бұрын
What is this in reference to?
@zeffofx
@zeffofx Жыл бұрын
hey can those tiny transformers can be use for vfd display's fl?
@CNLohr
@CNLohr Жыл бұрын
They probably could.
@xecoq
@xecoq Жыл бұрын
Im way too dumb for this. Cool project though, seems pretty amazing for the seemingly simple components to do this at such a high voltage?
@CNLohr
@CNLohr Жыл бұрын
You are done, not when there's nothing left to add to your project. But when there's nothing left to take out.
@timothykanarsky8468
@timothykanarsky8468 Жыл бұрын
how do you drive the individual cathodes of the nixie? do you have 10 individual low-side fets or is there some sort of multiplexing going on?
@CNLohr
@CNLohr Жыл бұрын
I do have 10 fets. But they're about 5c ea
@GingerNingerGames
@GingerNingerGames Жыл бұрын
I must've watched the bit about turning the IIR into 3 instructions about 5 times trying to work out how it works, because boy do I need to do something similar for my driver project I'm working on because it runs WAY too slow and no divide to do regular RMS averaging. I'm tempted to just throw the code in and see if it works, but I'd also like to understand how it works, so I'll know if it's actually going to help my application
@GingerNingerGames
@GingerNingerGames Жыл бұрын
I've played around with it a little, for some reason I had to add an extra right shift 1 to the filtered value to make it in range, but it is smoother than raw. Cool as
@CNLohr
@CNLohr Жыл бұрын
Yes. You will need to right-shift your output if you want it to be less OOR than the typical input. The way the shift-iir works is to inflate the size of the filtered value.
@GingerNingerGames
@GingerNingerGames Жыл бұрын
@@CNLohr Ah, That explains why it was coming out so high, I like it, I'll see if I can figure out how to implement it in my code next, thank you
@gearyae
@gearyae Жыл бұрын
Okay, that's super cool. Why are you not calling them nixels?
@CNLohr
@CNLohr Жыл бұрын
Nixels I like that one!
@lezbriddon
@lezbriddon Жыл бұрын
the hv control code makes my head hurt. i'd have done that in hw with a smps ic etc.
@CNLohr
@CNLohr Жыл бұрын
So much extra wasted hardware.
@lezbriddon
@lezbriddon Жыл бұрын
@@CNLohr chip count is about the same really, look how full power supplys in led lights are now just one 6 or 8 pin IC. I'm not knocking your design the software is way above what I would want to choose to do for such an important task as accurately maintaining a critical supply that could toast the project, but I would feel confident doing it on the PCB because I have more knowledge in that area.
@poiitidis
@poiitidis Жыл бұрын
Nice!!!
@CNLohr
@CNLohr Жыл бұрын
Thanks!
@TheConceptBoy
@TheConceptBoy Жыл бұрын
Isn't RISKV open source too? I see a big rise on open source software and hardware adaptation as of the last 5 years.
@CNLohr
@CNLohr Жыл бұрын
The ISA is open. There are some open cores. But most of the cores are still closed (which is OK) because the tooling is all still free.
@tonysoprano7425
@tonysoprano7425 Жыл бұрын
How much current will that little powersupply be able to provide?
@CNLohr
@CNLohr Жыл бұрын
Only about 4mA @ 180V before it gets really inefficient.
@michaelzweers1807
@michaelzweers1807 Жыл бұрын
Nice project, i was working on something similar based on a MAX1771, @CNLohr do you know of the nixie chess set. The one that exist that i know off uses wireless energy but i think this cost effective solution combined with a battery would be a nicer solution. You can even go really fancy and add some position tracking of the chess pieces and let an esp track the game over the wifi's.
@CNLohr
@CNLohr Жыл бұрын
The magic of the CH is you can programmatically adjust voltage, current, compensation, and all sorts of other properties without any extra components! That is very cool, though! I had not heard of the nixie chess set til now. And why need an ESP? You could totally let each one of the CH32V's have a signature that is indicated by patterns of current draw so when it is over a charging cell, the host processor could see which part is where!
@michaelzweers1807
@michaelzweers1807 Жыл бұрын
@@CNLohr I was thinking of using the esp to send the game over internet e.g. remote play. Does chatgpt support chess yet? :)
@Raletia
@Raletia Жыл бұрын
This is really awesome! Have a sub! :3 If you do make a clock, it's be a great DIY project to replicate if it can be safely done, I've looked at Nixie stuff before and it's always insanely expensive. Plus it could be fun to build something yourself. Look forward to more cool shenanigans! To anyone reading this comment, Have a lovely day!
@CNLohr
@CNLohr Жыл бұрын
I think it will just be for me but whooo knowwws.
@florinbaciu2325
@florinbaciu2325 Жыл бұрын
Can i buy the ch dev board made by you from somewhere? Thank You!
@CNLohr
@CNLohr Жыл бұрын
The idea was I wanted to make them for my patrons. But I suppose I can get them made elsewhere.
@steffenthorhauge9549
@steffenthorhauge9549 Жыл бұрын
I'm interested in buying some as well. That or the schematic.
@florinbaciu2325
@florinbaciu2325 Жыл бұрын
@@steffenthorhauge9549 i think I'm gonna subscribe to Patreon as i love his content and i wanna suport him and if i get the chance to buy one , I'll do , if not I'll wait for the dev boatd i got from china
@ophello
@ophello Жыл бұрын
Can you pretty please design these boards for the round style Nixie tubes?
@CNLohr
@CNLohr Жыл бұрын
Which one? IN-4?
@Latvian3Dman
@Latvian3Dman Жыл бұрын
So, we can have, say, CPU usage indicator on Nixies.
@CNLohr
@CNLohr Жыл бұрын
Absolutely could make it!
@stormbreaker932
@stormbreaker932 Жыл бұрын
Would you share a link to those nixie tubes you found on AliExpress?
@CNLohr
@CNLohr Жыл бұрын
Aliexpress links expire quickly, and youtube doesn't do well with links in comments :-/ But if you look for a bunch of IN12 tubes I am sure you can find the listing that I found that sells them in pairs for $20.75/pair.
@ksejevbtjfahkvdqnl
@ksejevbtjfahkvdqnl Жыл бұрын
The font you are using in Notepad++ looks gorgeous. What is it called?
@CNLohr
@CNLohr Жыл бұрын
audiolink mono (or audiolink console) depending on the flavor you want. It's at audiolink dot dev.
@creatiph
@creatiph Жыл бұрын
6:08 lol is that diagram copy pasted from a stm32 reference manual ?
@teslatrooper
@teslatrooper Жыл бұрын
These chips (and their tooling) seem to be heavily "inspired" by STM32
@tommihommi1
@tommihommi1 Жыл бұрын
and that's a good thing :D well, for everyone apart from ST micro.
@CNLohr
@CNLohr Жыл бұрын
The peripherals are subtly different. The principles are similar. But these Chinese parts (GD, PY and CH) fix a lot of the rough edges that ST left. Things that ST did poorly they really improved upon.
@JoinUsInVR
@JoinUsInVR Жыл бұрын
I have no clue what a "CH32V003 from WCH on EEEBlog" is... So I guess that "WARNING" was for me :/
@NotSpllit1
@NotSpllit1 Жыл бұрын
nice :D
@CNLohr
@CNLohr Жыл бұрын
Thanks
@coolduder1001
@coolduder1001 Жыл бұрын
what about powering a vfd?
@CNLohr
@CNLohr Жыл бұрын
Totally possible, but for now, I think it's time for me to go back and visit some more projects.
@lafemmedevastation
@lafemmedevastation Жыл бұрын
I stumbled here and I feel so dumb.. so very dumb. plz help😿 d'you make custom bluetooth controllers from wired ones on etsy perhaps?😭
@CNLohr
@CNLohr Жыл бұрын
I do not.
@lafemmedevastation
@lafemmedevastation Жыл бұрын
@@CNLohr that's cool, I thought your video was interesting tho😸
@kkibi
@kkibi Жыл бұрын
hi! i was curious, your channel description says christ is your light. so are you religious? or is it just a joke
@CNLohr
@CNLohr Жыл бұрын
I am, quite so. I came to Christ when I was 24, and He really turned around the direction of my life.
@nixietubes
@nixietubes Жыл бұрын
$10/pc is a bad price for IN-12, good price is $5/pc or less, aliexpress has bad nixie prices
@nobodynoone2500
@nobodynoone2500 Жыл бұрын
Got any links with better prices?
@Bakamoichigei
@Bakamoichigei Жыл бұрын
Have you tried shopping for tubes since _the war_ started? idk about you, but literally all my sources for cheap Soviet surplus nixie and VFD tubes were in Russia and Ukraine. 😬
@nixietubes
@nixietubes Жыл бұрын
@Bakamoichigei yes, buying from ukraine is safe and easy tho
@nixietubes
@nixietubes Жыл бұрын
@@nobodynoone2500 youtube shadowbans links in comments
@CNLohr
@CNLohr Жыл бұрын
Can you reach out to me directly with someone I can email to get some of them? I am lohr85 ǣ gmail.
@Barnaclebeard
@Barnaclebeard Жыл бұрын
Nerd bait
@CNLohr
@CNLohr Жыл бұрын
Guilty as charged.
@lachlanlau
@lachlanlau Жыл бұрын
Too much for my tiny brain.. how did you learn all this?
@CNLohr
@CNLohr Жыл бұрын
Slowly, over a long time. And by being conscious about my interests and directing them, instead of being blown around. Being careful to limit my time playing games or watching media. And being sure that as I do consume media it directs me in a direction I want to go.
@JohnoScott
@JohnoScott Жыл бұрын
180 volts ? (1.21 jigga watts) 😂😂😂
@CNLohr
@CNLohr Жыл бұрын
More like 450 mW ;-P
@JohnoScott
@JohnoScott Жыл бұрын
@@CNLohr I did hear you. say 180 volts though right (hence the warning). Thats what you use that tiny transformer to step up to ?
@CNLohr
@CNLohr Жыл бұрын
@@JohnoScott Yep!
@niklasprobst5241
@niklasprobst5241 7 ай бұрын
Insane
I MADE A 24Hr CLOCK WITH JUST UNISELECTORS AND NIXIE TUBES
16:06
LOOK MUM NO COMPUTER
Рет қаралды 68 М.
Matching Picture Challenge with Alfredo Larin's family! 👍
00:37
BigSchool
Рет қаралды 52 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 7 МЛН
Violet Beauregarde Doll🫐
00:58
PIRANKA
Рет қаралды 49 МЛН
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 6 МЛН
A Deep Dive into VR - A new Social Reality
27:21
CNLohr
Рет қаралды 47 М.
DIY 256-Core RISC-V super computer
10:29
bitluni
Рет қаралды 254 М.
Making: Huge Nixie Tube prototype - Project H #18
22:39
Dalibor Farný
Рет қаралды 1 МЛН
Your Powerbank has 1 BIG Problem! (That we can "Hack")
12:13
GreatScott!
Рет қаралды 352 М.
RISC-V isn't killing Arm (yet)
9:05
Jeff Geerling
Рет қаралды 349 М.
Testing out the Milk-V Duo - The new $9 RISC-V eSBC that runs Linux!
23:19
Making a Custom Nixie Tube for Keysight Technologies
14:20
Dalibor Farný
Рет қаралды 321 М.
Lichee Pi 4A: Serious RISC-V Desktop Computing
19:14
ExplainingComputers
Рет қаралды 218 М.
Matching Picture Challenge with Alfredo Larin's family! 👍
00:37
BigSchool
Рет қаралды 52 МЛН