tinyboard.git
8 months agorgb-led-string: Christmas tree mod after real-world testing master
Jan "Yenya" Kasprzak [Tue, 24 Dec 2013 23:41:53 +0000]
rgb-led-string: Christmas tree mod after real-world testing

8 months agorgb-led-string: christmas tree mode
Jan "Yenya" Kasprzak [Mon, 23 Dec 2013 21:27:07 +0000]
rgb-led-string: christmas tree mode

8 months agorgb-led-string: single-direction white stars
Jan "Yenya" Kasprzak [Sun, 22 Dec 2013 11:32:24 +0000]
rgb-led-string: single-direction white stars

14 months agows2801 datasheet
Jan "Yenya" Kasprzak [Wed, 10 Jul 2013 11:15:50 +0000]
ws2801 datasheet

14 months agoRGB LED string - a new project
Jan "Yenya" Kasprzak [Fri, 5 Jul 2013 17:35:16 +0000]
RGB LED string - a new project

Files copied from the step-up project, and slightly modified.

16 months agoInclude git revision and date in the eeprom variable
Jan "Yenya" Kasprzak [Sat, 11 May 2013 23:12:27 +0000]
Include git revision and date in the eeprom variable

16 months agobinary patterns
Jan "Yenya" Kasprzak [Sat, 11 May 2013 22:56:05 +0000]
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.

16 months agolights.h: add missing prototype
Jan "Yenya" Kasprzak [Sat, 11 May 2013 22:54:39 +0000]
lights.h: add missing prototype

16 months agomorse.pl: morse code to binary char arrays generator
Jan "Yenya" Kasprzak [Sat, 11 May 2013 22:52:59 +0000]
morse.pl: morse code to binary char arrays generator

16 months agoDeeper sleep when idle
Jan "Yenya" Kasprzak [Fri, 10 May 2013 21:52:55 +0000]
Deeper sleep when idle

16 months agocontrol.c: adjust the lowest mode timing
Jan "Yenya" Kasprzak [Fri, 10 May 2013 21:39:34 +0000]
control.c: adjust the lowest mode timing

16 months agowdt.c: fix for interrupt-only watchdog mode
Jan "Yenya" Kasprzak [Fri, 10 May 2013 20:43:44 +0000]
wdt.c: fix for interrupt-only watchdog mode

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

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

16 months agoWIP: on-demand sleep modes
Jan "Yenya" Kasprzak [Fri, 10 May 2013 15:17:00 +0000]
WIP: on-demand sleep modes

This does not compile yet, to be fixed.

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

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

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

16 months agoWatchdog handling moved to its own source file
Jan "Yenya" Kasprzak [Fri, 10 May 2013 11:44:11 +0000]
Watchdog handling moved to its own source file

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

16 months agopwm.c: switch off PLL when not needed
Jan "Yenya" Kasprzak [Thu, 9 May 2013 21:12:58 +0000]
pwm.c: switch off PLL when not needed

16 months agopattern.c: remove unused variable
Jan "Yenya" Kasprzak [Thu, 2 May 2013 18:59:27 +0000]
pattern.c: remove unused variable

16 months agostep-up/README: detailed description of the project
Jan "Yenya" Kasprzak [Fri, 3 May 2013 15:30:09 +0000]
step-up/README: detailed description of the project

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

16 months agolights.h cleanup
Jan "Yenya" Kasprzak [Wed, 1 May 2013 22:31:18 +0000]
lights.h cleanup

16 months agoAdded missing source files battery.c and buttons.c
Jan "Yenya" Kasprzak [Wed, 1 May 2013 22:19:53 +0000]
Added missing source files battery.c and buttons.c

16 months agoCurrent values adjusted
Jan "Yenya" Kasprzak [Wed, 1 May 2013 22:19:01 +0000]
Current values adjusted

16 months agopower off by default, power on/off with button
Jan "Yenya" Kasprzak [Wed, 1 May 2013 22:09:32 +0000]
power off by default, power on/off with button

16 months agobattery gauge
Jan "Yenya" Kasprzak [Wed, 1 May 2013 21:48:11 +0000]
battery gauge

16 months agoError reporting via status LED
Jan "Yenya" Kasprzak [Wed, 1 May 2013 20:48:32 +0000]
Error reporting via status LED

16 months agoButtons, status LED, control implemented.
Jan "Yenya" Kasprzak [Wed, 1 May 2013 20:36:06 +0000]
Buttons, status LED, control implemented.

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

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

16 months agoPower management - make every module enable power for its own HW.
Jan "Yenya" Kasprzak [Wed, 1 May 2013 12:47:31 +0000]
Power management - make every module enable power for its own HW.

16 months agopattern.c: ADC-timed blinking patterns
Jan "Yenya" Kasprzak [Mon, 29 Apr 2013 16:42:08 +0000]
pattern.c: ADC-timed blinking patterns

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

16 months agoadc.c: for one pwmled only
Jan "Yenya" Kasprzak [Mon, 29 Apr 2013 16:12:30 +0000]
adc.c: for one pwmled only

16 months agopwmled.c: only one pwmled
Jan "Yenya" Kasprzak [Mon, 29 Apr 2013 15:58:46 +0000]
pwmled.c: only one pwmled

16 months agopwm.c: single PWM channel only
Jan "Yenya" Kasprzak [Sun, 28 Apr 2013 16:48:37 +0000]
pwm.c: single PWM channel only

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

16 months agologging.c: smaller log buffer for Tiny45
Jan "Yenya" Kasprzak [Sun, 28 Apr 2013 16:13:48 +0000]
logging.c: smaller log buffer for Tiny45

16 months agopwmled.c: new current values
Jan "Yenya" Kasprzak [Fri, 26 Apr 2013 21:57:33 +0000]
pwmled.c: new current values

16 months agoImported control.c
Jan "Yenya" Kasprzak [Fri, 26 Apr 2013 21:33:47 +0000]
Imported control.c

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

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

16 months agopwmled probing modified for tinyboard
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 20:35:36 +0000]
pwmled probing modified for tinyboard

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

16 months agopwm.c: modified for ATtiny45/step-up
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 14:24:31 +0000]
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.

16 months agomain.c modified for ATtiny45/step-up
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 13:55:14 +0000]
main.c modified for ATtiny45/step-up

16 months agoMakefile adjusted for Tiny45
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 13:41:41 +0000]
Makefile adjusted for Tiny45

16 months agoImported firmware from Project Bike Lights
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 13:35:57 +0000]
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).

16 months agoProject: step-up converter
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 12:31:48 +0000]
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.

16 months agoDatasheet for irlml6344trpbf SOT-23 MOSFET
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 09:44:24 +0000]
Datasheet for irlml6344trpbf SOT-23 MOSFET

16 months agoDatasheet for MCP1703 power regulator
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 09:44:00 +0000]
Datasheet for MCP1703 power regulator

16 months agoDatasheets for ATtiny13, Attiny25/45/85
Jan "Yenya" Kasprzak [Thu, 25 Apr 2013 09:43:38 +0000]
Datasheets for ATtiny13, Attiny25/45/85

18 months agoMakefile: panelized design for 5x5cm fab gerber-fab-20121029-1711
Jan "Yenya" Kasprzak [Fri, 15 Mar 2013 12:35:07 +0000]
Makefile: panelized design for 5x5cm fab

18 months agopcb: removed outline layer, bigger holes for USBASP
Jan "Yenya" Kasprzak [Mon, 25 Feb 2013 16:55:49 +0000]
pcb: removed outline layer, bigger holes for USBASP

19 months agotinyboard2.pcb: panelized to 5x5cm board
Jan "Yenya" Kasprzak [Tue, 5 Feb 2013 16:14:26 +0000]
tinyboard2.pcb: panelized to 5x5cm board

19 months agoBoard outline
Jan "Yenya" Kasprzak [Tue, 5 Feb 2013 16:06:24 +0000]
Board outline

19 months agoATtiny SO8NW footprint
Jan "Yenya" Kasprzak [Tue, 5 Feb 2013 15:00:21 +0000]
ATtiny SO8NW footprint

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

19 months agoInitial import
Jan "Yenya" Kasprzak [Mon, 4 Feb 2013 18:17:55 +0000]
Initial import