GithubHelp home page GithubHelp logo

carlo47 / cyd_cosinewavegenerator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 111 KB

User Interface for the Cosine Wave Generator of the ESP32

License: The Unlicense

C++ 100.00%
cheap-yellow-display cyd esp32 graphical-user-interface cosine-wave-generator esp32-2432s028r lovyangfx

cyd_cosinewavegenerator's Introduction

CYD - A graphical user interface for the Cosine Wave Generator of the ESP32

I had the idea of using the Cheap Yellow Display CYD for a graphical user interface for the Cosine Wave Generator that I programmed some time ago.

img1

Because DAC_CHANNEL_1 is used for the photoresistor in the CYD, the settings only affect the second channel. When starting, the generator displays the reference frequency f0. If this deviates from the actual measured frequency, this can be corrected manually. I measured 132.5 Hz on my CYD and therefore set f0 accordingly.The theoretical frequency range is 15 .. 8'000'000 Hz, but only the audio range 15 .. 15'000 Hz is reasonably usable.

In the CYD, the output of DAC_CHANNEL_2 is connected to the input of the built-in amplifier. Because the wiring of this OpAmp is not optimal, I have modified it as described here with the following resistor values: R7 = R8 = 18K, R9 = 33K

Here are the settings and output signals for minimum and maximum audio frequencies measured at a speaker pin and to ground.

Settings 16 Hz Oscilloscope
img2 img3
Settings 15 kHz Oscilloscope
img4 img5

cyd_cosinewavegenerator's People

Contributors

carlo47 avatar

Stargazers

 avatar

Watchers

 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.