]> www.fi.muni.cz Git - bike-lights.git/log
bike-lights.git
12 years agolights.prj: project file for gsch2pcb
Jan "Yenya" Kasprzak [Mon, 22 Oct 2012 15:26:48 +0000 (17:26 +0200)]
lights.prj: project file for gsch2pcb

12 years agolights.sch: refdes added to all components
Jan "Yenya" Kasprzak [Fri, 19 Oct 2012 21:53:03 +0000 (23:53 +0200)]
lights.sch: refdes added to all components

12 years agoschematics: second step-down merged
Jan "Yenya" Kasprzak [Fri, 5 Oct 2012 21:44:08 +0000 (23:44 +0200)]
schematics: second step-down merged

12 years agoschematics: one step-down converter integrated into main
Jan "Yenya" Kasprzak [Thu, 4 Oct 2012 22:21:56 +0000 (00:21 +0200)]
schematics: one step-down converter integrated into main

12 years agoschematics: integrate power module
Jan "Yenya" Kasprzak [Thu, 4 Oct 2012 21:36:07 +0000 (23:36 +0200)]
schematics: integrate power module

Without power switch and MOSFET, the power module is simpler, so let's
integrate it to the main schematics.

Author and license added to the description.

Deleted the connectors which need to be reworked.

12 years agomain.c: allow only long keypress to wake us
Jan "Yenya" Kasprzak [Wed, 3 Oct 2012 19:33:46 +0000 (21:33 +0200)]
main.c: allow only long keypress to wake us

12 years agopower-off function
Jan "Yenya" Kasprzak [Sun, 30 Sep 2012 20:23:08 +0000 (22:23 +0200)]
power-off function

TODO: factor it out from main.c, probably.

12 years agogpio: suspend function, status poweroff led
Jan "Yenya" Kasprzak [Sun, 30 Sep 2012 20:22:10 +0000 (22:22 +0200)]
gpio: suspend function, status poweroff led

12 years agogpio: port A/B fix
Jan "Yenya" Kasprzak [Sun, 30 Sep 2012 20:21:29 +0000 (22:21 +0200)]
gpio: port A/B fix

12 years agopatterns for testing
Jan "Yenya" Kasprzak [Sun, 30 Sep 2012 20:11:43 +0000 (22:11 +0200)]
patterns for testing

12 years agohigher limit for pwm max
Jan "Yenya" Kasprzak [Sun, 30 Sep 2012 20:10:46 +0000 (22:10 +0200)]
higher limit for pwm max

12 years agotmr: suspend function
Jan "Yenya" Kasprzak [Sun, 30 Sep 2012 19:57:14 +0000 (21:57 +0200)]
tmr: suspend function

12 years agopwm: suspend function
Jan "Yenya" Kasprzak [Sun, 30 Sep 2012 19:57:05 +0000 (21:57 +0200)]
pwm: suspend function

12 years agoadc: suspend function
Jan "Yenya" Kasprzak [Sun, 30 Sep 2012 19:56:41 +0000 (21:56 +0200)]
adc: suspend function

12 years agogpio leds according to new pins.txt
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 21:34:31 +0000 (23:34 +0200)]
gpio leds according to new pins.txt

12 years agobuttons according to pins.txt
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 21:01:20 +0000 (23:01 +0200)]
buttons according to pins.txt

12 years agopwm: 16-bit pwm and adc values
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 20:51:12 +0000 (22:51 +0200)]
pwm: 16-bit pwm and adc values

12 years agodelete pwm_off(), use pwm_set instead
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 20:33:02 +0000 (22:33 +0200)]
delete pwm_off(), use pwm_set instead

12 years agoadc setting according to new pins.txt
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 20:32:02 +0000 (22:32 +0200)]
adc setting according to new pins.txt

12 years agoAmbient values for 15k and 1M5 resistors
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 20:24:46 +0000 (22:24 +0200)]
Ambient values for 15k and 1M5 resistors

12 years agonew lights measurement
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 16:56:18 +0000 (18:56 +0200)]
new lights measurement

12 years agoWIP step-up integrated into main schematics
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 16:08:53 +0000 (18:08 +0200)]
WIP step-up integrated into main schematics

12 years agoSchematics modifications
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 15:28:12 +0000 (17:28 +0200)]
Schematics modifications

12 years agonew pin-out with UV LED
Jan "Yenya" Kasprzak [Fri, 14 Sep 2012 15:26:27 +0000 (17:26 +0200)]
new pin-out with UV LED

12 years agostep-up convertor at PWM 3 working
Jan "Yenya" Kasprzak [Thu, 13 Sep 2012 21:08:13 +0000 (23:08 +0200)]
step-up convertor at PWM 3 working

12 years agopins.txt: new notes for design
Jan "Yenya" Kasprzak [Thu, 13 Sep 2012 21:07:22 +0000 (23:07 +0200)]
pins.txt: new notes for design

12 years agoSymbol files: add GPL v2 license gedasymbols-20120913
Jan "Yenya" Kasprzak [Thu, 13 Sep 2012 12:42:18 +0000 (14:42 +0200)]
Symbol files: add GPL v2 license

12 years agogpio led - reflect ambient light
Jan "Yenya" Kasprzak [Mon, 10 Sep 2012 19:59:01 +0000 (21:59 +0200)]
gpio led - reflect ambient light

12 years ago.gitignore firmware by-products
Jan "Yenya" Kasprzak [Mon, 10 Sep 2012 19:55:32 +0000 (21:55 +0200)]
.gitignore firmware by-products

12 years ago.gitignore: PS files in schematics/
Jan "Yenya" Kasprzak [Mon, 10 Sep 2012 19:54:36 +0000 (21:54 +0200)]
.gitignore: PS files in schematics/

12 years agoNew pinout for three LEDs
Jan "Yenya" Kasprzak [Mon, 10 Sep 2012 19:53:50 +0000 (21:53 +0200)]
New pinout for three LEDs

12 years agopwm: channel D is inverted
Jan "Yenya" Kasprzak [Mon, 10 Sep 2012 19:52:00 +0000 (21:52 +0200)]
pwm: channel D is inverted

This is to avoid power spikes when all three channels switch on.
We make channel D to switch on on OCR1D match, while other two
channels (A and B) switch off on OCR1A and OCR1B match, respectively.

12 years agoMore complete version of schematics
Jan "Yenya" Kasprzak [Thu, 6 Sep 2012 20:20:06 +0000 (22:20 +0200)]
More complete version of schematics

12 years agomcp14628 symbol: typo in chip name
Jan "Yenya" Kasprzak [Tue, 4 Sep 2012 13:10:34 +0000 (15:10 +0200)]
mcp14628 symbol: typo in chip name

12 years agopins.txt: different expected pin-out, design notes
Jan "Yenya" Kasprzak [Sun, 2 Sep 2012 21:50:40 +0000 (23:50 +0200)]
pins.txt: different expected pin-out, design notes

12 years agopin-out of the USBasp ribbon cable
Jan "Yenya" Kasprzak [Sun, 2 Sep 2012 11:25:27 +0000 (13:25 +0200)]
pin-out of the USBasp ribbon cable

12 years agotop-level schematics (work in progress)
Jan "Yenya" Kasprzak [Sat, 1 Sep 2012 00:11:52 +0000 (02:11 +0200)]
top-level schematics (work in progress)

12 years agostep-up module schematics
Jan "Yenya" Kasprzak [Sat, 1 Sep 2012 00:11:25 +0000 (02:11 +0200)]
step-up module schematics

12 years agostep-down module schematics
Jan "Yenya" Kasprzak [Sat, 1 Sep 2012 00:11:04 +0000 (02:11 +0200)]
step-down module schematics

12 years agopower module schematics
Jan "Yenya" Kasprzak [Sat, 1 Sep 2012 00:10:45 +0000 (02:10 +0200)]
power module schematics

12 years agosystem files in schematics/
Jan "Yenya" Kasprzak [Sat, 1 Sep 2012 00:10:16 +0000 (02:10 +0200)]
system files in schematics/

12 years agogeda symbols moved to the schematics/ subdir
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 21:58:05 +0000 (23:58 +0200)]
geda symbols moved to the schematics/ subdir

12 years agofirmware source moved into subdirectory
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 21:56:35 +0000 (23:56 +0200)]
firmware source moved into subdirectory

12 years agorenamed attiny861a-1.sym
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 21:49:53 +0000 (23:49 +0200)]
renamed attiny861a-1.sym

12 years agomcp14628 - edited according to guidelines
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 21:47:52 +0000 (23:47 +0200)]
mcp14628 - edited according to guidelines

12 years agoirl mosfet - datasheet added to the sym file
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 21:20:01 +0000 (23:20 +0200)]
irl mosfet - datasheet added to the sym file

12 years agoremoved old 1710a sym file
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 21:17:30 +0000 (23:17 +0200)]
removed old 1710a sym file

12 years agomcp1701a: typo in name, datasheet added
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 21:15:37 +0000 (23:15 +0200)]
mcp1701a: typo in name, datasheet added

12 years agowatchdog timer in main loop
Jan "Yenya" Kasprzak [Thu, 30 Aug 2012 09:07:33 +0000 (11:07 +0200)]
watchdog timer in main loop

12 years agopreliminary long keypress to power-down
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 23:58:19 +0000 (01:58 +0200)]
preliminary long keypress to power-down

12 years agopwmled reduce more logging
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 23:57:28 +0000 (01:57 +0200)]
pwmled reduce more logging

12 years agoidle mode in main loop
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 23:35:22 +0000 (01:35 +0200)]
idle mode in main loop

12 years agopwmled reduce logging
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 23:35:05 +0000 (01:35 +0200)]
pwmled reduce logging

12 years agoblinking mode1_pattern
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 23:23:22 +0000 (01:23 +0200)]
blinking mode1_pattern

12 years agobuttons: long/short keypress detection
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 23:19:46 +0000 (01:19 +0200)]
buttons: long/short keypress detection

12 years agoled_set_status function
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 22:57:05 +0000 (00:57 +0200)]
led_set_status function

12 years agopattern selecting reworked
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 22:52:37 +0000 (00:52 +0200)]
pattern selecting reworked

12 years agodelete unused function led_set_level
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 22:47:24 +0000 (00:47 +0200)]
delete unused function led_set_level

12 years agopattern.c: handle both GPIO LEDs
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 22:46:09 +0000 (00:46 +0200)]
pattern.c: handle both GPIO LEDs

12 years agonumber pattern
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 22:41:52 +0000 (00:41 +0200)]
number pattern

12 years agopreliminary button handling code
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 22:26:21 +0000 (00:26 +0200)]
preliminary button handling code

12 years agonew symbol for MCP1710a LDO voltage regulator
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 17:14:14 +0000 (19:14 +0200)]
new symbol for MCP1710a LDO voltage regulator

12 years agogEDA symbol for IRL6732PBF
Jan "Yenya" Kasprzak [Fri, 31 Aug 2012 16:50:51 +0000 (18:50 +0200)]
gEDA symbol for IRL6732PBF

12 years agofeedback loop with some testing code
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 15:51:52 +0000 (17:51 +0200)]
feedback loop with some testing code

12 years agologging: allow multiple flushes
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 15:08:51 +0000 (17:08 +0200)]
logging: allow multiple flushes

12 years agopwmled.c: enabling/disabling functions
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 14:25:00 +0000 (16:25 +0200)]
pwmled.c: enabling/disabling functions

12 years agoadc: battery adc
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 14:24:08 +0000 (16:24 +0200)]
adc: battery adc

12 years agopatterns modified
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 14:23:45 +0000 (16:23 +0200)]
patterns modified

12 years agopwmled_is_on renamed to pwmled_needs_adc
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 14:03:11 +0000 (16:03 +0200)]
pwmled_is_on renamed to pwmled_needs_adc

12 years agolog reset reason
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 10:46:24 +0000 (12:46 +0200)]
log reset reason

12 years agolog reset count immediately
Jan "Yenya" Kasprzak [Wed, 29 Aug 2012 10:46:12 +0000 (12:46 +0200)]
log reset count immediately

12 years agomisc debugging
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 22:28:15 +0000 (00:28 +0200)]
misc debugging

12 years agopwm clock highspeed mode
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 22:26:52 +0000 (00:26 +0200)]
pwm clock highspeed mode

12 years agoboot pattern
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 22:25:48 +0000 (00:25 +0200)]
boot pattern

12 years agopatterns implemented
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 21:43:43 +0000 (23:43 +0200)]
patterns implemented

12 years agoambient sensor: more zones for testing
root [Tue, 28 Aug 2012 21:40:46 +0000 (23:40 +0200)]
ambient sensor: more zones for testing

12 years agoADC: ignore the first reading after MUX switch
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 19:57:41 +0000 (21:57 +0200)]
ADC: ignore the first reading after MUX switch

12 years agologging.c: don't wear out eeprom on frequent reboots
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 19:31:32 +0000 (21:31 +0200)]
logging.c: don't wear out eeprom on frequent reboots

12 years agoambient light sensor
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 14:54:03 +0000 (16:54 +0200)]
ambient light sensor

12 years agogpio.c: gpio leds and other tools
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 14:04:35 +0000 (16:04 +0200)]
gpio.c: gpio leds and other tools

12 years agolights.c split into more modules
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 13:25:01 +0000 (15:25 +0200)]
lights.c split into more modules

12 years agopins.txt: pin-out modifications
Jan "Yenya" Kasprzak [Tue, 28 Aug 2012 13:24:11 +0000 (15:24 +0200)]
pins.txt: pin-out modifications

12 years agomulti-mode light
Jan "Yenya" Kasprzak [Thu, 23 Aug 2012 08:54:50 +0000 (10:54 +0200)]
multi-mode light

12 years agoCree XM-L datasheet
Jan "Yenya" Kasprzak [Wed, 22 Aug 2012 14:47:48 +0000 (16:47 +0200)]
Cree XM-L datasheet

12 years agoATtiny pinout
Jan "Yenya" Kasprzak [Tue, 19 Jun 2012 06:30:06 +0000 (08:30 +0200)]
ATtiny pinout

12 years agocomponent symbols
Jan "Yenya" Kasprzak [Tue, 19 Jun 2012 06:29:49 +0000 (08:29 +0200)]
component symbols

12 years agoMerge branch 'master' of ssh://calypso.fi.muni.cz/home/kas/git/osvetleni
Jan "Yenya" Kasprzak [Thu, 14 Jun 2012 21:57:45 +0000 (23:57 +0200)]
Merge branch 'master' of ssh://calypso.fi.muni.cz/home/kas/git/osvetleni

Conflicts:
lights.c

12 years agoworking feedback loop
Jan "Yenya" Kasprzak [Thu, 14 Jun 2012 21:07:53 +0000 (23:07 +0200)]
working feedback loop

12 years agoworking feedback loop
Jan "Yenya" Kasprzak [Thu, 14 Jun 2012 21:07:53 +0000 (23:07 +0200)]
working feedback loop

12 years agoPWM + ADC + code cleanups
Jan "Yenya" Kasprzak [Tue, 12 Jun 2012 21:20:15 +0000 (23:20 +0200)]
PWM + ADC + code cleanups

12 years agopattern flashing
Jan "Yenya" Kasprzak [Fri, 8 Jun 2012 22:45:42 +0000 (00:45 +0200)]
pattern flashing

12 years agocomponent datasheets
Jan "Yenya" Kasprzak [Fri, 8 Jun 2012 20:21:53 +0000 (22:21 +0200)]
component datasheets

12 years agoDrive all three PWMs
Jan "Yenya" Kasprzak [Fri, 8 Jun 2012 18:36:20 +0000 (20:36 +0200)]
Drive all three PWMs

12 years agoADC-driven PWM
Jan "Yenya" Kasprzak [Fri, 8 Jun 2012 17:17:30 +0000 (19:17 +0200)]
ADC-driven PWM

12 years agoADC experiments
Jan "Yenya" Kasprzak [Fri, 8 Jun 2012 16:43:08 +0000 (18:43 +0200)]
ADC experiments

12 years agoPWM experiments
Jan "Yenya" Kasprzak [Fri, 8 Jun 2012 16:19:58 +0000 (18:19 +0200)]
PWM experiments

12 years agoMakefile: more targets
Jan "Yenya" Kasprzak [Fri, 8 Jun 2012 16:17:58 +0000 (18:17 +0200)]
Makefile: more targets

12 years agoInitial import
Jan "Yenya" Kasprzak [Fri, 8 Jun 2012 14:00:09 +0000 (16:00 +0200)]
Initial import