Uploaded October 2012 | Updated September 2026, 1 hour ago
Base Model : HOTWORKS 1:24 scale Diecast model car
Microcontroller : Atmel ATtiny2313
LED : 3216, 2012, 1608 size SMD and Φ3mm LED
Battery : AAA x 2 Batteries
Base Model : HOTWORKS 1:24 scale Diecast model car
Microcontroller : Atmel ATtiny2313
LED : 3216, 2012, 1608 size SMD and Φ3mm LED
Battery : AAA x 2 Batteries





![WALKMAN CLOCK
壊れた古いウォークマンにOLEDを入れて時計にしてみました。
電源が電池だとあまり持たないのでACアダプターを使っています。
ウォークマンは筐体として使っただけなので音楽を聞くことはできません。
時間を合わせるのはリモコン(OE13KIR)で行います。
マイコンのヒューズ設定は外部クロック8MHzにして、CKDIV8(1/8倍)は解除してください。
時間が少しずつズレてくる場合は、プログラム内のOCR1Bの値と「Milliseconds delay/day」と注釈を入れた行の_delay_ms()の値を変えて調整します。
OLEDは1.3インチ、128×64ドット、SPI、ドライバはSH1106です。
I made a clock by putting OLED in a broken old Walkman.
Since it doesnt operate for a long time in batteries, it uses AC adapter.
Because the Walkman is just a case, it doesnt work as a music player.
The time is adjusted by remote control (OE13KIR).
Please set the FUSE setting of the microcomputer to 8MHz external clock and cancel CKDIV8.
If the clock isnt keeping time, adjust by changing the value of OCR1B in the program and the value of [_delay_ms()] of the line annotated with Milliseconds delay/day.
The OLED is 1.3 inches, 128 x 64 dots, SPI, and the driver is SH1106.
【Circuit Diagram】
https://goo.gl/H5XD86
【Program】
https://yahoo.jp/box/TGSEjO
【SH1106 Datasheet】
http://www.allshore.com/pdf/SH1106.pdf
(2017年10月11日)
プログラムの時間を調整する部分と表示の一部に不具合があったため修正しました。 WALKMAN CLOCK](https://i.ytimg.com/vi/Dtq9f9ZGJTU/mqdefault.jpg)
![【鉄道模型】ポイントマシン Turnout Machine
今回はシンプルに作りました。
トグルスイッチを動かすとポイントのコイルに0.1秒間電流が流れます。
スイッチを速く動かしても1秒に1回しか切り換わらないようになっています。
ATtiny13Aの動作周波数は必ず1.2MHz( 9.6MHz×[1/8倍] )にしてください。
(新品のATtiny13Aを使用する場合はヒューズ設定を触らなくてもOKです)
I made simple turnout machine.
When the toggle switch is moved, current flows for 0.1 second in the turnout coil.
Even if the switch is moved quickly, it switches only once per second.
Be sure to set the operating frequency of ATtiny13A to 1.2 MHz (9.6 MHz × [1/8]).
(It is ok even if you dont change the fuse setting when using the new ATtiny13A)
【Circuit Diagram】
https://goo.gl/CwR9qd
【Program】
https://yahoo.jp/box/HIsHFx 【鉄道模型】ポイントマシン Turnout Machine](https://i.ytimg.com/vi/EVFuZaQ0zPU/mqdefault.jpg)



