Adding the audio processor, initialization and EEPROM to the amplifier brain

The code of the DIY amplifier has grown much, it is harder and harder to debug it and keep in the order. So first of all I have added the audioprocessor part to the existing code, not much to discuss it is already been considered. Only one thing – I added the display LCD functions instead of the uart menu. I still want to have the USB connectivity so I can take control over amp from the PC. The plan is to use the FT232 with the virtual com port. Of coarse, it would be a nicer way to use PIC18 with USB on-board, but at the moment of time I did not have the experience with it, and now, when I actually have it – I would still go the virtual com path, usb has too much of the hustle to implement and handle nicely, besides it is not free for use as usual usb.

Continue reading

Verilog-A: A PWM controller

Below is the procedure of a PWM veriloga controller created in Verilog-A language (behavioral description language)

So, I need a PWM controller which is basically the block the duty cycle of which will vary in dependence of the control pin voltage. The previous picture shows the output of the controller (red) with input applied control voltage (green). The frequency is constant.

Continue reading

Remote control for the fan

It was a hot, really hot, really very hot summer in 2012 in place where I used to live. I bought some cheap fan, though it was quite powerful, but there were two major drawbacks for me:

  1. No remote control
  2. No timer for scheduling switching off, let say at night. And I did not want it to make noise a whole night.
a fan with the remote control
Continue reading

Voltage supply 12V, 5V for the audio-amplifier

Now it is time to provide an appropriate voltage supply for the audio-amplifier. Since I care about the noise and the amplifier is dedicated to work from the outlet only, I decided to move in the linear stabilization direction.

What do I want?

  1. The +12В voltage for coolers and relay, which in charge of the stand by mode.
  2. The +5В voltage for everything else, I have a lot of “everything else”, so I need to project a lot of different connectors.
  3. Powerful output capable to provide enough of the power for everything I have.
  4. To not forget to put all powerful transistor underneath of the radiators and coolers.
  5. Add outputs for indications and switches.
Continue reading