Giter Site home page Giter Site logo

pico_jjy_tx's Introduction

JJY transmitter for Raspberry Pi Pico W

Overview

This project is JJY transmitter for Raspberry Pi Pico W in proximate usage

This project supports:

  • Fetch JST time by NTP
  • Generate JJY signal
  • JJY carrier frequency is configurable for 40 KHz or 60 KHz

About JJY, please refer to https://jjy.nict.go.jp/jjy/trans/index.html

Supported Board

  • Raspberry Pi Pico W

Pin Assignment

Pico Pin # Pin Name Function Note
3 GND GND Ground
4 GP2 PIN_MOD_P JJY modulation differential output Pch
5 GP3 PIN_MOD_N JJY modulation differential output Nch
6 GP4 PIN_CTRL Control Output (option for external carrier generator)
  • If single-ended output is required, use GP2 and GND.

Connection Diagram

Connection Diagram

How to make the program work

  • Use Thonny or similar MicroPython IDE (Confirmed with Thonny 4.0.2, Python 3.10.9)
  • Install MicroPython (Raspberry Pi Pico) interpreter firmware on Raspberry Pi Pico W by Thonny
  • Confirmed with MicroPython v1.22.2
  • Add secrets.py to include your WiFi configuration and put it on the storage of Raspberry Pi Pico W
# secrets.py
secrets = {
  'ssid': 'xxxx',
  'password': 'xxxx',
}
  • Excecute pico_jjy_tx.py from Thonny
  • For stand-alone application, please rename pico_jjy_tx.py as main.py and store in the storage of Raspberry Pi Pico W

Tips for emitting JJY

  • The easiest way to make the clock detect JJY emulated singal in small room environment, is just to connect wired earphone between PIN_MOD_P and PIN_MOD_N pins and put the clock near the earphone cable. (This could damage the earphone. please try with cheaper one.)
  • For the more proper way, round ferrite rod bar antenna with appropriate driver would be suitable.

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.