Code Monkey home page Code Monkey logo

esp32_oscilloscopeclock's Introduction

ESP32 Oscilloscope Clock by Mauro Pintus

ESP32 Oscilloscope Clock using internal DACs, with WiFi ntp sync

Mauro Pintus , Milano 2018/05/25

How to use it: Load this sketch on a ESP32 board using the Arduino IDE 1.8.7 See Andreas Spiess video linked below if you dont know how to... Connect your oscilloscope channels to GPIO25 and GPIO26 of the ESP32 Connect the ground of the oscilloscope to the GND of the ESP32 board Put your Oscilloscope in XY mode Adjust the vertical scale of the used channels to fit the clock

Enjoy Your new Oscilloscope Clock!!! :)

Additional notes: By default this sketch will start from a fix time 10:08:37 everityme you reset the board. To change it, modify the variables h,m,s below.

To synchronize the clock with an NTP server, you have to install the library NTPtimeESP from Andreas Spiess. Then ncomment the line //#define NTP, removing the //. Edit the WiFi credential in place of Your SSID and Your PASS. Check in the serial monitor if it can reach the NTP server. You mignt need to chouse a different pool server for your country.

If you want there is also a special mode that can be enabled uncommenting the line //#define EXCEL, removing the //. In this mode, the sketch will run once and will output on the serial monitor all the coordinates it has generated. You can use this coordinates to draw the clock using the graph function in Excel or LibreOffice This is useful to test anything you want to display on the oscilloscope to verify the actual points that will be generated.

GitHub Repository https://github.com/maurohh/ESP32_OscilloscopeClock

Twitter Page https://twitter.com/PintusMauro

Youtube Channel www.youtube.com/channel/UCZ93JYpVb9rEbg5cbcVG_WA/

Old Web Site www.mauroh.com

Credits: Andreas Spiess https://www.youtube.com/watch?v=DgaKlh081tU

Andreas Spiess NTP Library https://github.com/SensorsIot/NTPtimeESP

My project is based on this one: http://www.dutchtronix.com/ScopeClock.htm

Thank you!!

esp32_oscilloscopeclock's People

Contributors

maurohh avatar

Watchers

 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.