Skip to main content

Posts

6 channel speaker selector

If you are an audio enthusiast and if you have multiple audio systems and speakers, you may definitely need to have a speaker selector switch. These switches allow you to route a audio signal through a switching system and distribute it to various speakers. Using this listener can select single amplifier – speaker combination through the switch. We mainly design this switch to share our speaker system with multiple audio amplifiers. We design this switch to handle 6 stereo audio channels. Final view of 6 channel speaker selector prototype. This switch is based on PIC16F88 - 8bit MCU, ULN2803 Darlington transistor arrays and 12 DPCO relays. MCU is the core component of this switch and it control all relays, seven-segment display and store last channel in E 2 PROM memory and restore it during next power-up. In this system all audio lines are switching using 12 DPCO relays. To get optimal results we recommended to use good quality relays with thus switch. In our prototype we u...

Electrical wiring of the house

In last year we spend a lot of time and effort to wire our new house by ourselves. To complete this job we took nearly 2 ½ months and it includes wiring, fixing electrical fittings, communication equipment, etc. In this post, we describe how we archive this task with some technical details. Due to a large number of electrical points, we decided to use 3 phase electrical wiring in our house. To make it simpler we divide entire house wiring into 3 isolated circuits with 3 separate distribution boards. High-level design of our AC wiring systems is illustrated in the below diagram. High-level electrical wiring diagram up to distribution boards In the above circuit, the 3 phase AC line is first fed into 4-pole 40A isolator . Then it connected to 4-pole RCCB with 3 separate indicator lights. We use indicator lights to see the status of each phase, easily at any time. After RCCB we fed each phase into 3 separate distribution boards. As seen in the diagram the first (phase) circui...

Automatic fan controller for server racks

In this post, we describe the fan controller which we designed for our 9U wall mount server cabinet. This fan controller is designed to drive a 12V DC cooler fan with pre-configured intervals or by monitoring the temperature of the server cabinet. The final version of the fan controller with DC brushless fan and 12V - 60W PSU. Core components of this fan controller are CD4060 binary counter, LM35 temperature sensor, and LM358 operational amplifier. In this design, CD4060 has used as long duration timer and it can be configured to trigger cooler fan from 1-minute and up to 4-hour. In this design, an LM35 temperature sensor is used to activate cooler fan in specified temperature. This sensor stage is useful to drive cooler fan when timer stage is in an inactive state. To control the cooler fan we use AP9971 dual N-channel power MOSFET transistor. We design this system to drive 12V cooler fans up to 2A of current. To test this controller we use commonly available 120mm × 120mm...

Network cable tester

This is an automatic Cat6 / Cat5 network cable tester designed using NE555 timer and 4017, decade counters. This unit test all 8 wire lines of twisted pair network cable and indicate pass/fail status with a single LED. We design this unit to test network connectivity issues in Cat6 / Cat5 cable systems and it is capable to check both crossover and straight-through type network cables. A prototype version of network cable tester. The recommended way to construct this circuit is on PCB. Both Master and Salve units need to be built on two separate boards. To perform test one end of the network cable must be connected to the Master unit and other ends need to be connected to the Slave unit. After connecting both Master and Slave units press " START-TEST " (S1) button to perform the test. Status of the cable is indicated through LED2 ( PASS indicator). PCB and schematic of this unit are available to download at google drive and easyeda.com .

Restoring Sony STR-AV780 AV receiver

Sony STR-AV780 is a combined receiver and audio/video control center. This receiver is manufactured by Sony in around 1986 and it is capable to deliver 2 × 80W audio output power with 8Ω speaker load. The STR-AV780 which I got had two problems. The first problem is in the power amplifier stage and it produces distortion in high frequencies. The second problem is in FM radio receiver and it is completely dead. The power amplifier of STR-AV780 is based on two Sanyo STK4042 XI AF power amplifier ICs. To fix the distortion issue we replace all the electrolytic capacitors in both STK4042 power amplifier boards. After replacing capacitors distortion issue got fixed and the power amplifier starts to produce a clear output waveform. The FM receiver of this AVR is mainly based on 2 ICs. For IF stage it uses LA1235, and to demodulate FM stereo signal it uses LA3401. Apart from that Sony CX7925 is used as PLL frequency synthesizer. The front end of FM tuner is based on a couple of transist...

Yet another CXA1191 FM radio receiver

This is simple, but very high-quality CXA1191S based FM radio receiver system. In this design, we use Sony CXA1191S as FM tuner and TDA2003 as an audio amplifier. This receiver system is designed to work with 12V DC power source and it delivers approximately 6W audio output power (with 4Ω speaker load). The core component of this receiver system is CXA1191 FM radio IC, and for this design, we use 30 pin version of CXA1191 (which is known as CXA1191S) because it's commonly available in electronic component shops (and in eBay ). Due to less availability of IF transformers we did not use any IF transformers in this design and only the FM section is used in the IC. (AM section of the IC is ignored due to unavailability of broadcasting stations in here in Sri Lanka ) A prototype version of CXA1191S FM radio receiver. Compare with most of the FM radio ICs this CXA1191S receiver offer very good selectivity and higher sensitivity. After adjusting (all inductors and trimmers) we w...

8-bit assembler compiler project

This project is an assembler compiler to generate a binary executable for 8-bit x86 like CPU systems. This compiler can parse NASM style assembler code and it compatibles with Marco Schweighauser's javascript 8-bit virtual CPU . Compare with Marco Schweighauser's javascript compiler this compiler parse almost same assembler code and generate almost identical executable code. The only difference in this parser is that all the operands are separated by white space(s), and not with the comma ( , ). jmp start hello: db "Hello World!" db 0 start: mov c hello mov d 232 call print hlt print: push a push b mov b 0 loop: mov a [c] mov [d] a inc c inc d cmp b [c] jnz loop pop b pop a ret The output generated by this compiler for " Hello World " sample is listed in below and it can execute directly with Marco Schweighauser's 8-bit virtual CPU . 0000 1F0F 4865 6C6C 6F20 576F 726C 6421 0006 0010 0202 0603 E838 1800 3200 320...