Author Topic: DDS, hacking DDS300  (Read 4919 times)

0 Members and 1 Guest are viewing this topic.

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
DDS, hacking DDS300
« on: November 24, 2013, 06:38:00 pm »
hi guys
googling for "signal generator" i have found this DDS300 board, it is a function generator module with two output signals , one is for PWM signal , the other is for the DDS signal. The module is TTL and has a 232 port, we can connect it to arduino (or to host computer) in order to choose a variety of waveform output , respectively {sine wave, square wave , triangle wave, heart} wave

The unit is cheap, you can also found it on ebay for ~$30/$40, unfortunately i can't find any documentation about the protocol, i recently got an .exe program which should handle the unit from an host computer running Windows XP.

anyone has already hacked it ? anyone has "sniffed" its serial protocol or knows something about ? let me know, it seems to be the coolest fish of the day in every hobbits electronic lab (probably the cheapest tool you can't miss) =P
 

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1478
  • Country: dk
Re: DDS, hacking DDS300
« Reply #1 on: November 24, 2013, 07:00:05 pm »
Are you kidding ???

At first glance  i thought ATmega328 ,since 6pwm etc. fits , then i thought ... wohaa $37
100Khz hmmm ...

Get a real AD9850/51 it's even cheaper.

/Bingo
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8229
  • Country: 00
Re: DDS, hacking DDS300
« Reply #2 on: November 24, 2013, 07:17:54 pm »
Quote
anyone has "sniffed" its serial protocol ...

For $30+, I would hope that you don't have to sniff anything to use your "signal generator", if that thing can be called a "signal generator" at all.
================================
https://dannyelectronics.wordpress.com/
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: DDS, hacking DDS300
« Reply #3 on: November 24, 2013, 08:33:14 pm »
Get a real AD9850/51 it's even cheaper.

AD9850 generates only sine wave, DDS300 generates a variety of waveform output , respectively {sine wave, square wave , triangle wave, heart} wave
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: DDS, hacking DDS300
« Reply #4 on: November 24, 2013, 08:34:35 pm »
For $30+, I would hope that you don't have to sniff anything to use your "signal generator", if that thing can be called a "signal generator" at all.

the program which handles this board is for Windows only and you don't need to sniff anything,you connect the serial cable between the PC and the DDS300 and you are ready to use the unit!

You need to sniff the protocol, or to get the protocol documentation, if you want to use linux, or if you want to connect the DDS300 to an embedded board, such as a linux-embedded board, or to Arduino.

 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: DDS, hacking DDS300
« Reply #5 on: November 24, 2013, 08:35:20 pm »
anyone has bought this unit or knows something about the protocol ? if not i will buy and reverse by myself.
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: DDS, hacking DDS300
« Reply #6 on: November 25, 2013, 12:22:18 am »
@bingo600
you mean something like this (AVR DDS signal generator) ?



edit:
more reading about AVR DDS signal generator can be found here (see notes)
AVR DDS signal generator has been inspired by this miniDDS project with Jesper’s DDS algorithm (enjoy it in avr asm)

Quote
DDS frequency range is from 0 to 65534Hz that is more than enough for testing audio circuits and other tasks.
« Last Edit: November 25, 2013, 11:00:12 am by legacy »
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 9768
  • Country: my
  • reassessing directives...
Re: DDS, hacking DDS300
« Reply #7 on: November 25, 2013, 01:09:54 am »
i hope sniffing is much faster than building a proper one from scratch. and i hope you have spare money to buy more proper one when you are done with this dds3000. and i hope you will enjoy the journey and i hope you good luck my "dear" ;)
It's extremely difficult to start life.. one features of nature.. physical laws are mathematical theory of great beauty... You may wonder Why? our knowledge shows that nature is so constructed. We simply have to accept it. One could describe the situation by saying that... (Paul Dirac)
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: DDS, hacking DDS300
« Reply #8 on: November 25, 2013, 01:35:31 am »
well :-//

sniffing may be faster than building a proper one from scratch if building something means designing the pcb, realizing the pcb, soldering components on pcb, testing the whole, fixing the jam, fighting with the fw, fixing it, finalizing the whole … etc

in short, sniffing a working object may be faster than obtaining a working object

btw, i am also learning a bit about DDS, especially if combined with CPLD or FPGA approach to provide "arbitrary wave" generator features.

very very interesting reading, so i have also bought a cheap book called "Digital Frequency Synthesis Demystified" by Goldberg
 

Offline Harvs

  • Super Contributor
  • ***
  • Posts: 1184
  • Country: au
Re: DDS, hacking DDS300
« Reply #9 on: November 25, 2013, 02:48:30 am »
While I know nothing about this module in question, or it's competitors, let's be realistic about how long it would take to discover the basic workings of the protocol.

You'll plug it into a PC (windoze or loonix), fire up any of the many free serial port sniffers out there, send it some commands from the given application software, and I'd bet within 20min you'll have a good understanding of how to control it.

It's taken me longer than that to decipher some Chinese datasheets in the past.
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: DDS, hacking DDS300
« Reply #10 on: November 25, 2013, 09:10:31 am »
exactly!
 

Offline Crazy Ape

  • Regular Contributor
  • *
  • Posts: 181
Re: DDS, hacking DDS300
« Reply #11 on: November 26, 2013, 12:04:56 pm »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8229
  • Country: 00
Re: DDS, hacking DDS300
« Reply #12 on: November 26, 2013, 12:06:49 pm »
Quote
Would this not be a better buy?

It doesn't offer an as convoluted solution, however.
================================
https://dannyelectronics.wordpress.com/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf