moodlight.git
11 years agocompletely redid PWM: Now calculate 'microprograms', i.e. pairs of master
simimeie [Sun, 8 Aug 2010 18:09:40 +0000 (18:09 +0000)]
completely redid PWM: Now calculate 'microprograms', i.e. pairs of
at-this-count set-this-bitmask. This makes the actual IRQs do
significantly less work. We will now stay in the interrupt handler
if less than 30 CPU cycles remain until the next change, and do
active waiting.

11 years agosome fixes for PWM, but the resolution in the lower end still sucks.
simimeie [Sun, 8 Aug 2010 17:06:11 +0000 (17:06 +0000)]
some fixes for PWM, but the resolution in the lower end still sucks.
will try something completely different next.

11 years agopreliminary support for 16 bit pwm. The 16 bit counter ist still used for
simimeie [Sun, 25 Jul 2010 20:40:44 +0000 (20:40 +0000)]
preliminary support for 16 bit pwm. The 16 bit counter ist still used for
precise timing info as well (e.g. for ir decoding). pwm support still is
a little buggy - e.g. when values are too close together.

11 years ago- redesigned because we will have to use software PWM (HW PWM does not
simimeie [Sun, 25 Jul 2010 08:35:42 +0000 (08:35 +0000)]
- redesigned because we will have to use software PWM (HW PWM does not
  have high enough resolution). Therefore we now connect the LEDs to
  the nearest pins instead of routing them to the HW PWM pins. This
  actually saves on wire jumper.
- add (optional!) oscillator to allow running at more than 8 MHz.
  13.3 MHz would be the official limit at our 3.3 volts.

11 years ago- add eepromdata.h
simimeie [Sat, 24 Jul 2010 20:55:48 +0000 (20:55 +0000)]
- add eepromdata.h
- add rfm12 module to makefile
- preliminary initialization for rfm12
- console command 'rfstatus'
- display of last reset reason moved to console (so it displays
  properly now).

11 years agomade more room in critical places:
simimeie [Sun, 11 Jul 2010 18:09:39 +0000 (18:09 +0000)]
made more room in critical places:
- On the left of the microcontroller (for the power connector)
- between infrared receiver and the ISP.
Turned around the infrared receiver so it faces to the outside and not the inside of the board.

11 years agofirst preparations for talking to the rfm12 module (note that nothing of
simimeie [Sun, 11 Jul 2010 09:09:26 +0000 (09:09 +0000)]
first preparations for talking to the rfm12 module (note that nothing of
use is implemented yet).

11 years agoled framing support (not called yet). Originally by sijuhamm, but heavily
simimeie [Sat, 10 Jul 2010 09:28:52 +0000 (09:28 +0000)]
led framing support (not called yet). Originally by sijuhamm, but heavily
modified.

11 years ago- change bit definitions to avoid problems for users of broken avr-libc
simimeie [Sat, 10 Jul 2010 07:36:28 +0000 (07:36 +0000)]
- change bit definitions to avoid problems for users of broken avr-libc
  versions: just _BV(n) instead of _BV(PXn).
- link to nice NEC protocol description webpage.

11 years ago- add new mini function ledpwm_set that sets all LEDs at once (including
simimeie [Sat, 10 Jul 2010 07:34:51 +0000 (07:34 +0000)]
- add new mini function ledpwm_set that sets all LEDs at once (including
  correct brightness) (-sijuhamm)
- change bit definitions to avoid problems for users of broken avr-libc
  versions: just _BV(n) instead of _BV(PXn).

11 years agoadd the last missing colors on the infrared control (-sijuhamm)
simimeie [Sat, 10 Jul 2010 07:32:08 +0000 (07:32 +0000)]
add the last missing colors on the infrared control (-sijuhamm)

11 years agosome more colors on the remote interpreted
simimeie [Thu, 1 Jul 2010 23:56:19 +0000 (23:56 +0000)]
some more colors on the remote interpreted

11 years agoallow setting led color and brightness values, and display current values in status...
simimeie [Wed, 30 Jun 2010 19:40:49 +0000 (19:40 +0000)]
allow setting led color and brightness values, and display current values in status command.

11 years agoquick-hack rudimentary ability to control color and brightness with
simimeie [Wed, 30 Jun 2010 19:39:28 +0000 (19:39 +0000)]
quick-hack rudimentary ability to control color and brightness with
the infrared remote

11 years agonow also supporting "repeat" codes for selected keys.
simimeie [Wed, 30 Jun 2010 19:38:28 +0000 (19:38 +0000)]
now also supporting "repeat" codes for selected keys.

11 years agonow also decoding the 'repeat' code.
simimeie [Sun, 27 Jun 2010 23:05:55 +0000 (23:05 +0000)]
now also decoding the 'repeat' code.

11 years agoi actually mixed up all 0 and 1 bits - "oups". Luckily this has no effect except...
simimeie [Sun, 27 Jun 2010 22:49:58 +0000 (22:49 +0000)]
i actually mixed up all 0 and 1 bits - "oups". Luckily this has no effect except that the displayed hex values up to now were exactly inverted.

11 years ago\o/ working decoder for nec infrared control code.
simimeie [Sun, 27 Jun 2010 22:20:39 +0000 (22:20 +0000)]
\o/ working decoder for nec infrared control code.

11 years agocompile / init timing code
simimeie [Sun, 27 Jun 2010 22:19:15 +0000 (22:19 +0000)]
compile / init timing code

11 years agotiming functions - offering low res 'tick' counts, and high res timestamp counts...
simimeie [Sun, 27 Jun 2010 22:18:26 +0000 (22:18 +0000)]
timing functions - offering low res 'tick' counts, and high res timestamp counts (exact to one cpu cyle, except you can never use that precision because a few hundred cycles are probably neede for processing it)
desperately needed for the IR decoding code.

11 years ago- add LED control with PWM
simimeie [Sat, 26 Jun 2010 19:08:18 +0000 (19:08 +0000)]
- add LED control with PWM
- add infrared control - just displaying when the IR receiver pin toggles
  for now.
- some minor text corrections to the console and support for setting LED
  brightness from there.
- add new files to Makefile

11 years agoquite a few files to ignore
simimeie [Sat, 26 Jun 2010 12:37:56 +0000 (12:37 +0000)]
quite a few files to ignore

11 years agostarting implementation of the moodlight - by copying the console code
simimeie [Sat, 26 Jun 2010 12:28:08 +0000 (12:28 +0000)]
starting implementation of the moodlight - by copying the console code
from current universalmainboard2 and adapting it so that it compiles.

11 years agofirst version of the hawo moodlight. This is the first prototype as built.
simimeie [Fri, 25 Jun 2010 23:57:46 +0000 (23:57 +0000)]
first version of the hawo moodlight. This is the first prototype as built.
It is already clear that the board needs some improvement.

This page took 0.052109 seconds and 4 git commands to generate.