<feed xmlns='http://www.w3.org/2005/Atom'>
<title>anduril/hw/thefreeman/boost-fwaa-mp3432-hdr-dac-rgb, branch simple-ui</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/'/>
<entry>
<title>increased voltage precision from 0.025V to 0.02V</title>
<updated>2024-03-27T13:13:26+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2024-03-27T13:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=7b49797be1da97f54e9df3a1b0342ab20d7f02d5'/>
<id>7b49797be1da97f54e9df3a1b0342ab20d7f02d5</id>
<content type='text'>
(so 0 to 255 now goes from 0.00V to 5.10V)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(so 0 to 255 now goes from 0.00V to 5.10V)
</pre>
</div>
</content>
</entry>
<entry>
<title>more ADC / DAC / MCU progress...</title>
<updated>2023-11-24T13:29:56+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2023-11-24T13:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=8c237206aba74f9096d85f90209ac6b7dc238b1b'/>
<id>8c237206aba74f9096d85f90209ac6b7dc238b1b</id>
<content type='text'>
- fixed t1616 Vref values getting clobbered sometimes,
  wrapped setting those in a #define'd function for ease and consistency
- moved some DAC definitions from hw/ to arch/ to reduce repetition
- fixed thefreeman's other builds
- switched from PWM_TOPS to PWM2_LEVELS (I'm trying to phase out _TOPS)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- fixed t1616 Vref values getting clobbered sometimes,
  wrapped setting those in a #define'd function for ease and consistency
- moved some DAC definitions from hw/ to arch/ to reduce repetition
- fixed thefreeman's other builds
- switched from PWM_TOPS to PWM2_LEVELS (I'm trying to phase out _TOPS)
</pre>
</div>
</content>
</entry>
<entry>
<title>ADC voltage: battcheck 3 digits, fixed t1616, switched back to 8-bit internal volt unit</title>
<updated>2023-11-22T12:34:26+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2023-11-22T12:34:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=baaa035cf93340b8f2c626bdba47e8066cf40067'/>
<id>baaa035cf93340b8f2c626bdba47e8066cf40067</id>
<content type='text'>
Before this branch, `voltage` was 6 bits: Volts * 10
A couple patches ago, I upgraded it to 16 bits: 65535 * Volts / 10.24
That costs too much extra ROM on attiny85 though, for extra precision
it doesn't even use... so I switched back to an 8-bit value.  It's still
more precise than before though: Volts * 40
... and battcheck displays an extra digit now, on devices with ROM for it.
... and battcheck waits a second to get a more accurate measurement
    before displaying the first value.  It has *much* less variation
    between first and later readings now.

Also:
- got t1616 builds working again (tested fc13 and thefreeman-boost-fwaa)
- upgraded t1616 voltage and temp to 12-bit (10 bits + 4x oversampling)
- removed expensive temp conversion from t1616 ADC interrupt
- recalibrated t1616 bogomips again; runs faster after interrupt fix
- increased t1616 internal VDD measurement resolution by 36% (1.5V Vref, not 1.1V)
- fixed sloppy setting of Vref bits

I still need to test / update other t1616 builds,
and fix all the t85 + t1634 code and build targets.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this branch, `voltage` was 6 bits: Volts * 10
A couple patches ago, I upgraded it to 16 bits: 65535 * Volts / 10.24
That costs too much extra ROM on attiny85 though, for extra precision
it doesn't even use... so I switched back to an 8-bit value.  It's still
more precise than before though: Volts * 40
... and battcheck displays an extra digit now, on devices with ROM for it.
... and battcheck waits a second to get a more accurate measurement
    before displaying the first value.  It has *much* less variation
    between first and later readings now.

Also:
- got t1616 builds working again (tested fc13 and thefreeman-boost-fwaa)
- upgraded t1616 voltage and temp to 12-bit (10 bits + 4x oversampling)
- removed expensive temp conversion from t1616 ADC interrupt
- recalibrated t1616 bogomips again; runs faster after interrupt fix
- increased t1616 internal VDD measurement resolution by 36% (1.5V Vref, not 1.1V)
- fixed sloppy setting of Vref bits

I still need to test / update other t1616 builds,
and fix all the t85 + t1634 code and build targets.
</pre>
</div>
</content>
</entry>
<entry>
<title>thefreeman/boost*: define Vref values more explicitly without magic numbers</title>
<updated>2023-11-19T08:48:50+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2023-11-19T08:48:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=79c1d9ebfed691b1048205ebdfd91d33cfcfc8a1'/>
<id>79c1d9ebfed691b1048205ebdfd91d33cfcfc8a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor checkpoint: splitting MCU-specific code into arch/$MCU.[ch]</title>
<updated>2023-11-11T04:34:40+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2023-11-11T04:34:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=3d12b7066d27b591e0283e20ed066bc66e29fbe4'/>
<id>3d12b7066d27b591e0283e20ed066bc66e29fbe4</id>
<content type='text'>
Phew, that's a lot of changes!  And there's still a lot more to do...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Phew, that's a lot of changes!  And there's still a lot more to do...
</pre>
</div>
</content>
</entry>
<entry>
<title>moved ATTINY and MODEL_NUMBER into $target/arch and $target/model,</title>
<updated>2023-11-03T16:53:34+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2023-11-03T16:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=c798ab3e78d4ca857c9aa6dc283176df1769becd'/>
<id>c798ab3e78d4ca857c9aa6dc283176df1769becd</id>
<content type='text'>
and updated other scripts and files accordingly
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and updated other scripts and files accordingly
</pre>
</div>
</content>
</entry>
<entry>
<title>renamed cfg.h -&gt; anduril.h so each UI can have its own cfg (part 1)</title>
<updated>2023-11-03T12:39:50+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2023-11-03T12:39:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=8d022eba3b741bd2a1253df09c01d75e340b492a'/>
<id>8d022eba3b741bd2a1253df09c01d75e340b492a</id>
<content type='text'>
(still need to update file contents afterward,
 but doing it in a separate commit so git can detect renames easier)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(still need to update file contents afterward,
 but doing it in a separate commit so git can detect renames easier)
</pre>
</div>
</content>
</entry>
<entry>
<title>got things to compile again, renamed #includes</title>
<updated>2023-11-03T00:51:38+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2023-11-03T00:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=2dcd56ce3d00fc7414652e6f866bf8eefd42dba9'/>
<id>2dcd56ce3d00fc7414652e6f866bf8eefd42dba9</id>
<content type='text'>
(also modified the build scripts to work with the new file structure)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(also modified the build scripts to work with the new file structure)
</pre>
</div>
</content>
</entry>
<entry>
<title>reorganized project files (part 1)</title>
<updated>2023-11-02T23:16:25+00:00</updated>
<author>
<name>Selene ToyKeeper</name>
</author>
<published>2023-11-02T23:16:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.apexo.de/anduril/commit/?id=7cb4fe0944b839f28dfd96a88a772cd6a8b58019'/>
<id>7cb4fe0944b839f28dfd96a88a772cd6a8b58019</id>
<content type='text'>
(just moved files, didn't change the contents yet,
 and nothing will work without updating #includes and build scripts and stuff)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(just moved files, didn't change the contents yet,
 and nothing will work without updating #includes and build scripts and stuff)
</pre>
</div>
</content>
</entry>
</feed>
