tjfreebo

Member Since: January 10, 2011

Country: Canada

Profile

Universities

University of Calgary

  • Product BOB-09169 | about 2 years ago

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

  • Product COM-00307 | about 3 years ago

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

  • News - Bildr Tutorials | about 3 years ago

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

  • Product BOB-09169 | about 3 years ago

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

  • Product BOB-09169 | about 3 years ago

    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:
    SPI.transfer(byte1);
    SPI.transfer(byte2);
    // take the SS pin high to de-select the chip:
    digitalWrite(slaveSelectPin,HIGH);
    }

No public wish lists :(