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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 เม.ย. 2023
  • 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/cnlohr/ch32v003fun
    cnixxi: github.com/cnlohr/cnixxi (Look in the firmware and nixitest1 folders)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 237

  • @guatagel2454
    @guatagel2454 ปีที่แล้ว +139

    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  ปีที่แล้ว +40

      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 ปีที่แล้ว +13

    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.

  • @paulstubbs7678
    @paulstubbs7678 ปีที่แล้ว +3

    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  ปีที่แล้ว +1

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

  • @happilicious
    @happilicious ปีที่แล้ว +2

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks!

  • @Aerobiker1
    @Aerobiker1 ปีที่แล้ว +17

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว +2

      Thanks! I try.

  • @jacobd.2941
    @jacobd.2941 ปีที่แล้ว

    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!

    • @jacobd.2941
      @jacobd.2941 ปีที่แล้ว +1

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

  • @flomojo2u
    @flomojo2u 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      Be sure to spread the knowledge and viewpoint about EVTs/HALs and show people the beautiful way.

  • @armisteadab
    @armisteadab ปีที่แล้ว

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks!

  • @CBWP
    @CBWP ปีที่แล้ว

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

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

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

  • @geraperl4741
    @geraperl4741 ปีที่แล้ว +1

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks!

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

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

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

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

  • @AaronJohnsonSTL
    @AaronJohnsonSTL 6 หลายเดือนก่อน

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

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

  • @anzhel3268
    @anzhel3268 7 หลายเดือนก่อน

    insane video! ❤

  • @talhaakram
    @talhaakram ปีที่แล้ว +1

    Phenomenal work 👍

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks

  • @CagnPolat
    @CagnPolat ปีที่แล้ว

    Great project and thank you for your effort. 👏

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thank you!

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

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

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

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

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

  • @MathPiSG
    @MathPiSG 10 หลายเดือนก่อน

    Great video. You got a new sub in me.

  • @selfawaredevices
    @selfawaredevices ปีที่แล้ว

    excellent as always.

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks!

  • @teslastellar
    @teslastellar ปีที่แล้ว

    Excellent video 👍 Thank you 🙂

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks

  • @niklasprobst5241
    @niklasprobst5241 2 หลายเดือนก่อน +1

    Insane

  • @daviddong1286
    @daviddong1286 หลายเดือนก่อน

    This is great! Thank you so much for sharing! Just wondering if is there any way I can purchase some of those boards?

  • @testboga5991
    @testboga5991 ปีที่แล้ว

    Suuuper cool

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks!

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

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

  • @zeffofx
    @zeffofx ปีที่แล้ว

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      They probably could.

  • @kstof
    @kstof ปีที่แล้ว

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว +1

      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 10 หลายเดือนก่อน

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

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

  • @tonysoprano7425
    @tonysoprano7425 ปีที่แล้ว

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว

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

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

  • @TheRcEngineer
    @TheRcEngineer หลายเดือนก่อน

    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?

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

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

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

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

  • @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  11 หลายเดือนก่อน +1

      I got these made via JLCPCB.

    • @CNLohr
      @CNLohr  11 หลายเดือนก่อน +1

      Link to board design is indescription.

    • @repairstudio4940
      @repairstudio4940 11 หลายเดือนก่อน

      @@CNLohr you sir are incredible. Thank you 🏆

    • @repairstudio4940
      @repairstudio4940 11 หลายเดือนก่อน +1

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

    • @CNLohr
      @CNLohr  11 หลายเดือนก่อน +1

      @@repairstudio4940 they're great!

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

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

  • @PoiSonSonic
    @PoiSonSonic ปีที่แล้ว

    That made me sub

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Suuuuper helps the algo

  • @geraperl4741
    @geraperl4741 ปีที่แล้ว

    Thanks!

    • @CNLohr
      @CNLohr  ปีที่แล้ว

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

  • @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 ปีที่แล้ว +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.

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

  • @leosmith5209
    @leosmith5209 ปีที่แล้ว +1

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

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

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

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

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

  • @MikeNielsen12
    @MikeNielsen12 ปีที่แล้ว

    nice octopus!

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks!

  • @ophello
    @ophello ปีที่แล้ว

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Which one? IN-4?

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

  • @poiitidis
    @poiitidis ปีที่แล้ว

    Nice!!!

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks!

  • @Latvian3Dman
    @Latvian3Dman ปีที่แล้ว

    This is sweet...

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Thanks

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

  • @TheDoctor1492
    @TheDoctor1492 ปีที่แล้ว

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Do ett

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

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

  • @ivolol
    @ivolol หลายเดือนก่อน

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

  • @trashviewer3521
    @trashviewer3521 ปีที่แล้ว

    Nice thumbnail photo.

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

  • @niklasprobst5241
    @niklasprobst5241 หลายเดือนก่อน

    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  หลายเดือนก่อน +1

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

    • @niklasprobst5241
      @niklasprobst5241 หลายเดือนก่อน

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

  • @rascalwind
    @rascalwind ปีที่แล้ว +1

    Thats redonkulous

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Or juust right?

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

  • @NotSpllit1
    @NotSpllit1 ปีที่แล้ว

    nice :D

    • @CNLohr
      @CNLohr  ปีที่แล้ว +1

      Thanks

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

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

  • @TheConceptBoy
    @TheConceptBoy ปีที่แล้ว +1

    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.

  • @gearyae
    @gearyae ปีที่แล้ว

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว +1

      Nixels I like that one!

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

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

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

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

  • @MikeNielsen12
    @MikeNielsen12 ปีที่แล้ว +1

    nice apple

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      What is this in reference to?

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

  • @Latvian3Dman
    @Latvian3Dman ปีที่แล้ว

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

    • @CNLohr
      @CNLohr  ปีที่แล้ว +1

      Absolutely could make it!

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

  • @JoinUsInVR
    @JoinUsInVR ปีที่แล้ว +1

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

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

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

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

  • @Barnaclebeard
    @Barnaclebeard ปีที่แล้ว

    Nerd bait

    • @CNLohr
      @CNLohr  ปีที่แล้ว

      Guilty as charged.

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

  • @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 3 หลายเดือนก่อน

    Insane