Skip to content

angadgill/dds_controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDS Controller

PC controlled AD9850 DDS module using a PSoC 4.
The idea is to have a small kit that can generate create a required frequency at the DDS module. All controls are accessible via the COM interface using a terminal application.

Author: Angad Gill

Hardware

The $4 PSoC 4 Prototyping Kit is used here along with the MiniProg. The MiniProg isn't necessary as the PSoC device can be programmed using the bootloader, but I haven't tried that feature yet.

Software

A serial communication terminal application is needed to interact with the Signal Generator. I prefer to use Python's PySerial package which comes with an excellent miniterm program. It can be installed using pip as follows:
pip install pyserial
And connected to the Signal Generator using the following command:
On Windows: python -m serial.tools.miniterm COM4 115200 -e
On Mac: python -m serial.tools.miniterm /dev/cu.usbmodem14231 115200 -e

  • COM4 is the port for the PSoC 4 Prototyping kit on my Windows computer and /dev/cu.usbmodem1431 is the port on my Mac. Use this command to see all available ports: python -m serial.tools.list_ports
  • 115200 is the baud rate.
  • -e enables the echo mode in minitterm

Commands

The code has the following three commands built into it, type them in the terminal and hit Enter to see usage formats:

  • help
  • dds

About

PC controlled AD9850 module using a PSoC 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages