Code Monkey home page Code Monkey logo

espclock's People

Contributors

victor-chew 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

espclock's Issues

Arduino 1.6.12 errors

`Arduino: 1.6.12 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"

espclock:38: error: 'D1' was not declared in this scope

int clockHH = 0, clockMM = 0, clockSS = 0, ntpHH = 0, ntpMM = 0, ntpSS = 0, ntpCount = 0, ntpTime = 0, tickPin = D1;

                                                                                                              ^

C:\Users\Nikki\Desktop\espclock\espclock.ino: In function 'void incSecondHand()':

espclock:139: error: 'D1' was not declared in this scope

tickPin = (tickPin == D1 ? D2: D1);

                     ^

espclock:139: error: 'D2' was not declared in this scope

tickPin = (tickPin == D1 ? D2: D1);

                          ^

C:\Users\Nikki\Desktop\espclock\espclock.ino: In function 'void setup()':

espclock:284: error: 'D0' was not declared in this scope

pinMode(D0, INPUT);

       ^

espclock:285: error: 'D1' was not declared in this scope

pinMode(D1, OUTPUT);

       ^

espclock:286: error: 'D2' was not declared in this scope

pinMode(D2, OUTPUT);

       ^

exit status 1
'D1' was not declared in this scope`

Cannot move hands

Hi, really cool idea!
I have some trouble with hands movements... looks like the coil has not enough strength to move clock hands when controlled with Arduino/Wemos ESP... but of course everything works when 1 battery (1.5V) is connected.

What should i do?
Should i consider putting a transistor or relay between to get more power?
I tried increasing current by adding a lower resistance between PIN and coil (about 50ohm)

Synchronism problems with ntp server

Hi I tried to build this watch, everything works but does not sync! I registered on google cloud to get the API key but nothing ..... there is no way to remove the location via google?

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.