]> www.fi.muni.cz Git - tinyboard.git/log
tinyboard.git
11 years agobinary patterns
Jan "Yenya" Kasprzak [Sat, 11 May 2013 22:56:05 +0000 (00:56 +0200)]
binary patterns

We use on/off for patterns, so I have rewritten the pattern handling,
removing the pattern_t type altogether, and changed it to use
binary strings of data instead. This uses less RAM for pattern definitions.

I have also changed blink_pattern to include morse code text
(generated by morse.pl), with kids' names.

11 years agolights.h: add missing prototype
Jan "Yenya" Kasprzak [Sat, 11 May 2013 22:54:39 +0000 (00:54 +0200)]
lights.h: add missing prototype

11 years agomorse.pl: morse code to binary char arrays generator
Jan "Yenya" Kasprzak [Sat, 11 May 2013 22:52:59 +0000 (00:52 +0200)]
morse.pl: morse code to binary char arrays generator

11 years agoDeeper sleep when idle
Jan "Yenya" Kasprzak [Fri, 10 May 2013 21:52:55 +0000 (23:52 +0200)]
Deeper sleep when idle

11 years agocontrol.c: adjust the lowest mode timing
Jan "Yenya" Kasprzak [Fri, 10 May 2013 21:39:34 +0000 (23:39 +0200)]
control.c: adjust the lowest mode timing

11 years agowdt.c: fix for interrupt-only watchdog mode
Jan "Yenya" Kasprzak [Fri, 10 May 2013 20:43:44 +0000 (22:43 +0200)]
wdt.c: fix for interrupt-only watchdog mode

11 years agoMerge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/tinyboard
Jan "Yenya" Kasprzak [Fri, 10 May 2013 20:14:12 +0000 (22:14 +0200)]
Merge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/tinyboard

 especially if it merges an updated upstream into a topic branch.

11 years agoWIP: on-demand sleep modes
Jan "Yenya" Kasprzak [Fri, 10 May 2013 15:17:00 +0000 (17:17 +0200)]
WIP: on-demand sleep modes

This does not compile yet, to be fixed.

11 years agoWDT-based timing instead of ADC-based
Jan "Yenya" Kasprzak [Fri, 10 May 2013 14:58:03 +0000 (16:58 +0200)]
WDT-based timing instead of ADC-based

This will allow us to use power-down sleep when neither ADC nor PWM
is used.

11 years agopattern.c: remove unused variable
Jan "Yenya" Kasprzak [Fri, 10 May 2013 14:56:09 +0000 (16:56 +0200)]
pattern.c: remove unused variable

11 years agoWatchdog handling moved to its own source file
Jan "Yenya" Kasprzak [Fri, 10 May 2013 11:44:11 +0000 (13:44 +0200)]
Watchdog handling moved to its own source file

11 years agocontrol.c: make the lowest pattern faster
Jan "Yenya" Kasprzak [Thu, 9 May 2013 21:16:11 +0000 (23:16 +0200)]
control.c: make the lowest pattern faster

11 years agopwm.c: switch off PLL when not needed
Jan "Yenya" Kasprzak [Thu, 9 May 2013 21:12:58 +0000 (23:12 +0200)]
pwm.c: switch off PLL when not needed

11 years agopattern.c: remove unused variable
Jan "Yenya" Kasprzak [Thu, 2 May 2013 18:59:27 +0000 (20:59 +0200)]
pattern.c: remove unused variable

11 years agostep-up/README: detailed description of the project
Jan "Yenya" Kasprzak [Fri, 3 May 2013 15:30:09 +0000 (17:30 +0200)]
step-up/README: detailed description of the project

11 years agobuttons.c: button on PB0, status LED on PB1
Jan "Yenya" Kasprzak [Thu, 2 May 2013 14:58:52 +0000 (16:58 +0200)]
buttons.c: button on PB0, status LED on PB1

11 years agolights.h cleanup
Jan "Yenya" Kasprzak [Wed, 1 May 2013 22:31:18 +0000 (00:31 +0200)]
lights.h cleanup

11 years agoAdded missing source files battery.c and buttons.c
Jan "Yenya" Kasprzak [Wed, 1 May 2013 22:19:53 +0000 (00:19 +0200)]
Added missing source files battery.c and buttons.c

11 years agoCurrent values adjusted
Jan "Yenya" Kasprzak [Wed, 1 May 2013 22:19:01 +0000 (00:19 +0200)]
Current values adjusted

11 years agopower off by default, power on/off with button
Jan "Yenya" Kasprzak [Wed, 1 May 2013 22:09:32 +0000 (00:09 +0200)]
power off by default, power on/off with button

11 years agobattery gauge
Jan "Yenya" Kasprzak [Wed, 1 May 2013 21:48:11 +0000 (23:48 +0200)]
battery gauge

11 years agoError reporting via status LED
Jan "Yenya" Kasprzak [Wed, 1 May 2013 20:48:32 +0000 (22:48 +0200)]
Error reporting via status LED

11 years agoButtons, status LED, control implemented.
Jan "Yenya" Kasprzak [Wed, 1 May 2013 20:36:06 +0000 (22:36 +0200)]
Buttons, status LED, control implemented.

11 years agoMake jiffies (timer) about 100 Hz.
Jan "Yenya" Kasprzak [Wed, 1 May 2013 20:28:02 +0000 (22:28 +0200)]
Make jiffies (timer) about 100 Hz.

11 years agoMerge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/tinyboard
Jan "Yenya" Kasprzak [Wed, 1 May 2013 13:25:26 +0000 (15:25 +0200)]
Merge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/tinyboard

11 years agoPower management - make every module enable power for its own HW.
Jan "Yenya" Kasprzak [Wed, 1 May 2013 12:47:31 +0000 (14:47 +0200)]
Power management - make every module enable power for its own HW.

11 years agopattern.c: ADC-timed blinking patterns
Jan "Yenya" Kasprzak [Mon, 29 Apr 2013 16:42:08 +0000 (18:42 +0200)]
pattern.c: ADC-timed blinking patterns

11 years agopwmled.c: separate target setting and on/off switching
Jan "Yenya" Kasprzak [Mon, 29 Apr 2013 16:20:19 +0000 (18:20 +0200)]
pwmled.c: separate target setting and on/off switching

11 years agoadc.c: for one pwmled only
Jan "Yenya" Kasprzak [Mon, 29 Apr 2013 16:12:30 +0000 (18:12 +0200)]
adc.c: for one pwmled only

11 years agopwmled.c: only one pwmled
Jan "Yenya" Kasprzak [Mon, 29 Apr 2013 15:58:46 +0000 (17:58 +0200)]
pwmled.c: only one pwmled

11 years agopwm.c: single PWM channel only
Jan "Yenya" Kasprzak [Sun, 28 Apr 2013 16:48:37 +0000 (18:48 +0200)]
pwm.c: single PWM channel only

Simplify it as much as possible - single PWM channel only, no
sub-LSB PWM value.

11 years agologging.c: smaller log buffer for Tiny45
Jan "Yenya" Kasprzak [Sun, 28 Apr 2013 16:13:48 +0000 (18:13 +0200)]
logging.c: smaller log buffer for Tiny45

11 years agopwmled.c: new current values
Jan "Yenya" Kasprzak [Fri, 26 Apr 2013 21:57:33 +0000 (23:57 +0200)]
pwmled.c: new current values

11 years agoImported control.c
Jan "Yenya" Kasprzak [Fri, 26 Apr 2013 21:33:47 +0000 (23:33 +0200)]
Imported control.c

from http://www.fi.muni.cz/~kas/bike-lights/ Git repository as of
commit c30006aaf666f7cff3a6ab949c613c2f8cc6163b

11 years agostep-up README: replaced measurement resistor w/3R00
Jan "Yenya" Kasprzak [Fri, 26 Apr 2013 21:16:18 +0000 (23:16 +0200)]
step-up README: replaced measurement resistor w/3R00

11 years agopwmled probing modified for tinyboard
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 20:35:36 +0000 (22:35 +0200)]
pwmled probing modified for tinyboard

11 years agoadc.c: freewheeling measurements of ADC3 only
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 14:38:42 +0000 (16:38 +0200)]
adc.c: freewheeling measurements of ADC3 only

11 years agopwm.c: modified for ATtiny45/step-up
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 14:24:31 +0000 (16:24 +0200)]
pwm.c: modified for ATtiny45/step-up

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.

11 years agomain.c modified for ATtiny45/step-up
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 13:55:14 +0000 (15:55 +0200)]
main.c modified for ATtiny45/step-up

11 years agoMakefile adjusted for Tiny45
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 13:41:41 +0000 (15:41 +0200)]
Makefile adjusted for Tiny45

11 years agoImported firmware from Project Bike Lights
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 13:35:57 +0000 (15:35 +0200)]
Imported firmware from Project Bike Lights

These are firmware source code files imported verbatim from
the Project Bike Lights, as of commit
c30006aaf666f7cff3a6ab949c613c2f8cc6163b:

http://www.fi.muni.cz/~kas/git/?p=bike-lights.git;a=tree;f=firmware;hb=c30006aaf666f7cff3a6ab949c613c2f8cc6163b

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).

11 years agoProject: step-up converter
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 12:31:48 +0000 (14:31 +0200)]
Project: step-up converter

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: http://www.fi.muni.cz/~kas/bike-lights/, modified
for ATtiny45.

11 years agoDatasheet for irlml6344trpbf SOT-23 MOSFET
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 09:44:24 +0000 (11:44 +0200)]
Datasheet for irlml6344trpbf SOT-23 MOSFET

11 years agoDatasheet for MCP1703 power regulator
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 09:44:00 +0000 (11:44 +0200)]
Datasheet for MCP1703 power regulator

11 years agoDatasheets for ATtiny13, Attiny25/45/85
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 09:43:38 +0000 (11:43 +0200)]
Datasheets for ATtiny13, Attiny25/45/85

11 years agoMakefile: panelized design for 5x5cm fab gerber-fab-20121029-1711
Jan "Yenya" Kasprzak [Fri, 15 Mar 2013 12:35:07 +0000 (13:35 +0100)]
Makefile: panelized design for 5x5cm fab

11 years agopcb: removed outline layer, bigger holes for USBASP
Jan "Yenya" Kasprzak [Mon, 25 Feb 2013 16:55:49 +0000 (17:55 +0100)]
pcb: removed outline layer, bigger holes for USBASP

11 years agotinyboard2.pcb: panelized to 5x5cm board
Jan "Yenya" Kasprzak [Tue, 5 Feb 2013 16:14:26 +0000 (17:14 +0100)]
tinyboard2.pcb: panelized to 5x5cm board

11 years agoBoard outline
Jan "Yenya" Kasprzak [Tue, 5 Feb 2013 16:06:24 +0000 (17:06 +0100)]
Board outline

11 years agoATtiny SO8NW footprint
Jan "Yenya" Kasprzak [Tue, 5 Feb 2013 15:00:21 +0000 (16:00 +0100)]
ATtiny SO8NW footprint

- suitable for both narrow (150 mil) and medium (200 mil) SO8 components.

11 years agoInitial import
Jan "Yenya" Kasprzak [Mon, 4 Feb 2013 18:17:55 +0000 (19:17 +0100)]
Initial import