Giter VIP home page Giter VIP logo

web-jjy's Introduction

web-jjy

電波時計の時刻合わせには、標準電波JJYと呼ばれる 時刻に関する情報を送信している電波が使われています。 web-jjyは、この電波をブラウザ上で再現し、標準電波が届かない環境でも電波時計の時刻合わせを可能にするWebアプリです。

使い方

JJYシミュレータWeb版ですぐに試せるデモページを公開してます。 パソコンのイヤホンジャックにアンテナ(普通のイヤホンで十分です)を接続し、電波時計の近くに置きます。 音量を最大にし、「Start」ボタンを押すと信号が送信されます。 電波時計を強制受信モードにし、時刻が設定されるのを待ちましょう。

このページではパソコン自体の時刻を調整する機能はないので、 事前にNTPでパソコン自体の時刻設定を行っておくといいと思います。

免責事項

※ 利用の結果生じた損害について、一切責任を負いません。

動作環境

MacBook Air + Google Chrome 48.0.2564.116 + CITIZEN 8RZ152 で動作を確認しています。

原理

標準電波は40kHzまたは60kHzの電波です。 電気が流れればそこには必ず電波が発生するので、イヤホンにこの周波数の信号を音声として流せば、 それだけで立派なアンテナになります。

ただし、一般的な音声アンプは人間の可聴域である20kHz以上の周波数の再生には適していません。 そこで、歪んだ波形に含まれる高調波を利用します。 ボリュームを大きくして音が割れた状態になると、音声信号は矩形波に近いかたちになります。 13.333kHzの矩形波にはその3倍の39.999kHzの周波数成分が含まれるので、約40kHzの電波が出せるというわけです。 詳しくはフリーソフト電波時計用JJYシミュレータのページを参照してください。

ライセンス

MITライセンスで提供します。LICENSE.mdを参照してください。

関連リンク

web-jjy's People

Contributors

ibuki2003 avatar shogo82148 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web-jjy's Issues

parity bits are not used.

Comments via https://shogo82148.github.io/blog/2016/03/29/web-jjy/

kjs980 • 20時間前
サイトとソース両方見てきたんですが、36秒の時パリティ(PA1)と37秒の分パリティ(PA2)が必ず0になってましたので、パリティをちゃんとチェックしている電波時計では本当に両パリティが0の時刻以外は失敗しますね。
特に1、2、4、7、8、10、13、15、16、19、20、23時台は時パリティが必ず1なので全滅です。

Translated by Google bot.

kjs980 • 20 hours ago
I saw both the site and the source, but since the parity (PA1) and the 37 minute parity (PA2) of 36 seconds surely became 0, the radio wave clock which is checking the parity properly is really both parity It fails at times other than 0.
Especially in 1, 2, 4, 7, 8, 10, 13, 15, 16, 19, 20, 23 hour parity is absolutely 1 and it is annihilation.

kjs980 is right.
pa is not used by anywhere.

web-jjy/jjy.js

Lines 51 to 52 in 74ae974

// パリティービット
var pa;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.