Warm Tube Clock sat v2

Sve vezano za mikrokontrolere

Moderators: pedja089, stojke369, [eDo], trax

Post Reply
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

Hello,

I changed the optimization flags to -Os (optimize for size) and now it compiled. I am not sure if onewire library will work with this optimization level...

Here is entire project, and the HEX file with mappings you sent me. You can find the HEX in Debug folder in this ZIP.

Let me know how it works!
Attachments
wt1.zip
Latest firmware. AVRSTudio 6.1
(201.22 KiB) Downloaded 387 times
IP-Igor
Posts: 11
Joined: 25-06-2015, 15:20

Re: Warm Tube Clock sat v2

Post by IP-Igor »

trax wrote: Let me know how it works!
Hello,trax!I conducted a study, and that's what found. Do not work only numbers 0,2,5,9, and all other work. In the photo, which I showed these figures are lit all at once. I think there is a problem in the anode timings. With operating numbers are coincide but with no work, do not coincide. When the temperature shows no digit is not working, so I can not determine whether or not the thermometer is working. When showing the date and time does not work the figures about which I wrote in the beginning.
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

Hi,

I think your 74141 chip is damaged. Do you have another one to try?

If it was the timing problem, it would be present at all numbers and at all times, so I think it is the 74141 IC.

The thermometer is probably showing 25 degrees and these numbers are not working in your example :-)

Try another 74141 and let me know!
yo8tvd
Posts: 3
Joined: 22-08-2015, 08:55

Warm Tube Clock sat v2

Post by yo8tvd »

Hi Trax . Can you help'me with a hex file for in-16 board ? I try to compile it by miself but atmel studio is something new for me . thank you
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

Sure, I will try it tonight when I get home. Warm Clock v2, correct?
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

Here is HEX firmware for IN-16 nixie tube shield. Let me know how it works.

P.S. Do not forget to enable CLKO in your programmer, choose 12MHz crystal oscillator, disable CKDIV8.
Attachments
wt2-in16-fw.zip
Compiled firmware for IN-16 nixie shield.
(13.4 KiB) Downloaded 385 times
yo8tvd
Posts: 3
Joined: 22-08-2015, 08:55

Re: Warm Tube Clock sat v2

Post by yo8tvd »

it works . thank you . also in dowload folder is a "03d-06m-2011y" folder . when I program the mcu with that hex file don't work . can you explain witch version is that ?
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

I am glad it works. Post some photos of your clock here :-)

It is strange, there should be nothing new in this firmware I compiled for you. I will update the firmware on project page right now!
yo8tvd
Posts: 3
Joined: 22-08-2015, 08:55

Re: Warm Tube Clock sat v2

Post by yo8tvd »

here is it
Attachments
my version with in-16 tubes
my version with in-16 tubes
clock.jpg (52.39 KiB) Viewed 9938 times
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

Great :!:
8)
IP-Igor
Posts: 11
Joined: 25-06-2015, 15:20

Re: Warm Tube Clock sat v2

Post by IP-Igor »

Hi,Trax!!!!! I have goooood news.My clock finally works.The problem was with PCB.Manufacturer of PCB made 5 shortcut circuits.
Do you have user manual for 1 version?
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

Great news! :-)
I don't have manual for v1, but it is 95% similar to manual of v2, which can be found here: www.elektronika.ba/misc/warm_tube_clock_menu.pdf
stitch
Posts: 6
Joined: 17-10-2015, 20:13

Re: Warm Tube Clock sat v2

Post by stitch »

Hi all

after some little problems in material dispatch, finaly something it´s work....
Hoewever i cannot by my FLYPRO, USBASP,POLOLU programmers , concerning you fuse recomendations put the watch working well.
it´should be use CKOUT enabled, and it is.. it´should be use 12 Mhz crystal oscillator, and it is...but after turn on power , nothing is apeear me.
Only work when i use the folow fuse configuration(see attach).
All the watch numbers appear me right , but the led´s no show up, weither the buttons no any interation.

Can you please have the right configuration?

probaly fuse configuration problems...

Best Regards
Attachments
AVR Fuse Calculator for ATmega328P.JPG
AVR Fuse Calculator for ATmega328P.JPG (24.7 KiB) Viewed 9668 times
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

I can't see details in your image, it is too small.

You should also disable DKDIV8 fuse (turn it OFF).

If your LEDs do not turn ON, maybe you didn't solder all pins of TLC59401 completely?
stitch
Posts: 6
Joined: 17-10-2015, 20:13

Re: Warm Tube Clock sat v2

Post by stitch »

Hi again

Thank' s for your fast reply.
Yes the imagem it's too small,because photo Page requirments.
Let me explain better:
The ckdiv8,it' s turn off either.
The problem is the only way to put the clock working,is by default settings,internal oscilator 8 MHz .
And after that,turn on power,,it flashing all leds,and after 5 seconds,it show me hour- 00:00, it show me date- 01:01, it show me year- 2000, and it show me temperature- 26.6.
But i can' t menu acess,because in function,when you try press any button.
As you know you show a software programmer,who can especify the right oscillator,but in avt studio,or other you can' t,only show 8 MHz +, until 16 Mhz.
Could you please tell me if in other software have you a sucess,and how?

Best Regards
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

For programming I use AVR Flash from www.mikroe.com with their programmer.

If it is working with internal 8MHz clock then you are probably having problems with external crystal.
Are you sure your 12MHz crystal is OK? You also must configure your AVR for external XTAL ~12MHz during programming...
stitch
Posts: 6
Joined: 17-10-2015, 20:13

Re: Warm Tube Clock sat v2

Post by stitch »

I'll confirm that...
Yes i configure, cksel3 should be enable
Do you know if somebody,have any problems using avr studio or other,not mikroe manufacture?

Best Regards
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

I don't know, sorry. :wink:
Let me know what happens. I bet you are having problems with Crystal selection :)
stitch
Posts: 6
Joined: 17-10-2015, 20:13

Re: Warm Tube Clock sat v2

Post by stitch »

Hi Trax

I can confirm you , my crystal 12 Mhz is perfect, was oscilloscope analyzed...
Please can you see my attach file, and this is my "working" fuse configuration, can you please attach you screen fuse configuration?
Another question is : if nothing can doing with my "tools", can i order you a Atmega328 programmed, instead buy a Mikroe tool?

Best Regards
Attachments
avrTube Clock.rar
(123.75 KiB) Downloaded 382 times
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3508
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Warm Tube Clock sat v2

Post by trax »

Here are my fuses for programming.
I don't have AVRs to sell, sorry :(

Let me know if it helps. Please go one by one and compare!
Attachments
warmtube_v2_fuses.jpg
(100.66 KiB) Downloaded 2 times
Post Reply