Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cedargrovestudios/circuitpython_ad9833
A CircuitPython driver for the AD9833 Programmable Waveform Generator.
https://github.com/cedargrovestudios/circuitpython_ad9833
ad9833 circuitpython circuitpython-community-bundle wave-generator
Last synced: about 1 month ago
JSON representation
A CircuitPython driver for the AD9833 Programmable Waveform Generator.
- Host: GitHub
- URL: https://github.com/cedargrovestudios/circuitpython_ad9833
- Owner: CedarGroveStudios
- License: mit
- Created: 2022-10-13T05:52:10.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T23:42:49.000Z (11 months ago)
- Last Synced: 2024-01-20T00:31:17.074Z (11 months ago)
- Topics: ad9833, circuitpython, circuitpython-community-bundle, wave-generator
- Language: Python
- Homepage:
- Size: 6.33 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Introduction
============.. image:: https://img.shields.io/discord/327254708534116352.svg
:target: https://adafru.it/discord
:alt: Discord.. image:: https://github.com/CedarGroveStudios/CircuitPython_AD9833/workflows/Build%20CI/badge.svg
:target: https://github.com/CedarGroveStudios/CircuitPython_AD9833/actions
:alt: Build Status.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code Style: BlackA CircuitPython driver for the AD9833 Programmable Waveform Generator.
.. image:: https://github.com/CedarGroveStudios/CircuitPython_AD9833/blob/master/media/DSC05796_combo.jpg
The AD9833 is a programmable waveform generator that produces sine, square, and triangular waveform output from 0 MHz to 12.5MHz with 28-bit resolution. The driver controls the waveform generator's frequency, phase, and waveform type.
The Cedar Grove AD9833 Precision Waveform Generator and AD9833 ADSR Precision Waveform Generator FeatherWings provide all the support circuitry for the AD9833. The ADSR (Attack, Decay, Sustain, Release) version incorporates the AD5245 digital potentiometer to provide output amplitude control.
Dependencies
=============
This driver depends on:* `Adafruit CircuitPython `_
Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle `_
or individual libraries can be installed using
`circup `_.Installing to a Connected CircuitPython Device with Circup
==========================================================Make sure that you have ``circup`` installed in your Python environment.
Install it with the following command if necessary:.. code-block:: shell
pip3 install circup
With ``circup`` installed and your CircuitPython device connected use the
following command to install:.. code-block:: shell
circup install cedargrove_ad9833
Or the following command to update an existing version:
.. code-block:: shell
circup update
Usage Example
=============.. code-block:: python
# insert code here
``ad9833_simpletest.py`` and other examples can be found in the ``examples`` folder.
Documentation
=============
`AD9833 CircuitPython Driver API Class Description `_`CedarGrove AD9833 Precision Waveform Generator FeatherWing OSH Park Project `_
.. image:: https://github.com/CedarGroveStudios/CircuitPython_AD9833/blob/master/media/Waveform_Generator_closeup.png
`CedarGrove AD9833 ADSR Precision Waveform Generator FeatherWing OSH Park Project `_
.. image:: https://github.com/CedarGroveStudios/CircuitPython_AD9833/blob/master/media/Waveform_Gen_ADSR_close.png
For information on building library documentation, please check out
`this guide `_.Contributing
============Contributions are welcome! Please read our `Code of Conduct
`_
before contributing to help this project stay welcoming.