Coder Social home page Coder Social logo

gcy / gps-nixie-clock Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 10.58 MB

This is GPS Nixie clock,include IN12B, IN14, IN16, and IN2 version.

Home Page: http://gcyrobot.blogspot.tw/2017/08/nixie-clock.html

License: GNU Lesser General Public License v3.0

Prolog 10.23% C++ 29.03% Java 60.74%
nixie-clock wxwidgets android nixie-tube-clock

gps-nixie-clock's Introduction

GPS-Nixie-Clock

This is GPS Nixie clock,include IN12B, IN14, IN16, and IN2 version.

alt text

Firmware

Parameter

SERIAL : output info to serial port.
DOT : use nixie tube dot.
GPS : time sync with Neo-6M - u-blox chip, this function only for IN14 IN16 version, and time sync separator is GPGGA[7] = {'$','G','P','G','G','A',','};


#define __SERIAL__ 1
#define DOT 1
#define __GPS__ 1

gps_update : gps sync period, unit is ms, 300000ms = 5min.


const unsigned long gps_update = 300000;

Type select, IN_14 == IN_16.


enum{
  IN_12B = 100,
  IN_14,
  IN_2
};

const bool sync_time = false; // sync time with Arduino IDE
const bool temperature_calibration = false; // offset
const bool dew_point = true;  // calculate dew point

Command

case '1' : clock mode
case '2' : temperature mode
case '3' : humidity mode
case '4' : flash mode
case '5' : counter mode
case '6' : '1' + '2' + '3'
case 's' | 'S' : set time

Android time sync tool

Android App modified BlueTerm project.

PC Software - wxNixieClock


wxNixieClock is time sync tool for Nixie Clock project.(Only MAC-OS-X)

Build

g++ -o2 -o wxnixieclock.app wxnixieclock.cpp serialport.cpp connectargsdlg.cpp `wx-config --cxxflags --libs` -m64


alt text



Audi R8

Use


1. Pair BT of MAC and Nixie Clock.
2. Open wxNixieClock to select tools -> Connect Device -> cu.BT device driver
3. Click SyncTime button
4. Done!

Dependency


Install wxWidgets dependency in terminal

1. user$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. brew install wxwidgets

gps-nixie-clock's People

Contributors

gcy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.