I designed and built a DIY Earthquake Early Warning (緊急地震速報) terminal for my home, based around a Raspberry Pi running Linux. It connects to my home automation network for the data feed.

Japanese disclaimer:

* * * 重要なお知らせ * * *



英語の免責事項を参照してください。これはホビープロジェクトのみです。 このプロジェクトは公式機関には属していません。このデバイスを販売したり作成したりしません。ソースコードや電気回路図は提供できません。 ご迷惑をおかけし申し訳ございません。


地震データを処理する組織で働いている場合は、私に連絡してください。パソコンとスマートフォン用などの無料緊急地震速報アプリケーションを提供したいです。私は緊急地震速報データを扱うことができるサービスを作成しました。すぐに多数の人に警告を送ることができます。私が作成したサービスはプライベートプロトタイプです。 それについて私に連絡してください。


ニクソン マイケル
システム設計者とウェブサイトの所有者 (
私にメールを送るにはここをクリックしてください - [email protected]

English disclaimer:

* * * Important notice * * *

This page is only for the purpose of showing a private project.

This project is not endorsed, sponsored or supported by the Japanese Meteorological Agency (気象庁), National Research Institute for Earth Science and Disaster Resilience (NIED 防災科学技術研究所) or any other official company/agency.

This is an independent project for hobby use, and as such I will not distribute source code/object code/microcontroller firmware, I will not provide electrical schematic diagrams, I will not provide data/design documents, and I will not manufacture any more units or sell/give away this device to another person. The one shown here is for my personal usage as a hobby project. If I ever stop using this device, it will be recycled and all associated software/firmware will be destroyed to prevent data from being leaked to any third party.

Thank you in advance for your understanding, and I apologise that I cannot provide more information on this project at the moment. It is my wish in the future to provide an open Earthquake Early Warning service for others; however there are costly barriers to entry for me to provide this service at the moment. I have performed extensive research on this topic. If you are a resident of Japan and a representative of a company that is authorised to redistribute earthquake data from the JMA, and would like to help me - please get in touch.

Please see this Wikipedia article for a detailed explanation. It is the earthquake warning system used in Japan. Citizens usually receive warnings via special messages broadcast to mobile phones, radio and TV alerts.

It has the following features:

  • Infrared remote control with a simple menu system
  • Designed to be easy to use and low maintenance
  • Accurate (NTP synchronised) time and date display
  • Basic outdoor weather information retrieved from my DIY weather station
  • Alarm clock functionality with different alarm times for work days and days off
  • Automatic display backlight control (turns off at night to avoid illuminating the bedroom)
  • Status-at-a-glance LEDs to indicate correct operation or a fault
  • RTC to maintain correct date/time if powered up without an available NTP server
  • Integrated 3 watt class D amplifier with loudspeaker for loud audio warnings
  • Bright LED array for visual warnings
  • Backup battery with 1.5 hours backup time, all functions operational during a power failure
  • Intelligent power management PCB with efficient DC-DC power supply, backup power switching, power supply sensing and battery charging
  • Retrieves realtime earthquake data for the current location via the home automation server
    • Important: I cannot provide details about how this works in detail. Please see the legal disclaimer at the beginning of this page. I apologise for any inconvenience.
    • Note: Data is ingested by a special service running on the home automation server. This device only operates in Japan.
  • Realtime shindo (motion intensity) display for local town (area) and prefecture, updating every second
  • Earthquake Early Warning alarm with intensity information - visual (flashing LEDs) and audio (spoken announcements in Japanese)
    • Important: I cannot provide details about how this works in detail. Please see the legal disclaimer at the beginning of this page. I apologise for any inconvenience.

Menu system, controlled via the infrared remote control shown

An Earthquake Early Warning being displayed (LED panel flashes, and audio announcements are made)

The realtime shindo display (in the process of changing, hence the LCD blur)

The terminal in action, with simulated warning. Running old firmware.

Test of the software that runs on my home automation server, which ingests and processes earthquake data (shown in the middle of the screen) next to other earthquake warning software to confirm correct operation. You can see it showing realtime shindo for various areas of Japan.

  • eewterminal/start.txt
  • Last modified: 2017/11/13 11:41 UTC
  • by Zipplet