Silicon ChipUltra-LD Stereo Preamplifier & Input Selector, Pt.2 - December 2011 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Domestic solar panels can make electricity grid unstable
  4. Feature: The Square Kilometre Array by Geoff Graham
  5. Feature: Steadicam: Taking The Bumps Out Of Movies, Pt.2 by Barrie Smith
  6. Project: Digital Audio Delay For Perfect Lip Sync by Nicholas Vinen
  7. Project: Build A Magnetic Stirrer by Michael Burton
  8. Project: MiniReg 1.3-22V Adjustable Regulator by John Clarke
  9. Feature: The Alternative Maximite World by Geoff Graham
  10. Feature: How To Do Your Own Loudspeaker Measurements by Allan Linton-Smith
  11. Project: Ultra-LD Stereo Preamplifier & Input Selector, Pt.2 by John Clarke & Greg Swain
  12. Vintage Radio: The AWA R7077 Beat Frequency Oscillator by Maurie Findlay
  13. Book Store
  14. Advertising Index
  15. Outer Back Cover

This is only a preview of the December 2011 issue of Silicon Chip.

You can view 31 of the 112 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Articles in this series:
  • Steadicam: Taking The Bumps Out Of Movies, Pt.1 (November 2011)
  • Steadicam: Taking The Bumps Out Of Movies, Pt.1 (November 2011)
  • Steadicam: Taking The Bumps Out Of Movies, Pt.2 (December 2011)
  • Steadicam: Taking The Bumps Out Of Movies, Pt.2 (December 2011)
Items relevant to "Digital Audio Delay For Perfect Lip Sync":
  • Digital Audio Delay [01212111] (PCB, AUD $25.00)
  • dsPIC33FJ64GP802-I/SP programmed for the Digital Audio Delay [0121211A.HEX] (Programmed Microcontroller, AUD $25.00)
  • Digital Audio Delay front & rear panels [01212112/3] (PCB, AUD $20.00)
  • Firmware and source code for the Digital Audio Delay [0121211A.HEX] (Software, Free)
  • Digital Audio Delay PCB pattern (PDF download) [01212111] (Free)
  • Digital Audio Delay panel artwork (PDF download) [01212112/3] (Free)
Items relevant to "MiniReg 1.3-22V Adjustable Regulator":
  • Mini Regulator PCB (MiniReg) [18112111] (AUD $5.00)
  • MiniReg PCB pattern (PDF download) [18112111] (Free)
Items relevant to "How To Do Your Own Loudspeaker Measurements":
  • Prechamp: 2-Transistor Preamplifier PCB [01107941] (AUD $5.00)
  • Champ: Single Chip Audio Amplifier PCB [01102941] (AUD $5.00)
Items relevant to "Ultra-LD Stereo Preamplifier & Input Selector, Pt.2":
  • Input Switching Module PCB for the Low Noise Preamplifier [01111112] (AUD $15.00)
  • Input Selection Pushbutton PCB for the Low Noise Preamplifier [01111113] (AUD $5.00)
  • Preamp & Remote Volume Control PCB for the Ultra-LD Mk3 [01111111] (AUD $30.00)
  • PIC16F88-I/P programmed for the Low-Noise Stereo Preamp [0111111B.HEX] (previously 0111111A.HEX) (Programmed Microcontroller, AUD $15.00)
  • Firmware and source code for the Low-Noise Stereo Preamplifier [0111111B.HEX] (previously 0111111A.HEX) (Software, Free)
  • Low-Noise Stereo Preamplifier Input Switcher PCB pattern (PDF download) [01111112] (Free)
  • Low-Noise Stereo Preamplifier Input Selector Pushbutton PCB pattern (PDF download) [01111113] (Free)
  • Low-Noise Stereo Preamplifier Main PCB pattern (PDF download) [01111111] (Free)
Articles in this series:
  • Ultra-LD Stereo Preamplifier & Input Selector, Pt.1 (November 2011)
  • Ultra-LD Stereo Preamplifier & Input Selector, Pt.1 (November 2011)
  • Ultra-LD Stereo Preamplifier & Input Selector, Pt.2 (December 2011)
  • Ultra-LD Stereo Preamplifier & Input Selector, Pt.2 (December 2011)
Ultra-LD Mk.3 Stereo Amplifier . . . Pt.2: By JOHN CLARKE & GREG SWAIN Low-Noise Stereo Preamp With Motorised Volume Control & Input Selector In Pt.2 this month, we describe the assembly of the Input Selector module and its companion Switch Board. We also show you how to make the IDC cables that link the modules together and give the remote control set-up and test procedure. T HE 3-INPUT SELECTOR board (Fig.13) is straightforward to assemble. Install the resistors and diodes D1-D3 first, then install the ferrite beads, the IC socket and the MKT capacitors (do not use ceramic capacitors on this board). Once these parts are in, install the four transistors, noting that Q5-Q7 are BC327s while Q8 is a BC337. The two electrolytics can then go in, followed by the 10-way and 14-way header sockets. The header sockets must be 92  Silicon Chip installed with their slotted key-ways towards the top. Finally, complete the assembly by installing the relays, the three stereo RCA input sockets and the two vertical RCA output sockets. Note the left and right labelling for the output sockets – this is not a mistake and arranging them this way gives the optimum layout for the PCB. Switch board assembly There just four parts on the switch board – the three pushbutton switches on one side and the 14-way IDC header socket on the other (see Fig.14). The three pushbuttons can go on first but note that they must be installed the right way around. These have “kinked” pins at each corner plus two straight pins for the integral blue LED. The anode pin is the longer of the two and this must go in the hole marked “A” on the PCB. Once the pins are in, push the buttons all the way down so that they sit siliconchip.com.au flush against the PCB before soldering their leads. The IDC header socket can then be installed on the other side of the board, with its key-way notch towards the bottom. INPUT 1 INPUT 2 CON11 INPUT 3 CON12 CON13 Initial checks Making the test cables Before testing the unit, it will be necessary to make up two IDC cables. Fig.15 shows how these cables are made. Pin 1 on the header sockets is indicated by a small triangle in the plastic moulding and the red stripe of 470pF RELAY2 470pF 100 D2 100 4004 1 2 2.2k 100k 2.2k 2.2k 2.2k 4004 D3 2.2k Q7 Q6 2.2k Q5 9 10 100k 1 2 10 F CON8 10 F IC4 LM393 100nF 10k 2.2k 2.2k 10k LEFT TUP NI REIFOUTPUT ILP MAERP 100nF RIGHT 2.2k 100k CON14 CON15 2 1 1 1 1 1 1 0OUTPUT 2.2k 2.2k 100 BEAD D1 13 14 BEAD 4004 100 100 RELAY2 RELAY1 CON9 100 Before installing the three ICs on the preamp board, it’s a good idea to check the supply voltages. If you haven’t built the power supply yet, you can either use a suitable dual-rail bench supply or skip until the final assembly in the chassis. Assuming you do have a power supply, connect the +15V, -15V & 0V leads to CON6 and switch on. Now check the voltages on pins 8 & 4 of the two 8-pin IC sockets; ie, between each of these pins and the 0V (centre) terminal of CON6. You should get readings of +15V and -15V respectively. Similarly, check the voltage on pin 14 of IC3’s socket. It should be between +4.8V and +5.2V. If these voltages are correct, switch off and install the ICs. Note that IC1 & IC2 face one way while microcontroller IC3 faces the other way. Q8 Fig.13 (above): follow this diagram to build the Input Selector PCB. Make sure that the two header sockets are correctly orientated and note that Q5Q7 are BC327 PNP transistors while Q8 is a BC337 NPN transistor. Fig.14: the three switches are mounted on the front of the Switch Board while the header socket goes on the back (key-way towards S2). Take care with the switch orientation (see text). TO CON9 ON INPUT SELECTOR BOARD 14 13 S1+LED1 2 1 S2+LED2 CON10 (ON BACK) S3+LED3 These views show the completed Input Selector and Switch Board assemblies. Note the orientations of the header sockets on the two modules and check that these sockets, the relays, the RCA sockets and the button switches are all sitting flush against their respective PCBs before soldering their leads. siliconchip.com.au December 2011  93 LOCATING SPIGOT UNDER 10-WAY IDC SOCKET 10-WAY IDC SOCKET 200mm x 10-WAY IDC RIBBON CABLE CABLE EDGE STRIPE LOCATING SPIGOT UNDER 14-WAY IDC SOCKET 14-WAY IDC SOCKET 300mm x 14-WAY IDC RIBBON CABLE CABLE EDGE STRIPE Fig.15: attach the header sockets to the IDC test cables exactly as shown in this diagram. The sockets are clamped using an IDC crimping tool or you can simply use a vice. Don’t forget to fit the locking bar to secure the cable after each header is clamped. the cable must always go to these pins. You can either crimp the IDC headers to the cable in a vice or use an IDC crimping tool (eg, Altronics T1540 or Jaycar TH-1941). Don’t forget to fit the locking bars to the headers after crimping, to secure the cable in place. Having completed the cables, it’s a good idea to check that they have been correctly terminated. The best way to do this is to plug them into the matching sockets on the PCB assemblies and then check for continuity between the corresponding pins at either end using a multimeter. Remote control/switch testing The remote control functions can now be tested using a suitable universal remote, eg, Altronics A1012. As stated earlier, the default device mode programmed into the micro is TV but if this conflicts with other gear you can choose SAT1 or SAT2 as the device instead. Whichever mode is chosen, you must also program the correct code into the remote (see panel). Note that if you don’t have a dual power supply, you can still check the remote control circuit by using a single-rail 9-15V supply connected between the +15V and 0V terminals of CON6 (watch the polarity). As before, check the voltage on pin 14 of IC3’s socket (it must be between +4.8V and +5.2V), then switch off and install IC3 (pin 1 towards IRD1). In addition, in94  Silicon Chip sert the jumper link for LK3 to enable the mute return function. That done, rotate VR2 fully anticlockwise and use the remote to check the various functions. First, check that the inputs can be selected using the 1, 2 & 3 buttons on the remote and the S1S3 buttons on the Switch Board. Each time a button is pressed, you should hear a “click” as its relay switches on and the blue LED in the corresponding switch button should light. In addition, the orange Acknowledge (Ack) LED should flash each time you press a button on the remote. If the ACK LED doesn’t flash, make sure the code programmed into the remote matches the device mode (ie, TV, SAT1 or SAT2). The ACK LED won’t flash at all unless the code is correct. Now check that the volume pot turns clockwise when the Volume Up and Channel Up buttons are pressed and anti-clockwise when Volume Down and Channel Down are pressed. It should travel fairly quickly when Volume Up/Down buttons are pressed and at a slower rate when the Channel Up/Down buttons are used. If the pot turns in the wrong direction, reverse the leads to the motor. Adjusting trimpot VR2 Next, set the volume control to midposition and hit the Mute button. The pot will rotate anti-clockwise and as soon as it hits the stops, the clutch will start to slip. While this is happening, Motorised Volume Pot. Altronics has advised that they can supply a dual-gang 5kW log motorised pot (Cat.R1998) for the preamplifier. This should be used in preference to a 20kW pot and the 4.7kW shunt resistors omitted. slowly adjust VR2 clockwise until the motor stops. Now press Volume Up to turn the potentiometer clockwise for a few seconds and press Mute again. This time, the motor should stop as soon as the pot reaches its anticlockwise limit. A programmed time-out of 13-seconds will also stop the motor if it continues to run after Mute is activated. This means that you have to adjust VR2 within this 13s period. If the motor stops prematurely or runs for the full 13s after the limit is reached, try redoing the adjustment. Troubleshooting If the unit fails to respond to remote control signals, check that the remote is in the correct mode (TV, SAT1 or SAT2) and has been correctly programmed. If you’re using a remote other than those listed in the panel, work through the different codes until you find one that works. If the unit responds to the 1, 2 & 3 buttons on the remote but the button siliconchip.com.au This view shows the completed unit with the IDC cables plugged in, ready for testing. Note that the Switch Board shown here is a prototype (it was altered to avoid having to twist the cable). Selecting The Mode & Programming The Remote As stated in the text, it’s necessary to program the universal remote control correctly. By default, the microcontroller’s RC5 code is set to TV but SAT1 or SAT2 can also be selected. Just press and hold button S1 on the Switch Board during power-up for SAT1 or button S2 for SAT2. Pressing S3 at power-up reverts to TV mode. Once you’ve chosen the mode or “device”, the correct code must be programmed into the remote. This involves selecting TV, SAT1 or SAT2 on the remote (to agree with the microcontroller set-up) and then programming in a three or 4-digit number for a Philips device. That’s because most Philips devices (but not all) rely on the RC5 code standard. Most universal remote controls can switches don’t work, check the IDC cable from the Switch Board. Similarly, if the remote volume function works but not the remote input selection, check the IDC cable from the preamplifier. Note that the cable from the preamplifier also supplies power to the Input Selector board. Check that there is 5V between pins 8 & 4 of IC4 on the siliconchip.com.au be used, including the Altronics A1012 ($19.95) and the Jaycar AR1726 ($37.95). For the Altronics A1012, use a code of 023 or 089 for TV mode, 242 for SAT1 or 035 for SAT2. Similarly, for the Jaycar AR1726, use 103 for TV, 1317 for SAT1 or 1316 for SAT2. In the case of other universal remotes, it’s just a matter of testing the various codes until you find one that works. There are usually no more than 15 codes (and usually a lot less) listed for each Philips device, so it shouldn’t take long to find the correct one. Note that some codes may only partially work, eg, they might control the volume but not the input selection. In that case, try a different code. In ad- Selector Board and again check the IDC cable if this supply rail is missing. Audio testing If you have a ±15V supply, you can test the preamplifier by connecting its outputs to a stereo amplifier and feeding in audio signals from a CD player. However, note that the left and right channel audio grounds are not con- The unit will work with most universal remotes including the Altronics A1012. dition, some remotes may only work in one mode (eg, TV but not SAT). For example, if you have a Digitor 4-In-1 remote, you can use 5005 for TV1 or TV2 but there’s no suitable code for SAT. Similarly, if you have a AIFA RA7, you can use 026 for TV1 or TV2 but again there’s no suitable code for SAT that works. nected to the 0V rail at CON6 on the preamplifier PCB. That’s necessary to avoid a hum loop, since the two audio channels are normally earthed back through the power amplifiers via the signal leads. This means that, to test the unit, you must temporarily connect the audio grounds at CON1 & CON3 to the power supply 0V rail (eg, the tab SC of REG1) using clip leads. December 2011  95