element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum waveform generator with uno r3
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 23 replies
  • Subscribers 396 subscribers
  • Views 2171 views
  • Users 0 members are here
  • sine
  • wave
  • arduino
  • atmel
Related

waveform generator with uno r3

Former Member
Former Member over 10 years ago

I have the Arduino Uno R3 and i need to generate a RF sine wave up to 500MHz.

This is not my first project with the Arduino or Atmel MCUs but it is my first RF / wave project.

 

What hardware will i need to do so?

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to shabaz +1
    Yup, I tend to agree too, it sound more achievable in a reasonable amount of time and perfect for a computer science student, not an EE. Peter
Parents
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago

    The UNO itself will not be able to help you here, it only runs at 16Mhz and even with the tightest coding will probably not exceed few Mhz on any of its pins

     

     

     

    Getting a sine wave at upto 500Mhz will require external help where the UNO would only be a controller, not the actual generator

     

     

     

    Do you have a lower frequency limit, if you generate a square wave and use external RC/LC filtering, you could approximate the sine wave

     

     

     

    What control do you want over it or is it just a static signal

     

     

     

    Basically, tell us what you intend to do with it and more about how you intend the project to function… SPECS ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to Robert Peter Oakes

    The lower limit would be about 1MHz, for my assignment, i need to create a sine wave from 1MHz to 500MHz tunable using a potentiometer or a variable in the code.

    Yes i intend for the UNO to be the controller so i want to know what external hardware do i need.

    I also know i can use a square wave instead, but if i have no limits on what hardware i can use, how would i go about doing the same without a square wave.

     

    Basically, i select a frequency, and that wave is generated. So is that static? As for any more specs, that is all i was given by my professor.

    I am actually a major in computer science and this is my first project that involves components of computer engineering.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelwylie
    michaelwylie over 10 years ago in reply to Former Member

    If you're looking for a complete custom solution:

    http://datasheets.maximintegrated.com/en/ds/MAX038.pdf

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to michaelwylie

    that's just what i was looking for. thanks alot man.image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelwylie
    michaelwylie over 10 years ago in reply to Former Member

    Hope it all works out for you. That one comes in DIP so you should be able to make your circuit in perf board (vero board).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to michaelwylie

    i tried to order the max038CPP from element14, mouser, digikey but all state it as obsolete.

    is there any other IC i may use?

     

    preferably a link to a element14 product.

     

    thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelwylie
    michaelwylie over 10 years ago in reply to Former Member

    Not as fancy, but should get the job done. You can order samples from Linear

    http://www.linear.com/product/LTC1799

     

    Edit: Wait! It's a square wave output. Unless you want to filter, we'll have to find another chip.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to michaelwylie

    There are DDS chips by Analog Devices, that will output a sine wave, but I'm not sure this is what his prof wants either. I think you may be right, it could have been a sig-gen controlled by GPIB etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to shabaz

    Yup, I tend to agree too, it sound more achievable in a reasonable amount of time and perfect for a computer science student, not an EE.

     

     

     

    Peter

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 10 years ago in reply to Robert Peter Oakes

    Lots of people (including Analog Devices) sell Analog Devices DDS chips on little boards ready for some external control.

     

    This was the first one I found (I have never dealt with these people so do some checking and look at other sources):

    AD9850 DDS Signal Generator Module 0 40MHz New | eBay

     

    I suggest the OP looks for others and also at AD's data on the chip.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to michaelkellett

    Finally found out what he wants.

    He is trying to find out the effects of frequency with respect to our indoor positioning system.

    My scope is to find a device that can output 1-20 MHz and for each frequency, record the readings from the RF receivers and plot it on a graph, which we will datamine.

    So you are right, it was a sig gen controlled by GPIO.

     

    Both of us are CS people and not EE so we will just follow the advice given here. He will order the AD9850 and we will see if it works.

     

    Thanks once again.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bobcroft
    bobcroft over 10 years ago in reply to Former Member

    Jeremy,

                   I have used the AD 9850, others have suggested, along with an Arduino R3.  It worked without any problems using some code I found on the net, suitably modified for my needs.   There is code for a sweep generator along with AD9850.cpp and AD9850.h files on the net.  I think these will give you a basis for the frequency generator you require.  The sine waves generated at the frequencies you are interested in are good.

     

    Bob

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • bobcroft
    bobcroft over 10 years ago in reply to Former Member

    Jeremy,

                   I have used the AD 9850, others have suggested, along with an Arduino R3.  It worked without any problems using some code I found on the net, suitably modified for my needs.   There is code for a sweep generator along with AD9850.cpp and AD9850.h files on the net.  I think these will give you a basis for the frequency generator you require.  The sine waves generated at the frequencies you are interested in are good.

     

    Bob

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube