Electronic Circuits and Projects Forum



Any idea's for a buffer?

12 Last »
  1. #1
    things things is offline

    Any idea's for a buffer?

    Me and a friend are designing a lasershow controller consisting of a FTDI USB-serial chip and a DAC from Analog, but because the output of a PC is not always steady, we need somehting to buffer the serial data until a new chunk of data is received. Any idea's?

    Cheers,
    Dan
    The 3 laws of science....
    1. If it smells bad, It's chemistry.
    2. If it's mushy, It's biology.
    3. If it doesn't work, It's physics.
    www.laserchat.org IRC chat for laser and electronic related stuff.

  2. #2
    Nigel Goodwin Nigel Goodwin is offline
    Super Moderator
    Use a PIC to do it, or any other micro-controller - you need to intrface the DAC in someway anyhow, presumably it doesn't just take RS232?.
    0
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    things things is offline
    Hmm OK, Thanks.. We are intending on using this DAC chip: AD5668 | Octal, 16-Bit D/A Converter with 5 ppm/°C On-Chip Reference in 16-Lead TSSOP | D/A Converters | Digital to Analog Converters | Analog Devices

    -Dan

    Hmm, why is my Reputation bad? I haven't done anything wrong have I?
    0
    Last edited by things; 20th April 2009 at 02:55 PM.
    The 3 laws of science....
    1. If it smells bad, It's chemistry.
    2. If it's mushy, It's biology.
    3. If it doesn't work, It's physics.
    www.laserchat.org IRC chat for laser and electronic related stuff.

  4. #4
    Pommie Pommie is offline
    Quote Originally Posted by things View Post
    Me and a friend are designing a lasershow controller consisting of a FTDI USB-serial chip and a DAC from Analog, but because the output of a PC is not always steady, we need somehting to buffer the serial data until a new chunk of data is received. Any idea's?

    Cheers,
    Dan
    There is no device that can buffer data that has not been received. A Pic will buffer the data until more data is required. You will require handshake lines or the Pic will get full up very quick.

    Mike.
    0

  5. #5
    Pommie Pommie is offline
    Quote Originally Posted by things View Post
    Hmm, why is my Reputation bad? I haven't done anything wrong have I?
    I don't know why people do that to new posters. I wish they wouldn't.

    Mike.
    0

  6. #6
    things things is offline
    Quote Originally Posted by Pommie View Post
    There is no device that can buffer data that has not been received. A Pic will buffer the data until more data is required. You will require handshake lines or the Pic will get full up very quick.

    Mike.
    Sorry, I didn't mean to buffer invisible data, I meant to buffer the previously sent data untill new data is received.

    -Dan
    0
    The 3 laws of science....
    1. If it smells bad, It's chemistry.
    2. If it's mushy, It's biology.
    3. If it doesn't work, It's physics.
    www.laserchat.org IRC chat for laser and electronic related stuff.

  7. #7
    Pommie Pommie is offline
    Quote Originally Posted by things View Post
    Sorry, I didn't mean to buffer invisible data, I meant to buffer the previously sent data untill new data is received.

    -Dan
    I guessed as much and was just having a little fun.

    Mike.
    0

  8. #8
    things things is offline
    hahaha OK

    Well, essentially, we have the FTDI drivers here for a premade DAC that uses a FTDI chip too, so essentially all we need to do, is interface PC ->FTDI USB - Serial -> Buffer -> DAC and then amp 2 of the DAC outputs to +/-5V differential, and the other channels to just 5-0v, then the rest is just software. Sounds about right, am I missing anything?
    0
    The 3 laws of science....
    1. If it smells bad, It's chemistry.
    2. If it's mushy, It's biology.
    3. If it doesn't work, It's physics.
    www.laserchat.org IRC chat for laser and electronic related stuff.

  9. #9
    Pommie Pommie is offline
    What speed will the serial be running? Feeding what I assume is a stereo DAC at good quality is a lot of data and will define how you can solve the problem.

    Mike.
    0

  10. #10
    things things is offline
    Quote Originally Posted by Pommie View Post
    What speed will the serial be running? Feeding what I assume is a stereo DAC at good quality is a lot of data and will define how you can solve the problem.

    Mike.
    Hi, the DAC chip I linked is 8 channels, 16bit. My friend reckons about 30mhz.

    Essentially, we need to amp 2 of those output channels to give us +/-5v, or 10v PTP, and the other 6 are just going to be 0-5V output.

    -Dan
    0
    The 3 laws of science....
    1. If it smells bad, It's chemistry.
    2. If it's mushy, It's biology.
    3. If it doesn't work, It's physics.
    www.laserchat.org IRC chat for laser and electronic related stuff.

12 Last »
Tags
Similar Threads
Thread Starter Forum Replies Last Post
HELP! I need idea's for my thesis! Moisff Electronic Projects Design/Ideas/Reviews 4 1st October 2008, 01:12 AM
Idea's for Capacitors weegee General Electronics Chat 12 4th October 2006, 08:49 PM
Need idea's for IR reciever Roboticinfo Robotics & Mechatronics 16 17th April 2005, 11:33 AM
Need idea's for IR reciever Roboticinfo Electronic Projects Design/Ideas/Reviews 2 16th April 2005, 01:51 AM
Lazer Alarm, Any idea's? SchutzhundK94 Electronic Projects Design/Ideas/Reviews 6 16th September 2004, 10:55 PM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.06802 seconds      Memory: 7,294 KB      Queries: 16      Templates: 0