It's a bit bizarre that it uses Basic. I just remember my local ARC using
it as a project sometime ago. Possibly in the 20th century. :)
On Wed, Dec 13, 2017 at 9:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
This looks like a very good starting point. It's a superset
that I can just simplify.
Rick
On 12/13/2017 12:10 PM, Adrian Godwin wrote:
Maybe this one ?
http://www.qsl.net/pa3ckr/bascom%20and%20avr/ad9951/index.html
There are probably many others
On Wed, Dec 13, 2017 at 8:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
I need a very simple controller to tune a DDS with up/down
switches (imagine setting the time on a clock). A DDS
chip, such as an AD9836 would go on a PC board and a couple
of pushbuttons would tell the controller to tune up or
down.
Before reinventing this wheel, I thought I would see if
anyone knows of a similar solution that can be leveraged.
What I would like is both hardware and software, where
the software could be edited to accommodate the up/down
buttons. A last resort would be to write software from
scratch. My software skills are extremely limited.
Cutting and pasting code might work for me.
I need to be able to embed this onto an existing PC board.
I can't use a preexisting "daughter" card, other than
to copy the design of the card.
Rick Karlquist
N6RK
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
Must have missed something here. Basic? Arduino uses C behaviors. God knows
everythings been written for it so maybe there is a basic language. That
said schematics are readily available and I believe its all open source.
Thats why its been so popular. Lots of nice simple tools for it also.
Regards
Paul
WB8TSL
On Wed, Dec 13, 2017 at 4:05 PM, Adrian Godwin artgodwin@gmail.com wrote:
It's a bit bizarre that it uses Basic. I just remember my local ARC using
it as a project sometime ago. Possibly in the 20th century. :)
On Wed, Dec 13, 2017 at 9:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
This looks like a very good starting point. It's a superset
that I can just simplify.
Rick
On 12/13/2017 12:10 PM, Adrian Godwin wrote:
Maybe this one ?
http://www.qsl.net/pa3ckr/bascom%20and%20avr/ad9951/index.html
There are probably many others
On Wed, Dec 13, 2017 at 8:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
I need a very simple controller to tune a DDS with up/down
switches (imagine setting the time on a clock). A DDS
chip, such as an AD9836 would go on a PC board and a couple
of pushbuttons would tell the controller to tune up or
down.
Before reinventing this wheel, I thought I would see if
anyone knows of a similar solution that can be leveraged.
What I would like is both hardware and software, where
the software could be edited to accommodate the up/down
buttons. A last resort would be to write software from
scratch. My software skills are extremely limited.
Cutting and pasting code might work for me.
I need to be able to embed this onto an existing PC board.
I can't use a preexisting "daughter" card, other than
to copy the design of the card.
Rick Karlquist
N6RK
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/
mailman/listinfo/time-nuts
and follow the instructions there.
Arduino is, of course (or actually some slightly weird dialect of C++).
But the pa3ckr code at
http://www.qsl.net/pa3ckr/bascom%20and%20avr/ad9951/ad9951-12.bas is in
bascom, whatever that is.
On Wed, Dec 13, 2017 at 9:12 PM, paul swed paulswedb@gmail.com wrote:
Must have missed something here. Basic? Arduino uses C behaviors. God knows
everythings been written for it so maybe there is a basic language. That
said schematics are readily available and I believe its all open source.
Thats why its been so popular. Lots of nice simple tools for it also.
Regards
Paul
WB8TSL
On Wed, Dec 13, 2017 at 4:05 PM, Adrian Godwin artgodwin@gmail.com
wrote:
It's a bit bizarre that it uses Basic. I just remember my local ARC using
it as a project sometime ago. Possibly in the 20th century. :)
On Wed, Dec 13, 2017 at 9:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
This looks like a very good starting point. It's a superset
that I can just simplify.
Rick
On 12/13/2017 12:10 PM, Adrian Godwin wrote:
Maybe this one ?
http://www.qsl.net/pa3ckr/bascom%20and%20avr/ad9951/index.html
There are probably many others
On Wed, Dec 13, 2017 at 8:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
I need a very simple controller to tune a DDS with up/down
switches (imagine setting the time on a clock). A DDS
chip, such as an AD9836 would go on a PC board and a couple
of pushbuttons would tell the controller to tune up or
down.
Before reinventing this wheel, I thought I would see if
anyone knows of a similar solution that can be leveraged.
What I would like is both hardware and software, where
the software could be edited to accommodate the up/down
buttons. A last resort would be to write software from
scratch. My software skills are extremely limited.
Cutting and pasting code might work for me.
I need to be able to embed this onto an existing PC board.
I can't use a preexisting "daughter" card, other than
to copy the design of the card.
Rick Karlquist
N6RK
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/
mailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/
mailman/listinfo/time-nuts
and follow the instructions there.
On 12/13/17 12:56 PM, Richard (Rick) Karlquist wrote:
I should have said AD9832. But that was just an example
that would work. I may choose a different one for whatever
reason.
Regarding the Arduino board: that is what I would call
a "daughter" board, which I can't have. Is the Arduino
board open source, so that I can just copy the schematic
of it to my own board? Is the Arduino software also
open source?
yes to both.
There's also a fair amount of "non arduino" software that runs on the
arduino hardware platform (whether ATMEGA or Freescale or some other ARM
processor).
The pjrc.com teensy is available with pins sticking out, so you can
mount it like a sort of thicker than normal wide DIP.
I've built standalone designs inheriting the processor schematic from
the pjrc.com Teensy series (which use the Freescale parts which have a
built in USB interface, useful for me).
If you're used to cross compilers using the usual GCC toolsets, and
such, then you don't need the Arduino IDE environment (although it is
easy, and gives you a nice prototyping platform). You can program most
of these chips using the JTAG interface, assuming you have a JTAG pod of
some sort. That gives you a single chip solution that still has a
fairly clean development environment.
Rick
On 12/13/2017 12:47 PM, Clint Jay wrote:
I think maybe you might have meant the AD9835 ?
Anyway, there are plenty of code examples out there, do you have a
processor in mind or are you free to use whatever is suggested?
On 13 Dec 2017 20:03, "Richard (Rick) Karlquist" richard@karlquist.com
wrote:
I need a very simple controller to tune a DDS with up/down
switches (imagine setting the time on a clock). A DDS
chip, such as an AD9836 would go on a PC board and a couple
of pushbuttons would tell the controller to tune up or
down.
Before reinventing this wheel, I thought I would see if
anyone knows of a similar solution that can be leveraged.
What I would like is both hardware and software, where
the software could be edited to accommodate the up/down
buttons. A last resort would be to write software from
scratch. My software skills are extremely limited.
Cutting and pasting code might work for me.
I need to be able to embed this onto an existing PC board.
I can't use a preexisting "daughter" card, other than
to copy the design of the card.
Rick Karlquist
N6RK
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.
Well, if you haven’t selected a DDS and you need I/Q, I would go with the tried and true 9854 as it has I/Q outputs and I thought a 12bit DAC so the resulting spurs and sfdr are lower than other chips, or were, as I think they have 14bit DACs on other chips now. It also depends on the highest frequency range needed and power requirements as they all seem to run hot. There is a new DDS, a 9910 I think, that uses a 14bit DAC but it is a single output and would need to sync clocks if you need I/Q. I have used the 9854 with PIC, Arduino and STM32 and assuming the frequency range is ok, I found it to be the better of the chips. I don’t think they have a replacement for it (I/Q with 14bit DAC would be great) but I haven’t looked lately.
The language is C but I think it has C++ and C# compilers out there. Also, once you have the code tested on the Arduino you can just run it on the equivalent AVR chip and build your own board. I don’t think there is a license or runtime compiler issue and if there is, I remember seeing a GNU compiler for the AVRs and Arduino. My only point is that for prototyping and testing, the Arduino seems to be the easiest with tons of support and many, many adapters and I/O, The STM32 boards are faster but the learning curve is just unbelievable. It took me months to master those boards compared to minutes for the Arduino.
Jerry
On 12/13/17 1:28 PM, Jerry Hancock wrote:
Well, if you haven’t selected a DDS and you need I/Q, I would go with the tried and true 9854 as it has I/Q outputs and I thought a 12bit DAC so the resulting spurs and sfdr are lower than other chips, or were, as I think they have 14bit DACs on other chips now. It also depends on the highest frequency range needed and power requirements as they all seem to run hot. There is a new DDS, a 9910 I think, that uses a 14bit DAC but it is a single output and would need to sync clocks if you need I/Q. I have used the 9854 with PIC, Arduino and STM32 and assuming the frequency range is ok, I found it to be the better of the chips. I don’t think they have a replacement for it (I/Q with 14bit DAC would be great) but I haven’t looked lately.
The language is C but I think it has C++ and C# compilers out there. Also, once you have the code tested on the Arduino you can just run it on the equivalent AVR chip and build your own board. I don’t think there is a license or runtime compiler issue and if there is, I remember seeing a GNU compiler for the AVRs and Arduino. My only point is that for prototyping and testing, the Arduino seems to be the easiest with tons of support and many, many adapters and I/O, The STM32 boards are faster but the learning curve is just unbelievable. It took me months to master those boards compared to minutes for the Arduino.
I agree - $20 for a Teensy, some jumper wires from solder holes on the
Teensy to your breadboard, load up the Teensyduino libraries into the
Arduino IDE and your SPI/I2C/serial interface is done. I did this to
write arduino code to drive a Silabs part.
If it takes an hour, I'd be surprised (or you have an incredibly slow
download connection, like doing it on an airplane in the back rows where
the WiFi is clunky - which I have done). The hard part when going to a
standalone design is picking the right pins on the microcontroller
(since so many have multiple functions, you want to be careful about
accidentally using something that has another useful function).
The digispark and digispark pro are also some nice <$15 development boards
that are USB programmable, use the Arduino IDE or AVR compiler, and have
just enough pins to be useful.
On Wed, Dec 13, 2017 at 4:34 PM, jimlux jimlux@earthlink.net wrote:
On 12/13/17 1:28 PM, Jerry Hancock wrote:
Well, if you haven’t selected a DDS and you need I/Q, I would go with the
tried and true 9854 as it has I/Q outputs and I thought a 12bit DAC so the
resulting spurs and sfdr are lower than other chips, or were, as I think
they have 14bit DACs on other chips now. It also depends on the highest
frequency range needed and power requirements as they all seem to run hot.
There is a new DDS, a 9910 I think, that uses a 14bit DAC but it is a
single output and would need to sync clocks if you need I/Q. I have used
the 9854 with PIC, Arduino and STM32 and assuming the frequency range is
ok, I found it to be the better of the chips. I don’t think they have a
replacement for it (I/Q with 14bit DAC would be great) but I haven’t looked
lately.
The language is C but I think it has C++ and C# compilers out there.
Also, once you have the code tested on the Arduino you can just run it on
the equivalent AVR chip and build your own board. I don’t think there is a
license or runtime compiler issue and if there is, I remember seeing a GNU
compiler for the AVRs and Arduino. My only point is that for prototyping
and testing, the Arduino seems to be the easiest with tons of support and
many, many adapters and I/O, The STM32 boards are faster but the learning
curve is just unbelievable. It took me months to master those boards
compared to minutes for the Arduino.
I agree - $20 for a Teensy, some jumper wires from solder holes on the
Teensy to your breadboard, load up the Teensyduino libraries into the
Arduino IDE and your SPI/I2C/serial interface is done. I did this to write
arduino code to drive a Silabs part.
If it takes an hour, I'd be surprised (or you have an incredibly slow
download connection, like doing it on an airplane in the back rows where
the WiFi is clunky - which I have done). The hard part when going to a
standalone design is picking the right pins on the microcontroller (since
so many have multiple functions, you want to be careful about accidentally
using something that has another useful function).
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
ESP8266 is my favorite as of late. It comes in a "DIP Form Factor" and does
SPI and random DIO very nicely.
Even better, as to user interface, it has Wi-Fi and instead of physical
buttons, the UI can be as simple as buttons on a web page it serves up.
Tim N3QE
On Wed, Dec 13, 2017 at 3:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
I need a very simple controller to tune a DDS with up/down
switches (imagine setting the time on a clock). A DDS
chip, such as an AD9836 would go on a PC board and a couple
of pushbuttons would tell the controller to tune up or
down.
Before reinventing this wheel, I thought I would see if
anyone knows of a similar solution that can be leveraged.
What I would like is both hardware and software, where
the software could be edited to accommodate the up/down
buttons. A last resort would be to write software from
scratch. My software skills are extremely limited.
Cutting and pasting code might work for me.
I need to be able to embed this onto an existing PC board.
I can't use a preexisting "daughter" card, other than
to copy the design of the card.
Rick Karlquist
N6RK
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
Rick,
It might be an adventure but ebay - doukstore has a AD9959 Radio Frequency RF Signal Source Generator 4-Channel DDS Module DC5V for 50.99 and a DDS Module Driver Board LCD for AD9854 / AD9954 / AD9833 / AD9834 / AD9851 control board at 27.99 with push buttons and a LCD screen to set the outputs. They also have a number of other DDS modules.
I have no idea what the quality is and I doubt there are English manuals or any schematics but for 78 bucks delivered it might suit.
Bob Darby
-----Original Message-----
From: time-nuts [mailto:time-nuts-bounces@febo.com] On Behalf Of Richard (Rick) Karlquist
Sent: Wednesday, December 13, 2017 3:03 PM
To: Discussion of precise time and frequency measurement time-nuts@febo.com
Subject: [time-nuts] Simple open source microcontroller solution to tune DDS needed
I need a very simple controller to tune a DDS with up/down switches (imagine setting the time on a clock). A DDS chip, such as an AD9836 would go on a PC board and a couple of pushbuttons would tell the controller to tune up or down.
Before reinventing this wheel, I thought I would see if anyone knows of a similar solution that can be leveraged.
What I would like is both hardware and software, where the software could be edited to accommodate the up/down buttons. A last resort would be to write software from scratch. My software skills are extremely limited.
Cutting and pasting code might work for me.
I need to be able to embed this onto an existing PC board.
I can't use a preexisting "daughter" card, other than to copy the design of the card.
Rick Karlquist
N6RK
time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.
Rick
Please contact me off list we did a board for Corby to be used with the HP Rb using a PIC but I would have to better understand your needs to figure out what board to use.
Bert Kehren
In a message dated 12/13/2017 4:06:01 PM Eastern Standard Time, artgodwin@gmail.com writes:
It's a bit bizarre that it uses Basic. I just remember my local ARC using
it as a project sometime ago. Possibly in the 20th century. :)
On Wed, Dec 13, 2017 at 9:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
This looks like a very good starting point. It's a superset
that I can just simplify.
Rick
On 12/13/2017 12:10 PM, Adrian Godwin wrote:
Maybe this one ?
http://www.qsl.net/pa3ckr/bascom%20and%20avr/ad9951/index.html
There are probably many others
On Wed, Dec 13, 2017 at 8:03 PM, Richard (Rick) Karlquist <
richard@karlquist.com> wrote:
I need a very simple controller to tune a DDS with up/down
switches (imagine setting the time on a clock). A DDS
chip, such as an AD9836 would go on a PC board and a couple
of pushbuttons would tell the controller to tune up or
down.
Before reinventing this wheel, I thought I would see if
anyone knows of a similar solution that can be leveraged.
What I would like is both hardware and software, where
the software could be edited to accommodate the up/down
buttons. A last resort would be to write software from
scratch. My software skills are extremely limited.
Cutting and pasting code might work for me.
I need to be able to embed this onto an existing PC board.
I can't use a preexisting "daughter" card, other than
to copy the design of the card.
Rick Karlquist
N6RK
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/m
ailman/listinfo/time-nuts
and follow the instructions there.
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.