RE: ATTiny45 AREF

ilovetoflyfpv:
Hi OldSteve

Well I've taken the plunge and downloaded and installed ATtiny Universal. If I select Tools in the Arduino IDE there are few more options than the older ATtiny Microcontrollers. I've naturally read the README document but it makes no mention of what the following do.

Board: Obviously what flavour of ATtiny you have.

Timer 1 Clock: Timer interrupts? Related to clock?

B.O.D.: Brown Out Detection? So what happens here exactly? If VCC reaches 4.3V for example the chip restarts?

Clock: Simply speed of processor? Any correlation to Timer 1 Clock?

Chip: Obviously related to choice made in Board.

I know I may sound like a broken record but I do appreciate your help.

Cheers

Jase :slight_smile:

Deficiencies of readme are a known issue. See Chip-specific doc pages · Issue #59 · SpenceKonde/ATTinyCore · GitHub for mention of the need for chip specific doc pages, which as yet are only done for a few boards.

I've updated the ATTiny85 and 861 chip doc pages to have a heading for the clock source option.

I added a section on BOD to readme.

Clock menu selects the clock source for the system clock. Fuses are only set when doing burn bootloader (so make sure your clock speed matches what you had when you did burn bootloader - this needs to be done even when no bootloader is in use which is normally the case for the tiny85). Unless otherwise noted, things work like they do on normal Arduino boards - all the timers are clocked off the prescaled system clock.

I added the no-cap option to the tiny x5 voltage reference options (will be in next release or you can clone the repo to hardware), and the reference page for tiny85 actually lists the voltage reference options now.

And yeah - the 6 or whatever is the pattern of bits for that reference source, applied by the normal bitwise manipulation techniques that are standard practice for Register manipulation.