ksren's Recent Posts

Am building a power supply that uses a transformer which outputs 24v rms. The problem is it uses various sensitive components such as an LCD. I think I have thrown together a buck converter to solve this issue. However am stuck on how to drive the MOSFET since I can't use a 555 timer because I don't have a 5v rail.
pic

I have a feeling am trying to run before I can walk but hey. Ofcourse I can just buy a ready built dc-dc converter but I thought I'll have a go at building a crude DIY one. Not too bothered about efficiency.

Here's what I've done but am not getting 5v. As previously mentioned the output voltage vin * duty cycle which is 5.1v. Am going to stick this into a 3.3v reg.
pic2

I have seen the likes of M-Audio fast track and similar devices that somehow covert an analogue voltage audio signal to a digital data stream which you can connect via USB to your computer. If I open something like Garageband it just appears as another input without any special configuration. I am interested in building my own.

An example application would be; record guitar onto a computer software e.g. Garageband, Logic Pro etc.

I understand that there is a ADC (Analogue to Digital Converter) which will convert the analogue audio levels to digital.

What I am trying to figure out is, how does this interface with the computer?

All of these devices seem to work without needing specific drivers and such so, there I'm guessing there may be a specific protocol they all follow? I can't seem to find something exact.

If there is a protocol that they follow, does anyone have any info or any idea about this? Is this the same universal protocol that is used by the likes of USB audio speakers etc? Is this similar to SPDIF and the like? Is this conversion from output of ADC to USB data stream something which we can do, say, with a microcontroller?

I know that its much easier just to build an analogue preamp or the like to connect it to the audio input port on a PC but as I said, I am interested in how they make the USB interface.