Re: [neonixie-l] Nixie Clock - Direct Drive HV5530

2022-10-05 Thread Max Di Noi
Beautiful, works like a dream! 

I’ll go on and play around with GPS and Motion sensor features.

If you don’t mind, I’ll ping you again for anything quick but I’ll try to 
understand the code myself first.

You did save me a couple of nights going through the code though :)

Thanks so much.

Max


> On 5 Oct 2022, at 06:05, SWISSNIXIE - Jonathan F.  wrote:
> 
> Hi
> 
> If I understand correctly, you need to alter the code in the section 
> "menuItemHandler"
> https://github.com/sgtJohnny/sunix/blob/master/sunix.ino 
>  
> 
> The function calls on line 639 and 654 do set the values to the three tube 
> groups, if you do not have the seconds column, you would have to change this 
> this:
> formatOutput(menu_item, 255, currentVal, 0, 0);  and set the currentVal to 
> the second tube group resulting in formatOutput(menu_item, currentVal, 255,  
> 0, 0); 
> 
> On Tuesday, 4 October 2022 at 01:15:13 UTC+2 flata...@gmail.com 
>  wrote:
> Hi Jonathan,
> 
> I have built this clock and works well. I have however decided to go for a 4 
> digits version instead of 6. I can manually set the time, no issues. But when 
> I go through the parameters menu, I can see the menu number but not the 
> parameter numbers of each menu as the code is displaying those using the 
> second digits which I don’t have.
> 
> I can code in Assembler but I am not very good with Arduino yet. Is there an 
> easy way to modify the code for 4 digits only?
> 
> Any help would be much appreciated.
> 
> https://www.swissnixie.com/sunixs/ 
> 
> Thank you,
> 
> Max
> 
> 
> 
> 
>> On 13 Aug 2022, at 22:16, SWISSNIXIE - Jonathan F. > > wrote:
>> 
> 
>> Yes, the code is open source :)
>> 
>> You can download it at the bottom of the page
>> https://www.swissnixie.com/sunixs/ 
>> 
>> 
>> I programmed it in Arduino with the atmeag328, but it should be a good start 
>> to look at the function "setOutputs" in the code, it contains the actual 
>> shifting process.
>> Also it's easier to layout the outputs of the IC and cathode-pins as 
>> "numbered" with the output number unless you are very experienced with the 
>> code.  This allows bitwise operations for creating the variable containing 
>> the value.
>> For example, if your Cathode 0 is connected to output 1, and cathode 9 to 
>> pin 10, you can use a function to shit as a single bit according to the 
>> current digit number. If your digit is 8, you can do " 0x01<<8". If your 
>> cathodes are randomly connected (to make an easy layout) you will need to 
>> implement more code. 
>> 
>> On Saturday, 13 August 2022 at 22:35:13 UTC+2 flata...@gmail.com 
>>  wrote:
>> Jonathan,
>> 
>> I just found this, it's excellent. 
>> 
>> http://swissnixie.com/projects/SUNIX-S/SN_SUNIX_S_R1.2_WTB_SCHEMATIC.png 
>> 
>> 
>> From this post:
>> https://groups.google.com/g/neonixie-l/c/S1oX30hLrmw 
>> 
>> 
>> If the code is open source, I'll just use that otherwise I'll adapt mine to 
>> use hv5530 and hef4104. 
>> 
>> Awesome! 
>> 
>> 
>>  Original message 
>> From: "SWISSNIXIE - Jonathan F." gmail.com > 
>> Date: 13/08/2022 20:51 (GMT+00:00) 
>> To: neonixie-l googlegroups.com > 
>> Subject: Re: [neonixie-l] Re: Nixie Clock - Direct Drive HV5530 
>> 
>> The time to shift out the bits is not critical, the clock rate is as fast as 
>> you implement it, there is only a minimum clock time, but no maximum one.
>> Brightness should be the same as putting the tube pin directly to ground, 
>> the internal resistance of the mosfet in the HV5530 is in the Ohms range, 
>> while your anode resistor will probably will be a few kiloohms, so no 
>> visible issue.
>> 
>> About voltage:
>> The HV5530 is specified for 10.8 to 13.2V, but alot of people seem to use it 
>> with 5V logic and it works. If you want do operate ith with 12V logic, you 
>> need a 12V source and a level shifter. HEF4104 
>> 
>>  could work
>> 
>> 
>> On Saturday, 13 August 2022 at 19:04:21 UTC+2 flata...@ <>gmail.com 
>>  wrote:
>> Thanks.
>> 
>> In terms of nixie brightness, is there any advantage in using serial to 
>> parallel converter+shift register vs multiplexing using high voltage 
>> transistors on anodes and cathodes of the nixies? Other than saving 
>> component and uC pins, of course. 
>> 
>>  Original message 
>> From: Bill Stanley gmail.com > 
>> Date: 13/08/2022 17:32 (GMT+00:00) 
>> To: neonixie-l googlegroups.com > 
>> Subject: [neonixie-l] Re: Nixie Clock - Direct Drive HV5530 
>> 
>> I use that part for my NIXIE, Panaplex and LED 

Re: [neonixie-l] Nixie Clock - Direct Drive HV5530

2022-10-04 Thread SWISSNIXIE - Jonathan F.
Hi

If I understand correctly, you need to alter the code in the section 
"menuItemHandler"
https://github.com/sgtJohnny/sunix/blob/master/sunix.ino 

The function calls on line 639 and 654 do set the values to the three tube 
groups, if you do not have the seconds column, you would have to change 
this this:
*formatOutput(menu_item, 255, currentVal, 0, 0);  *and set the currentVal 
to the second tube group resulting in *formatOutput(menu_item, currentVal, 
255,  0, 0); * 

On Tuesday, 4 October 2022 at 01:15:13 UTC+2 flata...@gmail.com wrote:

> Hi Jonathan,
>
> I have built this clock and works well. I have however decided to go for a 
> 4 digits version instead of 6. I can manually set the time, no issues. But 
> when I go through the parameters menu, I can see the menu number but not 
> the parameter numbers of each menu as the code is displaying those using 
> the second digits which I don’t have.
>
> I can code in Assembler but I am not very good with Arduino yet. Is there 
> an easy way to modify the code for 4 digits only?
>
> Any help would be much appreciated.
>
> https://www.swissnixie.com/sunixs/
>
> Thank you,
>
> Max
>
>
>
> On 13 Aug 2022, at 22:16, SWISSNIXIE - Jonathan F.  
> wrote:
>
> Yes, the code is open source :)
>
> You can download it at the bottom of the page
> https://www.swissnixie.com/sunixs/
>
>
> I programmed it in Arduino with the atmeag328, but it should be a good 
> start to look at the function "setOutputs" in the code, it contains the 
> actual shifting process.
> Also it's easier to layout the outputs of the IC and cathode-pins as 
> "numbered" with the output number unless you are very experienced with the 
> code.  This allows bitwise operations for creating the variable containing 
> the value.
> For example, if your Cathode 0 is connected to output 1, and cathode 9 to 
> pin 10, you can use a function to shit as a single bit according to the 
> current digit number. If your digit is 8, you can do " 0x01<<8". If your 
> cathodes are randomly connected (to make an easy layout) you will need to 
> implement more code. 
>
> On Saturday, 13 August 2022 at 22:35:13 UTC+2 flata...@gmail.com wrote:
>
>> Jonathan,
>>
>> I just found this, it's excellent. 
>>
>> http://swissnixie.com/projects/SUNIX-S/SN_SUNIX_S_R1.2_WTB_SCHEMATIC.png
>>
>> From this post:
>> https://groups.google.com/g/neonixie-l/c/S1oX30hLrmw
>>
>> If the code is open source, I'll just use that otherwise I'll adapt mine 
>> to use hv5530 and hef4104. 
>>
>> Awesome! 
>>
>>
>>  Original message 
>> From: "SWISSNIXIE - Jonathan F."  
>> Date: 13/08/2022 20:51 (GMT+00:00) 
>> To: neonixie-l  
>> Subject: Re: [neonixie-l] Re: Nixie Clock - Direct Drive HV5530 
>>
>> The time to shift out the bits is not critical, the clock rate is as fast 
>> as you implement it, there is only a minimum clock time, but no maximum one.
>> Brightness should be the same as putting the tube pin directly to ground, 
>> the internal resistance of the mosfet in the HV5530 is in the Ohms range, 
>> while your anode resistor will probably will be a few kiloohms, so no 
>> visible issue.
>>
>> About voltage:
>> The HV5530 is specified for 10.8 to 13.2V, but alot of people seem to use 
>> it with 5V logic and it works. If you want do operate ith with 12V logic, 
>> you need a 12V source and a level shifter. HEF4104 
>> 
>>  
>> could work
>>
>>
>> On Saturday, 13 August 2022 at 19:04:21 UTC+2 flata...@gmail.com wrote:
>>
>>> Thanks.
>>>
>>> In terms of nixie brightness, is there any advantage in using serial to 
>>> parallel converter+shift register vs multiplexing using high voltage 
>>> transistors on anodes and cathodes of the nixies? Other than saving 
>>> component and uC pins, of course. 
>>>
>>>  Original message 
>>> From: Bill Stanley  
>>> Date: 13/08/2022 17:32 (GMT+00:00) 
>>> To: neonixie-l  
>>> Subject: [neonixie-l] Re: Nixie Clock - Direct Drive HV5530 
>>>
>>> I use that part for my NIXIE, Panaplex and LED displays and I also write 
>>> in assembly (8051, not PIC)
>>> For my code, I send the serial data for NEXT time to display in the time 
>>> after a 1 second update. On the 1 second "hack"
>>> I update the display by doing the serial to parallel pulse.
>>>
>>> Here is the code I use:
>>>
>>> ;
>>> ;**
>>> ;*Serial clock the data in the raw buffer to the H/W drivers. *
>>> ;*Note: this routine does not strobe the data to the display.*
>>> ;**
>>> ;*On Entry: None.*
>>> ;*On Exit:  Display H/W drivers updated from ram.*
>>> ;**
>>> ;
>>>
>>> WRT_NIXIE_HW:MOVR0,#DISP_RAW_TH;point at 

Re: [neonixie-l] Nixie Clock - Direct Drive HV5530

2022-10-03 Thread Max Di Noi
Hi Jonathan,

I have built this clock and works well. I have however decided to go for a 4 
digits version instead of 6. I can manually set the time, no issues. But when I 
go through the parameters menu, I can see the menu number but not the parameter 
numbers of each menu as the code is displaying those using the second digits 
which I don’t have.

I can code in Assembler but I am not very good with Arduino yet. Is there an 
easy way to modify the code for 4 digits only?

Any help would be much appreciated.

https://www.swissnixie.com/sunixs/ 

Thank you,

Max



> On 13 Aug 2022, at 22:16, SWISSNIXIE - Jonathan F.  
> wrote:
> 
> Yes, the code is open source :)
> 
> You can download it at the bottom of the page
> https://www.swissnixie.com/sunixs/
> 
> 
> I programmed it in Arduino with the atmeag328, but it should be a good start 
> to look at the function "setOutputs" in the code, it contains the actual 
> shifting process.
> Also it's easier to layout the outputs of the IC and cathode-pins as 
> "numbered" with the output number unless you are very experienced with the 
> code.  This allows bitwise operations for creating the variable containing 
> the value.
> For example, if your Cathode 0 is connected to output 1, and cathode 9 to pin 
> 10, you can use a function to shit as a single bit according to the current 
> digit number. If your digit is 8, you can do " 0x01<<8". If your cathodes are 
> randomly connected (to make an easy layout) you will need to implement more 
> code. 
> 
> On Saturday, 13 August 2022 at 22:35:13 UTC+2 flata...@gmail.com wrote:
> Jonathan,
> 
> I just found this, it's excellent. 
> 
> http://swissnixie.com/projects/SUNIX-S/SN_SUNIX_S_R1.2_WTB_SCHEMATIC.png 
> 
> 
> From this post:
> https://groups.google.com/g/neonixie-l/c/S1oX30hLrmw 
> 
> 
> If the code is open source, I'll just use that otherwise I'll adapt mine to 
> use hv5530 and hef4104. 
> 
> Awesome! 
> 
> 
>  Original message 
> From: "SWISSNIXIE - Jonathan F."  >
> Date: 13/08/2022 20:51 (GMT+00:00)
> To: neonixie-l  >
> Subject: Re: [neonixie-l] Re: Nixie Clock - Direct Drive HV5530
> 
> The time to shift out the bits is not critical, the clock rate is as fast as 
> you implement it, there is only a minimum clock time, but no maximum one.
> Brightness should be the same as putting the tube pin directly to ground, the 
> internal resistance of the mosfet in the HV5530 is in the Ohms range, while 
> your anode resistor will probably will be a few kiloohms, so no visible issue.
> 
> About voltage:
> The HV5530 is specified for 10.8 to 13.2V, but alot of people seem to use it 
> with 5V logic and it works. If you want do operate ith with 12V logic, you 
> need a 12V source and a level shifter. HEF4104 
> 
>  could work
> 
> 
> On Saturday, 13 August 2022 at 19:04:21 UTC+2 flata...@gmail.com 
>  wrote:
> Thanks.
> 
> In terms of nixie brightness, is there any advantage in using serial to 
> parallel converter+shift register vs multiplexing using high voltage 
> transistors on anodes and cathodes of the nixies? Other than saving component 
> and uC pins, of course. 
> 
>  Original message 
> From: Bill Stanley >
> Date: 13/08/2022 17:32 (GMT+00:00)
> To: neonixie-l >
> Subject: [neonixie-l] Re: Nixie Clock - Direct Drive HV5530
> 
> I use that part for my NIXIE, Panaplex and LED displays and I also write in 
> assembly (8051, not PIC)
> For my code, I send the serial data for NEXT time to display in the time 
> after a 1 second update. On the 1 second "hack"
> I update the display by doing the serial to parallel pulse.
> 
> Here is the code I use:
> 
> ;
> ;**
> ;*Serial clock the data in the raw buffer to the H/W drivers. *
> ;*Note: this routine does not strobe the data to the display.*
> ;**
> ;*On Entry: None.*
> ;*On Exit:  Display H/W drivers updated from ram.*
> ;**
> ;
> 
> WRT_NIXIE_HW:MOVR0,#DISP_RAW_TH;point at start of raw display 
> ram
>  MOVR1,#12d;12 bytes of data 
> to send
> RAW_BYTE_LP: MOVR2,#5;5 bits per byte
> MOVXA,@R0;get a 5 bit value
> INCR0;bump the pointer
> 
> RAW_BIT_LP:RRCA;bit 0 into carry
>MOVDISP_DAT,C;put the bit into the 
> I/O port
>   

[neonixie-l] Nixie Clock - Direct Drive HV5530

2022-08-13 Thread Max DN
Hello,

I'm starting to design my first 6 digit nixie clock and I'd like to use 
direct drive of the tubes (my power supply can take 6 nixies without 
multiplexing).

So far I have built my Nixie watch, coding in ASM, worked on extreme power 
saving etc.

I could multiplex the nixies as I did in this project 
https://fb.watch/eTb69SnxEP/ , but since I have a good power supply I 
wanted to build a clock with direct drive of the tubes.

I prefer to code in ASM (don't ask why :)  ), I could use a 100pin PIC18 to 
drive each digit individually through MMBTA92 & A42 transistors. However, 
if I want to use a PIC with a lower pin count (say 40pins), I may use a 
driver such as HV5530.

Would I still get same brightness as a genuine direct drive as when using 
A92 transistors? I suppose the switching that happens using CLK/SDA on 
the HV5530 is not too different than a good multiplexing. I may be wrong.

And if I were do code ASM to use HV5530, does anyone have sample ASM code? 
I managed to write myself the code to read/write time from an RTC using 
CLK/SDA so I suppose it's very similar but I cannot figure it out from the 
datasheet of HV5530.

Any help is much appreciated.

Max

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neonixie-l+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/neonixie-l/5ca3f681-6250-4902-b14a-078d80e1f9d7n%40googlegroups.com.


[neonixie-l] Nixie Clock - Direct Drive HV5530

2022-08-13 Thread Max DN
Hello,

I'm starting to design my first 6 digit nixie clock and I'd like to use 
direct drive of the tunes (my power supply can take 6 nixies without 
multiplexing).

So far I have built my Nixie watch, coding in ASM, worked on extreme power 
saving etc.

I could multiplex the nixies as I did in this project 
https://fb.watch/eTb69SnxEP/ , but since I have a good power supply I 
wanted to build a clock with direct drive of the tubes.

I prefer to code in ASM (don't ask why :)  ), I could use a 100pin PIC18 to 
drive each digit individually through MMBTA92 & A42 transistors. However, 
if I want to use a PIC with a lower pin count (say 40pins), I may use a 
driver such as HV5530.

Would I still get same brightness as a genuine direct drive as when using 
A92 transistors? I suppose the switching that happens using CLK/SDA on 
the HV5530 is not too different than a good multiplexing. I may be wrong.

And if I were do code ASM to use HV5530, does anyone have sample ASM code? 
I managed to write myself the code to read/write time from an RTC using 
CLK/SDA so I suppose it's very similar but I cannot figure it out from the 
datasheet of HV5530.

Any help is much appreciated.

Max

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neonixie-l+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/neonixie-l/2d6a7380-5715-4b30-9d3c-fd2a1758n%40googlegroups.com.