Arduino to HV5122 interface for driving high voltage nixie tubes. - Page 1
Forum section: electronics / general

author: Zog
author_rank: Regular Contributor
timestamp: March 24, 2021, 12:59:25 am
content: Hey all,I have been looking at the HV5122https://ww1.microchip.com/downloads/en/DeviceDoc/20005418B.pdfand interfacing it directly to the outputs of an arduino board.Looking around I see a lot of other peoples circuits that use this for direct driving nixies and it looks like a good choice.Something I have noticed is that some circuits have level shifted the clock and other digital inputs to +12V from +5V. Looking at the spec sheet I have no idea why you would do that ?Wouldn't the HV5122 work just fine with +5V on the inputs.I am missing something but for the life of me I can't see it.Here is a link to a circuit that is doing the level shifting.https://create.arduino.cc/projecthub/gra_and_afch/arduino-shield-ncs314-nixie-tubes-clock-in-14-20932bLast one down is a good example.Why ?

author: Ian.M
author_rank: Super Contributor
timestamp: March 24, 2021, 01:16:31 am
content: The HV5122 datasheet (table 3-2) says it needs 12V Vdd (+/- 10%) to run, and its logic '1' threshold is Vdd-2V, so you need level shifting to drive it. A 5V logic signal wont even reach 50% of Vdd at its min. rated Vdd so is vanishingly unlikely to work at all.

author: Zog
author_rank: Regular Contributor
timestamp: March 24, 2021, 02:28:25 am
content: Thanks Ian.This is doing my head in.Supertex data sheet is showingRecommended Operating ConditionsVDD Logic voltage supply 10.8 12 13.2 VHVOUT High voltage output -0.3 - 225 VVIH High-level input voltage VDD -2.0 - VDD VVIL Low-level input voltage 0 - 2.0 VfCLK Clock frequency - - 8.0 MHzTA Operating free-air temperaturePlastic -40 - +85 OCCeramic -55 - +125But the Microchip one is showing this.ABSOLUTE MAXIMUM RATINGS†Supply voltage, VDD ...-0.5V to +15VSupply voltage, VPP ...-0.5V to +250VLogic input levels ... -0.5V to VDD+0.5VGround current1 ... 1.5AContinuous total power dissipation2... 1200mWOperating temperature range... -40°C to +85°CStorage temperature range ... -65°C to +150°CNot at all sure which one to believe here.I have seen other designs that use +5VDD so.... erm ?Edit: looking at the wrong section. Datasheet agree.But how can these guys be using 5V.... can't be right. Right ?https://doayee.co.uk/files/NixieSchematic.pdf

author: Ian.M
author_rank: Super Contributor
timestamp: March 24, 2021, 03:09:50 am
content: Its the difference between hobby hackers and professional design . . .They are running the HV5122 at 5V Vdd , so the logic levels are 5V compatible. However 5V probably isn't enough to turn the output MOSFETs fully on so the chip runs hot as its dropping too much voltage sinking current, and odds are the chip's much much slower than the datasheet specs so malfunctions if clocked too fast. Maybe you get lucky and get chips from a batch that sorta works at 5V, then when you want to build another one the chips from another batch don't work at all till you give them higher Vdd.

author: westfw
author_rank: Super Contributor
timestamp: March 24, 2021, 07:59:34 am
content: The "Absolute max ratings" are not the same as the recommended operating conditions.The Microchip datasheet has the "Recommend" values off in section 3 (for some reason separate from the "electrical specifications.")

author: tttonyyy
author_rank: Regular Contributor
timestamp: March 02, 2024, 05:29:11 pm
content: Found this thread right after looking at the Doayee schematic and then the part datasheet. I was surprised to see that the recommended operating voltage was 12V, but in the schematic it is driven 5V.Shame because if it could take 3V3 it would have been perfect for my project.