An afternoon of decimal to hexadecimal conversions, mind-bending hex to binary conversions and Arduino C coding.
Good morning all…
Youtuber, shed dweller, solar charge controller aficionado
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Julian, what is function of the last 2 lines used in each case statement
shiftOut(SDATA, SCLK, MSBFIRST, 0b01000000); // 0x40
shiftOut(SDATA, SCLK, MSBFIRST, 0b00000000); // 0x00
have something to do with 0x4000 Frequency Register 0 MSB ? Ref application note AN-1070…
Hi Julian, love your work, I'm working on a project using a couple of AD9833s, and so far you have saved me at least days of trying to understand how to make the thing work. I'm thinking that I might be able to modify your source code to suit my purposes and save myself even more days of struggling with the data sheet! Is your code available, and if so where can I get it?
try using an attiny13 for each of the key thus having each key function independently
OH this is for the Vocoder…
Why is there a click at the end of the note? Is it because of the absence or slowness of dc-blocking to the amp?
I wonder… i think the ATmega328P has capacitive touch sensors already built in, so why not to use them? I've seen a library for it somewhere…
Fun project. Thanks for Sharing.
Sponsored by DrayTek. ;P
hi what model scope do you use please?
Julian, Windows 8 Calculator has a "Programmer" mode where you can convert HEX to BIN
Have you put thought into adding octave switches? Considering that the frequencies would be doubled or halved, I'm sure it wouldn't be overly difficult, although I am quite new to Arduino. I could be wrong!
play a tune…. doe a dear a female male dear…. cum on/….what are you thinking…..baz…
In the Arduino IDE you can use the 0x prefix to represent HEX so in your example 20E2 becomes 0x20E2, no need to convert to binary for your function arguments.
Julian, the Windows Calculator can convert Hex to Binary (or Decimal to Hex to Binary). You can cut and paste the result into your code.
This is very impressive Julian.