Warm Tube Clock sat v2

Sve vezano za mikrokontrolere

Moderators: stojke369, pedja089, [eDo], trax

Re: Warm Tube Clock sat v2

Postby Niall » 17-03-2017, 10:54

project on hold (again) until the new multimeter arrives next week.
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Re: Re: Warm Tube Clock sat v2


Re: Warm Tube Clock sat v2

Postby trax » 17-03-2017, 11:29

:roll:

OK, do you mind posting some photos of the clocks mainboard until then? :D
User avatar
trax
 
Posts: 3236
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Warm Tube Clock sat v2

Postby Niall » 17-03-2017, 20:37

Here are the 3 main boards.
Image
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Re: Warm Tube Clock sat v2

Postby trax » 20-03-2017, 12:31

It looks OK from here :)
Nice work!

Just make sure you don't have short-circuited pins in DS3231 RTC clock IC.
User avatar
trax
 
Posts: 3236
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Warm Tube Clock sat v2

Postby Niall » 21-03-2017, 08:31

trax wrote:It looks OK from here :)
Nice work!

Just make sure you don't have short-circuited pins in DS3231 RTC clock IC.

It is some sloppy soldering but I checked to make sure there were no short circuits.

Do I have to programe the Atmega ic with the firmware?
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Re: Warm Tube Clock sat v2

Postby trax » 21-03-2017, 08:48

Niall wrote:Do I have to programe the Atmega ic with the firmware?

YES!
And also with CLKOUT fuse enabled! This provides the required clock for the LED driver IC. Please find the fuses-image-screenshot in this topic, somewhere :)
If you fail, let me know and I will look it up.
User avatar
trax
 
Posts: 3236
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Warm Tube Clock sat v2

Postby Niall » 21-03-2017, 10:27

trax wrote:
Niall wrote:Do I have to programe the Atmega ic with the firmware?

YES!
And also with CLKOUT fuse enabled! This provides the required clock for the LED driver IC. Please find the fuses-image-screenshot in this topic, somewhere :)
If you fail, let me know and I will look it up.

Cool, another new process to learn. (hello youtube tutorials) I will search for fuse image screen shots.
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Re: Warm Tube Clock sat v2

Postby Niall » 21-03-2017, 11:20

Wow, a whole new world of stuff to learn. :shock: :shock:

Quick question to narrow my research field...

You said in an earlier post you are using a AVR programmer from mikroelectronika and I see other AVR programmers like the AVR dragon. For me, as this will be the only time I program an AVR, it would make more sense to go via an arduino, bread board and a AVR usb cable, there is the likely hood I could use the arduino for a future project. Would this be more complicated?

Sorry about this, it seemed I only needed to be guided through the physical assembly of the board but now I will be annoying for information about the programming :?
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Re: Warm Tube Clock sat v2

Postby trax » 21-03-2017, 11:58

Well, that might be a bit of a problem then. You see, Arduino uses a bootloader to program itself, whilst the Warm Tube Clock project is not compatible with Arduino and it can't be programmed with a bootloader method.

You actually need an ISP AVR programmer. However, you might be in luck because you can actually use Arduino to program the AVR chip in ISP mode. I did not try this, but they say it works:

https://www.arduino.cc/en/Tutorial/ArduinoISP
http://forum.arduino.cc/index.php?topic=125248.0
http://hardwarefun.com/tutorials/use-ar ... ontrollers

Bottom line: You need to program your AVR chip with the HEX file that is provided in the project files of the Warm Tube Clock.

Let me know if this makes sense to you.
User avatar
trax
 
Posts: 3236
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Warm Tube Clock sat v2

Postby Niall » 21-03-2017, 12:57

Thanks Trax, I understand the basic concept of what is needed. I just have to read more and get familiar with exactaly whats going on.

Quite a few tutorials about using an arduino and bread bord as an ISP, but I even found this one for putting hex code on Atmega chips which skips the arduino altogether, using a USBasp and software.


https://www.youtube.com/watch?v=jcDS8iaYS_Q
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Re: Re: Warm Tube Clock sat v2


Re: Warm Tube Clock sat v2

Postby trax » 21-03-2017, 13:19

If I am not mistaking, there are AVR programmers for burning the HEX on eBay for just a few $, maybe even $3 with shipping! That is crazy cheap :)

Maybe something like this would work: http://www.ebay.com/itm/USBASP-ISP-AVR- ... TBtzLxcn8g

You can investigate that...
User avatar
trax
 
Posts: 3236
Joined: 08-01-2005, 18:04
Location: 75k, BA

Re: Warm Tube Clock sat v2

Postby Niall » 21-03-2017, 13:35

I was looking at those, compatible with atmega 328, for that price its worth a try.
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Re: Warm Tube Clock sat v2

Postby Niall » 21-03-2017, 16:48

So I bought it, now 30 day wait til it comes form China and I familiarize myself with how to program the AVR.
:)
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Re: Warm Tube Clock sat v2

Postby Niall » 22-03-2017, 22:50

My new multimeter arrived today :) . And so I re ran the tests that are in the final pages of the mainboard assembly on all 3 of my mainboards.

Test 1. With only the 3v battery check across point 7 and 22 of the Atmega ic socket. It should read 3v but it reads nothing for any of them.

Test 2 With the power supply connected across the same points 7 to 22 it reads 4.9v on all 3 :)

Test 2a from the +battery to the voltage stabilizer it should read 3v, but it reads 1.02v on 2 of the mainboards and 0 on the 3rd mainboard

Test 3 Voltage stabilizer to the +C14 (1uf 250v) reads 11.24v on all 3.

My highly unqualified conclusion is that the back up circuit has a problem. I really hope it has nothing to do with the DS3231 RTC clock IC. :?
Niall
 
Posts: 21
Joined: 11-06-2015, 21:34

Previous

Return to Mikrokontroleri i programatori

Who is online

Users browsing this forum: No registered users and 1 guest

GOOGLE