B049 : Alarm Clockでは以下にフォーカスしてお手軽プロジェクトとしてまとめたい。
- RTCを搭載して時計にしよう。
- 入手性の良い汎用キャラクタモジュールを採用してお手軽にしよう。
- イヤホンから音楽が流れるのではなくて、スピーカで直接鳴らそう。
- 上記の特徴を活かして目覚まし時計に仕立てよう。
検討中のブロック図はこんな感じ。

だいたいの外観も検討。
一応検討のみという段階。

usage: preprocessor.sh device bootsize progport prog_no cpu_freq baud_rateデバイス名とブートコードサイズ、プログラミングモードに入るポート名とポート番号、CPU周波数とUSARTのボーレートを指定します。
preprocessor.sh atmega8 1024 PORTB 0 8000000 9600 > defines.h
Connecting to programmer: .
Found programmer: Id = "AVRBOOT"; type = S
Software Version = 1.5; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=64 bytes.
Programmer supports the following devices:
Device code: 0x77
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9307
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: butterfly_recv(): programmer is not responding
** !!! PID file tmp/pids/mongrel.3001.pid already exists. Mongrel could be running already. Check your log/mongrel.3001.log for errors.これはメッセージどおりにこれらを削除してやれば良さそうです。
** !!! Exiting with error. You must stop mongrel and clear the .pid before I'll attempt a start.
starting port 3002
** !!! PID file tmp/pids/mongrel.3002.pid already exists. Mongrel could be running already. Check your log/mongrel.3002.log for errors.
** !!! Exiting with error. You must stop mongrel and clear the .pid before I'll attempt a start.
sudo find . -name "mongrel.3002.pid" -printこれで無事にsudo /opt/redmine-0.8.7-0/ctlscript.sh startで再起動できます。
./opt/redmine-0.8.7-0/apps/redmine/tmp/pids/mongrel.3002.pid
sudo rm /opt/redmine-0.8.7-0/apps/redmine/tmp/pids/mongrel.300*