Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 108 users online: 8 members, 66 guests and 34 bots. Members: adriweb, fortytwo, HOMER-16, Piguy-3.14, qazz42, Qwerty.55. Bots: VoilaBot (3), Spinn3r (2), VoilaBot (8), Yahoo! Slurp (1), Googlebot (20).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
keoni29

Advanced Newbie

Joined: 18 Feb 2012 Posts: 41
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55733 Location: Earth, Sol, Milky Way
|
Posted: 12 Jul 2012 12:34:55 pm Post subject: |
|
|
Cool stuff, and cool demo. What sort of protocol to you use to communicate? Can I safely assume you have a microcontroller, send it a frequency and duration, and that it controls the DAC? _________________
 |
|
| Back to top |
|
|
keoni29

Advanced Newbie

Joined: 18 Feb 2012 Posts: 41
|
Posted: 13 Jul 2012 02:09:18 am Post subject: |
|
|
| KermMartian wrote: | | Cool stuff, and cool demo. What sort of protocol to you use to communicate? Can I safely assume you have a microcontroller, send it a frequency and duration, and that it controls the DAC? |
At the moment I'm just streaming nibbles to it plus two sync bits. Data is sent in like this:
1ddddx
in which 1 is for writing the value from the shiftregister to the quad d-flip flop and resetting the shiftregister and x is just for pushing the data. I might add a microcontroller, but if so I could as well just attach a R2R dac directly to its I/O pins.
You should check out the instructable I posted as well. It includes the schematics and a description of the layout of my board as well as a code example written in the AXE language. |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55733 Location: Earth, Sol, Milky Way
|
Posted: 18 Jul 2012 06:50:57 am Post subject: |
|
|
OK, I'll check it out. Out of curiosity, have you had any success in fixing the sounds output to be a bit more correct and clean? _________________
 |
|
| Back to top |
|
|
keoni29

Advanced Newbie

Joined: 18 Feb 2012 Posts: 41
|
Posted: 18 Jul 2012 02:01:33 pm Post subject: |
|
|
Oh the sound output was just perfect, but the sample data was a mess  _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55733 Location: Earth, Sol, Milky Way
|
Posted: 18 Jul 2012 03:43:06 pm Post subject: |
|
|
| keoni29 wrote: | Oh the sound output was just perfect, but the sample data was a mess  | Ohhh, I see. So it's an issue with the particular converter? In that case, any luck with the converter? _________________
 |
|
| Back to top |
|
|
keoni29

Advanced Newbie

Joined: 18 Feb 2012 Posts: 41
|
Posted: 19 Jul 2012 04:52:51 am Post subject: |
|
|
There is no such thing as ONE converter. I used audacity to convert audio to 8 bit raw pcm. Then I used some python code written by jimbauwen to convert it to 4 bits. This data was copied to sourcecoder and converted to an appvar in wabbitemu using axe. There are a ton of things that could have gone wrong  _________________
 |
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.027873 seconds.
|