Hello friend! SparkFun Customer Support will be unavailable today from 3:00 pm Mountain Time through the remainder of the day. We will resume normal operation at 9:00 AM Mountain Time tomorrow 6/20/18. Thank you for your patience!


Member Since: January 10, 2011

Country: Canada

  • My pinout for the AD9835 -> Uno was: SDATA -> Pin11, SCLCK -> Pin13, PSEL0 -> GND, PSEL1 -> GND, FSEL -> GND, FSYNC -> Pin10

  • There’s a nice Arduino Max6675 Library available to really simplify reading temperature data from this amplifier.

  • Looks a little to me like they are using Fritzing (http://fritzing.org/) to do the graphics.

  • The onboard reference clock supplied to the MCLK pin on this breakout board is 50MHz.

  • Below are the functions I used for to control the output frequency of the AD9835 using my Arduino Uno.
    void AD9835write(unsigned long frequency)
    unsigned long temp = 0;
    temp = 0xFFFFFFFF/50000000*frequency;
    SPIwrite(0xF8, 0x00);
    SPIwrite(0x33, ((temp & 0xFF000000) >> 24));
    SPIwrite(0x22, ((temp & 0x00FF0000) >> 16));
    SPIwrite(0x31, ((temp & 0x0000FF00) >> 8));
    SPIwrite(0x20, ((temp & 0x000000FF)));
    SPIwrite(0xC0, 0x00);
    void SPIwrite(int byte1, int byte2) {
    // take the SS pin low to select the chip:
    digitalWrite(slaveSelectPin, LOW);
    // send in the address and value via SPI:
    // take the SS pin high to de-select the chip:

No public wish lists :(