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

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • 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 Рік тому +149

    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  Рік тому +42

      I learned a TON From Sam Ben-Yaakov lectures. You should totally check him out on youtube.

    • @guatagel2454
      @guatagel2454 Рік тому +4

      @@CNLohr now I will

    • @stickyfox
      @stickyfox Рік тому +6

      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 Рік тому +1

      @@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 Рік тому +16

    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  Рік тому +1

      You should watch a bunch of Sam Ben-Yaakov lectures on youtube. That's how I became comfortable with power supply design.

  • @teslatrooper
    @teslatrooper Рік тому +27

    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  Рік тому +6

      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.

  • @Aerobiker1
    @Aerobiker1 Рік тому +17

    Your creations are amazing as always, truly an inspiration for engineers :D

    • @CNLohr
      @CNLohr  Рік тому +2

      Thanks! I try.

  • @paulstubbs7678
    @paulstubbs7678 Рік тому +4

    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  Рік тому +2

      You can always make a youtube video about it. I'd watch!

  • @Spirit532
    @Spirit532 Рік тому +13

    Oh look I'm in the video 👀

    • @CNLohr
      @CNLohr  Рік тому +2

      Thanks so much for all the guidance.

    • @Ferraday
      @Ferraday Рік тому +1

      “CH32V003? You wouldn’t be able to afford it.”

  • @macyler
    @macyler Рік тому +4

    There's an unsoldered-looking pin on the header at 8:50 :P

    • @CNLohr
      @CNLohr  Рік тому +3

      Just so everyone can breath easy, it is soldered. It just didn't wick all the way through.

  • @bendito999
    @bendito999 Рік тому +9

    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  Рік тому +5

      I have my kicad projects on git!

    • @apo_chromatic
      @apo_chromatic Рік тому +2

      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!

  • @davidwillmore
    @davidwillmore Рік тому +4

    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  Рік тому +1

      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. ;)

  • @tommihommi1
    @tommihommi1 Рік тому +4

    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  Рік тому +2

      I love these little buggers.

  • @vk2zay
    @vk2zay Рік тому +3

    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  Рік тому +1

      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 Рік тому +1

      @@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  Рік тому +1

      @@vk2zay Is it safe to use the VGS breakdown of the switching FET? I thought that would permanently damage the FET.

    • @vk2zay
      @vk2zay Рік тому +1

      @@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  Рік тому +2

      @@vk2zay Interesting. I will look into it more. But these are some lame chinese datasheets 😕

  • @happilicious
    @happilicious Рік тому +2

    That thumbnail caught my attention, I saw it initially on twitter and clicked on the video immediately. Brilliant project.

  • @Scrogan
    @Scrogan Рік тому +2

    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  Рік тому +3

      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!

  • @Mr.Leeroy
    @Mr.Leeroy Рік тому +1

    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.

  • @niklasprobst5241
    @niklasprobst5241 6 місяців тому +1

    Insane

  • @AaronJohnsonSTL
    @AaronJohnsonSTL 10 місяців тому

    What is that header you're using for the nixie leads? I'm having trouble finding one of the correct size.

  • @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?

  • @leosmith5209
    @leosmith5209 Рік тому +1

    Deep dive into code please- liked ,subscribed , and commented!

  • @RPS2443
    @RPS2443 Рік тому +1

    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!

  • @rascalwind
    @rascalwind Рік тому +1

    Thats redonkulous

    • @CNLohr
      @CNLohr  Рік тому

      Or juust right?

  • @ivolol
    @ivolol 5 місяців тому

    The CH32V203 seems just a bit easier to work with for not much more cost. EG has hardware multiply...

    • @CNLohr
      @CNLohr  Місяць тому

      the upcoming 002, 005, 006 and 007 all have a hardware multiplier.

  • @vincei4252
    @vincei4252 Рік тому +1

    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.

  • @TheRcEngineer
    @TheRcEngineer 5 місяців тому

    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  Місяць тому

      it's just my programmer at esp32s2-cookbook/ch32v003programmer

  • @JohnUllrey
    @JohnUllrey Рік тому +1

    Looking forward to seeing the finished clock.

  • @Markfps
    @Markfps Рік тому +2

    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  Рік тому +1

      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

  • @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.

  • @MikeNielsen12
    @MikeNielsen12 Рік тому +1

    nice apple

    • @CNLohr
      @CNLohr  Рік тому

      What is this in reference to?

  • @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.

  • @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

  • @florinbaciu2325
    @florinbaciu2325 Рік тому +2

    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 Рік тому +1

      @@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

  • @MathPiSG
    @MathPiSG Рік тому

    Great video. You got a new sub in me.

  • @michaelzweers1807
    @michaelzweers1807 Рік тому +2

    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? :)

  • @geraperl4741
    @geraperl4741 Рік тому +1

    You did some amazing work here.. Thank you for sharing!

  • @zeffofx
    @zeffofx Рік тому

    hey can those tiny transformers can be use for vfd display's fl?

    • @CNLohr
      @CNLohr  Рік тому

      They probably could.

  • @nobodynoone2500
    @nobodynoone2500 Рік тому +1

    This is great. Now I can drive the nixies I can't afford.

    • @CNLohr
      @CNLohr  Рік тому

      Apparently there are cheaper sources for them yet!

  • @tonysoprano7425
    @tonysoprano7425 Рік тому

    How much current will that little powersupply be able to provide?

    • @CNLohr
      @CNLohr  Рік тому

      Only about 4mA @ 180V before it gets really inefficient.

  • @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!

  • @TheDoctor1492
    @TheDoctor1492 Рік тому

    Would love to put a couple of these in my computer to replace the mobo code display

  • @anzhel3268
    @anzhel3268 11 місяців тому

    insane video! ❤

  • @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.

  • @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.

  • @niklasprobst5241
    @niklasprobst5241 7 місяців тому

    Insane

  • @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!

  • @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.

  • @trashviewer3521
    @trashviewer3521 Рік тому

    Nice thumbnail photo.

  • @CBWP
    @CBWP Рік тому

    Sweet. I look forward to watching the rest of your videos.

  • @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.

  • @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.

  • @caiopedreira6643
    @caiopedreira6643 Рік тому

    Congratulations!! Please allow us to use these Nixies on Arduino framework of the ESP32 as a library or something.

    • @CNLohr
      @CNLohr  Рік тому +3

      My hope is I want to make it so they "look like" WS2812's so you can just use the basic WS2812 libraries.

  • @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?

  • @Latvian3Dman
    @Latvian3Dman Рік тому

    So, we can have, say, CPU usage indicator on Nixies.

    • @CNLohr
      @CNLohr  Рік тому +1

      Absolutely could make it!

  • @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  Рік тому +1

      No time like the present to get started

  • @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.

  • @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.

  • @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  Рік тому +1

      I got these made via JLCPCB.

    • @CNLohr
      @CNLohr  Рік тому +1

      Link to board design is indescription.

    • @repairstudio4940
      @repairstudio4940 Рік тому

      @@CNLohr you sir are incredible. Thank you 🏆

    • @repairstudio4940
      @repairstudio4940 Рік тому +1

      @@CNLohr I've used them for a few projects they're pretty awesome. I use PCBway for flexible boards.

    • @CNLohr
      @CNLohr  Рік тому +1

      @@repairstudio4940 they're great!

  • @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.

  • @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

  • @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.

  • @gearyae
    @gearyae Рік тому

    Okay, that's super cool. Why are you not calling them nixels?

    • @CNLohr
      @CNLohr  Рік тому +1

      Nixels I like that one!

  • @PoiSonSonic
    @PoiSonSonic Рік тому

    That made me sub

    • @CNLohr
      @CNLohr  Рік тому

      Suuuuper helps the algo

  • @xernerac
    @xernerac Рік тому

    Those PCBs look like they were routed with topor

    • @CNLohr
      @CNLohr  Рік тому

      They were not. I hand routed everything.

    • @xernerac
      @xernerac Рік тому +1

      @@CNLohr nice! I love PCBs that don't follow the grid...

  • @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.

  • @MikeNielsen12
    @MikeNielsen12 Рік тому

    nice octopus!

  • @talhaakram
    @talhaakram Рік тому +1

    Phenomenal work 👍

  • @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  Рік тому +1

      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 Рік тому +1

      @@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

  • @ophello
    @ophello Рік тому

    Can you pretty please design these boards for the round style Nixie tubes?

    • @CNLohr
      @CNLohr  Рік тому

      Which one? IN-4?

  • @Barnaclebeard
    @Barnaclebeard Рік тому

    Nerd bait

    • @CNLohr
      @CNLohr  Рік тому

      Guilty as charged.

  • @geraperl4741
    @geraperl4741 Рік тому

    Thanks!

    • @CNLohr
      @CNLohr  Рік тому

      I appreciate the tip. Contact me directly and I can give you a dev board.

  • @すどにむ
    @すどにむ Рік тому

    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 Рік тому +1

      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.

  • @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!

  • @testboga5991
    @testboga5991 Рік тому

    Suuuper cool

  • @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.

  • @kstof
    @kstof Рік тому

    Love this. Curious though, why is your audio favoring the right side?

    • @CNLohr
      @CNLohr  Рік тому +1

      I've been recording in stereo recently.

  • @armisteadab
    @armisteadab Рік тому

    I have greatly enjoyed and been inspired by all your content. Thank you

  • @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

  • @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 Рік тому +1

      @@CNLohr I'd love to see a nixie clock design with this technique for example. Maybe something crazier, who knows? lol

  • @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!

  • @teslastellar
    @teslastellar Рік тому

    Excellent video 👍 Thank you 🙂

  • @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.

  • @CagnPolat
    @CagnPolat Рік тому

    Great project and thank you for your effort. 👏

  • @creatiph
    @creatiph Рік тому

    6:08 lol is that diagram copy pasted from a stm32 reference manual ?

    • @teslatrooper
      @teslatrooper Рік тому +2

      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  Рік тому +1

      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.

  • @Latvian3Dman
    @Latvian3Dman Рік тому

    This is sweet...

  • @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

  • @selfawaredevices
    @selfawaredevices Рік тому

    excellent as always.

  • @JoinUsInVR
    @JoinUsInVR Рік тому +1

    I have no clue what a "CH32V003 from WCH on EEEBlog" is... So I guess that "WARNING" was for me :/

  • @poiitidis
    @poiitidis Рік тому

    Nice!!!

  • @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!

  • @NotSpllit1
    @NotSpllit1 Рік тому

    nice :D

  • @ksejevbtjfahkvdqnl
    @ksejevbtjfahkvdqnl Рік тому +2

    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.

  • @nixietubes
    @nixietubes Рік тому +1

    $10/pc is a bad price for IN-12, good price is $5/pc or less, aliexpress has bad nixie prices

    • @nobodynoone2500
      @nobodynoone2500 Рік тому +4

      Got any links with better prices?

    • @Bakamoichigei
      @Bakamoichigei Рік тому +1

      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.

  • @niklasprobst5241
    @niklasprobst5241 5 місяців тому

    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  5 місяців тому +1

      What is missing in my other videos? Like what made this video so cool to watch?

    • @niklasprobst5241
      @niklasprobst5241 5 місяців тому

      @@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

  • @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  Рік тому +1

      I am, quite so. I came to Christ when I was 24, and He really turned around the direction of my life.

  • @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.

  • @lachlanlau
    @lachlanlau Рік тому

    Too much for my tiny brain.. how did you learn all this?

    • @CNLohr
      @CNLohr  Рік тому +2

      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.

  • @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  Рік тому +1

      I do not.

    • @lafemmedevastation
      @lafemmedevastation Рік тому

      @@CNLohr that's cool, I thought your video was interesting tho😸

  • @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!