tinyboard:e6421ff2a4cecb87d997afff76dddc3eb1ba936a commitshttps://gitlab.fi.muni.cz/kas/tinyboard/-/commits/e6421ff2a4cecb87d997afff76dddc3eb1ba936a2013-05-10T23:39:34+02:00https://gitlab.fi.muni.cz/kas/tinyboard/-/commit/e6421ff2a4cecb87d997afff76dddc3eb1ba936acontrol.c: adjust the lowest mode timing2013-05-10T23:39:34+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/0a2d96379351d90cb210530d9706fb236fc8fa44wdt.c: fix for interrupt-only watchdog mode2013-05-10T22:43:44+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/0174f645d64fbb6e1280c2bb225273f429dff187Merge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/tinyboard2013-05-10T22:14:12+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz
especially if it merges an updated upstream into a topic branch.https://gitlab.fi.muni.cz/kas/tinyboard/-/commit/0c777e2b120ebdb407cc5cbbd29dda16353cd931WIP: on-demand sleep modes2013-05-10T17:17:00+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz
This does not compile yet, to be fixed.https://gitlab.fi.muni.cz/kas/tinyboard/-/commit/fbbdcc41a590e41e87a05d3cac31f893cb52f8cbWDT-based timing instead of ADC-based2013-05-10T16:58:03+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz
This will allow us to use power-down sleep when neither ADC nor PWM
is used.https://gitlab.fi.muni.cz/kas/tinyboard/-/commit/758046649974734ee68f842c3f6d8ebde4c27529pattern.c: remove unused variable2013-05-10T16:56:09+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/56ad7e84d0f55301169aa2c9e8f80f0c871f63daWatchdog handling moved to its own source file2013-05-10T13:44:11+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/678dd60ed95c50064bf8266f71ecf1b026dc3877control.c: make the lowest pattern faster2013-05-09T23:16:42+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/522bd7b320a209dc11f0e50066fac6ec9978c25fpwm.c: switch off PLL when not needed2013-05-09T23:16:42+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/ab58f34d1b6778af9010d33ee1f5194d6861c4c2pattern.c: remove unused variable2013-05-09T23:16:42+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/aea7cb9af6c9ccd3c7dea1f5e5e71d4c3f6cc0bcstep-up/README: detailed description of the project2013-05-03T17:30:09+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/fa1f7d30307b72620fc766db4f4aade13bb8d1b5buttons.c: button on PB0, status LED on PB12013-05-02T16:58:52+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/50ca26604e7aed4a49ac44e3b2a8e7a182d92c46lights.h cleanup2013-05-02T00:31:18+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/287f589eb6aee0d3aa9726106c6782c41c81ec6aAdded missing source files battery.c and buttons.c2013-05-02T00:19:53+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/887aa3ba899b44aa07cfabfab4ce3495074f0788Current values adjusted2013-05-02T00:19:01+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/3e9d94b2511bc76aab92b2af38aacadf2dbe4dabpower off by default, power on/off with button2013-05-02T00:09:32+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/ffb4982594d98b8d8ecd9efcfe37c17e0f2fc53bbattery gauge2013-05-01T23:48:11+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/51ec86a430465eb671c7ae94e83557d89ddebb32Error reporting via status LED2013-05-01T22:48:32+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/8b54d4bdf1305a636d6c1d03e6a725061f47c612Buttons, status LED, control implemented.2013-05-01T22:36:06+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/655d773afa02e2589680fa9cefd4302efa2fd2b3Make jiffies (timer) about 100 Hz.2013-05-01T22:32:09+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/37d45fd92b03b610195d7d6227140672ccc17b2bMerge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/tinyboard2013-05-01T15:25:26+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/3079ccda1c6d82058c801bf8192c616230a2ef93Power management - make every module enable power for its own HW.2013-05-01T14:57:30+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/b02a7f779bb5da598bab17456d0afda65adc863bpattern.c: ADC-timed blinking patterns2013-04-29T18:49:26+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/15e2b46e5d25e1a9207b8b5d1bf104682167c225pwmled.c: separate target setting and on/off switching2013-04-29T18:20:19+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/d024b5fce4c9465b99e1f666bb7d3ca4c0706f08adc.c: for one pwmled only2013-04-29T18:12:30+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/e207868d62200cd821bc1a1893913fbafe1efc77pwmled.c: only one pwmled2013-04-29T17:58:46+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/8ebf32f3366e09e1123a1317f23545faedd9cc76pwm.c: single PWM channel only2013-04-28T18:48:37+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz
Simplify it as much as possible - single PWM channel only, no
sub-LSB PWM value.https://gitlab.fi.muni.cz/kas/tinyboard/-/commit/8f7b420bf4ffc810131a569425b55c9ff7994de1logging.c: smaller log buffer for Tiny452013-04-28T18:13:48+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/a35da7a6f7513449d5b8bf58155e21bf55b2a860pwmled.c: new current values2013-04-26T23:57:33+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/004b6f8d1c4e73883032f74e20d581dd080a386eImported control.c2013-04-26T23:33:47+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz
from <a href="http://www.fi.muni.cz/~kas/bike-lights/" rel="nofollow noreferrer noopener" target="_blank">http://www.fi.muni.cz/~kas/bike-lights/</a> Git repository as of
commit c30006aaf666f7cff3a6ab949c613c2f8cc6163bhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/6adc9ea8a5c266a60d8f8919835fa494beb5995cstep-up README: replaced measurement resistor w/3R002013-04-26T23:16:18+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/88b18cc5d2263dd948c13f6b7eb0fd1b58fb3cb5pwmled probing modified for tinyboard2013-04-25T22:35:36+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/4b42bb17f2df1ab0fb731c309ec586ab2f143fc3adc.c: freewheeling measurements of ADC3 only2013-04-25T16:38:42+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/899ce95294ad696dbd04e2f5722fbbc00f9dec2epwm.c: modified for ATtiny45/step-up2013-04-25T16:24:31+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz
So far two PWM channels OC1A/OC1B with sub-LSB resolution possible
(but unused yet) using timer IRQ.
TODO: get rid of OCR1C register and let it count to 255.https://gitlab.fi.muni.cz/kas/tinyboard/-/commit/280768d8d70943db6504131d49d2a916f6ec3acdmain.c modified for ATtiny45/step-up2013-04-25T15:55:14+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/02b8c741af761dc158cdd411f74c4356eee64665Makefile adjusted for Tiny452013-04-25T15:41:41+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/edebb613b2f867d4f8473747744f329cb30e38feImported firmware from Project Bike Lights2013-04-25T15:35:57+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz
These are firmware source code files imported verbatim from
the Project Bike Lights, as of commit
c30006aaf666f7cff3a6ab949c613c2f8cc6163b:
<a href="http://www.fi.muni.cz/~kas/git/?p=bike-lights.git;a=tree;f=firmware;hb=c30006aaf666f7cff3a6ab949c613c2f8cc6163b" rel="nofollow noreferrer noopener" target="_blank">http://www.fi.muni.cz/~kas/git/?p=bike-lights.git;a=tree;f=firmware;hb=c30006aaf666f7cff3a6ab949c613c2f8cc6163b</a>
These will not run directly on Tinyboard - I just want to have
documented all the changes I plan to make against these source code
files (and possibly to merge some future patches into both projects).https://gitlab.fi.muni.cz/kas/tinyboard/-/commit/5aa70c4eca2337027c5ca5ece45c0031b95026efProject: step-up converter2013-04-25T14:32:18+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz
I have decided to add various projects using Tinyboard directly
to this repository. The first project is a step-up converter
with current feedback for a string of LEDs.
The firmware is a dumbed-down version of firmware for my other
project: <a href="http://www.fi.muni.cz/~kas/bike-lights/" rel="nofollow noreferrer noopener" target="_blank">http://www.fi.muni.cz/~kas/bike-lights/</a>, modified
for ATtiny45.https://gitlab.fi.muni.cz/kas/tinyboard/-/commit/d2fca2fdf4ebad723fc8b163f4f096e3f48679d5Datasheet for irlml6344trpbf SOT-23 MOSFET2013-04-25T11:44:24+02:00Jan "Yenya" Kasprzakkas@fi.muni.czhttps://gitlab.fi.muni.cz/kas/tinyboard/-/commit/d71259fc9ff6b1746c8b27d6cc71f9753595f372Datasheet for MCP1703 power regulator2013-04-25T11:44:00+02:00Jan "Yenya" Kasprzakkas@fi.muni.cz